*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #1A1AE6;
  --blue-mid:  #3B5FDB;
  --blue-light:#5B8DEF;
  --grad:      linear-gradient(135deg, #5B8DEF 0%, #1A1AE6 100%);
  --grad-v:    linear-gradient(160deg, #5B8DEF 0%, #1010C8 100%);
  --ink:       #0c0c1e;
  --muted:     #6b7280;
  --border:    #e4e7f0;
  --bg:        #ffffff;
  --off:       #f8f9fc;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(10,10,14,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
}

/* Nav hidden until splash finishes */
#nav { opacity: 0; transition: opacity 0.5s ease, background 0.3s, border-color 0.3s; }
#nav.nav-visible { opacity: 1; }

nav.scrolled { background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border); }
nav.scrolled .nav-links a { color: var(--muted); }
nav.scrolled .nav-links a:hover { color: var(--ink); }
nav.scrolled .logo-text { color: var(--ink); }
nav.scrolled .logo-text strong { color: var(--blue); }

.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-logo-icon { height: 32px; width: auto; }
.logo-text { font-size: 1.1rem; font-weight: 400; color: #fff; letter-spacing: -0.01em; }
.logo-text strong { font-weight: 800; color: #fff; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.8); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--blue);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: 0.88; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: var(--grad-v);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 6% 90px;
  gap: 32px;
}

/* ── Splash overlay ── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--grad-v);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* The one icon that physically moves from centre → lockup position */
#splash-icon {
  width: 150px;
  position: absolute;
  /* JS sets top/left to centre, then transitions to lockup position */
  transform-origin: center center;
  transition: top  0.75s cubic-bezier(0.4, 0, 0.2, 1),
              left 0.75s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

#splash.splash-done {
  background: transparent;
  /* keep it around so the icon is still visible during name slide */
}

/* ── Hero lockup: icon placeholder + name side by side ── */
#hero-lockup {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  /* invisible placeholder — just holds space so JS can measure position */
}

/* The lockup icon is hidden — the splash-icon flies into this spot */
#lockup-icon {
  height: 68px;
  width: auto;
  flex-shrink: 0;
  visibility: hidden;
}

#lockup-name {
  height: 42px;
  width: auto;
  margin-left: 16px;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

#lockup-name.name-show {
  opacity: 1;
  transform: translateX(0);
}

/* ── Hero text ── */
#hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

#hero-content.hero-visible {
  opacity: 1;
  transform: translateY(0);
}

#hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 36px;
}

#hero h1 span {
  display: block;
  opacity: 0.55;
  font-weight: 300;
}

.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-solid {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  background: #fff;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: transform .15s;
}
.btn-solid:hover { transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.35);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); color: #fff; }

/* ─── SECTION SHELL ─── */
.section { padding: 96px 6%; }
.section-alt  { background: var(--off); }
.section-dark { background: #ffffff; }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 14px;
  display: block;
}
.eyebrow-light { color: var(--blue-mid); }

.heading {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.heading-light { color: var(--ink); }

.heading em { font-style: normal; color: var(--blue); }

.subhead {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 520px;
}
.subhead-light { color: var(--muted); }

/* ─── WHAT WE PROVIDE — CAROUSEL ─── */
.carousel-outer {
  margin-top: 56px;
  overflow: hidden;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: carousel-scroll 32s linear infinite;
  will-change: transform;
}

.carousel-track:hover { animation-play-state: paused; }

.data-item {
  background: #f5f6fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 240px;
  min-height: 320px;
  flex-shrink: 0;
  transition: background .15s, box-shadow .15s;
}

.data-item:hover {
  background: #eef1fb;
  box-shadow: 0 4px 20px rgba(26,26,230,0.08);
}

.data-item .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  border-radius: 10px;
}

.data-item .icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: white;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.data-item h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.data-item p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ─── HOW IT WORKS ─── */
.steps-wrap {
  max-width: 860px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  position: relative;
}

.step-row:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-row + .step-row { padding-top: 40px; }

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-top: 14px; margin-bottom: 6px; }
.step-body p  { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.section-dark .step-body h3 { color: var(--ink); }
.section-dark .step-body p  { color: var(--muted); }
.section-dark .step-row:not(:last-child)::before { background: var(--border); }

/* ─── SAMPLE ─── */
.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.tick-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }

.tick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.tick-row::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border: 1.5px solid rgba(26,26,230,0.3);
  border-radius: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231A1AE6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1,6 4.5,9.5 11,2'/%3E%3C/svg%3E") center / 10px no-repeat;
  flex-shrink: 0;
}

.sample-cta { margin-top: 36px; }

.btn-blue {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-blue:hover { opacity: 0.85; }

/* ─── CSV MOCK ─── */
.csv-mock {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.10);
  position: relative;
}

.csv-top {
  background: var(--grad);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.csv-top .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.csv-top span { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.8); margin-left: 6px; letter-spacing: 0.03em; }

table.csv { width: 100%; border-collapse: collapse; font-size: 0.74rem; }

table.csv thead th {
  background: #f0f3ff;
  color: var(--blue);
  font-weight: 700;
  padding: 9px 14px;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

table.csv tbody td {
  padding: 9px 14px;
  border-bottom: 1px solid #f2f4f9;
  color: var(--ink);
}

table.csv tbody tr:last-child td { border-bottom: none; }

.blurred td { filter: blur(4px); pointer-events: none; }

.grade {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 5px;
  text-align: center;
  line-height: 22px;
  font-weight: 800;
  font-size: 0.68rem;
}
.ga { background: #dcfce7; color: #166534; }
.gb { background: #dbeafe; color: #1e40af; }
.gc { background: #fef9c3; color: #854d0e; }

.csv-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(255,255,255,0.96));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
}

.csv-fade span { font-size: 0.78rem; font-weight: 600; color: var(--blue-mid); }

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 56px auto 0;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: box-shadow .2s;
}

.price-card:hover { box-shadow: 0 8px 32px rgba(26,26,230,0.1); }

.price-card.best {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.best-label {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #fbbf24;
  color: #78350f;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 10px;
}

.price-card.best .plan-name { color: rgba(255,255,255,0.65); }

.plan-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.plan-price sup { font-size: 1.1rem; vertical-align: top; margin-top: 8px; font-weight: 700; }
.price-card.best .plan-price { color: white; }

.plan-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.price-card.best .plan-tagline { color: rgba(255,255,255,0.65); }

.plan-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 24px; }
.price-card.best .plan-divider { border-color: rgba(255,255,255,0.2); }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; flex: 1; }

.plan-feature {
  font-size: 0.86rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.4;
}

.price-card.best .plan-feature { color: rgba(255,255,255,0.88); }

.pf-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-card.best .pf-dot { background: rgba(255,255,255,0.25); }

.pf-dot svg { width: 8px; height: 8px; stroke: white; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.plan-btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
}

.plan-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.plan-btn-outline {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.plan-btn-white {
  background: white;
  color: var(--blue);
}

.plan-btn-fill {
  background: var(--blue);
  color: white;
}

/* ─── CTA ─── */
#cta {
  background: var(--grad-v);
  padding: 110px 6%;
  text-align: center;
}

#cta h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}

#cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  max-width: 440px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  padding: 36px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo svg { width: 28px; height: 28px; }
.footer-logo-text { font-size: 1rem; color: white; font-weight: 400; }
.footer-logo-text strong { font-weight: 800; }

footer p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

.footer-copy { text-align: center; }

.footer-socials { display: flex; align-items: center; gap: 16px; }

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.45);
  transition: color .15s;
}

.footer-social-icon svg { width: 20px; height: 20px; }

.footer-social-icon:hover { color: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .sample-grid  { grid-template-columns: 1fr; }
  .nav-links    { display: none; }
  footer        { justify-content: center; text-align: center; }
}
