:root{
  --bg1:#E9F7FF;
  --bg2:#EDE9FF;
  --ink:#0b0f1a;
  --muted:#475067;
  --card:rgba(255,255,255,.70);
  --stroke:rgba(20,25,35,.10);
  --shadow: 0 18px 60px rgba(10,15,30,.12);
  --shadow2: 0 12px 40px rgba(10,15,30,.10);
  --radius: 22px;

  /* Accent (line + buttons) */
  --a1:#7C5CFF;
  --a2:#5BD6FF;
  --a3:#FF6BD6;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: radial-gradient(1100px 520px at 25% 0%, var(--bg1), transparent 60%),
              radial-gradient(900px 520px at 85% 20%, var(--bg2), transparent 55%),
              linear-gradient(180deg, #f6fbff, #f4f1ff 60%, #f7f9ff);
}

.container{width:min(1120px, calc(100% - 40px)); margin:0 auto;}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(248,250,255,.65);
  border-bottom: 1px solid rgba(10,15,30,.06);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; gap:10px; align-items:center; text-decoration:none; color:inherit;}
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(10,15,30,.08);
  box-shadow: 0 10px 30px rgba(10,15,30,.08);
  font-weight:700;
}
.brand-name{
  font-family: "DM Serif Display", serif;
  letter-spacing:.08em;
}
.nav{display:flex; gap:18px; align-items:center}
.nav a{
  text-decoration:none; color:rgba(20,25,35,.75);
  font-weight:500; font-size:14px;
  padding:8px 10px; border-radius:999px;
}
.nav a.active, .nav a:hover{
  color:rgba(20,25,35,.95);
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(10,15,30,.08);
}

.topbar-cta{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding:0 14px;
  border-radius:999px;
  border: 1px solid rgba(10,15,30,.10);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  color:rgba(20,25,35,.92);
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 26px rgba(10,15,30,.06);
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}
.btn:hover{transform: translateY(-1px); filter: brightness(1.02);}
.btn-primary{
  border: 1px solid rgba(124,92,255,.35);
  background: linear-gradient(90deg, rgba(124,92,255,.95), rgba(91,214,255,.95), rgba(255,107,214,.90));
  color:white;
}
.btn-ghost{
  background: rgba(255,255,255,.55);
}

.pill-row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px;}
.pill{
  font-size:12px;
  padding:8px 12px;
  border-radius:999px;
  border: 1px solid rgba(10,15,30,.10);
  background: rgba(255,255,255,.55);
  color: rgba(20,25,35,.75);
}

.hero{
  position:relative;
  padding:56px 0 40px;
  overflow:hidden;
  border-bottom: 1px solid rgba(10,15,30,.06);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:end;
  position:relative;
  z-index:2; /* above curve */
}

.hero-title{
  font-family: "DM Serif Display", serif;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: .98;
  margin:0 0 14px;
  letter-spacing:-0.01em;
}
.hero-sub{
  margin:0 0 18px;
  color: rgba(20,25,35,.72);
  max-width: 54ch;
  line-height:1.55;
}
.hero-actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:16px;}
.avail{
  display:flex; align-items:center; gap:10px;
  margin-top:12px;
  color: rgba(20,25,35,.7);
  font-size:13px;
}
.dot{
  width:10px; height:10px; border-radius:50%;
  background:#22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.18);
}

.card{
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(10,15,30,.10);
  box-shadow: var(--shadow2);
}

.hero-card{
  padding:18px;
}
.kpi{
  display:flex; justify-content:space-between; gap:12px;
  padding:14px 14px;
  border-radius:18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(10,15,30,.10);
}
.kpi + .kpi{margin-top:12px;}
.kpi .label{font-size:12px; color:rgba(20,25,35,.6);}
.kpi .value{font-weight:700;}

.section{padding:54px 0;}
.section-title{
  margin:0 0 10px;
  font-size:28px;
  letter-spacing:-.02em;
}
.section-sub{margin:0 0 22px; color: rgba(20,25,35,.68);}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.feature{padding:18px;}
.feature h3{margin:0 0 8px; font-size:18px;}
.feature p{margin:0; color: rgba(20,25,35,.70); line-height:1.55;}

.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.step{padding:18px;}
.step .n{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  background: rgba(124,92,255,.14);
  border: 1px solid rgba(124,92,255,.25);
  font-weight:800;
  color: rgba(80,60,210,.95);
  margin-bottom:10px;
}

.faq details{
  padding:16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(10,15,30,.08);
}
.faq details + details{margin-top:10px;}
.faq summary{cursor:pointer; font-weight:700;}
.faq p{margin:10px 0 0; color: rgba(20,25,35,.72);}

.cta{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px;
  gap:18px;
}
.cta h2{margin:0 0 6px;}
.cta p{margin:0; color: rgba(20,25,35,.70);}
.cta-actions{display:flex; gap:10px; flex-wrap:wrap;}

.footer{
  border-top: 1px solid rgba(10,15,30,.06);
  padding:18px 0 24px;
  background: rgba(245,248,255,.55);
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
}
.footer-brand{font-weight:800;}
.footer-links{display:flex; gap:14px;}
.footer-links a{color: rgba(20,25,35,.70); text-decoration:none;}
.footer-links a:hover{color: rgba(20,25,35,.92);}
.muted{color: rgba(20,25,35,.60); font-size:13px;}

/* ===== Animated Bezier Curve Layer ===== */
.curve-layer{
  position:absolute;
  inset:0;
  z-index:1; /* behind content */
  pointer-events:none;
}
.curve-svg{
  width:100%;
  height:100%;
  display:block;
  opacity:.95;
  filter: drop-shadow(0 18px 40px rgba(30,40,80,.12));
}
.curve-path{
  stroke: url(#axGradient);
  stroke-width: 10;
  fill: none;
  stroke-linecap: round;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; align-items:start;}
  .steps{grid-template-columns:1fr 1fr;}
  .grid-3{grid-template-columns:1fr;}
}
@media (max-width: 560px){
  .nav{display:none;}
  .steps{grid-template-columns:1fr;}
}


/* Fullscreen hero helper */
.hero.hero--fullscreen{min-height:100vh;min-height:100svh;display:flex;align-items:center;}
@media (max-width: 980px){.hero.hero--fullscreen{align-items:flex-start;}}
