:root {
  --ink: #0b1023; --ink-2: #141b36; --ink-line: #263055; --on-ink: #f4f5ff; --on-ink-muted: #a8b0d4;
  --lime: #a5b4fc; --lime-d: #818cf8; --electric: #6366f1; --electric-d: #4f46e5;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(168, 85, 247, .12));
  --grad-text: linear-gradient(90deg, #818cf8, #c084fc, #22d3ee, #818cf8);
  --glow: 0 10px 30px -10px rgba(99, 102, 241, .65);
  --bg: #f5f6fb; --card: #fff; --text: #0f1330; --muted: #5d6485; --line: #e3e6f2; --field: #f8f9fd;
  --link: #4f46e5; --green: #059669; --blue: #6366f1; --red: #e11d48; --gray: #8a91ab;
  --green-bg: #d9f9e9; --green-fg: #05603f; --blue-bg: #e2e5ff; --blue-fg: #2530b8;
  --red-bg: #ffe1e8; --red-fg: #9f1239; --gray-bg: #e9ecf5; --gray-fg: #474e6a;
  --radius: 16px; --radius-s: 10px;
  --shadow: 0 1px 2px rgba(16, 20, 43, .05), 0 8px 24px -12px rgba(16, 20, 43, .14);
  --display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080c1c; --card: #121831; --text: #eef0fb; --muted: #9ba3c4; --line: #262e50; --field: #0c1126;
    --link: #a5b4fc; --green: #34d399; --blue: #8b95ff; --red: #fb7185;
    --green-bg: #0b3a2a; --green-fg: #6ee7b7; --blue-bg: #1f2563; --blue-fg: #c0c6ff;
    --red-bg: #4a1226; --red-fg: #fda4b8; --gray-bg: #232a49; --gray-fg: #bcc2db;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 15px/1.6 var(--sans); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 2px; }
h1, h2, h3, .brand, .big, .price .amount { font-family: var(--display); }
h1 { font-size: 30px; margin: 8px 0 12px; line-height: 1.15; letter-spacing: -.6px; }
h2 { font-size: 20px; margin: 0 0 12px; letter-spacing: -.2px; }
h3 { font-size: 16px; margin: 0 0 8px; }
code { font-size: .92em; background: var(--gray-bg); padding: 1px 6px; border-radius: 5px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.wide { max-width: 1280px; }

/* Header */
.top { background: var(--ink); border-bottom: 1px solid var(--ink-line); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.nav nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.nav nav a:not(.btn), .nav button.link { color: var(--on-ink-muted); font-weight: 500; }
.nav nav a:not(.btn):hover, .nav button.link:hover { color: #fff; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: #fff; letter-spacing: -.4px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; }
.nav nav a.credit-pill { display: inline-flex; gap: 6px; padding: 5px 13px; border-radius: 99px; background: var(--ink-2); border: 1px solid var(--ink-line); color: var(--on-ink); }
.credit-pill b { color: var(--lime); }
@media (max-width: 640px) { .nav { height: auto; min-height: 64px; padding: 10px 16px; flex-wrap: wrap; } .nav nav { gap: 12px; font-size: 14px; } }

main.wrap { padding: 28px 16px 48px; }
.foot { color: var(--muted); font-size: 13px; padding-top: 8px; padding-bottom: 32px; }

/* Cards & layout helpers */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; overflow-x: auto; box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap { gap: 10px; }
.wrapflex { flex-wrap: wrap; gap: 10px; }
.stack { display: grid; gap: 16px; }
.inline { display: inline; margin: 0; }
.nowrap { white-space: nowrap; }
.grid-dash { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 14px; }

/* Forms */
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input, textarea, select { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--field); color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(61, 77, 255, .2); }
textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.row input { width: auto; flex: 1; min-width: 160px; }

/* Buttons */
.btn { display: inline-block; background: var(--lime); color: var(--ink) !important; border: 1px solid transparent; border-radius: var(--radius-s); padding: 11px 20px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none !important; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--lime-d); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(160, 200, 0, .7); }
.btn.ghost { background: transparent; color: var(--text) !important; border-color: var(--text); }
.btn.ghost:hover { background: var(--text); color: var(--bg) !important; box-shadow: none; }
.btn.sm { padding: 6px 13px; font-size: 13px; }
.btn.lg { padding: 14px 26px; font-size: 16px; }
button.link { background: none; border: 0; color: var(--link); cursor: pointer; font: inherit; padding: 0 4px; }

/* Feedback */
.flash { padding: 13px 16px; border-radius: var(--radius-s); margin-bottom: 18px; font-weight: 500; }
.flash.ok { background: var(--green-bg); color: var(--green-fg); }
.flash.err { background: var(--red-bg); color: var(--red-fg); }

/* Tables */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--field); }
th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.url { word-break: break-all; max-width: 560px; font-size: 13px; }

/* Status */
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge.green { background: var(--green-bg); color: var(--green-fg); } .badge.blue { background: var(--blue-bg); color: var(--blue-fg); }
.badge.red { background: var(--red-bg); color: var(--red-fg); } .badge.gray { background: var(--gray-bg); color: var(--gray-fg); }
.green-t { color: var(--green); } .blue-t { color: var(--blue); } .red-t { color: var(--red); }
.bar { display: flex; height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 6px 0 12px; }
.bar span.green { background: var(--green); } .bar span.blue { background: var(--blue); } .bar span.red { background: var(--red); }

/* Numbers */
.big { font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -.8px; }
.big small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.stat { color: var(--muted); font-size: 14px; border-top: 4px solid var(--gray); }
.stat .big { color: var(--text); margin-bottom: 4px; }
.stat .big.green-t { color: var(--green); } .stat .big.blue-t { color: var(--blue); } .stat .big.red-t { color: var(--red); }
.stat.s-green { border-top-color: var(--green); } .stat.s-blue { border-top-color: var(--blue); }
.stat.s-red { border-top-color: var(--red); } .stat.s-lime { border-top-color: var(--lime); }

/* Balance card */
.card.balance { background: var(--ink); border-color: var(--ink-line); color: var(--on-ink-muted); background-image: radial-gradient(420px 220px at 110% -20%, rgba(61, 77, 255, .55), transparent 70%); }
.balance h2 { color: var(--on-ink); }
.balance .muted { color: var(--on-ink-muted); }
.balance .big { color: var(--lime); font-size: 44px; }
.balance .big small { color: var(--on-ink-muted); }
.balance .btn { width: 100%; text-align: center; }

/* Pricing */
.price { position: relative; text-align: center; padding: 24px 14px; margin-bottom: 0; overflow: visible; transition: transform .15s, border-color .15s; }
.price:hover { transform: translateY(-3px); border-color: var(--electric); }
.price .credits { font-weight: 600; }
.price .amount { font-size: 32px; font-weight: 700; line-height: 1.2; margin: 8px 0 2px; letter-spacing: -.8px; }
.price .pkr { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.price .urls { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--gray-bg); color: var(--gray-fg); font-size: 12px; font-weight: 600; }
.price.best { background: var(--ink); border-color: var(--lime); color: var(--on-ink); box-shadow: 0 0 0 1px var(--lime), var(--shadow); }
.price.best .amount { color: var(--lime); }
.price.best .pkr { color: var(--on-ink-muted); }
.price.best .urls { background: var(--ink-line); color: var(--on-ink); }
.price .tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 2px 11px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 700; white-space: nowrap; letter-spacing: .3px; }
.billing-prices { margin-bottom: 22px; }

/* Landing */
.hero { background-color: var(--ink); color: var(--on-ink); background-image: radial-gradient(640px 420px at 88% 10%, rgba(61, 77, 255, .6), transparent 70%), radial-gradient(420px 320px at 5% 100%, rgba(200, 243, 29, .14), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { font-size: 54px; line-height: 1.05; letter-spacing: -1.6px; margin: 16px 0 18px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.eyebrow { display: inline-block; padding: 4px 13px; border-radius: 99px; border: 1px solid var(--ink-line); background: var(--ink-2); color: var(--lime); font-size: 13px; font-weight: 600; }
.lead { font-size: 18px; color: var(--on-ink-muted); margin: 0 0 28px; }
.hero .btn.ghost { color: #fff !important; border-color: var(--ink-line); }
.hero .btn.ghost:hover { background: var(--ink-2); color: #fff !important; border-color: var(--on-ink-muted); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--on-ink-muted); font-size: 14px; }
.hero-points li::before { content: "✓"; color: var(--lime); font-weight: 700; margin-right: 7px; }
.preview { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 20px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; }
.preview-head span { color: var(--on-ink-muted); font-size: 12px; font-weight: 500; }
.preview .bar { background: var(--ink-line); margin-bottom: 8px; }
.preview .bar span.green { background: #34d399; } .preview .bar span.blue { background: #6b78ff; }
.preview ul { list-style: none; margin: 0; padding: 0; }
.preview li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--ink-line); font: 13px ui-monospace, Menlo, Consolas, monospace; color: var(--on-ink-muted); }
.preview li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview .badge { font-family: var(--sans); }
.preview .badge.green { background: #0b3a2a; color: #6ee7b7; } .preview .badge.blue { background: #1f2563; color: #c0c6ff; } .preview .badge.gray { background: var(--ink-line); color: var(--on-ink-muted); }
.section { padding-top: 64px; padding-bottom: 8px; }
.section-head { margin-bottom: 28px; max-width: 620px; }
.section-head h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.8px; margin-bottom: 8px; }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }
.step { margin-bottom: 0; }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: var(--ink); color: var(--lime); font: 700 18px var(--display); }
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--muted); }
.note { margin: 56px 0 0; border-left: 5px solid var(--electric); }
.note p { margin: 0; color: var(--muted); }
.cta { margin: 28px 0 64px; padding: 40px 32px; border-radius: var(--radius); background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.cta h2 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.6px; }
.cta p { margin: 0; }
.cta .btn { background: var(--ink); color: #fff !important; }
.cta .btn:hover { background: var(--ink-2); box-shadow: none; }

/* Login & signup */
.auth { display: grid; grid-template-columns: 1fr 1fr; max-width: 880px; margin: 32px auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.auth-side { padding: 36px 32px; background-color: var(--ink); color: var(--on-ink); background-image: radial-gradient(420px 320px at 100% 0, rgba(61, 77, 255, .6), transparent 70%); }
.auth-side h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.5px; margin: 0 0 20px; }
.auth-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--on-ink-muted); }
.auth-side li::before { content: "✓"; color: var(--lime); font-weight: 700; margin-right: 9px; }
.auth-form { padding: 36px 32px; }
.auth-form h1 { margin-top: 0; }
.auth-form .btn { width: 100%; }
.auth-form > p:last-child { margin-bottom: 0; }

pre { background: var(--ink); color: #d7dcf5; border: 1px solid var(--ink-line); border-radius: var(--radius-s); padding: 14px; overflow-x: auto; font-size: 12.5px; }
pre.log { max-height: 320px; }
.card label + form { margin-top: 12px; }
ol.hub li, ul.hub li { margin: 6px 0; word-break: break-all; }

@media (max-width: 900px) {
  .grid-dash, .grid3, .hero-grid, .auth { grid-template-columns: 1fr; }
  .grid4, .grid5 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { padding-top: 44px; padding-bottom: 52px; gap: 36px; }
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .section-head h2 { font-size: 28px; }
  .auth { margin: 8px auto; }
  .auth-side, .auth-form { padding: 26px 22px; }
  .cta { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Admin */
.tabs { display: flex; gap: 6px; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 9px 16px; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.on { color: var(--text); border-bottom-color: var(--electric); }
.credit-main { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 14px; }
.chip { font: inherit; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--field); color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--electric); }
.credit-row { display: flex; gap: 8px; align-items: center; min-width: 470px; }
.credit-row input { padding: 7px 10px; font-size: 13px; }
.credit-row input[type=number] { width: 100px; flex: none; }
.password-form { max-width: 420px; }
@media (max-width: 900px) { .credit-main { grid-template-columns: 1fr; } }
.btn.xs { padding: 4px 10px; font-size: 12px; border-radius: 8px; }
.task-url { font-size: 13px; color: var(--muted); max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.feature { margin-bottom: 0; }
.feature h3 { font-size: 17px; }
.feature p { margin: 0; color: var(--muted); }
.prose p { color: var(--muted); max-width: 820px; }
.prose p:last-child { margin-bottom: 0; }
.faq { display: grid; gap: 12px; }
.faq details { margin: 0; padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 20px var(--display); color: var(--electric); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
/* Public SEO pages */
.page { max-width: 860px; }
.page h1 { font-size: 38px; letter-spacing: -.8px; }
.intro { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.page .prose h2 { font-size: 22px; }
.prose ul, .prose ol { color: var(--muted); padding-left: 22px; max-width: 820px; }
.prose li { margin-bottom: 6px; } .prose li b, .prose p b { color: var(--text); }
code { font: 13px ui-monospace, SFMono-Regular, Consolas, monospace; background: var(--field); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
h2.sub { font-size: 24px; margin: 36px 0 14px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 8px 0 4px; }
a.card.related { display: flex; flex-direction: column; gap: 6px; color: var(--text); margin: 0; transition: border-color .15s, transform .15s; }
a.card.related:hover { text-decoration: none; border-color: var(--electric); transform: translateY(-2px); }
a.card.related span { color: var(--muted); font-size: 14px; }
table.cmp { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 14px; }
table.cmp th, table.cmp td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.cmp th:last-child, table.cmp td:last-child { color: var(--text); font-weight: 600; }
table.cmp td { color: var(--muted); }
.checker textarea { margin: 8px 0 12px; }
.ic-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ic-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ic-list li span { overflow-wrap: anywhere; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 40px; padding: 24px 0 8px; border-top: 1px solid var(--line); }
.foot-links div { display: flex; flex-direction: column; gap: 6px; }
.foot-links b { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .6px; }
@media (max-width: 900px) { .hide-sm { display: none; } .page h1 { font-size: 30px; } }

/* ===== Theme v2: gradients & motion ===== */
.top { background: rgba(11, 16, 35, .95); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(255, 255, 255, .07); }
.brand-mark { background: var(--grad); color: #fff; box-shadow: 0 4px 14px -4px rgba(124, 58, 237, .8); }
.brand-accent { background: linear-gradient(90deg, #818cf8, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons: gradient + shine */
.btn { position: relative; overflow: hidden; background: var(--grad); background-size: 160% 160%; color: #fff !important; box-shadow: var(--glow); transition: background-position .4s, transform .15s, box-shadow .2s; }
.btn:hover { background: var(--grad); background-size: 160% 160%; background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(124, 58, 237, .8); }
.btn::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn:hover::after { animation: shine .8s ease; }
.btn.ghost { background: transparent; box-shadow: none; color: var(--text) !important; }
.btn.ghost::after { display: none; }
.btn.ghost:hover { background: var(--text); color: var(--bg) !important; box-shadow: none; }
@keyframes shine { to { left: 130%; } }

/* Hero: animated aurora */
.hero { position: relative; overflow: hidden; isolation: isolate; background-image: none; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .7; pointer-events: none; }
.hero::before { width: 620px; height: 620px; top: -220px; right: -120px; background: radial-gradient(circle, #6366f1 0%, rgba(124, 58, 237, .55) 45%, transparent 70%); animation: drift1 16s ease-in-out infinite alternate; }
.hero::after { width: 480px; height: 480px; bottom: -260px; left: -140px; background: radial-gradient(circle, rgba(34, 211, 238, .55) 0%, rgba(99, 102, 241, .25) 50%, transparent 70%); animation: drift2 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-90px, 70px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(110px, -50px) scale(1.15); } }
.hero-grid { position: relative; }
.hero h1 em, .grad-text { background: var(--grad-text); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 8s linear infinite; }
@keyframes gradmove { to { background-position: 300% 0; } }
.eyebrow { color: #c7d2fe; background: rgba(99, 102, 241, .14); border-color: rgba(129, 140, 248, .35); animation: fadeup .6s ease both; }
.hero h1 { animation: fadeup .7s .08s ease both; }
.hero h1 em { animation: gradmove 8s linear infinite; }
.hero .lead { animation: fadeup .7s .16s ease both; }
.hero .row, .hero-points { animation: fadeup .7s .24s ease both; }
.hero-points li::before, .auth-side li::before { color: #818cf8; }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Hero preview card */
.preview { position: relative; background: rgba(20, 27, 54, .75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(129, 140, 248, .25); animation: fadeup .8s .3s ease both, float 6s 1.1s ease-in-out infinite; }
.preview::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(129, 140, 248, .8), transparent 40%, transparent 60%, rgba(34, 211, 238, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-8px); } }
.preview .bar span { transform-origin: left; animation: grow 1.4s .6s cubic-bezier(.2, .8, .2, 1) both; }
.preview .bar span.green { background: linear-gradient(90deg, #10b981, #34d399); }
.preview .bar span.blue { background: linear-gradient(90deg, #6366f1, #a855f7); animation-delay: 1s; }
@keyframes grow { from { transform: scaleX(0); } }
.preview li { animation: fadeup .5s ease both; }
.preview li:nth-child(1) { animation-delay: .7s; } .preview li:nth-child(2) { animation-delay: .85s; }
.preview li:nth-child(3) { animation-delay: 1s; } .preview li:nth-child(4) { animation-delay: 1.15s; }
.badge.blue::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

/* Sections & cards */
.section-head h2 { background: linear-gradient(90deg, var(--text), var(--text) 55%, var(--electric)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card { transition: transform .2s, box-shadow .2s, border-color .2s; }
.step:hover, .feature:hover, a.card.related:hover, .price:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, .45); box-shadow: 0 18px 40px -18px rgba(79, 70, 229, .45); }
.step-n { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.feature h3::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 12px; border-radius: 4px; background: var(--grad); }
.note { border-left: 0; position: relative; background-image: var(--grad-soft); }
.note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: var(--radius) 0 0 var(--radius); background: var(--grad); }
.faq details { transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(99, 102, 241, .45); }
.faq details[open] p { animation: fadeup .3s ease both; }

/* Pricing */
.price.best { background: var(--ink); background-image: radial-gradient(300px 180px at 50% -20%, rgba(124, 58, 237, .55), transparent 70%); border-color: transparent; box-shadow: 0 0 0 1px rgba(129, 140, 248, .6), 0 20px 50px -20px rgba(79, 70, 229, .7); }
.price.best .amount { background: var(--grad-text); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 8s linear infinite; }
.price .tag { background: var(--grad); color: #fff; box-shadow: var(--glow); }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(120deg, #4f46e5, #7c3aed, #a855f7, #4f46e5); background-size: 300% 300%; animation: gradbg 12s ease infinite; box-shadow: 0 24px 60px -24px rgba(79, 70, 229, .8); }
.cta::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 70%); }
.cta p { color: rgba(255, 255, 255, .85); }
.cta .btn { background: #fff; color: #4f46e5 !important; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.cta .btn:hover { background: #fff; transform: translateY(-2px); }
@keyframes gradbg { 50% { background-position: 100% 50%; } }

/* Dashboard bits */
.card.balance { background-image: radial-gradient(420px 220px at 110% -20%, rgba(124, 58, 237, .6), transparent 70%), radial-gradient(300px 200px at -10% 120%, rgba(34, 211, 238, .25), transparent 70%); }
.balance .big { background: var(--grad-text); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 8s linear infinite; }
.balance .big small { -webkit-text-fill-color: var(--on-ink-muted); }
.stat { border-top: 0; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gray); }
.stat.s-green::before { background: linear-gradient(90deg, #059669, #34d399); } .stat.s-blue::before { background: var(--grad); }
.stat.s-red::before { background: linear-gradient(90deg, #e11d48, #fb7185); } .stat.s-lime::before { background: linear-gradient(90deg, #6366f1, #22d3ee); }
.bar span { transition: width .6s ease; }
.auth-side { background-image: radial-gradient(420px 320px at 100% 0, rgba(124, 58, 237, .65), transparent 70%), radial-gradient(300px 260px at 0 100%, rgba(34, 211, 238, .25), transparent 70%); }
.flash { animation: fadeup .35s ease both; }

.price .btn.buy { display: block; margin-top: 14px; }

/* Scroll reveal (only when JS adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
