:root {
  --bg: #061018;
  --bg-2: #0d1826;
  --card: rgba(8, 18, 29, 0.7);
  --card-strong: rgba(9, 20, 33, 0.9);
  --border: rgba(162, 186, 214, 0.18);
  --text: #eaf4ff;
  --muted: #9fb5cd;
  --accent: #27d3c4;
  --accent-2: #ff9963;
  --accent-3: #59a8ff;
  --shadow: 0 34px 80px rgba(2, 10, 18, 0.46);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(39, 211, 196, 0.16), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(255, 153, 99, 0.16), transparent 23%),
    radial-gradient(circle at 50% 100%, rgba(89, 168, 255, 0.14), transparent 28%),
    linear-gradient(160deg, var(--bg), var(--bg-2));
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  filter: blur(86px);
  border-radius: 999px;
  opacity: 0.42;
  transition: transform 350ms ease;
}

.orb-a {
  width: 360px;
  height: 360px;
  background: #1fd0d2;
  top: -60px;
  left: -80px;
  animation: floatA 12s ease-in-out infinite;
}

.orb-b {
  width: 440px;
  height: 440px;
  background: #ff9457;
  top: 8%;
  right: -120px;
  animation: floatB 15s ease-in-out infinite;
}

.orb-c {
  width: 300px;
  height: 300px;
  background: #4ea5ff;
  bottom: -70px;
  left: 24%;
  animation: floatA 13s ease-in-out infinite reverse;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 75%);
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(1240px, 92vw);
  margin: 1.2rem auto 0;
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(8, 17, 27, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(3, 10, 18, 0.22);
}

.brand {
  color: #f5fbff;
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  gap: 1rem;
}

.top-nav a {
  color: #c8dbf2;
  text-decoration: none;
  font-size: 0.91rem;
  padding: 0.34rem 0.48rem;
  border-radius: 10px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.top-nav a:hover {
  color: #f2f8ff;
  background: rgba(147, 197, 253, 0.12);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  gap: 0.55rem;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.72rem 1.08rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.solid {
  color: #04121a;
  background: linear-gradient(100deg, var(--accent), #4ce2ca 55%, var(--accent-2));
  box-shadow: 0 16px 30px rgba(39, 211, 196, 0.26);
}

.btn.ghost {
  color: #d2e7ff;
  background: rgba(147, 197, 253, 0.08);
  border-color: rgba(147, 197, 253, 0.18);
}

main {
  width: min(1240px, 92vw);
  margin: 1rem auto 4rem;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(89, 168, 255, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(10, 25, 40, 0.94), rgba(7, 17, 27, 0.88));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.2rem;
  align-items: stretch;
}

.hero-copy-wrap {
  padding-right: 0.3rem;
}

.kicker {
  margin: 0;
  color: #82f1e9;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1 {
  margin: 0.85rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy {
  margin: 1rem 0 0;
  max-width: 68ch;
  color: #bfd5ec;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.72;
}

.hero-ctas {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-stats li {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(7, 15, 24, 0.74), rgba(9, 20, 33, 0.86));
  padding: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.count {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  color: #ffd3ba;
}

.hero-stats small {
  color: #a8bfd8;
}

.trust-strip {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-strip li {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  background: rgba(10, 26, 40, 0.6);
  color: #c9dbef;
  font-size: 0.78rem;
}

.hero-visual {
  min-height: 100%;
  border-radius: 26px;
  border: 1px solid rgba(159, 181, 205, 0.22);
  background: linear-gradient(165deg, rgba(9, 21, 35, 0.86), rgba(11, 24, 39, 0.58));
  padding: 1rem;
}

.hero-visual-shell {
  display: grid;
  gap: 0.8rem;
  height: 100%;
}

.hero-visual-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(39, 211, 196, 0.24);
  background: rgba(39, 211, 196, 0.12);
  color: #b6fff8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.signal-pill.calm {
  border-color: rgba(89, 168, 255, 0.22);
  background: rgba(89, 168, 255, 0.1);
  color: #d6e9ff;
}

.hero-preview-card {
  border: 1px solid rgba(159, 181, 205, 0.16);
  border-radius: 20px;
  padding: 1rem;
  background: rgba(8, 18, 29, 0.78);
}

.preview-primary {
  position: relative;
  overflow: hidden;
}

.preview-primary::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 120px;
  background: radial-gradient(circle, rgba(39, 211, 196, 0.18), transparent 70%);
}

.preview-label-row,
.metric-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.preview-label,
.metric-top h3 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #86c9c3;
}

.hero-preview-card h3,
.card h3,
.step h3,
.pillar-card h3,
.stage-card h3,
.security-card h3,
.integration-card h3,
.metric-item h3 {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
}

.hero-preview-card p,
.card p,
.step p,
.stage-card p,
.pillar-card p,
.security-card p,
.integration-card p,
.muted-copy {
  margin: 0.58rem 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.wave-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 1rem;
  align-items: end;
  height: 68px;
}

.wave-grid span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(39, 211, 196, 0.95), rgba(89, 168, 255, 0.45));
  animation: wave 1.7s ease-in-out infinite;
}

.wave-grid span:nth-child(1) { height: 34%; animation-delay: 0ms; }
.wave-grid span:nth-child(2) { height: 76%; animation-delay: 100ms; }
.wave-grid span:nth-child(3) { height: 54%; animation-delay: 200ms; }
.wave-grid span:nth-child(4) { height: 88%; animation-delay: 300ms; }
.wave-grid span:nth-child(5) { height: 44%; animation-delay: 400ms; }
.wave-grid span:nth-child(6) { height: 68%; animation-delay: 500ms; }

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

.preview-list {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.38rem;
  color: #c8d9ed;
  font-size: 0.9rem;
}

.proof-bar {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(8, 18, 29, 0.78), rgba(8, 18, 29, 0.52));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.proof-item {
  padding: 0.2rem 0.3rem;
}

.proof-item span {
  display: block;
  color: #87c8c1;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.proof-item strong {
  display: block;
  margin-top: 0.4rem;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.section {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--card);
  padding: clamp(1.15rem, 3.4vw, 2rem);
  backdrop-filter: blur(12px);
}

.section-head h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
}

.pain-grid,
.security-grid,
.integration-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.card,
.security-card,
.integration-card,
.stage-card,
.pillar-card,
.metric-item,
.step,
.delivery-shell {
  border: 1px solid rgba(159, 181, 205, 0.18);
  border-radius: 18px;
  padding: 1.05rem;
  background: rgba(8, 18, 30, 0.82);
}

.glow-card {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -70% -30%;
  height: 130px;
  background: linear-gradient(90deg, transparent, rgba(78, 165, 255, 0.22), transparent);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.glow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(89, 168, 255, 0.26);
  box-shadow: 0 20px 45px rgba(4, 11, 20, 0.24);
}

.glow-card:hover::before {
  opacity: 1;
  animation: shimmer 1s linear;
}

.stage-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.stage-card span,
.step span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  color: #fff1e6;
  background: linear-gradient(145deg, var(--accent-2), #ffa06f);
  margin-bottom: 0.7rem;
  box-shadow: 0 12px 24px rgba(255, 153, 99, 0.18);
}

.timeline {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.flow-shell {
  margin-top: 1rem;
  background: linear-gradient(145deg, rgba(9, 22, 36, 0.95), rgba(7, 16, 27, 0.92));
}

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

.flow-tab {
  border: 1px solid rgba(159, 181, 205, 0.25);
  border-radius: 12px;
  background: rgba(13, 31, 49, 0.58);
  color: #cfe0f3;
  padding: 0.68rem 0.7rem;
  font-weight: 700;
  font-family: "Manrope", system-ui, sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.flow-tab:hover {
  transform: translateY(-1px);
}

.flow-tab.active {
  border-color: rgba(39, 211, 196, 0.62);
  background: linear-gradient(95deg, rgba(39, 211, 196, 0.18), rgba(78, 165, 255, 0.18));
  color: #eff8ff;
}

.flow-progress {
  margin-top: 0.8rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.1);
  overflow: hidden;
}

.flow-progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flow-panels {
  margin-top: 0.95rem;
  position: relative;
  min-height: 220px;
}

.flow-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.flow-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.flow-panel h3 {
  margin: 0;
  font-size: 1.12rem;
}

.flow-panel p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.56;
}

.flow-panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1.05rem;
  color: #bed2e7;
}

.flow-panel li + li {
  margin-top: 0.32rem;
}

.pillar-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.delivery-shell {
  margin-top: 0.95rem;
  background: linear-gradient(145deg, rgba(10, 25, 40, 0.95), rgba(8, 19, 30, 0.88));
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}

.delivery-shell h3 {
  margin: 0.45rem 0 0;
  font-size: 1.2rem;
}

.delivery-moments {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.delivery-moments li {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  padding: 0.5rem 0.82rem;
  background: rgba(13, 31, 49, 0.62);
  color: #d8e8fb;
  font-size: 0.85rem;
}

.metric-track {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.metric-top strong {
  color: #ffd0b5;
  font-family: "Sora", sans-serif;
}

.meter {
  margin-top: 0.75rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.13);
  overflow: hidden;
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta {
  margin-top: 1rem;
  border: 1px solid rgba(39, 211, 196, 0.34);
  border-radius: 28px;
  padding: clamp(1.3rem, 3.5vw, 2.4rem);
  background: radial-gradient(circle at top left, rgba(39, 211, 196, 0.18), rgba(8, 18, 29, 0.95) 60%);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.cta p {
  margin: 0.72rem 0 0;
  color: #bdd6ef;
  max-width: 58ch;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shimmer {
  from {
    transform: translateX(-60%);
  }
  to {
    transform: translateX(60%);
  }
}

@keyframes floatA {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(18px) translateX(8px);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-16px) translateX(-12px);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scaleY(1.14);
    opacity: 1;
  }
}

@media (max-width: 1140px) {
  .hero-layout,
  .delivery-shell {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .proof-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .top-nav {
    display: none;
  }

  .pain-grid,
  .security-grid,
  .integration-grid,
  .pillar-grid,
  .metric-track,
  .preview-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-stats,
  .stage-grid,
  .flow-tabs {
    grid-template-columns: 1fr;
  }

  .flow-panels {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
