/* Darksmogai homepage refresh: Modern-inspired layout, original brand/content */

.home-modern {
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 212, 255, 0.1), transparent 24rem),
    radial-gradient(circle at 92% 14%, rgba(124, 58, 237, 0.1), transparent 26rem),
    linear-gradient(90deg, rgba(211, 222, 232, 0.28) 1px, transparent 1px),
    linear-gradient(180deg, rgba(211, 222, 232, 0.28) 1px, transparent 1px),
    #ffffff;
  background-size: 280px 280px;
  color: #1d2b36;
  scroll-behavior: smooth;
}

.home-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  width: 100%;
  height: 3px;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, #0565ff, #00d4ff, #c72c91);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
  pointer-events: none;
}

.home-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-stagger > * {
  transition-delay: calc(var(--stagger-index, 0) * 70ms);
}

.tilt-card {
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(var(--lift, 0));
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

.tilt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255, 255, 255, 0.34), transparent 24%);
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.tilt-card:hover {
  --lift: -5px;
}

.tilt-card:hover::after {
  opacity: 1;
}

.pulse-ring {
  position: relative;
}

.pulse-ring::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.pulse-ring:hover::before {
  opacity: 1;
  transform: scale(1);
}

.home-modern .header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(211, 222, 232, 0.75);
  backdrop-filter: blur(18px);
  transform: translateY(0) !important;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.home-modern .logo span {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-modern .btn {
  border-radius: 10px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.home-modern .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 45%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.home-modern .btn:hover::before {
  transform: translateX(120%);
}

.home-modern .btn-primary {
  background:
    linear-gradient(90deg, #00d4ff 0%, #0565ff 48%, #6d5dfc 100%);
  border-color: transparent;
  box-shadow:
    0 16px 36px rgba(5, 101, 255, 0.24),
    0 8px 22px rgba(0, 212, 255, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.26);
}

.home-modern .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(5, 101, 255, 0.28),
    0 10px 28px rgba(0, 212, 255, 0.2);
}

.home-modern .btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #cbd8e5;
  color: #1d2b36;
  box-shadow: 0 10px 24px rgba(29, 43, 54, 0.06);
}

.home-hero {
  min-height: 100vh;
  padding: calc(var(--header-height) + 0.9rem) 0 1rem;
  background:
    radial-gradient(circle at 50% 98%, rgba(0, 12, 48, 0.08), transparent 28rem),
    linear-gradient(135deg, rgba(5, 101, 255, 0.04), rgba(199, 44, 145, 0.04)),
    radial-gradient(circle at 18% 15%, rgba(199, 44, 145, 0.16), transparent 22rem),
    radial-gradient(circle at 82% 20%, rgba(0, 212, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #f6f8fb 100%);
}

.home-hero::before,
.home-hero::after {
  opacity: 0.12;
}

.hero-bg-collage {
  position: absolute;
  inset: calc(var(--header-height) + 0.75rem) 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1400px;
}

.hero-bg-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22) 34%, rgba(255, 255, 255, 0.02) 58%, rgba(255, 255, 255, 0.55) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.46));
}

.hero-bg-shot {
  display: none;
}

.hero-roll-shot,
.hero-curtain-shot {
  position: absolute;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(203, 216, 229, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 34px 100px rgba(29, 43, 54, 0.2),
    0 0 0 8px rgba(255, 255, 255, 0.36),
    0 0 54px rgba(0, 212, 255, 0.16);
  opacity: 0;
  filter: saturate(1.18) contrast(1.04) brightness(1.02);
  will-change: transform;
}

.hero-roll-shot::after,
.hero-curtain-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.2), transparent 28%, transparent 68%, rgba(255,255,255,0.16)),
    radial-gradient(circle at 18% 12%, rgba(0, 212, 255, 0.16), transparent 28%);
  pointer-events: none;
}

.hero-roll-shot::before,
.hero-curtain-shot::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 2;
  opacity: 0;
  background:
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.55) 46%, transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.22), transparent 58%);
  transform: translateX(-120%);
  animation: heroImageHighlight 11s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes heroImageHighlight {
  0%, 22% {
    opacity: 0;
    transform: translateX(-120%);
  }
  42% {
    opacity: 0.75;
  }
  58% {
    opacity: 0.2;
    transform: translateX(120%);
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.hero-roll-shot img,
.hero-curtain-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-roll-shot {
  left: 50%;
  top: 56%;
  width: min(1040px, 82vw);
  height: min(520px, 46vw);
  transform-origin: var(--roll-origin, 50% 100%);
}

.hero-roll-shot.is-rolling {
  animation: heroRollUnfold 10.8s cubic-bezier(0.22, 0.85, 0.24, 1) both;
}

.hero-curtain-shot {
  left: 50%;
  top: 0;
  width: min(1180px, 92vw);
  height: min(520px, 52vh);
  transform-origin: top center;
  border-radius: 0 0 34px 34px;
}

.hero-curtain-shot.is-dropping {
  animation: heroCurtainDrop 11.2s cubic-bezier(0.22, 0.85, 0.24, 1) both;
}

@keyframes heroRollUnfold {
  0% {
    opacity: 0;
    clip-path: inset(0 96% 0 0 round 999px);
    transform: translate3d(var(--roll-from-x, -46vw), var(--roll-from-y, 24vh), 0) scale(0.08) rotate(var(--roll-rot, -34deg)) rotateY(82deg);
    filter: saturate(0.9) brightness(1.05);
  }
  18% {
    opacity: 0.28;
    clip-path: inset(0 92% 0 0 round 999px);
    transform: translate3d(var(--roll-from-x, -46vw), var(--roll-from-y, 24vh), 0) scale(0.24) rotate(var(--roll-rot, -34deg)) rotateY(68deg);
  }
  34% {
    opacity: 0.52;
    clip-path: inset(0 78% 0 0 round 999px);
    transform: translate3d(-50%, -50%, 0) scale(0.42) rotate(-14deg) rotateY(54deg);
  }
  55% {
    opacity: 0.7;
    clip-path: inset(0 42% 0 0 round 44px);
    transform: translate3d(-50%, -50%, 0) scale(0.82) rotate(-5deg) rotateY(20deg);
  }
  72% {
    opacity: 0.82;
    clip-path: inset(0 0 0 0 round 28px);
    transform: translate3d(-50%, -50%, 0) scale(1.02) rotate(0deg) rotateY(0deg);
    border-radius: 26px;
  }
  88% {
    opacity: 0.78;
    transform: translate3d(-50%, -50%, 0) scale(0.995);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0 round 28px);
    transform: translate3d(-50%, -54%, 0) scale(0.92);
  }
}

@keyframes heroCurtainDrop {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0 round 0 0 34px 34px);
    transform: translate3d(-50%, -112%, 0) scaleX(0.9);
  }
  12% {
    opacity: 0;
    clip-path: inset(0 0 100% 0 round 0 0 34px 34px);
    transform: translate3d(-50%, -112%, 0) scaleX(0.9);
  }
  32% {
    opacity: 0.36;
    clip-path: inset(0 0 70% 0 round 0 0 34px 34px);
    transform: translate3d(-50%, -64%, 0) scaleX(1.01);
  }
  58% {
    opacity: 0.56;
    clip-path: inset(0 0 0 0 round 0 0 34px 34px);
    transform: translate3d(-50%, 26px, 0) scaleX(1);
  }
  86% {
    opacity: 0.46;
    transform: translate3d(-50%, 10px, 0) scaleX(1.02);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0 round 0 0 34px 34px);
    transform: translate3d(-50%, -18px, 0) scaleX(1.03);
  }
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(130px, 20vw, 260px);
  height: clamp(210px, 32vw, 390px);
  bottom: 0;
  opacity: 0.22;
  filter: grayscale(1) blur(0.2px);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 12%, #1d2b36 0 8%, transparent 9%),
    radial-gradient(ellipse at 46% 32%, #1d2b36 0 9%, transparent 10%),
    radial-gradient(ellipse at 56% 54%, #1d2b36 0 10%, transparent 11%),
    linear-gradient(120deg, transparent 34%, #1d2b36 36% 46%, transparent 49%);
  background-size: 22px 22px, 30px 30px, 38px 38px, 100% 100%;
}

.home-hero::before {
  left: 3%;
  transform: rotate(10deg);
}

.home-hero::after {
  right: 3%;
  transform: scaleX(-1) rotate(10deg);
}

.home-hero .container,
.home-modern .section .container {
  position: relative;
  z-index: 3;
}

.home-hero .hero-content {
  display: block;
  text-align: center;
}

.home-hero .hero-text {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 4;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(5, 101, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #556575;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(29, 43, 54, 0.06);
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c72c91, #0565ff);
  box-shadow: 0 0 0 5px rgba(5, 101, 255, 0.08);
}

.hero-command {
  width: fit-content;
  max-width: min(640px, 100%);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 auto 1.1rem;
  padding: 0.5rem 0.66rem;
  border: 1px solid rgba(126, 152, 188, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.78));
  box-shadow: 0 18px 46px rgba(29, 43, 54, 0.1);
}

.builder-hero-copy .hero-command {
  align-self: start;
  margin: 0;
}

.hero-command span {
  padding: 0.32rem 0.52rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0565ff, #8a45e8);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-command code {
  color: #33475b;
  font-family: var(--font-mono, monospace);
  font-size: clamp(0.82rem, 1.5vw, 0.98rem);
  font-weight: 800;
}

.home-hero .hero-title {
  max-width: 660px;
  margin: 0 0 0.85rem;
  font-size: clamp(2.15rem, 4.8vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: #1d2b36;
  text-shadow: 0 10px 42px rgba(255, 255, 255, 0.88);
}

.home-hero .hero-title-line,
.home-hero .hero-title-soft {
  display: block;
}

.home-hero .hero-title-soft {
  width: fit-content;
  margin: 0.18rem 0 0;
  padding: 0.1em 0.24em 0.18em;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(5, 101, 255, 0.08), rgba(199, 44, 145, 0.1));
  color: #5f7084;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.home-hero .hero-title-gradient {
  width: fit-content;
  margin: 0;
  padding: 0 0.18em 0.08em;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(199, 44, 145, 0.14), rgba(5, 101, 255, 0.13));
  color: transparent;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  position: relative;
}

.home-hero .hero-title-gradient::before {
  content: attr(class);
  display: none;
}

.home-hero .hero-title-gradient {
  background-image:
    linear-gradient(90deg, #c72c91 0%, #8a45e8 45%, #0565ff 100%),
    linear-gradient(90deg, rgba(199, 44, 145, 0.14), rgba(5, 101, 255, 0.13));
  background-clip: text, padding-box;
  -webkit-background-clip: text, padding-box;
}

.home-hero .gradient-text,
.home-modern .section-title .gradient-text {
  background: linear-gradient(90deg, #c72c91 0%, #8a45e8 45%, #0565ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero .hero-subtitle {
  max-width: 620px;
  margin: 0 0 1.25rem;
  color: #556575;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.52;
  text-shadow: 0 8px 28px rgba(255, 255, 255, 0.9);
}

.hero-tool-chips {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.25rem auto 0.55rem;
}

.hero-tool-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.68rem;
  border: 1px solid rgba(219, 229, 238, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #42576b;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(29, 43, 54, 0.06);
}

.hero-tool-chips span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00d4ff, #c72c91);
  box-shadow: 0 0 0 5px rgba(5, 101, 255, 0.07);
}

.home-hero .hero-actions,
.home-hero .hero-stats {
  justify-content: center;
}

.home-hero .hero-actions {
  margin-bottom: 2rem;
}

.home-hero .hero-stats {
  gap: 0;
  margin: 0 auto 2.7rem;
  max-width: 820px;
  border: 1px solid #dbe5ee;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(29, 43, 54, 0.08);
  overflow: hidden;
}

.home-hero .stat {
  flex: 1 1 210px;
  padding: 0.72rem 1rem;
  border-right: 1px solid #e5ebf1;
}

.home-hero .stat:last-child {
  border-right: 0;
}

.home-hero .stat-number {
  color: #1d2b36;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 800;
}

.home-hero .stat-label {
  color: #748494;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-builder-canvas {
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(126, 152, 188, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 212, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 88% 12%, rgba(199, 44, 145, 0.15), transparent 18rem),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 36px 100px rgba(29, 43, 54, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  text-align: left;
  backdrop-filter: blur(18px);
}

.hero-builder-canvas-main {
  max-width: min(1120px, calc(100vw - 48px));
}

.builder-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 1.6rem) 0;
  text-align: left;
}

.builder-topbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1rem;
  border-bottom: 1px solid rgba(219, 229, 238, 0.86);
  background: rgba(255, 255, 255, 0.72);
}

.builder-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.builder-topbar span:nth-child(1) {
  background: #ff5f57;
}

.builder-topbar span:nth-child(2) {
  background: #febc2e;
}

.builder-topbar span:nth-child(3) {
  background: #28c840;
}

.builder-topbar strong {
  margin-left: 0.7rem;
  color: #1d2b36;
  font-weight: 900;
}

.builder-topbar em {
  margin-left: auto;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(0, 212, 255, 0.16));
  color: #087f5b;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 900;
}

.builder-layout {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr) 206px;
  gap: 0.75rem;
  padding: 0.75rem;
}

.builder-palette,
.builder-inspector {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid rgba(219, 229, 238, 0.86);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(29, 43, 54, 0.06);
}

.builder-palette b,
.builder-inspector b {
  color: #1d2b36;
  font-size: 0.9rem;
}

.builder-palette span {
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(219, 229, 238, 0.92);
  border-radius: 14px;
  background:
    radial-gradient(circle at 14% 16%, rgba(5, 101, 255, 0.12), transparent 5rem),
    #ffffff;
  color: #526477;
  font-size: 0.88rem;
  font-weight: 800;
}

.builder-workspace {
  min-height: 270px;
  display: grid;
  place-items: center;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(219, 229, 238, 0.82);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(5, 101, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 101, 255, 0.07) 1px, transparent 1px),
    rgba(248, 251, 255, 0.82);
  background-size: 34px 34px;
}

.builder-workspace-hero {
  min-height: 300px;
  grid-template-columns: 1fr;
  padding: clamp(0.8rem, 2vw, 1.35rem);
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 212, 255, 0.14), transparent 14rem),
    radial-gradient(circle at 86% 16%, rgba(109, 93, 252, 0.14), transparent 14rem),
    linear-gradient(90deg, rgba(5, 101, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 101, 255, 0.07) 1px, transparent 1px),
    rgba(248, 251, 255, 0.84);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

.workspace-hero-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.workspace-hero-content .hero-eyebrow,
.workspace-hero-content .hero-command,
.workspace-hero-content .hero-title,
.workspace-hero-content .hero-title-soft,
.workspace-hero-content .hero-title-gradient,
.workspace-hero-content .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.workspace-hero-content .hero-command {
  margin-bottom: 0.65rem;
}

.workspace-hero-content .hero-title {
  max-width: 660px;
  font-size: clamp(1.65rem, 3.1vw, 3.15rem);
  margin-bottom: 0.45rem;
}

.workspace-hero-content .hero-subtitle {
  max-width: 620px;
  margin-bottom: 0.75rem;
}

.workspace-hero-content .hero-tool-chips,
.workspace-actions {
  justify-content: center;
}

.workspace-actions {
  margin: 0.65rem 0 0 !important;
}

.builder-node {
  width: 100%;
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  border-radius: 18px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 18px 34px rgba(29, 43, 54, 0.14);
}

.node-form {
  background: linear-gradient(135deg, #0565ff, #00d4ff);
}

.node-approval {
  background: linear-gradient(135deg, #8a45e8, #c72c91);
}

.node-ai {
  background: linear-gradient(135deg, #ff8a00, #c72c91);
}

.node-api {
  background: linear-gradient(135deg, #10b981, #00bcd4);
}

.builder-connector {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(5, 101, 255, 0.25), rgba(199, 44, 145, 0.65));
}

.builder-inspector label {
  color: #607184;
  font-size: 0.78rem;
  font-weight: 800;
}

.builder-toggle,
.builder-progress {
  height: 34px;
  border-radius: 999px;
  background: #edf4fb;
  overflow: hidden;
}

.builder-toggle span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #0565ff, #00d4ff);
}

.builder-progress span {
  display: block;
  width: 78%;
  height: 100%;
  background: linear-gradient(135deg, #c72c91, #8a45e8);
}

.builder-inspector small {
  padding: 0.8rem;
  border-radius: 14px;
  background: rgba(5, 101, 255, 0.08);
  color: #40566d;
  font-weight: 800;
  line-height: 1.45;
}

.builder-stats {
  max-width: none !important;
  margin: 0 0.75rem 0.75rem !important;
  border-radius: 18px !important;
}

.builder-actions {
  justify-content: flex-start !important;
  padding: 0 1rem 1.15rem;
  margin: -0.2rem 0 0 !important;
}

.home-hero .hero-image {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #d8e2eb;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 32px 80px rgba(29, 43, 54, 0.14);
  transform: translateZ(0);
}

.home-hero .hero-image::after {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(199, 44, 145, 0.18));
  filter: blur(24px);
  opacity: 0.65;
}

.home-hero .hero-image::before {
  content: "";
  display: block;
  height: 34px;
  margin: -6px -6px 14px;
  border-bottom: 1px solid #e5ebf1;
  background:
    radial-gradient(circle at 18px 16px, #ff5f57 0 5px, transparent 6px),
    radial-gradient(circle at 38px 16px, #febc2e 0 5px, transparent 6px),
    radial-gradient(circle at 58px 16px, #28c840 0 5px, transparent 6px);
}

.home-hero .hero-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: none;
  transform: none;
}

.home-hero .hero-img:hover {
  transform: none;
}

.ai-prompt-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(460px, calc(100% - 42px));
  transform: translate(-50%, -50%);
  padding: 1.15rem;
  border: 1px solid #d3dee8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(29, 43, 54, 0.2);
  text-align: left;
  transform: translate(-50%, -50%) translateZ(0);
}

.ai-prompt-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: #0565ff;
  font-size: 0.82rem;
  font-weight: 800;
}

.ai-prompt-card strong {
  display: block;
  color: #1d2b36;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1.45;
}

.hero-floating-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  background: rgba(10, 20, 38, 0.76);
  color: #ffffff;
  box-shadow: 0 20px 54px rgba(5, 101, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-floating-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-floating-card strong {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.hero-floating-card-one {
  left: -22px;
  top: 22%;
}

.hero-floating-card-two {
  right: -18px;
  top: 12%;
  background: linear-gradient(135deg, rgba(5, 101, 255, 0.84), rgba(199, 44, 145, 0.78));
}

.showcase-marquee-section {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 2.75rem;
  background:
    radial-gradient(circle at 80% 10%, rgba(199, 44, 145, 0.16), transparent 22rem),
    linear-gradient(180deg, #061027, #07102a 65%, #ffffff 65%);
}

.showcase-marquee-section::before,
.showcase-marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 12vw;
  pointer-events: none;
}

.showcase-marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, #061027, transparent);
}

.showcase-marquee-section::after {
  right: 0;
  background: linear-gradient(270deg, #061027, transparent);
}

.showcase-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  width: max-content;
  animation: showcaseMove 38s linear infinite;
}

.showcase-marquee-section:hover .showcase-marquee-track {
  animation-play-state: paused;
}

.showcase-tile {
  position: relative;
  flex: 0 0 260px;
  height: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.showcase-tile.tile-wide {
  flex-basis: 420px;
}

.showcase-tile.tile-mini {
  flex-basis: 210px;
  height: 260px;
}

.showcase-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.02);
}

.showcase-tile span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #07111f;
  font-size: 0.82rem;
  font-weight: 900;
}

@keyframes showcaseMove {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.logo-strip-section {
  padding: 1.75rem 0;
  background: #ffffff;
}

.home-modern .logo-strip-title {
  margin-bottom: 1.25rem;
  color: #556575;
  font-size: 0.9rem;
  font-weight: 800;
}

.home-modern .logo-grid {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 0.85rem;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(199, 44, 145, 0.12), transparent 16rem),
    radial-gradient(circle at 88% 20%, rgba(5, 101, 255, 0.14), transparent 16rem),
    #ffffff;
  padding: 0.85rem;
}

.home-modern .logo-item {
  min-height: 108px;
  padding: 1rem;
  border: 1px solid rgba(219, 229, 238, 0.86);
  border-radius: 18px;
  display: grid;
  place-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.78);
  color: #516176;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 14px 36px rgba(29, 43, 54, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.home-modern .logo-item svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  filter: drop-shadow(0 8px 16px rgba(5, 101, 255, 0.12));
}

.home-modern .logo-item:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, currentColor 38%, #dbe5ee);
  box-shadow: 0 24px 54px rgba(5, 101, 255, 0.11);
}

.home-modern .logo-item:nth-child(1),
.home-modern .logo-item:nth-child(5) {
  color: #c72c91;
}

.home-modern .logo-item:nth-child(3),
.home-modern .logo-item:nth-child(6) {
  color: #0565ff;
}

.home-modern .logo-item:last-child {
  border-right: 0;
}

.home-modern .section {
  background: #ffffff;
  border-bottom: 1px solid #e5ebf1;
}

.home-modern #features,
.home-modern .legacy-home-section {
  display: none;
}

.home-modern .section-alt {
  background:
    radial-gradient(circle at 12% 18%, rgba(199, 44, 145, 0.07), transparent 20rem),
    radial-gradient(circle at 88% 24%, rgba(5, 101, 255, 0.08), transparent 22rem),
    #f7fafc;
}

.home-modern .section-title {
  color: #1d2b36;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.home-modern #features .section-title::after,
.home-modern .features-tabs-section .section-title::after,
.home-modern #enterprise-value .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c72c91, #0565ff);
}

.home-modern .section-subtitle {
  color: #556575;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.home-modern .features-grid {
  gap: 0;
  border-top: 1px solid #dbe5ee;
  border-left: 1px solid #dbe5ee;
  background: #ffffff;
}

.home-modern .feature-card,
.home-modern .card {
  border: 0;
  border-right: 1px solid #dbe5ee;
  border-bottom: 1px solid #dbe5ee;
  border-radius: 0;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  box-shadow: none;
  background:
    radial-gradient(circle at 90% 8%, rgba(5, 101, 255, 0.08), transparent 10rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.home-modern .feature-card:hover,
.home-modern .card:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(199, 44, 145, 0.5), rgba(5, 101, 255, 0.45)) border-box;
  box-shadow: 0 20px 48px rgba(29, 43, 54, 0.09);
}

.home-modern .feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(199, 44, 145, 0.1), rgba(5, 101, 255, 0.12));
  color: #0565ff;
}

.home-modern .feature-title {
  color: #33475b;
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-modern .feature-description {
  color: #667789;
  line-height: 1.65;
}

.features-tabs-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 212, 255, 0.11), transparent 22rem),
    radial-gradient(circle at 88% 20%, rgba(109, 93, 252, 0.12), transparent 22rem),
    #ffffff;
}

.home-modern .tabs-container {
  max-width: 1100px;
  margin: 3rem auto 0;
  border: 1px solid rgba(126, 152, 188, 0.22);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(109, 93, 252, 0.12), transparent 18rem),
    radial-gradient(circle at 10% 85%, rgba(0, 212, 255, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 36px 100px rgba(29, 43, 54, 0.14);
  backdrop-filter: blur(18px);
}

.home-modern .tabs-nav {
  justify-content: flex-start;
  overflow-x: auto;
  gap: 0.45rem;
  padding: 0.7rem;
  border-bottom: 1px solid rgba(219, 229, 238, 0.86);
  background: rgba(248, 251, 255, 0.78);
}

.home-modern .tab-btn {
  min-width: 145px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #556575;
  position: relative;
  overflow: hidden;
  font-weight: 800;
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-modern .tab-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  font-size: 0;
}

.home-modern .tab-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.home-modern .tab-icon:empty::before,
.home-modern .tab-icon::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h16v16H4V4Zm2 2v12h12V6H6Zm2 2h8v2H8V8Zm0 4h8v2H8v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-modern .tab-icon:has(svg)::before {
  display: none;
}

.home-modern .tab-btn.active {
  background:
    linear-gradient(135deg, #07111f, #142647);
  color: #ffffff;
  box-shadow: inset 0 -4px 0 #00d4ff, 0 14px 28px rgba(5, 101, 255, 0.16);
}

.home-modern .tab-btn:not(.active):hover {
  color: #0565ff;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(29, 43, 54, 0.07);
}

.home-modern .tab-content-wrapper {
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.home-modern .tab-content-grid {
  align-items: center;
}

.home-modern .tab-content-text h3 {
  color: #1d2b36;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.home-modern .tab-content-text p {
  max-width: 540px;
  color: #526477;
  font-size: 1.02rem;
  line-height: 1.7;
}

.home-modern .feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0;
  list-style: none;
}

.home-modern .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #415569;
  font-weight: 750;
}

.home-modern .feature-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #00d4ff, #0565ff);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.home-modern .placeholder-image {
  min-height: 300px;
  border: 1px solid rgba(126, 152, 188, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 16%, rgba(109, 93, 252, 0.16), transparent 12rem),
    radial-gradient(circle at 15% 88%, rgba(0, 212, 255, 0.14), transparent 12rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7), 0 24px 58px rgba(29,43,54,0.1);
}

.lc-preview {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: #1d2b36;
  font-weight: 800;
}

.lc-preview-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(219, 229, 238, 0.82);
  background: rgba(255, 255, 255, 0.74);
}

.lc-preview-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.lc-preview-bar span:nth-child(1) { background: #ff5f57; }
.lc-preview-bar span:nth-child(2) { background: #febc2e; }
.lc-preview-bar span:nth-child(3) { background: #28c840; }

.lc-preview-bar strong {
  margin-left: 0.45rem;
  color: #33475b;
  font-size: 0.9rem;
}

.lc-flow-canvas,
.lc-api-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 0.45rem;
  padding: 1.4rem;
  background:
    linear-gradient(90deg, rgba(5, 101, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 101, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.lc-node,
.lc-api-flow span {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  border-radius: 18px;
  color: #ffffff;
  text-align: center;
  font-size: 0.82rem;
  box-shadow: 0 18px 34px rgba(29, 43, 54, 0.14);
}

.node-start { background: linear-gradient(135deg, #00d4ff, #0565ff); }
.node-approve { background: linear-gradient(135deg, #0565ff, #6d5dfc); }
.node-ai { background: linear-gradient(135deg, #6d5dfc, #8a45e8); }
.node-done { background: linear-gradient(135deg, #10b981, #00bcd4); }

.lc-line,
.lc-api-flow b {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d4ff, #0565ff, #6d5dfc);
  font-size: 0;
}

.lc-form-card,
.lc-security-grid {
  display: grid;
  gap: 0.7rem;
  padding: 1.35rem;
}

.lc-form-card label {
  color: #607184;
  font-size: 0.78rem;
}

.lc-form-card div {
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.15), rgba(5, 101, 255, 0.08));
}

.lc-form-card .short { width: 72%; }
.lc-form-card .textarea { height: 76px; }

.lc-form-card button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, #00d4ff, #0565ff, #6d5dfc);
  color: #ffffff;
  font-weight: 900;
}

.lc-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1.2rem 1.2rem 0;
}

.lc-metric-grid div,
.lc-security-grid div {
  padding: 1rem;
  border: 1px solid rgba(219, 229, 238, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.lc-metric-grid strong {
  display: block;
  color: #0565ff;
  font-size: 1.5rem;
}

.lc-metric-grid span,
.lc-security-grid b {
  color: #607184;
  font-size: 0.78rem;
}

.lc-chart {
  height: 110px;
  display: flex;
  align-items: end;
  gap: 0.7rem;
  padding: 1.2rem;
}

.lc-chart i {
  flex: 1;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #00d4ff, #0565ff);
}

.lc-chart i:nth-child(1) { height: 46%; }
.lc-chart i:nth-child(2) { height: 72%; }
.lc-chart i:nth-child(3) { height: 55%; }
.lc-chart i:nth-child(4) { height: 88%; }
.lc-chart i:nth-child(5) { height: 64%; }

.lc-api-flow {
  grid-template-columns: 1fr 0.5fr 1fr 0.5fr 1fr;
}

.lc-api-flow span:nth-of-type(1) { background: linear-gradient(135deg, #00d4ff, #0565ff); }
.lc-api-flow span:nth-of-type(2) { background: linear-gradient(135deg, #0565ff, #6d5dfc); }
.lc-api-flow span:nth-of-type(3) { background: linear-gradient(135deg, #10b981, #00bcd4); }

.lc-security-grid {
  grid-template-columns: repeat(2, 1fr);
}

.lc-security-grid span {
  display: block;
  height: 10px;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d4ff, #0565ff, #6d5dfc);
}

.app-showcase-section {
  padding-top: clamp(4rem, 8vw, 6rem);
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.app-list-panel {
  border-top: 1px solid #dbe5ee;
}

.app-list-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid #dbe5ee;
  background: transparent;
  color: #a6b5c5;
  font: inherit;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
}

.app-list-item svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.app-list-item.active,
.app-list-item:hover {
  color: #33475b;
}

.app-list-item.active {
  background: linear-gradient(90deg, rgba(5, 101, 255, 0.08), transparent);
  padding-left: 0.85rem;
  border-radius: 14px;
  color: #07111f;
}

.app-preview-card {
  border: 1px solid #dbe5ee;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--app-accent) 16%, transparent), transparent 16rem),
    #ffffff;
  box-shadow: 0 28px 84px rgba(29, 43, 54, 0.14);
  overflow: hidden;
  --app-accent: #0565ff;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.app-preview-card.is-changing {
  animation: previewSwap 0.42s ease both;
}

@keyframes previewSwap {
  0% {
    opacity: 0.72;
    transform: translate3d(10px, 0, 0) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.app-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #e5ebf1;
  color: #556575;
  font-weight: 800;
}

.app-preview-top svg {
  width: 24px;
  height: 24px;
  fill: var(--app-accent);
}

.dashboard-shell {
  min-height: 310px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
  padding: 2rem;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--app-accent) 18%, transparent), transparent 16rem),
    linear-gradient(180deg, #f9fbfd, #ffffff);
}

.metric-card {
  min-height: 135px;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--app-accent) 24%, #e1e8ef);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, color-mix(in srgb, var(--app-accent) 7%, #ffffff));
  box-shadow: 0 18px 44px rgba(29, 43, 54, 0.1);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.app-preview-card.is-changing .metric-card {
  border-color: color-mix(in srgb, var(--app-accent) 35%, #e1e8ef);
}

.app-preview-card.is-changing .metric-card:nth-child(1) {
  animation: metricIn 0.42s ease both;
}

.app-preview-card.is-changing .metric-card:nth-child(2) {
  animation: metricIn 0.42s ease 0.06s both;
}

.app-preview-card.is-changing .metric-card:nth-child(3) {
  animation: metricIn 0.42s ease 0.12s both;
}

@keyframes metricIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.metric-card strong {
  display: block;
  color: #1d2b36;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
}

.metric-card span {
  color: #748494;
  font-weight: 700;
}

.difference-section {
  background: #ffffff;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #dbe5ee;
  border-left: 1px solid #dbe5ee;
}

.difference-grid article {
  min-height: 230px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-right: 1px solid #dbe5ee;
  border-bottom: 1px solid #dbe5ee;
  background:
    radial-gradient(circle at 90% 12%, rgba(0, 212, 255, 0.08), transparent 9rem),
    #ffffff;
}

.difference-grid svg {
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  fill: #c7d1dc;
}

.difference-grid h3 {
  margin-bottom: 0.45rem;
  color: #33475b;
  font-size: 1rem;
  font-weight: 800;
}

.difference-grid p {
  color: #748494;
  line-height: 1.55;
}

.industry-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(126, 152, 188, 0.2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 212, 255, 0.18), transparent 19rem),
    radial-gradient(circle at 86% 8%, rgba(199, 44, 145, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.9));
  box-shadow: 0 30px 90px rgba(29, 43, 54, 0.1);
  overflow: hidden;
}

.industry-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 101, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5, 101, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 80% 30%, #000 0%, transparent 58%);
  opacity: 0.65;
  pointer-events: none;
}

.industry-copy,
.industry-tiles {
  position: relative;
  z-index: 1;
}

.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.industry-tabs span {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(219, 229, 238, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #607184;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(29, 43, 54, 0.05);
}

.industry-tabs .active {
  background: linear-gradient(135deg, #0565ff, #8a45e8, #c72c91);
  border-color: #0565ff;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(5, 101, 255, 0.22);
}

.industry-copy h3 {
  max-width: 430px;
  margin-bottom: 0.9rem;
  color: #1d2b36;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.industry-copy p {
  max-width: 430px;
  color: #5d6f82;
  font-size: 1.03rem;
  line-height: 1.7;
}

.industry-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.industry-stats strong {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(5, 101, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: #1d2b36;
  font-size: 0.9rem;
  box-shadow: 0 14px 32px rgba(29, 43, 54, 0.06);
}

.industry-copy a {
  display: inline-flex;
  align-items: center;
  margin-top: 1.35rem;
  color: #0565ff;
  font-weight: 800;
  text-decoration: none;
}

.industry-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.industry-tiles article {
  --tile-accent: #0565ff;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
  border: 1px solid rgba(219, 229, 238, 0.86);
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--tile-accent) 20%, transparent), transparent 7rem),
    rgba(255, 255, 255, 0.82);
  color: #1d2b36;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 42px rgba(29, 43, 54, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.industry-tiles article:nth-child(2) {
  --tile-accent: #c72c91;
}

.industry-tiles article:nth-child(3) {
  --tile-accent: #00bcd4;
}

.industry-tiles article:nth-child(4) {
  --tile-accent: #8a45e8;
}

.industry-tiles article:nth-child(5) {
  --tile-accent: #ff8a00;
}

.industry-tiles article:nth-child(6) {
  --tile-accent: #10b981;
}

.industry-tiles article:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--tile-accent) 45%, #dbe5ee);
  box-shadow: 0 28px 64px rgba(29, 43, 54, 0.13);
}

.industry-tiles svg {
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  padding: 0.55rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--tile-accent) 12%, #ffffff);
  fill: var(--tile-accent);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--tile-accent) 18%, transparent);
}

.industry-tiles span {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.industry-tiles p {
  margin-top: 0.4rem;
  color: #65768a;
  font-size: 0.84rem;
  line-height: 1.5;
}

.product-motion-section {
  background:
    radial-gradient(circle at 50% 40%, rgba(5, 101, 255, 0.12), transparent 25rem),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  overflow: hidden;
}

.product-feature-stage {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 0.95fr) minmax(240px, 1fr);
  gap: 1rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-rail {
  display: grid;
  gap: 1rem;
}

.feature-rail-left {
  animation: railLeft 14s ease-in-out infinite;
}

.feature-rail-right {
  animation: railRight 14s ease-in-out infinite;
}

.feature-rail article,
.product-center-card {
  border: 1px solid #dbe5ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px rgba(29, 43, 54, 0.08);
}

.feature-rail article {
  padding: 1.1rem;
}

.feature-rail svg {
  width: 30px;
  height: 30px;
  fill: #0565ff;
  margin-bottom: 0.7rem;
}

.feature-rail span {
  display: block;
  color: #33475b;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.feature-rail p {
  color: #748494;
  line-height: 1.55;
  font-size: 0.92rem;
}

.product-center-card {
  position: relative;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background:
    radial-gradient(circle at 50% 10%, rgba(0, 212, 255, 0.2), transparent 12rem),
    linear-gradient(180deg, #13233d, #07111f);
  color: #ffffff;
  overflow: hidden;
}

.product-center-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background:
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 42px 42px;
}

.product-center-card > * {
  position: relative;
}

.product-center-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 12px 24px rgba(0, 212, 255, 0.25));
}

.product-center-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.7rem;
}

.product-center-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.product-feature-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.product-feature-pills span {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

@keyframes railLeft {
  0%, 100% {
    transform: translate3d(-16px, 0, 0);
  }
  50% {
    transform: translate3d(10px, -16px, 0);
  }
}

@keyframes railRight {
  0%, 100% {
    transform: translate3d(16px, 0, 0);
  }
  50% {
    transform: translate3d(-10px, 16px, 0);
  }
}

.story-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid #dbe5ee;
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(29, 43, 54, 0.12);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  color: #0565ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00d4ff, #c72c91);
}

.platform-modules-section {
  background:
    radial-gradient(circle at 12% 22%, rgba(0, 212, 255, 0.12), transparent 20rem),
    radial-gradient(circle at 85% 10%, rgba(199, 44, 145, 0.1), transparent 22rem),
    #ffffff;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.module-card {
  min-height: 250px;
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
  border: 1px solid #dbe5ee;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 10%, rgba(124, 58, 237, 0.09), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.9));
  box-shadow: 0 18px 48px rgba(29, 43, 54, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.module-card:hover {
  border-color: rgba(5, 101, 255, 0.28);
  box-shadow: 0 24px 60px rgba(5, 101, 255, 0.11);
}

.module-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 516px;
  background:
    radial-gradient(circle at 80% 12%, rgba(0, 212, 255, 0.18), transparent 16rem),
    linear-gradient(145deg, #0d1b31, #182b4a);
  color: #ffffff;
}

.module-card svg {
  width: 42px;
  height: 42px;
  fill: #0565ff;
  margin-bottom: 1rem;
}

.module-card-large svg {
  fill: #00d4ff;
}

.module-card h3 {
  color: #1d2b36;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.module-card-large h3 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.module-card p {
  color: #667789;
  line-height: 1.6;
}

.module-card-large p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.module-card ul {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.4rem;
  list-style: none;
}

.module-card li {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.module-card li::before {
  content: "✓";
  margin-right: 0.55rem;
  color: #00d4ff;
}

.builder-flow-section {
  background:
    linear-gradient(90deg, rgba(211, 222, 232, 0.35) 1px, transparent 1px),
    linear-gradient(180deg, rgba(211, 222, 232, 0.35) 1px, transparent 1px),
    #f8fbfe;
  background-size: 120px 120px;
}

.builder-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.builder-copy .section-title {
  text-align: left;
}

.builder-copy .section-subtitle {
  text-align: left;
  max-width: 620px;
}

.builder-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.builder-checks span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #33475b;
  font-weight: 800;
}

.builder-checks svg {
  width: 20px;
  height: 20px;
  fill: #10b981;
}

.flow-board {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
  border: 1px solid #dbe5ee;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(199, 44, 145, 0.13), transparent 16rem),
    #ffffff;
  box-shadow: 0 28px 72px rgba(29, 43, 54, 0.1);
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1rem;
  padding: 1.15rem;
  border: 1px solid #e3ebf2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.flow-step:hover {
  transform: translateX(8px);
  border-color: rgba(5, 101, 255, 0.3);
  box-shadow: 0 16px 38px rgba(5, 101, 255, 0.1);
}

.flow-step strong {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0565ff, #c72c91);
  color: #ffffff;
}

.flow-step span {
  color: #1d2b36;
  font-size: 1.1rem;
  font-weight: 900;
}

.flow-step p {
  color: #748494;
}

.flow-line {
  width: 2px;
  height: 22px;
  margin-left: 2.65rem;
  background: linear-gradient(#0565ff, #c72c91);
  opacity: 0.35;
}

.security-scale-section {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
  overflow: hidden;
}

.security-scale-section::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 50%;
  width: min(760px, 70vw);
  height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(5, 101, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.security-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(120, 154, 190, 0.24);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 14%, rgba(0, 212, 255, 0.28), transparent 20rem),
    radial-gradient(circle at 88% 12%, rgba(199, 44, 145, 0.24), transparent 18rem),
    linear-gradient(135deg, #061120 0%, #0b1b31 52%, #14264a 100%);
  color: #ffffff;
  overflow: hidden;
  box-shadow:
    0 34px 90px rgba(10, 25, 47, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.security-panel::before,
.security-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.security-panel::before {
  right: -8rem;
  top: -8rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.24), transparent 68%);
}

.security-panel::after {
  left: -9rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(199, 44, 145, 0.16), transparent 70%);
}

.security-copy,
.security-grid {
  position: relative;
  z-index: 1;
}

.security-copy .section-kicker {
  color: #5ee7ff;
}

.security-panel h2 {
  max-width: 560px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.security-panel p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.security-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.security-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(94, 231, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.security-card {
  position: relative;
  min-height: 166px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.25rem;
  border: 1px solid rgba(180, 213, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.security-card::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 0 1.2rem;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #00d4ff, #0565ff, #c72c91);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.security-card:hover {
  transform: translateY(-7px);
  border-color: rgba(94, 231, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 26px 58px rgba(0, 0, 0, 0.18);
}

.security-card:hover::after {
  opacity: 1;
}

.security-card:nth-child(even) {
  transform: translateY(1.1rem);
}

.security-card:nth-child(even):hover {
  transform: translateY(0.4rem);
}

.home-modern .feature-card:nth-child(3n + 1),
.difference-grid article:nth-child(3n + 1),
.module-card:nth-child(3n + 1) {
  --card-accent: #0565ff;
}

.home-modern .feature-card:nth-child(3n + 2),
.difference-grid article:nth-child(3n + 2),
.module-card:nth-child(3n + 2) {
  --card-accent: #c72c91;
}

.home-modern .feature-card:nth-child(3n),
.difference-grid article:nth-child(3n),
.module-card:nth-child(3n) {
  --card-accent: #00bcd4;
}

.home-modern .feature-card,
.difference-grid article,
.module-card {
  box-shadow:
    inset 0 3px 0 color-mix(in srgb, var(--card-accent, #0565ff) 68%, transparent),
    0 18px 48px rgba(29, 43, 54, 0.06);
}

.security-card svg {
  width: 34px;
  height: 34px;
  fill: #00d4ff;
  margin-bottom: auto;
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.34));
}

.security-card span {
  display: block;
  margin-top: 1.5rem;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.security-card p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.55;
}

.modern-cta-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(5, 101, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 86% 18%, rgba(199, 44, 145, 0.16), transparent 20rem),
    #ffffff;
}

.modern-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #dbe5ee;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 72px rgba(29, 43, 54, 0.1);
}

.modern-cta h2 {
  color: #1d2b36;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 0.8rem;
}

.modern-cta p {
  max-width: 720px;
  color: #667789;
  line-height: 1.65;
}

.modern-cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-modern .footer-section {
  position: relative;
  margin-top: 0;
  padding: 4.5rem var(--space-6) 2rem;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 212, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 85% 12%, rgba(199, 44, 145, 0.18), transparent 24rem),
    linear-gradient(180deg, #061027 0%, #08142d 58%, #050914 100%);
  color: #ffffff;
}

.home-modern .footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}

.home-modern .footer-section .container {
  position: relative;
  z-index: 1;
}

.footer-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 50%, rgba(0, 212, 255, 0.22), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.footer-cta-panel span {
  color: #00d4ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.footer-cta-panel h2 {
  max-width: 760px;
  margin-top: 0.65rem;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.footer-cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Colorful homepage refresh layer */
.home-modern .section {
  position: relative;
}

.home-modern .section:not(.security-scale-section):not(.modern-cta-section):not(.footer-section)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 212, 255, 0.08), transparent 18rem),
    radial-gradient(circle at 88% 18%, rgba(199, 44, 145, 0.08), transparent 20rem);
  pointer-events: none;
}

.home-modern .section > .container {
  position: relative;
  z-index: 1;
}

.home-modern .section-kicker {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(5, 101, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 32px rgba(29, 43, 54, 0.06);
}

.home-modern .features-grid,
.difference-grid {
  gap: 1rem;
  border: 0;
  background: transparent;
}

.home-modern .feature-card,
.home-modern .card,
.difference-grid article {
  --card-accent: #0565ff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 229, 238, 0.86);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--card-accent) 16%, transparent), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.92));
  box-shadow:
    inset 0 3px 0 color-mix(in srgb, var(--card-accent) 68%, transparent),
    0 18px 48px rgba(29, 43, 54, 0.08);
}

.home-modern .feature-card::after,
.home-modern .card::after,
.difference-grid article::after,
.module-card::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent, #0565ff) 14%, transparent);
  pointer-events: none;
}

.home-modern .feature-card:hover,
.home-modern .card:hover,
.difference-grid article:hover,
.module-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--card-accent, #0565ff) 38%, #dbe5ee);
  box-shadow: 0 30px 70px rgba(29, 43, 54, 0.13);
}

.home-modern .feature-card:nth-child(4n + 1),
.difference-grid article:nth-child(4n + 1),
.module-card:nth-child(4n + 1) {
  --card-accent: #0565ff;
}

.home-modern .feature-card:nth-child(4n + 2),
.difference-grid article:nth-child(4n + 2),
.module-card:nth-child(4n + 2) {
  --card-accent: #c72c91;
}

.home-modern .feature-card:nth-child(4n + 3),
.difference-grid article:nth-child(4n + 3),
.module-card:nth-child(4n + 3) {
  --card-accent: #00bcd4;
}

.home-modern .feature-card:nth-child(4n),
.difference-grid article:nth-child(4n),
.module-card:nth-child(4n) {
  --card-accent: #8a45e8;
}

.home-modern .feature-icon,
.difference-grid svg,
.module-card svg {
  background: color-mix(in srgb, var(--card-accent, #0565ff) 12%, #ffffff);
  color: var(--card-accent, #0565ff);
  fill: var(--card-accent, #0565ff);
  box-shadow: 0 16px 30px color-mix(in srgb, var(--card-accent, #0565ff) 16%, transparent);
}

.app-showcase-section,
.difference-section,
.platform-modules-section,
.story-section {
  background:
    radial-gradient(circle at 15% 14%, rgba(0, 212, 255, 0.1), transparent 22rem),
    radial-gradient(circle at 86% 18%, rgba(199, 44, 145, 0.09), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.app-list-panel {
  border: 1px solid rgba(219, 229, 238, 0.86);
  border-radius: 24px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(29, 43, 54, 0.08);
}

.app-list-item {
  border-bottom: 0;
  border-radius: 16px;
  padding: 1rem;
}

.app-list-item.active {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--app-accent, #0565ff) 16%, #ffffff), rgba(255, 255, 255, 0.5));
  color: #1d2b36;
  box-shadow: inset 3px 0 0 var(--app-accent, #0565ff);
}

.app-preview-card,
.tabs-container,
.flow-board,
.story-card,
.modern-cta {
  border-radius: 30px;
  border-color: rgba(126, 152, 188, 0.22);
  box-shadow: 0 32px 90px rgba(29, 43, 54, 0.12);
}

.dashboard-shell {
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--app-accent) 18%, transparent), transparent 14rem),
    radial-gradient(circle at 82% 12%, rgba(199, 44, 145, 0.12), transparent 16rem),
    linear-gradient(180deg, #f8fbff, #ffffff);
}

.product-feature-stage {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(219, 229, 238, 0.78);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 212, 255, 0.12), transparent 18rem),
    radial-gradient(circle at 84% 16%, rgba(199, 44, 145, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 90px rgba(29, 43, 54, 0.1);
}

.module-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--card-accent, #0565ff) 15%, transparent), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.9));
}

.module-card-large {
  background:
    radial-gradient(circle at 80% 12%, rgba(0, 212, 255, 0.24), transparent 16rem),
    radial-gradient(circle at 10% 90%, rgba(199, 44, 145, 0.2), transparent 16rem),
    linear-gradient(145deg, #07111f, #14264a);
}

.builder-flow-section {
  background:
    radial-gradient(circle at 12% 24%, rgba(0, 212, 255, 0.13), transparent 20rem),
    radial-gradient(circle at 90% 22%, rgba(199, 44, 145, 0.12), transparent 22rem),
    linear-gradient(90deg, rgba(211, 222, 232, 0.35) 1px, transparent 1px),
    linear-gradient(180deg, rgba(211, 222, 232, 0.35) 1px, transparent 1px),
    #f8fbfe;
  background-size: auto, auto, 120px 120px, 120px 120px, auto;
}

.builder-checks span {
  padding: 0.85rem;
  border: 1px solid rgba(219, 229, 238, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(29, 43, 54, 0.06);
}

.flow-step:nth-child(4n + 1) strong {
  background: linear-gradient(135deg, #0565ff, #00d4ff);
}

.flow-step:nth-child(4n + 3) strong {
  background: linear-gradient(135deg, #c72c91, #8a45e8);
}

.story-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 16%, rgba(0, 212, 255, 0.12), transparent 18rem),
    radial-gradient(circle at 92% 12%, rgba(199, 44, 145, 0.12), transparent 20rem),
    #ffffff;
}

.modern-cta {
  border: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 212, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 86% 16%, rgba(199, 44, 145, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.88));
}

.home-modern .legacy-home-section .feature-card,
.home-modern #enterprise-value .feature-card {
  border-radius: 24px;
}

.home-modern .footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.45fr) repeat(4, minmax(130px, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(2.5rem, 5vw, 4rem) 0 4.5rem;
  margin-bottom: 0;
}

.home-modern .footer-logo {
  margin-bottom: 2rem;
}

.home-modern .footer-logo .logo-img {
  width: 48px;
  height: 48px;
}

.home-modern .footer-logo span {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  letter-spacing: -0.025em;
}

.home-modern .footer-section .logo span,
.home-modern .footer-title,
.home-modern .footer-section h4 {
  color: #ffffff;
}

.home-modern .footer-description,
.home-modern .footer-contact p,
.home-modern .footer-links a,
.home-modern .footer-copyright,
.home-modern .footer-meta {
  color: rgba(255, 255, 255, 0.68);
}

.home-modern .footer-description {
  max-width: 300px;
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.home-modern .footer-title {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.home-modern .footer-title-spaced {
  margin-top: 2rem;
}

.home-modern .footer-links {
  display: grid;
  gap: 0.82rem;
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: #061027;
  border-color: #00d4ff;
  background: #00d4ff;
  transform: translateY(-3px);
}

.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.home-modern .footer-links a {
  display: inline-flex;
  transform: translateX(0);
  transition: color 0.2s ease, transform 0.2s ease;
}

.home-modern .footer-links a:hover {
  color: #00d4ff;
  transform: translateX(5px);
}

.home-modern .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  text-align: left;
}

.story-media {
  min-height: 390px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 20%, rgba(29, 43, 54, 0.14), transparent 14rem),
    repeating-linear-gradient(135deg, #f8fafc 0 8px, #eef3f7 9px 10px);
}

.story-media svg {
  width: 70px;
  height: 70px;
  padding: 1.2rem;
  border-radius: 999px;
  background: #111827;
  fill: #ffffff;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.quote-icon {
  width: 58px;
  height: 58px;
  fill: #c72c91;
  margin-bottom: 1rem;
}

.story-copy p {
  color: #556575;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.story-copy strong {
  margin: 1rem 0 1.5rem;
  color: #33475b;
}

.home-modern #enterprise-value .features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-modern .section:last-of-type {
  background:
    radial-gradient(circle at 18% 35%, rgba(199, 44, 145, 0.16), transparent 22rem),
    radial-gradient(circle at 82% 28%, rgba(5, 101, 255, 0.18), transparent 24rem),
    #ffffff;
}

.home-modern .footer-section {
  border-top: 0;
}

@media (max-width: 1024px) {
  .home-modern .logo-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .home-modern #enterprise-value .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-showcase-grid,
  .industry-board,
  .product-feature-stage,
  .story-card {
    grid-template-columns: 1fr;
  }

  .difference-grid,
  .industry-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-card-large {
    grid-column: span 2;
    min-height: 360px;
  }

  .home-modern .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-modern .footer-brand {
    grid-column: 1 / -1;
  }

  .builder-flow,
  .security-panel,
  .modern-cta,
  .footer-cta-panel {
    grid-template-columns: 1fr;
  }

  .modern-cta-actions,
  .footer-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .home-hero::before,
  .home-hero::after {
    opacity: 0.09;
  }

  .home-hero {
    min-height: auto;
    padding-bottom: 3.75rem;
  }

  .hero-roll-shot {
    width: min(620px, 86vw);
    height: 300px;
  }

  .hero-curtain-shot {
    width: 96vw;
    height: 320px;
  }

  .home-hero .hero-stats {
    display: grid;
  }

  .home-hero .stat {
    border-right: 0;
    border-bottom: 1px solid #e5ebf1;
  }

  .home-hero .stat:last-child {
    border-bottom: 0;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .builder-hero-copy {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .builder-hero-copy .hero-command,
  .home-hero .hero-title,
  .home-hero .hero-title-soft,
  .home-hero .hero-title-gradient,
  .home-hero .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tool-chips,
  .builder-actions {
    justify-content: center !important;
  }

  .builder-workspace {
    grid-template-columns: 1fr;
  }

  .builder-connector {
    width: 3px;
    height: 28px;
  }

  .builder-topbar {
    flex-wrap: wrap;
  }

  .builder-topbar em {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .ai-prompt-card {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-bottom: 1rem;
  }

  .home-modern .logo-grid,
  .home-modern #enterprise-value .features-grid {
    grid-template-columns: 1fr;
  }

  .home-modern .logo-item {
    border-right: 0;
    border-bottom: 1px solid #e5ebf1;
  }

  .home-modern .logo-item:last-child {
    border-bottom: 0;
  }

  .home-modern .features-grid {
    grid-template-columns: 1fr;
  }

  .difference-grid,
  .industry-tiles,
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .story-media {
    min-height: 260px;
  }

  .module-grid,
  .security-grid,
  .builder-checks {
    grid-template-columns: 1fr;
  }

  .lc-flow-canvas,
  .lc-api-flow {
    grid-template-columns: 1fr;
  }

  .lc-line,
  .lc-api-flow b {
    width: 3px;
    height: 24px;
    margin: 0 auto;
  }

  .lc-metric-grid,
  .lc-security-grid {
    grid-template-columns: 1fr;
  }

  .security-card:nth-child(even),
  .security-card:nth-child(even):hover {
    transform: none;
  }

  .module-card-large {
    grid-column: auto;
  }

  .home-modern .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .home-modern .footer-bottom {
    display: grid;
  }

  .hero-floating-card {
    display: none;
  }

  .showcase-tile {
    flex-basis: 240px;
    height: 180px;
  }

  .showcase-tile.tile-wide {
    flex-basis: 320px;
  }

  .feature-rail-left,
  .feature-rail-right,
  .home-hero .hero-image,
  .ai-prompt-card {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-modern *,
  .home-modern *::before,
  .home-modern *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .home-reveal {
    opacity: 1;
    transform: none;
  }

  .tilt-card {
    transform: none !important;
  }

  .showcase-marquee-track {
    animation: none !important;
  }

  .hero-bg-shot,
  .hero-roll-shot,
  .hero-curtain-shot {
    animation: none !important;
    opacity: 0.12;
    transform: translate3d(-50%, -50%, 0) scale(0.94);
  }
}
