/* ============================================================
   Design tokens
   ============================================================ */
:root{
  --bg-1: #f7fafd;
  --bg-2: #e9f2fc;

  --blue-600: #2f6fed;
  --blue-500: #4f8bff;
  --blue-100: #eaf2ff;
  --violet-500: #7c5cfc;
  --amber-500: #f2a93b;
  --navy-900: #0b1b33;
  --navy-700: #223252;
  --slate-500: #5c6b84;

  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(79, 139, 255, 0.28);
  --glass-shadow: 0 30px 80px -20px rgba(31, 74, 148, 0.28), 0 8px 24px -8px rgba(31, 74, 148, 0.12);

  --card-bg: rgba(255, 255, 255, 0.66);
  --card-border: rgba(79, 139, 255, 0.16);

  --radius-panel: 40px;
  --radius-card: 22px;

  --font-display: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

*{ box-sizing: border-box; }

/* html, body{
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg-1);
  font-family: var(--font-body);
  color: var(--navy-900);
  -webkit-font-smoothing: antialiased;
} */

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

/* ============================================================
   Scene / background
   ============================================================ */
.scene{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
  overflow: hidden;
}

.bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--bg-2) 0%, var(--bg-1) 55%, #ffffff 100%);
  overflow: hidden;
}

.grid-layer{
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(47, 111, 237, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 111, 237, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 65% at 50% 40%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 65% at 50% 40%, black 30%, transparent 85%);
}

.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.blob-blue{
  width: 480px;
  height: 480px;
  left: -160px;
  top: -120px;
  background: radial-gradient(circle at 30% 30%, #6fa2ff 0%, rgba(111, 162, 255, 0) 70%);
  animation: float-a 18s ease-in-out infinite;
}

.blob-purple{
  width: 420px;
  height: 420px;
  right: -140px;
  top: 40px;
  background: radial-gradient(circle at 60% 40%, #a78bfa 0%, rgba(167, 139, 250, 0) 70%);
  animation: float-b 22s ease-in-out infinite;
}

.blob-soft{
  width: 560px;
  height: 340px;
  left: 50%;
  bottom: -220px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, #bcd6ff 0%, rgba(188, 214, 255, 0) 72%);
  animation: float-c 26s ease-in-out infinite;
}

@keyframes float-a{
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.06); }
}
@keyframes float-b{
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
}
@keyframes float-c{
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, -18px) scale(1.05); }
}

.waves{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: 100%;
  height: 220px;
  opacity: 0.5;
}
.wave{ opacity: 0.5; }
.wave-1{ fill: rgba(79, 139, 255, 0.16); animation: wave-drift 16s linear infinite; }
.wave-2{ fill: rgba(124, 92, 252, 0.12); animation: wave-drift 22s linear infinite reverse; }
.wave-3{ fill: rgba(47, 111, 237, 0.10); animation: wave-drift 28s linear infinite; }

@keyframes wave-drift{
  0%{ transform: translateX(0); }
  50%{ transform: translateX(-3%); }
  100%{ transform: translateX(0); }
}

/* ============================================================
   Panel — content wrapper (big rectangle background removed)
   ============================================================ */
.panel{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.panel-inner{
  position: relative;
  padding: clamp(40px, 6vw, 76px) clamp(24px, 6vw, 84px) clamp(48px, 6vw, 72px);
}

/* ============================================================
   Top: badge, heading, subcopy
   ============================================================ */
.hero-row{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero-text{
  text-align: left;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
  box-shadow: 0 6px 18px -8px rgba(47, 111, 237, 0.35);
}

.badge-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.18);
}

.heading{
  margin: 22px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.subcopy{
  margin: 0;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-500);
}

/* ============================================================
   Timeline — connected vertical list of feature nodes
   ============================================================ */
.timeline{
  display: flex;
  flex-direction: column;
}

.timeline-item{
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.timeline-node-col{
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-node{
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s ease;
  box-shadow: 0 10px 22px -10px rgba(31, 74, 148, 0.35);
}

.timeline-item:hover .timeline-node{
  transform: scale(1.08);
  box-shadow: 0 16px 30px -10px rgba(31, 74, 148, 0.45);
}

.timeline-node svg{
  width: 26px;
  height: 26px;
}

.timeline-line{
  width: 2px;
  flex: 1;
  min-height: 44px;
  margin: 6px 0;
  background: linear-gradient(to bottom, rgba(79, 139, 255, 0.45), rgba(124, 92, 252, 0.15));
}

.timeline-text{
  padding-top: 14px;
}

.timeline-text h3{
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.timeline-text p{
  margin: 0;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate-500);
}

.icon-blue{
  color: #ffffff;
  background: linear-gradient(145deg, #4f8bff, #2f6fed);
}
.icon-violet{
  color: #ffffff;
  background: linear-gradient(145deg, #9c85ff, #7c5cfc);
}
.icon-amber{
  color: #ffffff;
  background: linear-gradient(145deg, #ffbf5c, #f2a93b);
}


/* ============================================================
   Divider
   ============================================================ */
.divider{
  height: 1px;
  margin: clamp(36px, 5vw, 52px) 0;
  background: linear-gradient(to right, transparent, rgba(47, 111, 237, 0.28) 20%, rgba(47, 111, 237, 0.28) 80%, transparent);
}

/* ============================================================
   Stats
   ============================================================ */
.stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stat{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-number{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.stat-number::after{
  content: attr(data-suffix);
  color: var(--blue-600);
}

.stat-label{
  font-size: 13px;
  color: var(--slate-500);
  letter-spacing: 0.01em;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-row{
  margin-top: clamp(36px, 5vw, 52px);
  display: flex;
  justify-content: center;
}

.cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), #5a5cf0);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 16px 34px -12px rgba(47, 111, 237, 0.55);
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1), box-shadow 0.28s ease, filter 0.28s ease;
}

.cta svg{
  width: 18px;
  height: 18px;
  transition: transform 0.28s ease;
}

.cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -12px rgba(47, 111, 237, 0.65);
  filter: brightness(1.04);
}

.cta:hover svg{
  transform: translateX(3px);
}

.cta:focus-visible,
.timeline-item:focus-visible{
  outline: 2px solid var(--blue-600);
  outline-offset: 4px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px){
  .hero-row{
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-text{
    text-align: center;
  }
  .hero-text .subcopy{
    margin: 0 auto;
  }
  .timeline-text p{
    max-width: none;
  }
  .stats{
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .br-desktop{ display: none; }
}

@media (max-width: 480px){
  .panel-inner{ padding: 36px 20px 44px; }
  .timeline-node{
    width: 52px;
    height: 52px;
  }
  .timeline-node svg{
    width: 22px;
    height: 22px;
  }
}
