/* =====================================================================
   WPBoost Design System
   Dark-first premium SaaS · Plus Jakarta Sans + JetBrains Mono
   ===================================================================== */
@font-face { font-family: 'Jakarta'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jakarta'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JBMono'; font-style: normal; font-display: swap; font-weight: 100 800; src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'JBMono'; font-style: normal; font-display: swap; font-weight: 100 800; src: url('../fonts/jetbrains-mono-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F; }

:root {
  --bg: #07080f;
  --bg-2: #0b0d18;
  --surface: #10131f;
  --surface-2: #151929;
  --surface-3: #1b2033;
  --glass: rgba(20, 24, 40, .62);
  --border: rgba(148, 163, 214, .12);
  --border-strong: rgba(148, 163, 214, .22);
  --text: #eef0fa;
  --text-2: #b4b9d1;
  --muted: #8a90ad;
  --primary: #7c5cff;
  --primary-2: #9b82ff;
  --primary-soft: rgba(124, 92, 255, .14);
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, .12);
  --success: #2dd4a0;
  --success-soft: rgba(45, 212, 160, .13);
  --warning: #f5b544;
  --warning-soft: rgba(245, 181, 68, .14);
  --danger: #ff5c7a;
  --danger-soft: rgba(255, 92, 122, .13);
  --info: #5aa9ff;
  --grad: linear-gradient(135deg, #7c5cff 0%, #5b8cff 50%, #22d3ee 100%);
  --grad-text: linear-gradient(110deg, #ffffff 10%, #c9bcff 45%, #7ce6f5 90%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .55), 0 0 0 1px var(--border);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(124, 92, 255, .4), 0 12px 40px -10px rgba(124, 92, 255, .55);
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: 'Jakarta', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JBMono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --container: 1200px;
  --sidebar: 264px;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f6f7fc; --bg-2: #eef0f8; --surface: #ffffff; --surface-2: #f6f7fc; --surface-3: #eceff8;
  --glass: rgba(255, 255, 255, .75); --border: rgba(20, 28, 64, .09); --border-strong: rgba(20, 28, 64, .16);
  --text: #0f1222; --text-2: #3d4360; --muted: #6a7090;
  --primary-soft: rgba(124, 92, 255, .1); --accent-soft: rgba(8, 145, 178, .1); --success: #0f9d72; --success-soft: rgba(15, 157, 114, .1);
  --warning: #b77700; --danger: #d62e50; --shadow: 0 10px 30px -14px rgba(20, 28, 64, .18), 0 0 0 1px var(--border);
  --shadow-lg: 0 30px 70px -24px rgba(20, 28, 64, .28); --grad-text: linear-gradient(110deg, #1b1446 10%, #5b3ff0 55%, #0891b2 95%);
  color-scheme: light;
}
/* Admin panel: distinct identity (emerald/amber accent, denser) */
[data-panel="admin"] {
  --primary: #10b981; --primary-2: #34d399; --primary-soft: rgba(16, 185, 129, .14);
  --accent: #f59e0b; --accent-soft: rgba(245, 158, 11, .13);
  --grad: linear-gradient(135deg, #10b981 0%, #0ea5e9 60%, #f59e0b 130%);
  --glow: 0 0 0 1px rgba(16, 185, 129, .4), 0 12px 40px -10px rgba(16, 185, 129, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 750; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(124, 92, 255, .35); }
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.icon { width: 18px; height: 18px; flex: none; }
.icon-sm { width: 15px; height: 15px; flex: none; }
.icon-lg { width: 24px; height: 24px; flex: none; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.hide-sm { display: initial; }
@media (max-width: 720px) { .hide-sm { display: none !important; } }

/* ---------------- Buttons ---------------- */
.btn { --b: var(--surface-3); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--b); color: var(--text); font-weight: 650; font-size: 14.5px; cursor: pointer; transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; position: relative; overflow: hidden; white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent; }
.btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn-primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--glow); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .28) 45%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(155, 130, 255, .6), 0 18px 50px -12px rgba(124, 92, 255, .75); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-outline { background: transparent; }
.btn-danger { background: var(--danger-soft); border-color: rgba(255, 92, 122, .35); color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); }
.btn-success { background: var(--success-soft); border-color: rgba(45, 212, 160, .35); color: var(--success); }
.btn-sm { min-height: 36px; padding: 0 13px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .35); animation: ripple .6s var(--ease); pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------------- Badges / pills ---------------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--surface-3); color: var(--text-2); border: 1px solid var(--border); white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--success-soft); color: var(--success); border-color: transparent; }
.badge-warning { background: var(--warning-soft); color: var(--warning); border-color: transparent; }
.badge-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge-primary { background: var(--primary-soft); color: var(--primary-2); border-color: transparent; }
.badge-info { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge-live .dot { animation: pulse-dot 1.4s infinite; }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 currentColor; } 50% { box-shadow: 0 0 0 5px transparent; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); font-size: 13px; color: var(--text-2); }
.chip b { background: var(--grad); color: #fff; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; }

/* ---------------- Cards ---------------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.card-hover { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card-hover:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-glow::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(124, 92, 255, .7), 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; }
.card-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-sub { color: var(--muted); font-size: 13px; }
.card-flush { padding: 0; overflow: hidden; }
.icon-box { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-2); flex: none; }
.icon-box.cyan { background: var(--accent-soft); color: var(--accent); }
.icon-box.green { background: var(--success-soft); color: var(--success); }
.icon-box.amber { background: var(--warning-soft); color: var(--warning); }
.icon-box.red { background: var(--danger-soft); color: var(--danger); }
.spotlight { --mx: 50%; --my: 50%; }
.spotlight::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(124, 92, 255, .12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spotlight:hover::after { opacity: 1; }

/* KPI tiles */
.kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi-label { font-size: 12.5px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kpi-value { font-size: 30px; font-weight: 780; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi-value small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.kpi-trend { font-size: 12.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 4px; }
.up { color: var(--success); } .down { color: var(--danger); }

/* Grid helpers */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 1080px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.span-2 { grid-column: span 2; }
@media (max-width: 760px) { .span-2 { grid-column: auto; } }

/* ---------------- Forms ---------------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.label { font-size: 13.5px; font-weight: 650; color: var(--text-2); display: flex; justify-content: space-between; gap: 8px; }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 11px 14px; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 12px; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; font-size: 15px; }
.textarea { min-height: 120px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(148, 163, 214, .34); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); background: var(--surface); }
.input::placeholder { color: #5f6582; }
.input-group { position: relative; }
.input-group .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-group .input { padding-left: 42px; }
.input-group .input-action { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.help { font-size: 12.5px; color: var(--muted); }
.error-text { font-size: 12.5px; color: var(--danger); display: flex; gap: 6px; align-items: center; }
.has-error .input, .has-error .select { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--text-2); }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-strong); background: var(--bg-2); flex: none; margin-top: 1px; display: grid; place-items: center; cursor: pointer; transition: all .15s; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--border-strong); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease-spring); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.switch input:checked { background: var(--primary); border-color: var(--primary); }
.switch input:checked::after { transform: translateX(18px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.pw-meter { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--danger); transition: width .3s var(--ease), background .3s; }

/* ---------------- Alerts / toasts ---------------- */
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); font-size: 14px; color: var(--text-2); align-items: flex-start; }
.alert .icon { margin-top: 2px; }
.alert-info { background: var(--accent-soft); border-color: rgba(34, 211, 238, .25); }
.alert-info .icon { color: var(--accent); }
.alert-warning { background: var(--warning-soft); border-color: rgba(245, 181, 68, .3); }
.alert-warning .icon { color: var(--warning); }
.alert-danger { background: var(--danger-soft); border-color: rgba(255, 92, 122, .3); }
.alert-danger .icon { color: var(--danger); }
.alert-success { background: var(--success-soft); border-color: rgba(45, 212, 160, .3); }
.alert-success .icon { color: var(--success); }
.toasts { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--glass); backdrop-filter: blur(18px) saturate(1.3); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); font-size: 14px; animation: toast-in .45s var(--ease-spring) both; position: relative; overflow: hidden; }
.toast.out { animation: toast-out .3s var(--ease) both; }
.toast::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; background: var(--grad); animation: toast-bar 5s linear both; }
.toast-success .icon { color: var(--success); } .toast-error .icon { color: var(--danger); } .toast-info .icon { color: var(--accent); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }
@keyframes toast-bar { from { width: 100%; } to { width: 0; } }

/* ---------------- Tables ---------------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; padding: 12px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--surface); position: sticky; top: 0; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: rgba(124, 92, 255, .04); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 720px) {
  .table-cards thead { display: none; }
  .table-cards tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .table-cards td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: right; }
  .table-cards td::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; text-align: left; }
}
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .icon-box { margin: 0 auto 14px; width: 56px; height: 56px; border-radius: 16px; }
.empty h3 { color: var(--text); font-size: 17px; margin-bottom: 6px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); font-size: 14px; padding: 0 10px; }
.pagination .active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- Dropdown / modal / drawer ---------------- */
.dropdown { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.4); border: 1px solid var(--border-strong); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-lg); z-index: 60; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .18s var(--ease), transform .22s var(--ease), visibility .2s; }
.dropdown.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--text-2); background: none; border: 0; cursor: pointer; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--surface-3); color: var(--text); }
.menu hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 5, 12, .66); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .25s var(--ease), transform .35s var(--ease-spring); }
.modal.open .modal-panel { opacity: 1; transform: none; }
.modal-close { position: absolute; right: 14px; top: 14px; }
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .modal-backdrop { opacity: 0; }
.drawer.open .modal-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); background: var(--bg-2); border-right: 1px solid var(--border); transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y: auto; }
.drawer.open .drawer-panel { transform: none; }

/* Tabs */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button { flex: none; padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; white-space: nowrap; }
.tabs .active, .tabs [aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }

/* Progress */
.progress { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .6s var(--ease); }
.meter-ring { --v: 0; --c: var(--primary); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--surface-3) 0); position: relative; }
.meter-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface); }
.meter-ring span { position: relative; font-weight: 750; font-size: 16px; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   PUBLIC SITE
   ===================================================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 8, 15, .72); backdrop-filter: blur(18px) saturate(1.5); border-bottom-color: var(--border); }
[data-theme="light"] .nav.scrolled { background: rgba(246, 247, 252, .8); }
.nav-inner { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; box-shadow: var(--glow); position: relative; overflow: hidden; }
.logo-mark svg { width: 18px; height: 18px; color: #fff; }
.logo-mark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(130deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%); transform: translateX(-100%); animation: logo-shine 5s ease-in-out infinite; }
@keyframes logo-shine { 0%, 70% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.nav-links { display: flex; gap: 4px; justify-content: center; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-size: 14.5px; color: var(--text-2); font-weight: 550; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-cta { justify-self: end; display: flex; gap: 8px; align-items: center; }
.nav .nav-burger { display: none; }
@media (max-width: 900px) { .nav-inner { grid-template-columns: auto 1fr; } .nav-links, .nav-cta .btn-ghost { display: none; } .nav .nav-burger { display: inline-flex; } }
@media (max-width: 420px) { .nav-cta .btn-primary { padding: 0 11px; font-size: 13px; } }
.mobile-nav a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 18px; font-size: 16px; font-weight: 600; color: var(--text-2); border-bottom: 1px solid var(--border); text-align: center; }
.mobile-nav a.active, .mobile-nav a:hover { color: var(--text); background: rgba(255,255,255,.03); }

/* Hero / slider */
.hero { position: relative; min-height: 100svh; padding: 110px 0 60px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: -3; background: radial-gradient(900px 600px at 78% 18%, rgba(124, 92, 255, .32), transparent 60%), radial-gradient(700px 500px at 8% 75%, rgba(34, 211, 238, .18), transparent 60%), var(--bg); }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(148, 163, 214, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 214, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 85%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 85%); }
.slider { position: relative; width: 100%; }
.slides { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; opacity: 0; visibility: hidden; pointer-events: none; }
.slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.slide .s-anim { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.slide.active .s-anim { animation: slide-in .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.slide.leaving { visibility: visible; opacity: 1; }
.slide.leaving .s-anim { animation: slide-out .45s var(--ease) forwards; }
@keyframes slide-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes slide-out { to { opacity: 0; transform: translateY(-18px); filter: blur(6px); } }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 18px 0; }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--success); }
.slider-controls { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.slider-dots { display: flex; gap: 2px; }
/* Thin visual indicator, generous 32x20 touch target */
.slider-dot { width: 32px; height: 20px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; border-radius: 4px; }
.slider-dot::before, .slider-dot::after { content: ''; position: absolute; left: 5px; top: 9px; height: 2px; border-radius: 2px; }
.slider-dot::before { right: 5px; background: rgba(148, 163, 214, .22); transition: background .2s; }
.slider-dot:hover::before { background: rgba(148, 163, 214, .45); }
.slider-dot::after { width: 0; background: var(--grad); }
.slider-dot.active::after { animation: dot-fill var(--slide-ms, 6000ms) linear forwards; }
.slider.paused .slider-dot.active::after { animation-play-state: paused; }
@keyframes dot-fill { to { width: calc(100% - 10px); } }

/* Hero visuals (pure CSS/SVG, real-product mockups) */
.visual { position: relative; perspective: 1400px; }
.mock { position: relative; border-radius: 20px; background: linear-gradient(180deg, rgba(27, 32, 51, .92), rgba(16, 19, 31, .95)); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg), 0 0 120px -30px rgba(124, 92, 255, .5); padding: 18px; transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.visual:hover .mock { transform: rotateY(-3deg) rotateX(2deg); }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; align-items: center; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b3149; }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 10px; font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.float-card { position: absolute; background: var(--glass); backdrop-filter: blur(16px); border: 1px solid var(--border-strong); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 12.5px; animation: floaty 6s ease-in-out infinite; z-index: 2; }
.float-card.b { animation-delay: -3s; }
.float-backup { right: -18px; bottom: -22px; display: flex; gap: 10px; align-items: center; }
/* Slide 4 – PDF delivered */
.mail-row { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.mail-row .grow { min-width: 0; }
.mail-subject { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf-stage { position: relative; height: 230px; margin-top: 14px; }
.pdf-doc { position: absolute; width: 150px; height: 200px; border-radius: 10px; background: #fff; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); }
.pdf-back { left: 34px; top: 18px; transform: rotate(-8deg); opacity: .55; }
.pdf-front { left: 56px; top: 8px; overflow: hidden; animation: pdf-rise 1s var(--ease) both .3s; }
.pdf-cover { height: 96px; padding: 12px; background: radial-gradient(120px 80px at 90% 10%, rgba(124,92,255,.95), transparent 70%), radial-gradient(100px 70px at 0% 100%, rgba(34,211,238,.7), transparent 70%), #0b0d1a; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.pdf-cover b { font-size: 11px; line-height: 1.2; }
.pdf-cover span { font-size: 7.5px; color: #b9bdd6; margin-top: auto; }
.pdf-logo { font-weight: 800; font-size: 10px; } .pdf-logo i { color: #22d3ee; font-style: normal; }
.pdf-lines { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.pdf-lines i { display: block; height: 5px; border-radius: 3px; background: #e6e8f2; }
.pdf-bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.pdf-bars span { flex: 1; border-radius: 3px 3px 1px 1px; background: #c9cde0; transform-origin: bottom; animation: grow 1s var(--ease) both .9s; }
.pdf-bars span.a { background: linear-gradient(180deg, #7c5cff, #22d3ee); }
.pdf-attach { position: absolute; right: 0; bottom: 18px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--glass); backdrop-filter: blur(14px); border: 1px solid var(--border-strong); font-size: 12px; box-shadow: var(--shadow-lg); animation: page-in .6s var(--ease) both 1s; max-width: 70%; }
.pdf-attach b { font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf-attach > div { min-width: 0; }
.pdf-ico { width: 34px; height: 40px; border-radius: 6px; background: #e5484d; color: #fff; font-weight: 800; font-size: 10px; display: grid; place-items: center; flex: none; }
.plane { position: absolute; right: 24px; top: 6px; color: var(--accent); animation: plane 3.2s var(--ease) infinite; }
@keyframes pdf-rise { from { opacity: 0; transform: translateY(24px) rotate(4deg); } }
@keyframes plane { 0% { opacity: 0; transform: translate(-60px, 40px) scale(.7); } 30% { opacity: 1; } 70% { opacity: 1; transform: translate(10px, -10px) scale(1); } 100% { opacity: 0; transform: translate(40px, -30px) scale(.8); } }
@media (max-width: 520px) {
  .pdf-stage { height: 284px; }
  .pdf-doc { width: 132px; height: 176px; }
  .pdf-cover { height: 84px; }
  .pdf-back { left: calc(50% - 86px); }
  .pdf-front { left: calc(50% - 66px); }
  .pdf-attach { left: 0; right: 0; bottom: 0; max-width: none; }
  .pdf-attach > div { flex: 1; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.gauge { position: relative; width: 150px; height: 150px; }
.gauge svg { transform: rotate(-90deg); }
.gauge .track { stroke: var(--surface-3); }
.gauge .val { stroke: url(#g1); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.gauge-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge-label b { font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 86px; }
.mini-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad); opacity: .85; transform-origin: bottom; animation: grow 1.2s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes grow { from { transform: scaleY(0); } }
.term { font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--text-2); }
.term .tl { opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.term .tl.on { opacity: 1; transform: none; }
.term .ok { color: var(--success); } .term .k { color: var(--primary-2); } .term .c { color: var(--accent); }
.typing::after { content: '▋'; animation: blink 1s steps(1) infinite; color: var(--primary-2); }
@keyframes blink { 50% { opacity: 0; } }

/* Sections */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.035em; margin: 14px 0 14px; }
.section-head p { color: var(--text-2); font-size: 17px; margin: 0; }
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }
.logos-strip { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; color: var(--muted); font-weight: 650; font-size: 14px; }
.logos-strip span { display: inline-flex; align-items: center; gap: 8px; opacity: .8; }
.feature-card { padding: 26px; }
.feature-card h3 { font-size: 18px; margin: 16px 0 8px; }
.feature-card p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .w-3 { grid-column: span 3; }
.bento .w-4 { grid-column: span 4; }
@media (max-width: 960px) { .bento > *, .bento .w-3, .bento .w-4 { grid-column: span 6; } }
.steps-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: s; }
.steps-line::before { content: ''; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: .35; }
.step-item { text-align: center; position: relative; }
.step-num { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-strong); display: grid; place-items: center; font-weight: 800; font-size: 18px; position: relative; z-index: 1; box-shadow: var(--shadow); }
.step-num::before { counter-increment: s; content: counter(s, decimal-leading-zero); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-item h3 { font-size: 17px; margin-bottom: 8px; }
.step-item p { color: var(--text-2); font-size: 14px; }
@media (max-width: 860px) { .steps-line { grid-template-columns: 1fr 1fr; } .steps-line::before { display: none; } }
@media (max-width: 520px) { .steps-line { grid-template-columns: 1fr; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-strong); }
.compare > div { padding: 30px; }
.compare .before { background: var(--surface); }
.compare .after { background: linear-gradient(160deg, rgba(124, 92, 255, .14), rgba(34, 211, 238, .06)); border-left: 1px solid var(--border-strong); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare .after { border-left: 0; border-top: 1px solid var(--border-strong); } }
.metric-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.metric-line:last-child { border-bottom: 0; }
.metric-line b { font-family: var(--mono); font-size: 15px; }
/* Pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); position: relative; margin: 0 auto 40px; }
.billing-toggle button { position: relative; z-index: 1; padding: 9px 20px; border-radius: 99px; border: 0; background: none; color: var(--muted); font-weight: 650; cursor: pointer; transition: color .25s; font-size: 14px; }
.billing-toggle button.active { color: #fff; }
.billing-toggle .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 99px; background: var(--grad); transition: transform .35s var(--ease-spring), width .35s var(--ease); box-shadow: var(--glow); }
.save-tag { font-size: 11px; background: var(--success-soft); color: var(--success); padding: 2px 7px; border-radius: 99px; margin-left: 6px; }
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.price-card { padding: 30px 28px; display: flex; flex-direction: column; border-radius: var(--r-xl); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.price-card.featured { background: linear-gradient(180deg, rgba(124, 92, 255, .16), var(--surface) 55%); border-color: rgba(124, 92, 255, .5); box-shadow: var(--glow); }
.price-card .ribbon { position: absolute; top: 18px; right: 18px; }
.price-name { font-size: 19px; font-weight: 750; }
.price-tag { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; }
.price-tag b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price-tag span { color: var(--muted); font-size: 14px; }
.price-feats { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-feats li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); align-items: flex-start; }
.price-feats .icon { color: var(--success); margin-top: 2px; width: 17px; height: 17px; }
.price-limits { display: flex; gap: 10px; flex-wrap: wrap; }
.matrix th:first-child, .matrix td:first-child { min-width: 260px; }
.matrix td.c { text-align: center; }
.matrix .yes { color: var(--success); } .matrix .no { color: #4a5070; }
/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 0; font-weight: 650; font-size: 15.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease); color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--primary-2); }
.faq .answer { color: var(--text-2); font-size: 14.5px; padding-bottom: 18px; animation: fade-down .35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }
.cta-band { position: relative; border-radius: 32px; padding: 64px 40px; text-align: center; overflow: hidden; background: radial-gradient(600px 300px at 50% 0%, rgba(124, 92, 255, .4), transparent 70%), var(--surface); border: 1px solid var(--border-strong); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 14px; }
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer h4 { color: var(--text); font-size: 14px; margin-bottom: 14px; }
.footer a { display: block; padding: 4px 0; transition: color .2s; }
.footer a:hover { color: var(--text); }
@media (max-width: 760px) {
  .footer { text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px 12px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .footer-grid > div:first-child p { margin-left: auto; margin-right: auto; }
  .footer .row-between { flex-direction: column; justify-content: center; text-align: center; }
  .footer .row-between .row { justify-content: center; }
}
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .center-sm { text-align: center; }
  .center-sm .eyebrow { justify-content: center; }
}
.prose { max-width: 800px; margin: 0 auto; color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 22px; margin: 32px 0 12px; }
.prose li { margin-bottom: 6px; }
.page-hero { padding: 150px 0 50px; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.04em; margin: 14px 0; }
.page-hero p { color: var(--text-2); font-size: 18px; max-width: 640px; margin: 0 auto; }

/* Auth */
.auth { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { position: relative; overflow: hidden; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(700px 500px at 30% 20%, rgba(124, 92, 255, .35), transparent 65%), radial-gradient(600px 400px at 80% 90%, rgba(34, 211, 238, .2), transparent 60%), var(--bg-2); border-right: 1px solid var(--border); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { width: min(430px, 100%); }
.auth-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }
.lg-hide { display: none; }
@media (max-width: 900px) { .lg-hide { display: block; } }
.otp-input { letter-spacing: .5em; text-align: center; font-family: var(--mono); font-size: 22px; }

/* =====================================================================
   APP SHELL (customer + admin)
   ===================================================================== */
.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100svh; }
.sidebar { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding: 18px 14px; border-right: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow-y: auto; }
.sidebar .logo { padding: 6px 10px 22px; }
.side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #5f6582; font-weight: 700; padding: 16px 12px 8px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--text-2); font-size: 14.5px; font-weight: 550; position: relative; transition: color .2s, background .2s; }
.side-link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.side-link.active { color: var(--text); background: var(--primary-soft); }
.side-link.active::before { content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
.side-link .icon { color: var(--muted); }
.side-link.active .icon { color: var(--primary-2); }
.side-link .count { margin-left: auto; font-size: 11.5px; background: var(--danger); color: #fff; padding: 1px 7px; border-radius: 99px; font-weight: 700; }
.side-foot { margin-top: auto; padding-top: 16px; }
.plan-card { padding: 14px; border-radius: 14px; background: linear-gradient(140deg, rgba(124, 92, 255, .18), rgba(34, 211, 238, .08)); border: 1px solid var(--border-strong); }
.topbar { position: sticky; top: 0; z-index: 40; height: 66px; display: flex; align-items: center; gap: 14px; padding: 0 28px; background: rgba(7, 8, 15, .7); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--border); }
[data-theme="light"] .topbar { background: rgba(246, 247, 252, .82); }
.topbar h1 { font-size: 17px; font-weight: 700; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: transparent; border: 1px solid transparent; color: var(--text-2); cursor: pointer; position: relative; transition: background .2s, border-color .2s, color .2s; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--border); color: var(--text); }
.icon-btn .ping { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--bg); }
.avatar { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 750; font-size: 14px; flex: none; }
.main { min-width: 0; }
.content { padding: 28px; max-width: 1360px; margin: 0 auto; }
.content-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.content-head h2 { font-size: 26px; font-weight: 780; letter-spacing: -.03em; }
.content-head p { color: var(--muted); margin: 6px 0 0; }
.burger { display: none; }
@media (max-width: 1024px) { .shell { grid-template-columns: 1fr; } .sidebar { display: none; } .burger { display: grid; } .content { padding: 20px 16px; } .topbar { padding: 0 14px; } }
.page-enter > * { animation: page-in .55s var(--ease) both; }
.page-enter > *:nth-child(2) { animation-delay: .05s; } .page-enter > *:nth-child(3) { animation-delay: .1s; } .page-enter > *:nth-child(4) { animation-delay: .15s; } .page-enter > *:nth-child(5) { animation-delay: .2s; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }
.stagger > * { animation: page-in .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.welcome { position: relative; overflow: hidden; padding: 28px; border-radius: var(--r-xl); background: radial-gradient(500px 220px at 85% 0%, rgba(124, 92, 255, .35), transparent 70%), radial-gradient(400px 200px at 0% 100%, rgba(34, 211, 238, .14), transparent 70%), var(--surface); border: 1px solid var(--border-strong); }
.welcome h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.site-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.site-row:last-child { border-bottom: 0; }
.favicon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-3); font-weight: 750; color: var(--primary-2); flex: none; text-transform: uppercase; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.status-dot.connected { background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.status-dot.pending { background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); }
.status-dot.error, .status-dot.disconnected { background: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; word-break: break-word; }
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: var(--border); stroke-dasharray: 3 4; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { opacity: .22; }
.chart .dot { stroke: var(--surface); stroke-width: 2; }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-tip { position: absolute; pointer-events: none; background: var(--glass); backdrop-filter: blur(12px); border: 1px solid var(--border-strong); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; box-shadow: var(--shadow-lg); transform: translate(-50%, -110%); white-space: nowrap; opacity: 0; transition: opacity .15s; z-index: 5; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bar-compare { display: flex; flex-direction: column; gap: 6px; }
.bar-compare .b { height: 10px; border-radius: 6px; transform-origin: left; animation: grow-x 1.1s var(--ease) both; }
.bar-compare .b.before { background: var(--surface-3); }
.bar-compare .b.after { background: var(--grad); }
@keyframes grow-x { from { transform: scaleX(0); } }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding: 0 0 18px; }
.tl-item::before { content: ''; position: absolute; left: -23px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-strong); }
.tl-item.ok::before { border-color: var(--success); background: var(--success); }
.tl-item.err::before { border-color: var(--danger); background: var(--danger); }
.tl-item.warn::before { border-color: var(--warning); background: var(--warning); }
.code { font-family: var(--mono); font-size: 12.5px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; color: var(--text-2); }
.copy-field { display: flex; gap: 8px; align-items: center; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 6px 6px 6px 14px; font-family: var(--mono); font-size: 13.5px; }
.copy-field span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.option-card { display: block; position: relative; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card .card { transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%; }
.option-card input:checked + .card { border-color: var(--primary); box-shadow: var(--glow); }
.option-card input:focus-visible + .card { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.option-card input:disabled + .card { opacity: .5; cursor: not-allowed; }
.lock-note { font-size: 12px; color: var(--warning); display: inline-flex; align-items: center; gap: 5px; }

/* =====================================================================
   LIVE OPTIMIZATION SCREEN
   ===================================================================== */
.opt-stage { position: relative; overflow: hidden; border-radius: 28px; padding: 36px 28px; background: radial-gradient(600px 380px at 50% 30%, rgba(124, 92, 255, .22), transparent 70%), radial-gradient(500px 300px at 50% 100%, rgba(34, 211, 238, .12), transparent 70%), var(--surface); border: 1px solid var(--border-strong); isolation: isolate; }
.opt-stage canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.opt-core { position: relative; width: min(320px, 78vw); aspect-ratio: 1; margin: 0 auto; }
.opt-core svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-spin { transform-origin: 50% 50%; animation: spin 14s linear infinite; }
.ring-spin.rev { animation-direction: reverse; animation-duration: 22s; }
.ring-spin.fast { animation-duration: 6s; }
.opt-progress-ring { transition: stroke-dashoffset .9s var(--ease); filter: drop-shadow(0 0 10px rgba(124, 92, 255, .7)); }
.opt-center { position: absolute; inset: 22%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 35%, rgba(155, 130, 255, .35), rgba(16, 19, 31, .96) 70%); border: 1px solid var(--border-strong); box-shadow: inset 0 0 40px rgba(124, 92, 255, .3), 0 0 60px -10px rgba(124, 92, 255, .6); }
.opt-center .pct { font-size: clamp(38px, 9vw, 54px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.opt-center .pct small { font-size: .45em; }
.opt-center .phase { font-size: 12.5px; color: var(--text-2); margin-top: 8px; max-width: 150px; }
.orbit-dot { transform-origin: 50% 50%; animation: spin 4s linear infinite; }
.pulse-wave { position: absolute; inset: 22%; border-radius: 50%; border: 1px solid rgba(124, 92, 255, .5); animation: wave 2.8s var(--ease) infinite; }
.pulse-wave.w2 { animation-delay: 1.4s; }
@keyframes wave { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.opt-state-done .ring-spin, .opt-state-done .orbit-dot, .opt-state-done .pulse-wave { animation-play-state: paused; opacity: .35; }
.opt-check { position: absolute; inset: 22%; display: grid; place-items: center; opacity: 0; transform: scale(.6); }
.opt-state-done .opt-check { opacity: 1; transform: scale(1); transition: all .7s var(--ease-spring) .2s; }
.opt-state-done .opt-center > div { opacity: 0; transition: opacity .3s; }
.opt-check circle { stroke-dasharray: 300; stroke-dashoffset: 300; }
.opt-check path { stroke-dasharray: 80; stroke-dashoffset: 80; }
.opt-state-done .opt-check circle { animation: draw-to .9s var(--ease) .25s forwards; }
.opt-state-done .opt-check path { animation: draw-to .5s var(--ease) 1s forwards; }
@keyframes draw-to { to { stroke-dashoffset: 0; } }
.step-list { display: flex; flex-direction: column; gap: 4px; }
.step-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; transition: background .3s; position: relative; overflow: hidden; }
.step-row .s-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); flex: none; transition: all .4s var(--ease-spring); }
.step-row .s-label { font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .3s; flex: 1; min-width: 0; }
.step-row .s-meta { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.step-row.running { background: var(--primary-soft); }
.step-row.running .s-label { color: var(--text); }
.step-row.running .s-ico { background: transparent; border: 2px solid var(--primary); border-right-color: transparent; animation: spin .9s linear infinite; }
.step-row.running .s-ico svg { display: none; }
.step-row.running::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--f, 0) * 100%); background: var(--grad); transition: width .6s var(--ease); }
.step-row.completed .s-ico { background: var(--success); color: #0b1a14; transform: scale(1); animation: pop .5s var(--ease-spring); }
.step-row.completed .s-label { color: var(--text-2); }
.step-row.failed .s-ico { background: var(--danger); color: #fff; }
.step-row.skipped .s-ico { background: var(--surface-3); color: var(--muted); }
.step-row.skipped .s-label { text-decoration: line-through; text-decoration-color: rgba(138, 144, 173, .4); }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
.log-feed { height: 300px; overflow-y: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; padding: 14px 16px; background: #05060c; border: 1px solid var(--border); border-radius: 16px; scroll-behavior: smooth; }
[data-theme="light"] .log-feed { background: #0d1020; color: #c9cde3; }
.log-feed .ln { display: flex; gap: 10px; animation: log-in .35s var(--ease) both; }
.log-feed .t { color: #555c7c; flex: none; }
.log-feed .success { color: var(--success); } .log-feed .warning { color: var(--warning); } .log-feed .error { color: var(--danger); } .log-feed .info { color: #b4b9d1; }
@keyframes log-in { from { opacity: 0; transform: translateX(-6px); } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; }
.result-hero { text-align: center; animation: page-in .7s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .slide .s-anim { opacity: 1; transform: none; filter: none; }
  .mock { transform: none; }
}
/* Page transitions are done with the .page-enter entrance animation (cross-document
   View Transitions were removed: they could freeze mid-fade and block input). */


/* Hero responsive (kept after base hero/visual rules so they win the cascade) */
@media (max-width: 960px) {
  .slide { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .slide .chip { max-width: 100%; white-space: normal; text-align: left; }
  .hero { padding-top: 100px; align-items: flex-start; }
  .slide > div:first-child { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .slider-controls { justify-content: center; }
  .visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .mock { transform: none; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 10px 16px; font-size: 12.5px; }
  .float-card { display: none; }
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-note { display: inline-flex; align-items: center; gap: 8px; }
.footer-note .icon { color: var(--success); flex: none; }
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
  .footer-note { align-items: flex-start; text-align: center; max-width: 300px; }
  .footer-note .icon { margin-top: 2px; }
}
@media (max-width: 520px) { .pdf-cover span { white-space: nowrap; font-size: 6.5px; } }

/* =====================================================================
   Centered marketing layout (desktop + mobile)
   ===================================================================== */
.feature-card { text-align: center; }
.feature-card .icon-box { margin: 0 auto; }
.feature-card .row { justify-content: center; }
.feature-card p { max-width: 560px; margin-left: auto; margin-right: auto; }

.compare > div { text-align: center; }
.metric-line { justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.metric-line b { padding: 3px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; display: inline-flex; align-items: center; }
.compare .after .metric-line b { background: var(--success-soft); border-color: transparent; color: var(--success); }

.price-card { text-align: center; align-items: center; overflow: visible; }
.price-card > p { max-width: 280px; }
.price-tag, .price-limits { justify-content: center; }
.price-feats { align-self: stretch; align-items: center; }
.price-feats li { justify-content: center; text-align: center; }
.price-card .btn { align-self: stretch; }
.price-card .ribbon { top: 0; right: auto; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; box-shadow: var(--glow); background: var(--surface-2); border: 1px solid rgba(124, 92, 255, .45); z-index: 2; }
.price-card.featured { padding-top: 38px; }

.sec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sec-card { text-align: center; padding: 28px 22px; }
.sec-card .icon-box { margin: 0 auto; }
.sec-card h3 { font-size: 16.5px; margin: 16px 0 6px; }
.sec-card p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 1080px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sec-grid { grid-template-columns: minmax(0, 1fr); } }

.faq summary { justify-content: center; text-align: center; position: relative; padding-left: 34px; padding-right: 34px; }
.faq summary .icon { position: absolute; right: 0; top: 50%; margin-top: -9px; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { text-align: center; max-width: 680px; margin: 0 auto; }

.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; max-width: 860px; margin: 0 auto; gap: 34px 24px; }
.footer-grid > div:first-child { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
.footer-grid > div:first-child p { margin-left: auto; margin-right: auto; max-width: 460px !important; }
.footer-bottom { flex-direction: column; justify-content: center; text-align: center; }

.cat-card { text-align: center; padding: 28px 24px; }
.cat-card .icon-box { margin: 0 auto; }
.cat-card h3 { font-size: 19px; margin: 14px 0 18px; }
.cat-items { display: flex; flex-direction: column; gap: 14px; }
.cat-item { padding-top: 14px; border-top: 1px dashed var(--border); }
.cat-item:first-child { border-top: 0; padding-top: 0; }
.cat-name { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; font-size: 14.5px; }
.cat-name .icon { color: var(--success); }
.cat-item p { color: var(--muted); font-size: 13.5px; margin: 4px auto 0; max-width: 460px; }

.how-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; counter-reset: hs; }
.how-step { text-align: center; padding: 34px 26px 28px; overflow: hidden; }
.how-step::before { content: ''; position: absolute; left: 22%; right: 22%; top: 0; height: 2px; background: var(--grad); opacity: .7; border-radius: 2px; }
.how-step .icon-box { margin: 0 auto; width: 52px; height: 52px; border-radius: 16px; }
.how-num { display: block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--primary-2); margin-bottom: 14px; }
.how-step h3 { font-size: 18px; margin: 16px 0 8px; }
.how-step p { color: var(--text-2); font-size: 14.5px; margin: 0 auto; max-width: 440px; }
@media (max-width: 760px) { .how-steps { grid-template-columns: minmax(0, 1fr); } }

.contact-side .card { text-align: center; }
.contact-side .icon-box { margin: 0 auto; }
.matrix th, .matrix td { text-align: center; }
.matrix td:first-child .muted { max-width: 420px; margin: 2px auto 0; }

/* Page hero emblem (one decorative motion element per page) */
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 50% 0%, rgba(124, 92, 255, .22), transparent 70%); }
.ph-emblem { position: relative; width: 104px; height: 104px; margin: 0 auto 18px; display: grid; place-items: center; }
.ph-core { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(124, 92, 255, .9), rgba(34, 211, 238, .85)); color: #fff; box-shadow: 0 18px 50px -14px rgba(124, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .35); position: relative; z-index: 1; animation: ph-float 6s ease-in-out infinite; }
.ph-core .icon { width: 28px; height: 28px; }
.ph-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(148, 163, 214, .35); animation: au-spin 22s linear infinite; }
.ph-ring.r2 { inset: -18px; border-style: solid; border-color: rgba(124, 92, 255, .22); animation-duration: 34s; animation-direction: reverse; }
.ph-orbit { position: absolute; inset: -18px; border-radius: 50%; animation: au-spin 9s linear infinite; }
.ph-orbit i { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 14px 3px rgba(34, 211, 238, .7); }
@keyframes ph-float { 50% { transform: translateY(-6px); } }

/* =====================================================================
   Aurora background: fixed, composited-only (transform/opacity), no layout
   ===================================================================== */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; contain: strict; }
.au-blob { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.au-blob.b1 { top: -30vmax; left: -22vmax; background: radial-gradient(circle, rgba(124, 92, 255, .30), transparent 62%); animation: au-a 26s ease-in-out infinite alternate; }
.au-blob.b2 { bottom: -34vmax; right: -24vmax; background: radial-gradient(circle, rgba(34, 211, 238, .20), transparent 62%); animation: au-b 32s ease-in-out infinite alternate; }
.au-blob.b3 { top: 18%; left: 38%; width: 52vmax; height: 52vmax; background: radial-gradient(circle, rgba(217, 70, 239, .13), transparent 62%); animation: au-c 38s ease-in-out infinite alternate; }
.au-blob.b4 { top: 55%; left: -18vmax; width: 48vmax; height: 48vmax; background: radial-gradient(circle, rgba(59, 130, 246, .16), transparent 62%); animation: au-b 44s ease-in-out infinite alternate-reverse; }
@keyframes au-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(16vw, 10vh, 0) scale(1.14); } 100% { transform: translate3d(6vw, 26vh, 0) scale(.94); } }
@keyframes au-b { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-14vw, -12vh, 0) scale(1.1); } 100% { transform: translate3d(-4vw, -24vh, 0) scale(.96); } }
@keyframes au-c { 0% { transform: translate3d(0, 0, 0) scale(.9); } 50% { transform: translate3d(-18vw, 14vh, 0) scale(1.12); } 100% { transform: translate3d(10vw, -8vh, 0) scale(1); } }
.au-sweep { position: absolute; left: 50%; top: 34vh; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 78%, rgba(124, 92, 255, .07) 88%, rgba(34, 211, 238, .05) 93%, transparent 98%); animation: au-spin 48s linear infinite; }
.au-grid { position: absolute; inset: -64px; background-image: linear-gradient(rgba(148, 163, 214, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 214, .055) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 28%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 55% at 50% 28%, #000 25%, transparent 78%); animation: au-grid 16s linear infinite; }
@keyframes au-grid { to { transform: translate3d(64px, 64px, 0); } }
.au-rings { position: absolute; left: 50%; top: 34vh; width: 0; height: 0; }
.au-rings b { position: absolute; left: 0; top: 0; border-radius: 50%; border: 1px solid rgba(148, 163, 214, .09); }
.au-rings b::before { content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 12px 3px rgba(167, 139, 250, .6); }
.au-rings b:nth-child(1) { width: 560px; height: 560px; margin: -280px; animation: au-spin 30s linear infinite; }
.au-rings b:nth-child(2) { width: 860px; height: 860px; margin: -430px; animation: au-spin 50s linear infinite reverse; }
.au-rings b:nth-child(2)::before { background: #22d3ee; box-shadow: 0 0 12px 3px rgba(34, 211, 238, .6); }
.au-rings b:nth-child(3) { width: 1180px; height: 1180px; margin: -590px; animation: au-spin 80s linear infinite; border-style: dashed; }
@keyframes au-spin { to { transform: rotate(360deg); } }
.au-dust { position: absolute; left: 0; top: 0; width: 2px; height: 2px; border-radius: 50%; box-shadow: 38vw 87vh rgba(34,211,238,0.75), 36vw 67vh rgba(196,181,253,0.38), 84vw 85vh rgba(196,181,253,0.62), 44vw 11vh rgba(196,181,253,0.88), 80vw 33vh rgba(34,211,238,0.87), 74vw 56vh rgba(196,181,253,0.45), 38vw 2vh rgba(34,211,238,0.92), 48vw 71vh rgba(34,211,238,0.81), 11vw 16vh rgba(34,211,238,0.4), 82vw 15vh rgba(196,181,253,0.68), 87vw 66vh rgba(34,211,238,0.42), 59vw 95vh rgba(196,181,253,0.78), 83vw 14vh rgba(196,181,253,0.48), 70vw 91vh rgba(196,181,253,0.71), 69vw 18vh rgba(196,181,253,0.75), 72vw 1vh rgba(34,211,238,0.63), 8vw 15vh rgba(34,211,238,0.84), 2vw 81vh rgba(196,181,253,0.69), 79vw 93vh rgba(34,211,238,0.44), 44vw 10vh rgba(196,181,253,0.88), 30vw 38vh rgba(196,181,253,0.47), 49vw 89vh rgba(34,211,238,0.7), 56vw 26vh rgba(196,181,253,0.57), 48vw 20vh rgba(196,181,253,0.47), 18vw 99vh rgba(196,181,253,0.94), 13vw 43vh rgba(34,211,238,0.68), 57vw 56vh rgba(196,181,253,0.4), 76vw 51vh rgba(196,181,253,0.58), 30vw 23vh rgba(196,181,253,0.37), 82vw 13vh rgba(34,211,238,0.73), 56vw 62vh rgba(196,181,253,0.78), 44vw 92vh rgba(196,181,253,0.45), 72vw 28vh rgba(196,181,253,0.89), 12vw 43vh rgba(196,181,253,0.52), 84vw 17vh rgba(196,181,253,0.81), 81vw 81vh rgba(34,211,238,0.61), 89vw 78vh rgba(34,211,238,0.56), 17vw 86vh rgba(34,211,238,0.37), 36vw 79vh rgba(196,181,253,0.88), 72vw 78vh rgba(196,181,253,0.69), 40vw 49vh rgba(196,181,253,0.38), 61vw 93vh rgba(196,181,253,0.63), 95vw 15vh rgba(196,181,253,0.65), 37vw 70vh rgba(196,181,253,0.57), 19vw 65vh rgba(196,181,253,0.87), 58vw 92vh rgba(196,181,253,0.6); animation: au-rise 60s linear infinite; opacity: .8; }
.au-dust::after { content: ''; position: absolute; left: 0; top: 100vh; width: 2px; height: 2px; border-radius: 50%; box-shadow: inherit; }
.au-dust.d2 { width: 3px; height: 3px; box-shadow: 24vw 85vh rgba(34,211,238,0.39), 55vw 77vh rgba(34,211,238,0.44), 60vw 11vh rgba(34,211,238,0.66), 77vw 94vh rgba(196,181,253,0.62), 32vw 47vh rgba(34,211,238,0.53), 37vw 39vh rgba(196,181,253,0.75), 42vw 13vh rgba(34,211,238,0.54), 92vw 90vh rgba(196,181,253,0.39), 7vw 18vh rgba(196,181,253,0.49), 86vw 12vh rgba(34,211,238,0.54), 0vw 43vh rgba(34,211,238,0.37), 18vw 4vh rgba(34,211,238,0.93), 20vw 90vh rgba(34,211,238,0.55), 62vw 39vh rgba(196,181,253,0.64), 18vw 40vh rgba(196,181,253,0.89), 44vw 7vh rgba(196,181,253,0.43), 5vw 4vh rgba(196,181,253,0.5), 70vw 68vh rgba(34,211,238,0.41), 15vw 11vh rgba(196,181,253,0.36), 35vw 40vh rgba(196,181,253,0.64), 16vw 7vh rgba(34,211,238,0.87), 56vw 95vh rgba(196,181,253,0.86); animation-duration: 90s; opacity: .5; }
.au-dust.d2::after { width: 3px; height: 3px; }
@keyframes au-rise { to { transform: translate3d(0, -100vh, 0); } }
[data-theme="light"] .aurora { opacity: .55; }
[data-theme="light"] .au-dust { display: none; }
@media (max-width: 760px) {
  .au-rings b:nth-child(3), .au-dust.d2 { display: none; }
  .au-rings b:nth-child(1) { width: 380px; height: 380px; margin: -190px; }
  .au-rings b:nth-child(2) { width: 600px; height: 600px; margin: -300px; }
  .ph-emblem { width: 88px; height: 88px; }
  .ph-core { width: 56px; height: 56px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora *, .aurora *::before, .aurora *::after, .ph-emblem * { animation: none !important; }
}@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.note-center { flex-direction: column; align-items: center; text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .au-sweep { display: none; } }
/* Footer brand: logo row (icon + name side by side), larger and centered */
.footer .logo { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0; font-size: 26px; color: var(--text); }
.footer .logo:hover { color: var(--text); }
.footer .logo-mark { width: 44px; height: 44px; border-radius: 13px; }
.footer .logo-mark svg { width: 24px; height: 24px; }
.footer-grid > div:first-child p { font-size: 14.5px; line-height: 1.7; margin-top: 16px !important; }
@media (max-width: 520px) { .footer .logo { font-size: 23px; } .footer .logo-mark { width: 40px; height: 40px; } }
@media (max-width: 420px) { .footer-grid > div:last-child { grid-column: 1 / -1; } }
.matrix td.c .yes, .matrix td.c .no { display: inline-flex; justify-content: center; vertical-align: middle; }
.matrix td.c svg { display: inline-block; margin: 0 auto; }
/* "WPBoost nedir?" answer block (AEO) */
.aeo-card { max-width: 980px; margin: 0 auto; text-align: center; padding: 40px 36px; border-radius: var(--r-xl); background: linear-gradient(160deg, rgba(124, 92, 255, .12), rgba(34, 211, 238, .05)), var(--surface); border: 1px solid var(--border-strong); position: relative; overflow: hidden; }
.aeo-card h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; margin: 12px 0 14px; }
.aeo-card .answer { color: var(--text-2); font-size: 17px; line-height: 1.75; max-width: 760px; margin: 0 auto; }
.aeo-card .answer b { color: var(--text); }
.aeo-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; }
.aeo-facts > div { padding: 18px 16px; border-radius: 16px; background: rgba(255, 255, 255, .02); border: 1px solid var(--border); }
.aeo-facts dt { font-weight: 750; font-size: 15px; margin-bottom: 6px; }
.aeo-facts dd { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) { .aeo-facts { grid-template-columns: minmax(0, 1fr); } .aeo-card { padding: 30px 20px; } .aeo-card .answer { font-size: 15.5px; } }
