:root {
  --brand: #2563eb;
  --brand-2: #6366f1;
  --indigo: #4f46e5;
  --violet: #8b5cf6;
  --brand-50: #eef4ff;
  --ink: #0a1020;
  --slate: #4a5568;
  --muted: #97a3b6;
  --line: #e9eef6;
  --bg: #ffffff;
  --bg-soft: #f6f8fd;
  --ok: #10b981;
  --grad: linear-gradient(120deg, #2563eb 0%, #6366f1 55%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, #eef4ff 0%, #f3eefe 100%);
  --shadow-sm: 0 4px 16px -8px rgba(20, 40, 90, .16);
  --shadow: 0 22px 50px -26px rgba(20, 40, 90, .34);
  --shadow-lg: 0 44px 100px -40px rgba(28, 40, 110, .50);
  --glow: 0 16px 40px -12px rgba(79, 70, 229, .55);
  --radius: 18px;
  --radius-lg: 24px;
  --maxw: 1160px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; position: relative; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: 44px; font-weight: 800; text-align: center; }
.grad-txt { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sub { text-align: center; color: var(--slate); font-size: 18px; max-width: 660px; margin: 18px auto 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--indigo); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; background: #fff; border: 1px solid var(--line); padding: 7px 15px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.center { text-align: center; }
.center .eyebrow { margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 99px; transition: .2s cubic-bezier(.2,.7,.3,1); cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -14px rgba(79,70,229,.7); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; border-color: #d4ddec; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* Nav */
header.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.7); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(233,238,246,.8); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.04em; }
.logo .dot { width: 31px; height: 31px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 17px; box-shadow: var(--glow); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--slate); font-size: 15px; font-weight: 500; transition: .15s; }
.nav-links a:hover { color: var(--indigo); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-cta .btn-ghost { display: none; } }

/* Hero */
.hero { padding: 104px 0 84px; text-align: center; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -25% -10% 30%; z-index: -2; filter: blur(46px); opacity: .9;
  background:
    radial-gradient(38% 50% at 18% 18%, rgba(99,102,241,.40), transparent 62%),
    radial-gradient(42% 52% at 82% 12%, rgba(37,99,235,.34), transparent 62%),
    radial-gradient(44% 54% at 62% 46%, rgba(139,92,246,.30), transparent 62%);
  animation: aurora 20s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(-3%,2.5%,0) scale(1.1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(99,116,160,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(99,116,160,.10) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(760px 520px at 50% 4%, #000 30%, transparent 76%);
  mask-image: radial-gradient(760px 520px at 50% 4%, #000 30%, transparent 76%); }
.hero .badge-top { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 99px; padding: 8px 17px; font-size: 13px; font-weight: 600; color: var(--slate); box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.hero .badge-top .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(16,185,129,.5)} 70%{box-shadow:0 0 0 8px rgba(16,185,129,0)} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0)} }
.hero h1 { font-size: 68px; font-weight: 800; max-width: 940px; margin: 0 auto; letter-spacing: -0.04em; }
.hero p.lead { font-size: 20px; color: var(--slate); max-width: 600px; margin: 26px auto 0; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero .proof { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -11px; background: var(--grad); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; box-shadow: var(--shadow-sm); }
.avatars span:first-child { margin-left: 0; }
.proof .stars { color: #f59e0b; font-size: 15px; letter-spacing: 1px; }
.proof small { color: var(--slate); font-size: 14px; display: block; }
@media (max-width: 640px) { .hero h1 { font-size: 44px; } .hero { padding-top: 72px; } }

/* Floating glass cards */
.float-card { position: absolute; background: rgba(255,255,255,.72); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.7); padding: 15px 17px; font-size: 13px; z-index: 1; animation: float 6s ease-in-out infinite; }
.float-card .fc-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.float-card .fc-email { font-weight: 700; font-size: 14px; }
.float-card .pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.pill.ok { background: #ecfdf5; color: #047857; }
.pill.bad { background: #fef2f2; color: #dc2626; }
.float-card .fc-sub { color: var(--muted); margin-top: 5px; font-size: 12px; }
.fc-1 { top: 70px; left: 1%; width: 224px; --r: -6deg; animation-delay: .2s; }
.fc-2 { top: 132px; right: 0%; width: 214px; --r: 6deg; animation-delay: 1.1s; }
.fc-3 { top: 350px; left: 4%; width: 196px; --r: 5deg; animation-delay: 1.8s; }
.fc-4 { top: 392px; right: 3%; width: 220px; --r: -5deg; animation-delay: .7s; }
.float-card { transform: rotate(var(--r,0)); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(var(--r,0)); } 50% { transform: translateY(-15px) rotate(var(--r,0)); } }
@media (max-width: 1080px) { .float-card { display: none; } }

/* Dashboard mock */
.hero-shot { max-width: 920px; margin: 60px auto 0; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.hero-shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); pointer-events: none; }
.hero-shot .topbar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.hero-shot .topbar i { width: 11px; height: 11px; border-radius: 50%; }
.hero-shot .topbar i:nth-child(1){background:#ff5f57} .hero-shot .topbar i:nth-child(2){background:#febc2e} .hero-shot .topbar i:nth-child(3){background:#28c840}
.hero-shot .panel { display: grid; grid-template-columns: 210px 1fr; min-height: 320px; }
.hero-shot .side { background: var(--bg-soft); border-right: 1px solid var(--line); padding: 18px 14px; }
.hero-shot .side .nav-i { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: var(--slate); font-weight: 500; margin-bottom: 3px; }
.hero-shot .side .nav-i.act { background: #fff; color: var(--indigo); font-weight: 600; box-shadow: var(--shadow-sm); }
.hero-shot .side .nav-i b { width: 16px; height: 16px; border-radius: 5px; background: currentColor; opacity: .35; }
.hero-shot .main { padding: 24px; text-align: left; }
.hero-shot .stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.hero-shot .stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 13px; padding: 13px 15px; }
.hero-shot .stat .l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.hero-shot .stat .v { font-size: 23px; font-weight: 800; margin-top: 3px; letter-spacing: -0.02em; }
.hero-shot .barchart { display: flex; align-items: flex-end; gap: 7px; height: 120px; padding: 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 13px; }
.hero-shot .barchart span { flex: 1; border-radius: 5px 5px 0 0; background: var(--grad); opacity: .9; }
@media (max-width: 640px) { .hero-shot .panel { grid-template-columns: 1fr; } .hero-shot .side { display: none; } }

/* Logos */
.logos { padding: 50px 0; }
.logos p { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.logos .row { display: flex; gap: 48px; justify-content: center; align-items: center; flex-wrap: wrap; opacity: .5; }
.logos .row b { font-size: 20px; font-weight: 800; color: var(--slate); letter-spacing: -0.03em; }

/* Stats band */
.statsband { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 52px 24px; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; box-shadow: var(--shadow-lg); }
.statsband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 15% 0%, rgba(99,102,241,.35), transparent 55%), radial-gradient(60% 120% at 85% 100%, rgba(139,92,246,.3), transparent 55%); }
.statsband .s { text-align: center; position: relative; }
.statsband .s .n { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(135deg,#bfd4ff,#d6c6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.statsband .s .l { color: #aeb9cf; font-size: 14px; margin-top: 6px; }
@media (max-width: 760px) { .statsband { grid-template-columns: repeat(2,1fr); gap: 32px; } }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 58px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .22s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: .22s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); color: var(--indigo); display: grid; place-items: center; margin-bottom: 18px; transition: .22s; }
.card:hover .icon { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--slate); font-size: 15px; }
.card code { background: var(--brand-50); color: var(--indigo); padding: 1px 6px; border-radius: 5px; font-size: 13px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 58px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px; transition: .22s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step .n { width: 56px; height: 56px; border-radius: 17px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 16px; font-size: 21px; box-shadow: var(--glow); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 15px; }

/* Benefits */
.bene { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 58px; }
@media (max-width: 900px) { .bene { grid-template-columns: 1fr; } }
.bcard { background: linear-gradient(160deg, #fff, var(--bg-soft)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.bcard .q { font-size: 46px; line-height: .6; color: var(--brand-2); font-weight: 800; }
.bcard p { font-size: 16px; color: var(--ink); margin: 10px 0 18px; font-weight: 500; }
.bcard .who { display: flex; align-items: center; gap: 11px; }
.bcard .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow-sm); }
.bcard .who b { font-size: 14px; }
.bcard .who small { display: block; color: var(--slate); font-size: 13px; }

/* Why-win trio */
.win { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 54px; }
@media (max-width: 880px) { .win { grid-template-columns: 1fr; } }
.win .w { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: left; box-shadow: var(--shadow-sm); transition: .22s; }
.win .w:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.win .w .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--glow); }
.win .w h3 { font-size: 17px; margin-bottom: 7px; }
.win .w p { color: var(--slate); font-size: 14px; }

/* Comparison matrix */
.matrix-scroll { margin-top: 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 8px; }
.matrix { min-width: 880px; max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.m-row { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); align-items: center; border-bottom: 1px solid var(--line); }
.m-row:last-child { border-bottom: 0; }
.m-row > div { padding: 17px 14px; text-align: center; font-size: 14px; }
.m-row .m-feat { text-align: left; font-weight: 600; color: var(--slate); }
.m-head > div { font-weight: 700; font-size: 14px; color: var(--ink); padding: 22px 14px; }
.m-head { background: var(--bg-soft); }
.m-col-sg { background: linear-gradient(180deg, rgba(99,102,241,.07), rgba(99,102,241,.03)); }
.m-head .m-col-sg { background: var(--grad); color: #fff; }
.m-head .m-col-sg small { display: block; font-weight: 600; font-size: 11px; color: #dbe4ff; margin-top: 2px; }
.m-row .m-col-sg { font-weight: 700; color: var(--ink); }
.yes { color: var(--ok); font-weight: 800; }
.no { color: var(--muted); font-weight: 700; }
.matrix .price-best { color: var(--indigo); font-weight: 800; }
.m-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 58px; align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; transition: .22s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.pop { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.plan.pop::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(99,102,241,.4), transparent 60%); }
.plan.pop > * { position: relative; }
.plan.pop .tag { position: absolute; top: 18px; right: 18px; left: auto; transform: none; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 13px; border-radius: 99px; box-shadow: var(--glow); }
.plan .name { font-weight: 700; font-size: 17px; }
.plan .price { font-size: 42px; font-weight: 800; margin: 12px 0 2px; letter-spacing: -0.03em; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan.pop .price span { color: #93a3bd; }
.plan .credits { color: var(--indigo); font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.plan.pop .credits { color: #a5b4fc; }
.plan ul { list-style: none; flex: 1; margin-bottom: 22px; }
.plan li { font-size: 14px; color: var(--slate); padding: 7px 0 7px 26px; position: relative; }
.plan.pop li { color: #cbd5e1; }
.plan li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 8px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.packs { text-align: center; color: var(--slate); margin-top: 32px; font-size: 15px; }

/* FAQ accordion */
.faq { max-width: 800px; margin: 50px auto 0; text-align: left; }
.qa { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; background: #fff; transition: .2s; }
.qa.open { border-color: #c7d6f4; box-shadow: var(--shadow); }
.qa button { width: 100%; text-align: left; background: none; border: 0; padding: 22px 24px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); font-family: inherit; }
.qa .ic { width: 28px; height: 28px; border-radius: 9px; background: var(--brand-50); color: var(--indigo); display: grid; place-items: center; flex-shrink: 0; transition: .25s; font-size: 18px; }
.qa.open .ic { background: var(--grad); color: #fff; transform: rotate(135deg); }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa .ans p { padding: 0 24px 22px; color: var(--slate); font-size: 15px; }

/* CTA band */
.band { text-align: center; border-radius: 28px; padding: 72px 24px; position: relative; overflow: hidden; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% -30%, rgba(255,255,255,.3), transparent 60%), radial-gradient(500px 300px at 10% 130%, rgba(255,255,255,.18), transparent 60%); }
.band h2 { color: #fff; position: relative; font-size: 46px; }
.band p { color: #e4eaff; margin: 16px auto 30px; max-width: 540px; position: relative; font-size: 18px; }
.band .btn-primary { background: #fff; color: var(--indigo); box-shadow: 0 16px 34px -12px rgba(0,0,0,.4); position: relative; }
.band .btn-primary:hover { background: #f4f6ff; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 38px; color: var(--slate); font-size: 14px; background: var(--bg-soft); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot a { color: var(--slate); transition: .15s; }
.foot a:hover { color: var(--indigo); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { color: var(--ink); margin-bottom: 4px; font-size: 14px; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 26px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-card, .hero::before, .hero .badge-top .pulse { animation: none; } }
