/* ============================================================
   UIDD — design system (based on the supplied dark SaaS template)
   Shared by the public site, auth pages, client portal and admin.
   ============================================================ */
:root, [data-theme="dark"] {
  /* Template palette */
  --bg: #07080b;
  --bg-elev: #0b0d13;
  --glass: rgba(255,255,255,.028);
  --glass-2: rgba(255,255,255,.055);
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --text: #eceef4;
  --muted: #939aad;
  --muted-2: #6a7186;
  --accent: #6d5cff;
  --accent-2: #22d3ee;
  --accent-3: #ff5ea8;
  --green: #3ddc97;
  --grad: linear-gradient(120deg, #6d5cff 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(109,92,255,.18), rgba(34,211,238,.14));

  /* Names used across the app (admin, portal, forms) */
  --primary: #6d5cff; --primary-hover: #5a49f0; --secondary: #22d3ee;
  --success: #3ddc97; --warning: #fbbf24; --danger: #ff6b6b;
  --navy: #07080b; --bg-alt: #0b0d13;
  --surface: #0e1018; --surface-2: #151824;
  --border: rgba(255,255,255,.08); --border-strong: rgba(255,255,255,.16);
  --heading: #ffffff; --text-muted: #939aad; --link: #8fa2ff;
  --input-bg: rgba(255,255,255,.035); --focus: #22d3ee;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.85);
  --ok-bg: rgba(61,220,151,.12); --ok-fg: #3ddc97;
  --bad-bg: rgba(255,107,107,.12); --bad-fg: #ff8a8a;
  --warn-bg: rgba(251,191,36,.12); --warn-fg: #fbbf24;
  --info-bg: rgba(109,92,255,.16); --info-fg: #a89dff;

  --r-sm: 10px; --r: 14px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --maxw: 1560px; --container: 1560px; --pad: clamp(18px, 3.2vw, 56px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f7f8fc; --bg-elev: #ffffff;
  --glass: rgba(15,18,30,.03); --glass-2: rgba(15,18,30,.06);
  --line: rgba(15,18,30,.09); --line-strong: rgba(15,18,30,.18);
  --text: #1c2030; --muted: #5b6275; --muted-2: #7c8397;
  --bg-alt: #eef0f7; --surface: #ffffff; --surface-2: #f1f3f9;
  --border: rgba(15,18,30,.09); --border-strong: rgba(15,18,30,.18);
  --heading: #0b0d14; --text-muted: #5b6275; --link: #4f3ff0;
  --input-bg: #ffffff; --focus: #6d5cff;
  --shadow: 0 20px 50px -24px rgba(20,24,40,.25);
  --ok-fg: #138a57; --bad-fg: #c53030; --warn-fg: #9a6200; --info-fg: #4f3ff0;
  color-scheme: light;
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(109,92,255,.4); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e2130; border-radius: 10px; border: 2px solid var(--bg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.028em; line-height: 1.08; color: var(--heading); }
h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -.04em; font-weight: 800; }
h2 { font-size: clamp(28px, 4.2vw, 46px); letter-spacing: -.032em; }
h3, .h3 { font-size: 20px; letter-spacing: -.018em; line-height: 1.3; }
.h4 { font-size: 15px; letter-spacing: -.01em; } .h5 { font-size: 14px; margin-top: 1rem; }
p { margin-bottom: 1rem; } p:last-child { margin-bottom: 0; }
code, pre, .mono { font-family: var(--font-mono); font-size: .88em; }
pre { white-space: pre-wrap; word-break: break-word; background: var(--glass); border: 1px solid var(--line); padding: .8rem; border-radius: var(--r-sm); }
.icon { width: 20px; height: 20px; flex-shrink: 0; } .icon-sm { width: 15px; height: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--grad); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); } .center { text-align: center; } .text-bad { color: var(--bad-fg); }
.flip { display: inline-flex; transform: scaleX(-1); }

/* ============ LAYOUT ============ */
.wrap, .container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); position: relative; width: 100%; }
.narrow { max-width: 820px; }
.section { padding: 110px 0; position: relative; }
.section--tight, .section-tight { padding: 70px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(109,92,255,.035) 40%, transparent); border-block: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; max-width: 620px; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 18px; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; max-width: none; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: 20px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 11px; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; position: relative; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 26px -8px rgba(109,92,255,.75); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 38px -8px rgba(109,92,255,.95); transform: translateY(-2px); }
.btn-ghost { background: var(--glass); color: var(--text); border-color: var(--line); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--glass-2); border-color: var(--line-strong); transform: translateY(-2px); }
.btn-danger { background: transparent; color: var(--bad-fg); border-color: rgba(255,107,107,.35); }
.btn-danger:hover { background: var(--bad-bg); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 13px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn-xs { padding: 6px 11px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .icon { width: 16px; height: 16px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid transparent; color: var(--muted); position: relative; transition: color .18s, background .18s, border-color .18s; }
.icon-btn:hover { color: var(--text); background: var(--glass); border-color: var(--line); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-row form { display: inline; }

/* Status badges (from badge() helper) */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px; font-size: 11.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.badge-ok { background: var(--ok-bg); color: var(--ok-fg); border-color: rgba(61,220,151,.25); }
.badge-bad { background: var(--bad-bg); color: var(--bad-fg); border-color: rgba(255,107,107,.25); }
.badge-warn { background: var(--warn-bg); color: var(--warn-fg); border-color: rgba(251,191,36,.25); }
.badge-info { background: var(--info-bg); color: var(--info-fg); border-color: rgba(109,92,255,.3); }
.badge-neutral { background: var(--glass-2); color: var(--muted); border-color: var(--line); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); font-size: 13.5px; font-weight: 500; transition: color .2s, border-color .2s, background .2s; }
a.chip:hover, .chip.is-active { color: var(--text); border-color: rgba(109,92,255,.5); background: rgba(109,92,255,.12); }
.tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 6px; background: rgba(109,92,255,.15); color: #b3a9ff; border: 1px solid rgba(109,92,255,.3); }
[data-theme="light"] .tag { color: var(--accent); }

/* ============ ANNOUNCEMENT ============ */
.announcement { position: relative; z-index: 101; background: var(--grad); color: #fff; font-size: 13.5px; font-weight: 500; }
.announcement-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; }
.announcement p { margin: 0; text-align: center; } .announcement a { text-decoration: underline; font-weight: 700; margin-left: 6px; }
.announcement .icon-btn { color: #fff; width: 30px; height: 30px; position: absolute; right: var(--pad); }
.announcement + .nav { top: 40px; }
.announcement + .nav.scrolled { top: 0; }

/* ============ NAV ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s var(--ease), border-color .35s, top .25s; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.solid { background: rgba(7,8,11,.78); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--line); }
[data-theme="light"] .nav.scrolled, [data-theme="light"] .nav.solid { background: rgba(247,248,252,.85); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); height: 68px; display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17.5px; letter-spacing: -.03em; margin-right: 14px; flex-shrink: 0; color: var(--heading); }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(109,92,255,.9); flex-shrink: 0; }
.logo-mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav-links > li { position: relative; }
.nav-links a, .nav-trigger { padding: 8px 13px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .18s, background .18s; display: flex; align-items: center; gap: 5px; }
.nav-links a:hover, .nav-trigger:hover, .nav-links a.is-active, .nav-trigger[aria-expanded="true"] { color: var(--text); background: var(--glass); }
.nav-trigger .chev { width: 11px; height: 11px; opacity: .55; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 12px); left: -14px; width: min(760px, 88vw); padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: rgba(12,14,21,.97); backdrop-filter: blur(20px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(109,92,255,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
[data-theme="light"] .mega { background: rgba(255,255,255,.98); }
.mega-narrow { width: 460px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-item { display: flex !important; align-items: flex-start !important; gap: 12px !important; padding: 11px !important; border-radius: 11px !important; }
.mega-item:hover { background: var(--glass-2) !important; }
.mega-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(109,92,255,.22); color: var(--accent-2); flex-shrink: 0; }
.mega-icon .icon { width: 17px; height: 17px; }
.mega-item strong { display: block; color: var(--text); font-size: 13.5px; font-weight: 600; }
.mega-item small { display: block; color: var(--muted-2); font-size: 12px; line-height: 1.4; margin-top: 2px; font-weight: 400; }
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega-cols a { padding: 8px 10px !important; font-size: 13.5px !important; }
.mega-label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); padding: 6px 10px; }
.mega-foot { margin-top: 8px; padding: 12px !important; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; color: var(--accent-2) !important; font-weight: 600 !important; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-right .signin { font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 9px; transition: color .18s, background .18s; }
.nav-right .signin:hover { color: var(--text); background: var(--glass); }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); place-items: center; }
.burger span { display: block; width: 16px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 4px; }
.burger.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; z-index: 99; background: rgba(9,10,15,.98); backdrop-filter: blur(20px); border-top: 1px solid var(--line); padding: 12px var(--pad) 32px; flex-direction: column; overflow-y: auto; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
[data-theme="light"] .mobile-menu { background: rgba(247,248,252,.98); }
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu > a, .mobile-menu summary { padding: 14px 4px; font-size: 16px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary { color: var(--text); }
.mobile-menu details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu details a { display: block; padding: 10px 14px; font-size: 15px; color: var(--muted); }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { margin-top: 14px; }
body.menu-open { overflow: hidden; }

/* ============ HERO ============ */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.grid-bg { position: absolute; inset: -1px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 58px 58px; opacity: .5; -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 25%, transparent 78%); }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.orb-1 { width: 620px; height: 620px; background: rgba(109,92,255,.30); top: -260px; left: 50%; transform: translateX(-52%); }
.orb-2 { width: 480px; height: 480px; background: rgba(34,211,238,.16); top: -60px; left: -160px; }
.orb-3 { width: 460px; height: 460px; background: rgba(255,94,168,.13); top: 40px; right: -180px; }
[data-theme="light"] .orb { opacity: .5; }
.hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 240px; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero-inner { position: relative; text-align: center; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 12px; border-radius: 100px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; color: var(--muted); font-weight: 500; backdrop-filter: blur(10px); transition: border-color .2s, background .2s, transform .2s var(--ease); margin-bottom: 26px; }
.hero-badge:hover { border-color: var(--line-strong); background: var(--glass-2); transform: translateY(-1px); }
.hero-badge .pill { background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; letter-spacing: .03em; }
.hero-badge .arrow { width: 14px; height: 14px; opacity: .5; transition: transform .2s var(--ease); }
.hero-badge:hover .arrow { transform: translateX(3px); }
.hero h1 { font-size: clamp(38px, 7vw, 76px); letter-spacing: -.04em; line-height: 1.02; font-weight: 800; max-width: 16ch; margin: 0 auto; }
.hero .lead { margin: 26px auto 0; max-width: 620px; font-size: clamp(16px, 1.8vw, 19px); }
.hero-cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-cta.left { justify-content: flex-start; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted-2); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-note .icon { width: 14px; height: 14px; color: var(--green); }
.hero-note .sep { opacity: .4; }
.proof { margin-top: 52px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 3px 10px -3px rgba(0,0,0,.7); }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #ff5ea8, #ff9f6d); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #22d3ee, #3ddc97); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.avatars span:nth-child(5) { background: linear-gradient(135deg, #8b5cf6, #6d5cff); }
.proof-text { font-size: 13.5px; color: var(--muted); }
.proof-text b { color: var(--text); font-weight: 600; }

/* Inner page hero */
.page-hero { position: relative; padding: 140px 0 70px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .orb-1 { width: 520px; height: 520px; top: -320px; opacity: .8; }
.page-hero .orb-2 { top: -200px; } .page-hero .orb-3 { top: -160px; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 58px); max-width: 18ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero .hero-cta { justify-content: flex-start; margin-top: 30px; }
.page-hero.center .hero-cta { justify-content: center; }
.page-hero-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(109,92,255,.3); color: var(--accent-2); margin-bottom: 22px; }
.page-hero-icon .icon { width: 26px; height: 26px; }
.page-hero.center .page-hero-icon { margin-left: auto; margin-right: auto; }
.page-hero .split { align-items: center; }
.price-from { color: var(--accent-2); font-weight: 600; font-size: 14.5px; margin-top: 14px; }
.price-from strong { color: var(--text); }

/* ============ MOCKUP (hero visual) ============ */
.mock-wrap { position: relative; margin-top: 70px; z-index: 2; perspective: 1800px; text-align: left; }
.mock-glow { position: absolute; inset: 8% 6% -6%; background: var(--grad); filter: blur(90px); opacity: .32; border-radius: 50%; z-index: -1; }
.mock { border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, rgba(19,21,30,.96), rgba(10,11,17,.98)); overflow: hidden; color: #eceef4; box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 40px 100px -30px rgba(0,0,0,.95), 0 0 90px -30px rgba(109,92,255,.5); transform: rotateX(4deg); transition: transform .8s var(--ease); }
.mock:hover { transform: rotateX(0deg); }
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.018); }
.dots { display: flex; gap: 7px; } .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.mock-url { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 11.5px; color: #6a7186; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); padding: 5px 12px; border-radius: 7px; max-width: 360px; margin: 0 auto; }
.mock-bar .spacer { width: 47px; }
.mock-body { display: grid; grid-template-columns: 212px 1fr; min-height: 400px; }
.mock-side { border-right: 1px solid rgba(255,255,255,.08); padding: 16px 12px; background: rgba(0,0,0,.22); display: flex; flex-direction: column; gap: 4px; }
.mock .side-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6a7186; padding: 10px 10px 6px; }
.mock .side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: #939aad; font-weight: 500; }
.mock .side-item .icon { width: 15px; height: 15px; opacity: .75; }
.mock .side-item.active { background: rgba(109,92,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(109,92,255,.25); }
.mock .side-item.active .icon { opacity: 1; color: #22d3ee; }
.side-dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 3px rgba(61,220,151,.16); }
.mock-main { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mock-title { font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.mock-sub { font-size: 12px; color: #6a7186; margin-top: 2px; }
.mock-tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: rgba(61,220,151,.12); color: #3ddc97; border: 1px solid rgba(61,220,151,.25); display: inline-flex; align-items: center; gap: 6px; }
.mock-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-sm); padding: 14px; }
.tile-k { font-size: 11px; color: #6a7186; font-weight: 500; letter-spacing: .02em; }
.tile-v { font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }
.tile-d { font-size: 11px; font-weight: 600; margin-top: 4px; }
.up { color: #3ddc97; } .down { color: #ff7a7a; }
.mock-list { display: grid; gap: 8px; }
.mock-list li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #939aad; padding: 9px 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 9px; background: rgba(255,255,255,.02); }
.mock-list li b { color: #eceef4; font-weight: 600; }
.mock-list li .st { margin-left: auto; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 100px; }
.st.done { background: rgba(61,220,151,.12); color: #3ddc97; } .st.now { background: rgba(109,92,255,.18); color: #b3a9ff; } .st.next { background: rgba(255,255,255,.06); color: #6a7186; }
.progress-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; animation: grow-x 1.2s var(--ease) backwards; }
@keyframes grow-x { from { width: 0 !important; } }
.mock .chart { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-sm); padding: 16px 16px 12px; flex: 1; display: flex; flex-direction: column; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.chart-head h4 { font-size: 12.5px; font-weight: 600; color: #939aad; }
.legend { display: flex; gap: 14px; font-size: 11px; color: #6a7186; }
.legend span { display: flex; align-items: center; gap: 5px; } .legend i { width: 7px; height: 7px; border-radius: 2px; display: block; }
.chart .bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; flex: 1; }
.chart .bar { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, rgba(109,92,255,.95), rgba(109,92,255,.22)); animation: grow 1.1s var(--ease) backwards; }
.chart .bar.alt { background: linear-gradient(180deg, rgba(34,211,238,.85), rgba(34,211,238,.16)); }
@keyframes grow { from { height: 0 !important; opacity: 0; } }
.chart-axis { display: flex; justify-content: space-between; font-size: 10px; color: #6a7186; margin-top: 10px; font-family: var(--font-mono); }
.file-chip { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; border: 1px dashed rgba(34,211,238,.4); background: rgba(34,211,238,.06); font-size: 12.5px; color: #eceef4; }
.file-chip .icon { color: #22d3ee; width: 16px; height: 16px; }
.file-chip small { margin-left: auto; color: #3ddc97; font-weight: 600; }

/* ============ LOGO / TECH BAR ============ */
.logos { padding: 60px 0 40px; position: relative; }
.logos p { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 30px; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 4.5vw, 56px); flex-wrap: wrap; }
.logo-row span { font-size: clamp(15px, 1.8vw, 20px); font-weight: 700; letter-spacing: -.03em; color: #5c6379; opacity: .9; transition: color .3s; }
.logo-row span:hover { color: var(--text); }

/* ============ FEATURE GRID ============ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.features-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.f-card { background: var(--bg); padding: 34px 30px 36px; position: relative; transition: background .35s var(--ease); display: block; color: inherit; }
.f-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(109,92,255,.10), transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.f-card:hover { background: var(--bg-elev); }
.f-card:hover::after { opacity: 1; }
.f-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 20px; background: var(--grad-soft); border: 1px solid rgba(109,92,255,.22); color: var(--accent-2); position: relative; z-index: 1; }
.f-icon .icon { width: 20px; height: 20px; }
.f-card h3 { margin-bottom: 10px; position: relative; z-index: 1; }
.f-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; position: relative; z-index: 1; }
.f-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--accent-2); position: relative; z-index: 1; }
.f-more .icon { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.f-card:hover .f-more .icon { transform: translateX(3px); }
.f-meta { font-size: 13px; color: var(--accent-2); font-weight: 600; margin-top: 14px; position: relative; z-index: 1; }

/* Glass card (general purpose) */
.card { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: relative; }
[data-theme="light"] .card { background: #fff; }
.card h2, .card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card-link { display: block; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.card-link:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 60px -24px rgba(0,0,0,.8); }
.card-accent { border-color: rgba(109,92,255,.4); background: linear-gradient(180deg, rgba(109,92,255,.10), rgba(34,211,238,.03)); }

/* ============ SPLIT / CHECKLIST / TERMINAL ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.split.rev .split-visual { order: -1; }
.checklist { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.tick { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(61,220,151,.13); border: 1px solid rgba(61,220,151,.3); display: grid; place-items: center; margin-top: 2px; color: var(--green); }
.tick .icon { width: 11px; height: 11px; }
.checklist b { color: var(--text); font-weight: 600; }
.terminal { border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, #0d0f16, #08090e); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 70px -30px rgba(34,211,238,.35); color: #9aa2b8; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.term-bar .fname { margin-left: 8px; font-size: 11.5px; color: #6a7186; font-family: var(--font-mono); }
.term-body { padding: 20px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.95; overflow-x: auto; }
.term-body .ln { display: block; white-space: pre; }
.c-dim { color: #5a6178; } .c-key { color: #c084fc; } .c-str { color: #3ddc97; } .c-fn { color: #22d3ee; } .c-num { color: #fbbf24; } .c-cmt { color: #4d5468; font-style: italic; }
.cursor { display: inline-block; width: 7px; height: 14px; background: #22d3ee; vertical-align: -2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 28px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-v { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat-l { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ============ PROCESS (numbered steps) ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); }
.step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 16px; box-shadow: 0 8px 20px -8px rgba(109,92,255,.9); }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ============ TESTIMONIALS ============ */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.t-card { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; gap: 20px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; position: relative; overflow: hidden; margin: 0; }
[data-theme="light"] .t-card { background: #fff; }
.t-card::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(109,92,255,.6), transparent); opacity: 0; transition: opacity .4s; }
.t-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 24px 60px -24px rgba(0,0,0,.8); }
.t-card:hover::before { opacity: 1; }
.t-quote { font-size: 15.5px; line-height: 1.7; color: var(--text); opacity: .88; flex: 1; }
.t-person { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--grad); }
.t-grid > :nth-child(3n+2) .t-av { background: linear-gradient(135deg, #ff5ea8, #ff9f6d); }
.t-grid > :nth-child(3n+3) .t-av { background: linear-gradient(135deg, #22d3ee, #3ddc97); }
.t-name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--heading); }
.t-role { font-size: 12.5px; color: var(--muted-2); }
.stars { display: inline-flex; gap: 2px; color: #fbbf24; font-size: 13px; letter-spacing: 1px; }

/* ============ PRICING ============ */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.p-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); padding: 32px 28px; display: flex; flex-direction: column; position: relative; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
[data-theme="light"] .p-card { background: #fff; }
.p-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.p-card.featured { border-color: rgba(109,92,255,.45); background: linear-gradient(180deg, rgba(109,92,255,.10), rgba(34,211,238,.03)); box-shadow: 0 0 0 1px rgba(109,92,255,.14), 0 30px 70px -30px rgba(109,92,255,.6); }
.p-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(109,92,255,.9); }
.p-kicker { font-size: 12px; font-weight: 600; color: var(--accent-2); letter-spacing: .02em; }
.p-name { font-size: 17px; font-weight: 650; letter-spacing: -.015em; margin-top: 4px; color: var(--heading); }
.p-desc { font-size: 13.5px; color: var(--muted); margin-top: 8px; min-height: 42px; line-height: 1.5; }
.p-price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 22px; }
.p-from { font-size: 13px; color: var(--muted-2); }
.p-amount { font-size: 38px; font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--heading); }
.p-card .btn { margin-bottom: 24px; }
.p-feats { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.p-feats li { display: flex; gap: 11px; color: var(--muted); line-height: 1.5; align-items: flex-start; }
.p-feats li .icon { width: 15px; height: 15px; color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }

/* ============ FAQ (details-based accordion) ============ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary { list-style: none; width: 100%; display: flex; align-items: center; gap: 18px; padding: 24px 4px; text-align: left; font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; cursor: pointer; color: var(--heading); transition: color .2s; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--accent-2); }
.faq-icon { margin-left: auto; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, border-color .3s; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--muted); border-radius: 2px; transition: background .3s, opacity .3s; }
.faq-icon::before { width: 10px; height: 1.6px; } .faq-icon::after { width: 1.6px; height: 10px; }
.faq-item[open] .faq-icon { transform: rotate(90deg); background: rgba(109,92,255,.16); border-color: rgba(109,92,255,.45); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--accent-2); }
.faq-item[open] .faq-icon::after { opacity: 0; }
.faq-a { padding: 0 52px 26px 4px; font-size: 14.8px; color: var(--muted); line-height: 1.75; animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.faq-group { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin: 48px 0 6px; }
.faq-group:first-child { margin-top: 0; }

/* ============ CTA BAND ============ */
.cta-band { position: relative; border-radius: var(--r-xl); border: 1px solid rgba(109,92,255,.3); background: radial-gradient(700px circle at 50% 0%, rgba(109,92,255,.22), transparent 62%), linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); padding: 76px 44px; text-align: center; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .45; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 72%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18ch; margin: 0 auto; }
.cta-band .lead { margin: 20px auto 0; max-width: 540px; }
.cta-band .hero-cta { margin-top: 36px; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 34px; background: linear-gradient(180deg, transparent, rgba(109,92,255,.035)); }
.f-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; padding-bottom: 56px; }
.f-brand p { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 300px; line-height: 1.65; }
.f-social { display: flex; gap: 9px; margin-top: 22px; flex-wrap: wrap; }
.f-social a { height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); display: inline-flex; align-items: center; color: var(--muted); font-size: 12.5px; font-weight: 600; transition: color .2s, border-color .2s, background .2s, transform .2s var(--ease); }
.f-social a:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); }
.f-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.f-col ul { display: flex; flex-direction: column; gap: 11px; }
.f-col a, .f-col span { font-size: 14px; color: var(--muted); transition: color .2s; display: inline-flex; align-items: flex-start; gap: 8px; }
.f-col a:hover { color: var(--text); }
.f-col .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--accent-2); }
.newsletter { margin-top: 24px; max-width: 340px; }
.newsletter label { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 8px; display: block; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input { flex: 1; min-width: 0; }
.f-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.f-bottom p { font-size: 13px; color: var(--muted-2); margin: 0; }
.f-legal { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.f-legal a { font-size: 13px; color: var(--muted-2); transition: color .2s; }
.f-legal a:hover { color: var(--text); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 500; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line); background: var(--glass); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(61,220,151,.15); animation: pulse 2.4s infinite; }

/* ============ CONTENT PIECES ============ */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted-2); margin-bottom: 22px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); } .breadcrumbs a:hover { color: var(--text); }
.page-hero.center .breadcrumbs ol { justify-content: center; }
.prose { max-width: 72ch; color: var(--muted); font-size: 16px; line-height: 1.8; }
.prose h2 { font-size: 26px; margin: 2.2rem 0 .8rem; } .prose h3 { font-size: 20px; margin: 1.8rem 0 .6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; } .prose ol { list-style: decimal; padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; } .prose li::marker { color: var(--accent-2); }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose blockquote { border-left: 2px solid var(--accent); margin: 1.6rem 0; padding: .2rem 0 .2rem 1.2rem; color: var(--text); font-size: 17px; }
.prose img { border-radius: var(--r-lg); margin: 1.6rem 0; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose code { color: var(--accent-2); }
.note-box { background: var(--warn-bg); color: var(--warn-fg); border: 1px solid rgba(251,191,36,.25); padding: 14px 18px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 1.5rem; }
.side-card { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); padding: 26px; }
.side-card h2 { font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin: 24px 0 12px; }
.side-card h2:first-child { margin-top: 0; }
.side-card p { color: var(--muted); font-size: 14.5px; }
.list-check { display: flex; flex-direction: column; gap: 10px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.list-check .icon { color: var(--green); margin-top: 3px; width: 15px; height: 15px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.metric { padding: 28px 24px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; }
.metric span { color: var(--muted); font-size: 13.5px; }
.cover { border-radius: var(--r-xl); border: 1px solid var(--line-strong); width: 100%; aspect-ratio: 16/8; object-fit: cover; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 80px -40px rgba(109,92,255,.5); }
.cover-wrap { margin-top: -30px; position: relative; z-index: 3; }
.case-body h2 { font-size: 26px; margin: 2.4rem 0 .9rem; } .case-body h2:first-child { margin-top: 0; }
.quote-block { margin: 2.4rem 0; padding: 30px; border-radius: var(--r-lg); border: 1px solid rgba(109,92,255,.35); background: linear-gradient(180deg, rgba(109,92,255,.1), transparent); }
.quote-block blockquote { font-size: 19px; line-height: 1.6; color: var(--text); margin-bottom: 16px; }

/* Work / blog cards */
.work-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.work-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 30px 70px -30px rgba(0,0,0,.85); }
.work-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-elev); border-bottom: 1px solid var(--line); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-meta, .post-meta { font-size: 12.5px; color: var(--muted-2); font-weight: 500; }
.work-body h3 { font-size: 18px; }
.work-body h3 a:hover { color: var(--accent-2); }
.work-body p { font-size: 14px; color: var(--muted); }
.work-body .tag { align-self: flex-start; margin-top: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 36px; }
.filters select { width: auto; min-width: 190px; }
.filters-count { margin-left: auto; color: var(--muted-2); font-size: 13.5px; }
.load-more-wrap { margin-top: 44px; text-align: center; }
.job-list { border-top: 1px solid var(--line); }
.job-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 6px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s var(--ease); }
.job-row:hover { background: var(--glass); padding-left: 14px; }
.job-row strong { display: block; font-size: 18px; color: var(--heading); letter-spacing: -.015em; }
.job-row small { color: var(--muted); font-size: 13.5px; }
.job-row .icon { color: var(--accent-2); }
.search-form { display: flex; gap: 10px; margin-top: 28px; max-width: 620px; }
.page-hero.center .search-form { margin-left: auto; margin-right: auto; }
.search-form input { flex: 1; }
.search-results li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-results a { font-weight: 600; font-size: 17px; color: var(--heading); margin-left: 10px; }
.search-results a:hover { color: var(--accent-2); }
.search-results p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.empty p { margin-bottom: 16px; }

/* ============ FORMS ============ */
.form-card { border: 1px solid var(--line); border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 100px -50px rgba(0,0,0,.9); }
[data-theme="light"] .form-card { background: #fff; }
.form .field { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
label, .field-label, legend { display: block; font-weight: 600; font-size: 13.5px; color: var(--text); margin-bottom: 7px; }
.optional { font-weight: 400; color: var(--muted-2); font-size: 12.5px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="color"]), select, textarea { width: 100%; font: inherit; font-size: 14.5px; color: var(--text); background: var(--input-bg); border: 1px solid var(--line); border-radius: 11px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23939aad' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; padding-right: 36px !important; }
select option, select optgroup { background: #0e1018; color: #eceef4; }
[data-theme="light"] select option { background: #fff; color: #1c2030; }
textarea { resize: vertical; min-height: 46px; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(109,92,255,.7); box-shadow: 0 0 0 4px rgba(109,92,255,.18); background: rgba(109,92,255,.04); }
input[disabled], select[disabled], textarea[disabled] { opacity: .55; }
input[type="date"], input[type="time"], input[type="month"], input[type="datetime-local"] { color-scheme: dark; }
[data-theme="light"] input[type="date"], [data-theme="light"] input[type="time"], [data-theme="light"] input[type="month"] { color-scheme: light; }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(255,107,107,.12) !important; }
input[type="file"] { font-size: 13.5px; color: var(--muted); width: 100%; padding: 10px; border: 1px dashed var(--line-strong); border-radius: 11px; background: var(--glass); }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; font-size: 13px; padding: 7px 14px; margin-right: 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--glass-2); color: var(--text); cursor: pointer; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin: 0; }
input[type="color"] { width: 54px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: transparent; padding: 3px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); margin: 6px 0 16px; cursor: pointer; }
.check input { margin-top: 2px; }
.check a { color: var(--accent-2); }
.field-error { color: var(--bad-fg); font-size: 13px; margin-top: 6px; }
.hint { color: var(--muted-2); font-size: 13px; margin: 6px 0 8px; }
.form-note { color: var(--muted-2); font-size: 13px; }
fieldset { border: 0; min-width: 0; }
legend { font-size: 22px; font-weight: 700; letter-spacing: -.025em; color: var(--heading); margin-bottom: 22px; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.option-grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.option-grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.option { position: relative; display: block; margin: 0; cursor: pointer; font-weight: 500; }
.option input { position: absolute; opacity: 0; inset: 0; }
.option span { display: block; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass); color: var(--muted); font-size: 14px; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.option:hover span { border-color: var(--line-strong); color: var(--text); transform: translateY(-1px); }
.option input:checked + span { border-color: rgba(109,92,255,.65); background: var(--grad-soft); color: var(--text); box-shadow: 0 0 0 1px rgba(109,92,255,.35), 0 10px 30px -14px rgba(109,92,255,.7); }
.option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.wizard-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 34px; }
.wizard-steps li { font-size: 12px; font-weight: 600; color: var(--muted-2); padding-top: 12px; position: relative; }
.wizard-steps li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--line); transition: background .3s; }
.wizard-steps li.is-done { color: var(--muted); } .wizard-steps li.is-done::before { background: rgba(34,211,238,.6); }
.wizard-steps li.is-current { color: var(--text); } .wizard-steps li.is-current::before { background: var(--grad); }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.wizard-actions [data-wizard-next], .wizard-actions [data-wizard-submit] { margin-left: auto; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--muted); font-size: 14.5px; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { color: var(--accent-2); margin-top: 3px; width: 16px; height: 16px; }
.contact-list a:hover { color: var(--text); }
.thanks-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 26px; background: rgba(61,220,151,.12); border: 1px solid rgba(61,220,151,.35); color: var(--green); box-shadow: 0 20px 50px -20px rgba(61,220,151,.6); }
.thanks-icon .icon { width: 32px; height: 32px; }
.ref-box { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 18px; border-radius: 12px; border: 1px solid rgba(109,92,255,.35); background: var(--grad-soft); font-family: var(--font-mono); font-size: 15px; color: var(--text); }

/* ============ FLASH / PAGINATION ============ */
.flash-stack { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.flash { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 13px; background: rgba(14,16,24,.96); backdrop-filter: blur(16px); border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -20px rgba(0,0,0,.9); color: var(--text); font-size: 14px; animation: flash-in .4s var(--ease); }
[data-theme="light"] .flash { background: #fff; }
@keyframes flash-in { from { opacity: 0; transform: translateY(10px); } }
.flash::before { content: ''; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--accent); box-shadow: 0 0 0 4px rgba(109,92,255,.18); }
.flash-success::before { background: var(--green); box-shadow: 0 0 0 4px rgba(61,220,151,.18); }
.flash-error::before { background: var(--danger); box-shadow: 0 0 0 4px rgba(255,107,107,.18); }
.flash-warning::before { background: var(--warning); box-shadow: 0 0 0 4px rgba(251,191,36,.18); }
.flash span { flex: 1; }
.flash-close { color: var(--muted-2); padding: 0; } .flash-close:hover { color: var(--text); }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s, border-color .2s; }
.pagination a:hover { color: var(--text); border-color: var(--line-strong); }
.pagination [aria-current] { background: var(--grad); border-color: transparent; color: #fff; }

/* ============ AUTH + ERROR PAGES ============ */
.auth-page { min-height: 100vh; position: relative; overflow-x: hidden; }
.auth-page .hero-bg { position: fixed; }
.auth-shell { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 18px; }
.auth-brand { margin: 0 0 28px; }
.auth-card { width: 100%; max-width: 430px; border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(19,21,30,.92), rgba(10,11,17,.96)); backdrop-filter: blur(20px); padding: 36px 32px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.95), 0 0 90px -40px rgba(109,92,255,.55); }
[data-theme="light"] .auth-card { background: rgba(255,255,255,.95); }
.auth-card .flash-stack { position: static; max-width: none; margin-bottom: 18px; }
.auth-title { font-size: 26px; letter-spacing: -.03em; margin-bottom: 8px; }
.auth-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.auth-links { text-align: center; font-size: 13.5px; margin-top: 20px; color: var(--muted); }
.auth-links a { color: var(--accent-2); }
.auth-foot { margin-top: 26px; font-size: 13.5px; color: var(--muted-2); }
.auth-foot a:hover { color: var(--text); }
.error-shell { text-align: center; }
.error-code { font-size: clamp(90px, 18vw, 160px); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; }
.error-shell h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.error-shell .auth-sub { max-width: 460px; margin: 0 auto 8px; }
.error-detail { text-align: left; max-width: 900px; max-height: 50vh; overflow: auto; margin-top: 2rem; font-size: 12px; }

/* ============ REVEAL ============ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; } .reveal[data-d="2"] { transition-delay: .14s; } .reveal[data-d="3"] { transition-delay: .21s; } .reveal[data-d="4"] { transition-delay: .28s; } .reveal[data-d="5"] { transition-delay: .35s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .features-grid, .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .f-top { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
  .f-brand { grid-column: 1 / -1; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .side-card { position: static; }
}
@media (max-width: 980px) {
  .nav-links, .nav-right .signin, .nav-right .btn { display: none; }
  .burger { display: grid; }
  .mobile-menu { display: flex; }
  .section { padding: 84px 0; }
  .hero { padding-top: 120px; }
  .page-hero { padding: 120px 0 56px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.rev .split-visual { order: 0; }
  .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .t-grid, .t-grid.cols-2 { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .p-desc { min-height: auto; }
  .cta-band { padding: 56px 26px; }
}
@media (max-width: 640px) {
  :root { --pad: 18px; }
  .section { padding: 68px 0; } .section--tight, .section-tight { padding: 52px 0; }
  .hero { padding-top: 104px; }
  .hero h1 { font-size: clamp(33px, 10vw, 44px); }
  .features-grid, .features-grid.cols-2, .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .f-card { padding: 28px 24px 30px; }
  .tiles { grid-template-columns: 1fr; }
  .mock-main { padding: 16px; gap: 14px; }
  .hero-cta .btn { width: 100%; } .hero-cta { flex-direction: column; }
  .hero-badge { font-size: 12px; } .hero-badge .pill { display: none; }
  .f-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .f-bottom { flex-direction: column; align-items: flex-start; }
  .faq-item > summary { font-size: 15.5px; gap: 12px; } .faq-a { padding-right: 12px; }
  .stat { padding: 28px 16px; } .stat-v { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .wizard-steps li { font-size: 0; } .wizard-steps li.is-current { font-size: 11px; }
  .filters select { min-width: 0; flex: 1; } .filters-count { width: 100%; margin: 0; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .auth-card { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .mock { transform: none; }
}
/* Brand lockup used in layouts */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.03em; color: var(--heading); }
.brand:hover { text-decoration: none; }

/* ============ PRICING PLANS (template pricing) ============ */
.plan-group { margin-bottom: 84px; } .plan-group:last-of-type { margin-bottom: 0; }
.plan-group-title { text-align: center; font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 26px; }
.toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 52px; flex-wrap: wrap; }
.toggle-wrap span { font-size: 14px; color: var(--muted); font-weight: 500; transition: color .25s; cursor: pointer; }
.toggle-wrap span.on { color: var(--text); }
.switch { width: 50px; height: 28px; border-radius: 100px; background: var(--glass-2); border: 1px solid var(--line-strong); position: relative; transition: background .3s, border-color .3s; flex-shrink: 0; cursor: pointer; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); transition: transform .32s var(--ease); box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.switch.on { background: rgba(109,92,255,.25); border-color: rgba(109,92,255,.5); }
.switch.on::after { transform: translateX(22px); }
.toggle-wrap .save-pill { font-size: 11px; font-weight: 700; color: var(--green); background: rgba(61,220,151,.12); border: 1px solid rgba(61,220,151,.25); padding: 3px 9px; border-radius: 100px; cursor: default; }
.p-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.p-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.p-card .p-price { margin: 22px 0 6px; flex-wrap: wrap; }
.p-cur { font-size: 15px; font-weight: 700; color: var(--muted); align-self: flex-start; margin-top: 6px; }
.p-period { font-size: 14px; color: var(--muted-2); font-weight: 500; }
.p-billed { font-size: 12px; color: var(--muted-2); margin-bottom: 24px; min-height: 18px; }
.p-feats li b { color: var(--text); font-weight: 600; }
.p-feats li.off { color: var(--muted-2); opacity: .55; }
.p-feats li.off .icon { color: var(--muted-2); }
.plan-chosen { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 26px; border-radius: 12px; border: 1px solid rgba(109,92,255,.4); background: var(--grad-soft); font-size: 14px; }
.plan-chosen .icon { color: var(--green); width: 18px; height: 18px; }
.plan-chosen a { margin-left: auto; color: var(--accent-2); font-weight: 600; font-size: 13px; }

/* Floating WhatsApp + logo image + footer status */
.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 250; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 34px -10px rgba(37,211,102,.75); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 28px; height: 28px; }
.logo-img { width: 30px; height: 30px; border-radius: 9px; object-fit: contain; }
.status.closed i { background: var(--warning); box-shadow: 0 0 0 3px rgba(251,191,36,.15); }
@media (max-width: 1060px) { .p-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .p-grid.cols-2, .p-grid.cols-4 { grid-template-columns: 1fr; max-width: 460px; } .p-card.featured { order: -1; } }

/* ============ Team, gallery, reels, feedback ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { text-align: center; padding: 26px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); transition: transform .35s var(--ease), border-color .35s; }
.team-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.team-photo { width: 112px; height: 112px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; border: 2px solid rgba(109,92,255,.35); box-shadow: 0 14px 34px -14px rgba(109,92,255,.8); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .t-av { width: 100%; height: 100%; font-size: 30px; }
.team-card h3 { font-size: 17px; }
.team-role { font-size: 13px; color: var(--accent-2); font-weight: 600; margin-top: 4px; }
.team-bio { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.team-links { display: flex; justify-content: center; gap: 12px; margin-top: 14px; font-size: 13px; font-weight: 600; }
.team-links a { color: var(--muted); } .team-links a:hover { color: var(--text); }
.photo-strip { display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--pad) 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip img { height: 260px; width: auto; border-radius: var(--r-lg); border: 1px solid var(--line); scroll-snap-align: center; flex-shrink: 0; object-fit: cover; }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry-item { break-inside: avoid; margin: 0 0 16px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-elev); }
.masonry-item img { width: 100%; transition: transform .5s var(--ease); }
.masonry-item a:hover img { transform: scale(1.03); }
.masonry-item figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(4,5,8,.94); display: flex; align-items: center; justify-content: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 12px; margin: 0 auto; }
.lightbox figcaption { color: #cfd4e2; margin-top: 12px; font-size: 14px; }
.lightbox button { position: absolute; color: #fff; font-size: 34px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.08); }
.lightbox button:hover { background: rgba(255,255,255,.16); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); } .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.reel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reel { position: relative; aspect-ratio: 9/14; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: block; background: var(--bg-elev); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.reel:hover img { transform: scale(1.05); }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85)); }
.reel-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); color: #fff; z-index: 2; border: 1px solid rgba(255,255,255,.3); transition: transform .3s var(--ease), background .3s; }
.reel-play svg { width: 22px; height: 22px; margin-left: 3px; }
.reel:hover .reel-play { transform: translate(-50%, -50%) scale(1.1); background: var(--grad); }
.reel-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; z-index: 2; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.reel-info strong { font-size: 15px; line-height: 1.3; } .reel-info small { font-size: 12.5px; color: #cfd4e2; }
.reel-info .tag { align-self: flex-start; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; color: var(--line-strong); cursor: pointer; transition: color .15s, transform .15s; margin: 0; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #fbbf24; }
.star-input input:focus-visible + label { outline: 2px solid var(--focus); border-radius: 4px; }
.f-extra { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 0 26px; font-size: 13.5px; }
.f-extra a { color: var(--muted); } .f-extra a:hover { color: var(--text); }

/* ============ Live chat widget ============ */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 260; }
.chat-bubble { width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(109,92,255,.9); transition: transform .25s var(--ease); position: relative; }
.chat-bubble:hover { transform: translateY(-3px) scale(1.04); }
.chat-bubble svg { width: 26px; height: 26px; }
.chat-dot { position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: #ff5ea8; border: 2px solid var(--bg); }
.chat-panel { position: absolute; right: 0; bottom: 74px; width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px)); display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: rgba(12,14,21,.98); backdrop-filter: blur(20px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.95), 0 0 60px -30px rgba(109,92,255,.5); overflow: hidden; animation: flash-in .3s var(--ease); }
.chat-panel[hidden] { display: none; }
[data-theme="light"] .chat-panel { background: rgba(255,255,255,.98); }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); background: var(--grad-soft); }
.chat-head strong { display: block; font-size: 14.5px; color: var(--heading); } .chat-head small { font-size: 12px; color: var(--muted); }
.chat-head .icon-btn { margin-left: auto; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-start { padding: 14px 16px 16px; display: grid; gap: 9px; border-top: 1px solid var(--line); }
.chat-intro { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.chat-err { color: var(--bad-fg); font-size: 13px; margin: 0; min-height: 1em; }
.chat-send { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-send[hidden], .chat-start[hidden] { display: none; }
.chat-send textarea { resize: none; max-height: 110px; }
.cm { display: flex; flex-direction: column; max-width: 84%; }
.cm-bubble { padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.cm-meta { font-size: 11px; color: var(--muted-2); margin-top: 3px; padding: 0 4px; }
.cm-visitor { align-self: flex-end; align-items: flex-end; } .cm-visitor .cm-bubble { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.cm-staff { align-self: flex-start; } .cm-staff .cm-bubble { background: var(--glass-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cm-system { align-self: center; max-width: 92%; text-align: center; } .cm-system .cm-bubble { background: transparent; color: var(--muted); font-size: 12.5px; padding: 4px 8px; }
.wa-float { left: 20px; right: auto; }
@media (max-width: 1060px) { .team-grid, .reel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .team-grid, .reel-grid { grid-template-columns: repeat(2, 1fr); } .lightbox { padding: 60px 10px; } }
@media (max-width: 420px) { .team-grid { grid-template-columns: 1fr; } }
.flash-stack { bottom: 92px; }

/* ============ Captcha ("I am not a robot" + "Type this code") ============ */
.captcha-box { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); margin: 4px 0 18px; }
.robot-check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 14.5px; margin: 0 !important; position: relative; }
.robot-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.robot-tick { width: 26px; height: 26px; border-radius: 6px; border: 2px solid var(--line-strong); background: var(--bg); display: grid; place-items: center; transition: background .2s, border-color .2s; flex-shrink: 0; }
.robot-check input:checked + .robot-tick { background: var(--green); border-color: var(--green); }
.robot-check input:checked + .robot-tick::after { content: ''; width: 7px; height: 13px; border: solid #04130c; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.robot-check input:focus-visible + .robot-tick { outline: 2px solid var(--focus); outline-offset: 2px; }
.robot-shield { margin-left: auto; color: var(--muted-2); } .robot-shield .icon { width: 22px; height: 22px; }
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-label { font-weight: 600; font-size: 14px; margin: 0 !important; }
.captcha-img { border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: #e8eef9; user-select: none; }
.captcha-input { width: 92px !important; height: 52px; text-align: center; font-size: 20px !important; font-weight: 700; letter-spacing: 6px; border-radius: 10px !important; }
.sent-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); display: grid; place-items: center; color: #fff; margin: 0 auto 18px; }
.sent-icon .icon { width: 28px; height: 28px; }
.sent-tips { text-align: left; color: var(--muted); font-size: 14px; display: grid; gap: 6px; padding-left: 18px; margin: 18px 0; }

/* ============ Cookie consent ============ */
.cookie-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 400; width: min(860px, calc(100vw - 28px)); border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(12,14,21,.97); backdrop-filter: blur(16px); box-shadow: 0 24px 60px -18px rgba(0,0,0,.9); animation: flash-in .35s var(--ease); }
[data-theme="light"] .cookie-banner { background: rgba(255,255,255,.98); }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; gap: 16px; padding: 16px 18px; flex-wrap: wrap; }
.cookie-inner p { flex: 1; min-width: 240px; margin: 0; font-size: 14px; color: var(--muted); }
.cookie-inner p a { color: var(--accent-2); }
.cookie-icon { font-size: 26px; }
.cookie-actions { display: flex; gap: 8px; }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; opacity: .85; }
.link-btn:hover { opacity: 1; text-decoration: underline; }
.reg-no { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line-strong); }
.credit { font-size: 12.5px; color: var(--muted-2); }

/* Home: technology marquee + optional hero image */
.tech-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tech-track { display: flex; gap: 48px; width: max-content; animation: tech-scroll 32s linear infinite; }
.tech-marquee:hover .tech-track { animation-play-state: paused; }
@keyframes tech-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tech-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .tech-track span[aria-hidden] { display: none; } }
.hero-image { margin: 56px auto 0; max-width: 1100px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 120px -40px rgba(109,92,255,.55); }
.hero-image img { width: 100%; display: block; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.sitemap-grid h2 { font-size: 16px; margin-bottom: 10px; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14.5px; }
.sitemap-grid a { color: var(--muted); } .sitemap-grid a:hover { color: var(--text); }

/* Phone number with country code (website forms) */
.phone-field { display: flex; gap: 8px; align-items: stretch; }
.phone-field .phone-cc { width: 118px; flex-shrink: 0; }
.phone-field input { flex: 1; min-width: 0; }

/* ============ Wide, structured layout on large screens ============ */
@media (min-width: 1400px) {
  .section-head { max-width: 780px; }
  .hero h1 { font-size: clamp(64px, 5.2vw, 96px); }
  .hero .lead { max-width: 720px; }
  .mock-wrap { max-width: 1320px; margin-left: auto; margin-right: auto; }
  .split { gap: 96px; }
  .team-grid, .reel-grid { grid-template-columns: repeat(5, 1fr); }
  .stats > * { padding-top: 44px; padding-bottom: 44px; }
}
@media (min-width: 1700px) {
  .grid-3.wide-4, .features-grid.wide-4 { grid-template-columns: repeat(4, 1fr); }
  .narrow { max-width: 900px; }
}
.captcha-label { flex-basis: 100%; }
.captcha-row { flex-wrap: wrap; }
.captcha-img { width: 150px; height: 52px; object-fit: contain; }
.logo .logo-img, .auth-brand .logo-img, .chat-head .logo-img { width: 32px; height: 32px; border-radius: 9px; object-fit: contain; }

/* ===================== Shop (website + client portal) ===================== */
.shop { --sl: var(--line, var(--border, rgba(255,255,255,.1))); --sc: var(--glass, rgba(255,255,255,.03)); }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; } .breadcrumbs a { color: var(--muted); } .breadcrumbs a:hover { color: var(--text); }
.shop-title { font-size: clamp(26px, 3vw, 36px); margin: 0 0 18px; }
.shop-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.shop-search { flex: 1; min-width: 240px; display: flex; gap: 8px; } .shop-search input { flex: 1; min-width: 0; }
.shop-cart-link, .shop-account-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--sl); color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; }
.shop-cart-link b { min-width: 22px; height: 22px; border-radius: 100px; display: grid; place-items: center; background: linear-gradient(120deg, #6d5cff, #22d3ee); color: #fff; font-size: 12px; padding: 0 6px; }
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.shop-filters { position: sticky; top: 90px; display: grid; gap: 14px; }
.shop-filters details { border: 1px solid var(--sl); border-radius: 14px; padding: 12px 14px; background: var(--sc); }
.shop-filters summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.shop-filters .check { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; font-size: 14px; }
.filter-form { display: grid; gap: 14px; } .filter-form select { width: 100%; margin-top: 8px; }
.cat-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.cat-list a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.cat-list a:hover, .cat-list a.is-active { color: var(--text); background: rgba(109,92,255,.12); } .cat-list li.sub a { padding-left: 20px; font-size: 13px; } .cat-list small { opacity: .7; }
.price-range { display: flex; gap: 6px; align-items: center; margin-top: 8px; } .price-range input { width: 100%; min-width: 0; }
.shop-h { font-size: 20px; margin: 6px 0 14px; } .shop-count { margin: 0 0 12px; font-size: 14px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-bottom: 26px; }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--sl); border-radius: 18px; overflow: hidden; background: var(--sc); transition: transform .2s, border-color .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-3px); border-color: rgba(109,92,255,.45); box-shadow: 0 18px 40px -22px rgba(109,92,255,.6); }
.pcard-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; }
.pcard-ph { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 800; font-size: 28px; color: #fff; background: linear-gradient(135deg, #6d5cff, #22d3ee); }
.pcard-ph.big { min-height: 340px; font-size: 54px; border-radius: 16px; }
.pcard-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard-tags b, .tag-sale { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 100px; color: #fff; background: #ef4444; }
.tag-new { background: #6d5cff !important; } .tag-best { background: #f59e0b !important; color: #111 !important; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #22d3ee; font-weight: 700; }
.pcard-title { font-size: 15.5px; line-height: 1.35; margin: 0; } .pcard-title a { color: var(--text); text-decoration: none; }
.pcard-desc { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.pcard-rating { color: #fbbf24; font-size: 13px; } .pcard-rating small { color: var(--muted); }
.pcard-price { display: flex; gap: 8px; align-items: baseline; margin-top: auto; } .pcard-price strong { font-size: 18px; } .pcard-price s { color: var(--muted); font-size: 13px; }
.pcard-stock { font-size: 12.5px; font-weight: 600; } .pcard-stock.is-in { color: #3ddc97; } .pcard-stock.is-low { color: #fbbf24; } .pcard-stock.is-out { color: #f87171; }
.pcard-actions form { display: flex; gap: 6px; flex-wrap: wrap; } .pcard-actions .btn { flex: 1; justify-content: center; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; } .pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--sl); color: var(--text); text-decoration: none; }
.pagination a.is-active { background: linear-gradient(120deg, #6d5cff, #22d3ee); color: #fff; border-color: transparent; }
.shop-empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--sl); border-radius: 18px; }
/* product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; margin-bottom: 34px; }
.pdp-main { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--sl); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pdp-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; flex-shrink: 0; } .pdp-thumbs button.is-active { border-color: #6d5cff; }
.pdp-thumbs img { display: block; width: 90px; height: 70px; object-fit: contain; }
.pdp-title { font-size: clamp(24px, 3vw, 34px); margin: 6px 0; line-height: 1.2; } .pdp-meta { font-size: 13.5px; }
.pdp-price { display: flex; gap: 12px; align-items: baseline; margin: 14px 0 6px; flex-wrap: wrap; } .pdp-price strong { font-size: 30px; } .pdp-price s { color: var(--muted); }
.pdp-short { color: var(--muted); line-height: 1.6; }
.pdp-buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--sl); border-radius: 12px; overflow: hidden; }
.qty button { width: 38px; border: 0; background: var(--sc); color: var(--text); font-size: 18px; cursor: pointer; }
.qty input { width: 56px !important; text-align: center; border: 0 !important; border-radius: 0 !important; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .pdp-facts li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 12px; border: 1px solid var(--sl); border-radius: 12px; font-size: 14px; } .pdp-facts span { color: var(--muted); }
.pdp-details { display: grid; gap: 26px; margin-bottom: 30px; } .pdp-details h2 { font-size: 20px; margin: 0 0 10px; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--sl); border-radius: 12px; overflow: hidden; }
.spec-table th { width: 32%; text-align: left; padding: 10px 14px; background: var(--sc); font-weight: 600; border-bottom: 1px solid var(--sl); } .spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--sl); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .check-list li::before { content: '✓'; color: #3ddc97; font-weight: 800; margin-right: 8px; }
.review-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; } .review-list li { border: 1px solid var(--sl); border-radius: 12px; padding: 12px 14px; } .review-list .stars { color: #fbbf24; } .review-list p { margin: 6px 0; }
.review-form { max-width: 560px; }
/* cart & checkout */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.cart-lines { display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; border: 1px solid var(--sl); border-radius: 14px; padding: 10px 12px; background: var(--sc); }
.cart-img { display: block; width: 90px; height: 70px; border-radius: 10px; overflow: hidden; background: #fff; } .cart-img img { width: 100%; height: 100%; object-fit: contain; } .cart-img .pcard-ph { font-size: 18px; }
.cart-info { display: grid; gap: 2px; min-width: 0; } .cart-info a { color: var(--text); } .cart-total { white-space: nowrap; }
.order-summary { position: sticky; top: 90px; border: 1px solid var(--sl); border-radius: 18px; padding: 18px; background: var(--sc); display: grid; gap: 12px; }
.order-summary h2 { font-size: 18px; margin: 0; }
.order-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-size: 14px; } .order-summary dd { margin: 0; text-align: right; }
.order-summary .grand { font-weight: 800; font-size: 17px; border-top: 1px solid var(--sl); padding-top: 8px; }
.summary-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; } .summary-lines li { display: flex; justify-content: space-between; gap: 10px; }
.coupon-form { display: flex; gap: 6px; } .coupon-form input { flex: 1; min-width: 0; }
.steps-bar { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; overflow-x: auto; }
.steps-bar li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--sl); font-size: 13.5px; color: var(--muted); white-space: nowrap; cursor: default; }
.steps-bar li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--sc); }
.steps-bar li.is-active { color: var(--text); border-color: #6d5cff; } .steps-bar li.is-active span, .steps-bar li.is-done span { background: linear-gradient(120deg, #6d5cff, #22d3ee); color: #fff; } .steps-bar li.is-done { cursor: pointer; color: var(--text); }
.co-step { border: 1px solid var(--sl); border-radius: 18px; padding: 18px 20px; margin: 0 0 14px; background: var(--sc); }
.co-step legend { font-weight: 800; font-size: 17px; padding: 0 6px; }
.co-nav { display: flex; justify-content: space-between; gap: 10px; } .co-nav [data-co-next], .co-nav [data-co-submit] { margin-left: auto; }
.choice-list { display: grid; gap: 8px; margin-bottom: 12px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--sl); border-radius: 14px; cursor: pointer; }
.choice:has(input:checked) { border-color: #6d5cff; background: rgba(109,92,255,.08); }
.choice span { flex: 1; display: grid; gap: 2px; } .choice small { color: var(--muted); font-size: 12.5px; } .choice strong { white-space: nowrap; }
.pay-panel { border: 1px dashed var(--sl); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.qr-img { width: 220px; height: 220px; object-fit: contain; background: #fff; border-radius: 14px; padding: 8px; display: block; margin-bottom: 10px; }
.pay-proof { display: grid; gap: 4px; }
.review-box .dl, .shop .dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 0 0 12px; } .shop .dl dd { margin: 0; }
.account-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }
.account-card { padding: 24px; border: 1px solid var(--sl); border-radius: 18px; background: var(--sc); } .account-card h1, .account-card h2 { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.shop-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 900; padding: 12px 18px; border-radius: 12px; background: #111827; color: #fff; border: 1px solid rgba(61,220,151,.5); box-shadow: 0 16px 40px -10px rgba(0,0,0,.6); transition: all .25s; font-size: 14px; }
.shop-toast.is-in { opacity: 1; transform: translate(-50%, 0); } .shop-toast.is-warn { border-color: rgba(251,191,36,.6); }
.is-invalid { border-color: #f87171 !important; box-shadow: 0 0 0 3px rgba(248,113,113,.2) !important; }
@media (max-width: 1000px) { .shop-layout, .cart-layout, .checkout-layout, .pdp, .account-grid { grid-template-columns: 1fr; } .shop-filters, .order-summary { position: static; } .shop-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .shop-filters { grid-template-columns: 1fr; } .cart-line { grid-template-columns: 70px minmax(0, 1fr) auto; } .cart-line .qty { grid-column: 2; } .cart-img { width: 70px; height: 56px; } .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .pcard-body { padding: 10px; } .pcard-actions .btn { font-size: 12px; padding: 6px 8px; } .co-step { padding: 14px; } }
@media (max-width: 380px) { .pgrid { grid-template-columns: 1fr; } }

/* Order tracking / payment pages (website) */
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.track { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 0; margin: 8px 0 22px; }
.track li { display: grid; justify-items: center; text-align: center; gap: 4px; font-size: 12.5px; position: relative; color: var(--muted); }
.track li::before { content: ''; position: absolute; top: 9px; left: -50%; right: 50%; height: 3px; background: var(--line); } .track li:first-child::before { display: none; }
.track li.is-done::before { background: linear-gradient(90deg, #6d5cff, #22d3ee); }
.track .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--line); border: 3px solid var(--bg, #07080b); position: relative; z-index: 1; }
.track li.is-done { color: var(--text); } .track li.is-done .dot { background: #3ddc97; } .track li.is-current .dot { background: #6d5cff; box-shadow: 0 0 0 4px rgba(109,92,255,.25); }
.track small { font-size: 11px; color: var(--muted); }
.pay-now { border-color: rgba(109,92,255,.5); } .pay-now h2 { margin-top: 0; font-size: 18px; }
.pay-redirect { max-width: 520px; margin: 40px auto; text-align: center; display: grid; gap: 12px; justify-items: center; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--line); border-top-color: #6d5cff; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.guest-note { padding: 10px 12px; border-radius: 12px; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.3); font-size: 14px; margin: 0 0 12px; }
.order-totals { margin-top: 12px; }
@media (max-width: 760px) { .track { grid-template-columns: 1fr; justify-items: start; } .track li { grid-template-columns: 20px auto 1fr; justify-items: start; text-align: left; } .track li::before { display: none; } }

/* ---------- Order page (customer) v29 ---------- */
.order-public h2 { font-size: 18px; line-height: 1.3; margin: 0 0 12px; letter-spacing: 0; }
.order-layout { margin-top: 18px; }
.order-layout > * { min-width: 0; }
.oi-list { list-style: none; margin: 0; padding: 0; display: grid; }
.oi-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sl, rgba(255,255,255,.08)); }
.oi-row:first-child { padding-top: 0; }
.oi-img.cart-img { width: 76px; height: 64px; }
.oi-info { display: grid; gap: 2px; min-width: 0; } .oi-info b { overflow-wrap: anywhere; } .oi-info small { font-size: 12.5px; }
.oi-total { white-space: nowrap; }
.oi-totals { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; margin: 14px 0 0 auto; max-width: 360px; font-size: 14px; }
.oi-totals dt { color: var(--muted, #94a3b8); } .oi-totals dd { margin: 0; text-align: right; white-space: nowrap; }
.oi-totals .grand { font-weight: 800; font-size: 16px; color: inherit; border-top: 1px solid var(--sl, rgba(255,255,255,.1)); padding-top: 8px; }
.oi-note { margin: 14px 0 0; font-size: 13.5px; }
.order-details { min-width: 0; overflow: hidden; }
.order-details .od-list { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px 12px; margin: 0; font-size: 14px; }
.order-details .od-list dt { color: var(--muted, #94a3b8); }
.order-details .od-list dd { margin: 0; text-align: left; min-width: 0; overflow-wrap: anywhere; word-break: break-word; line-height: 1.45; }
.order-details .btn-block { width: 100%; box-sizing: border-box; justify-content: center; }
@media (max-width: 640px) { .oi-row { grid-template-columns: 60px minmax(0, 1fr); } .oi-img.cart-img { width: 60px; height: 52px; } .oi-total { grid-column: 2; } .oi-totals { max-width: none; } }

/* ---------- Order page (admin) v29 ---------- */
.ord-progress { padding-bottom: .4rem; margin-bottom: 1rem; }
.ord-progress .track { margin: .2rem 0 .4rem; }
.ord-track-no { margin: .2rem 0 0; font-size: .88rem; }
.ord-items { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; }
.ord-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--border, rgba(255,255,255,.08)); }
.ord-img { width: 64px; height: 56px; border-radius: 10px; overflow: hidden; background: #fff; display: block; }
.ord-img img { width: 100%; height: 100%; object-fit: contain; display: block; } .ord-img .pcard-ph { font-size: 16px; }
.ord-info { display: grid; gap: .15rem; min-width: 0; } .ord-info b { overflow-wrap: anywhere; } .ord-info small { font-size: .78rem; }
.ord-line-total { font-weight: 700; white-space: nowrap; }
.ord-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.6rem; }
.ord-block { min-width: 0; } .ord-block .qv-sub { margin-top: 0; }
.ord-block .dl dd { overflow-wrap: anywhere; }
.ord-addr { font-style: normal; line-height: 1.55; font-size: .9rem; margin: 0 0 .6rem; overflow-wrap: anywhere; }
.ord-cust { overflow-wrap: anywhere; line-height: 1.55; }
.ord-others { list-style: none; margin: 0; padding: 0; display: grid; }
.ord-others li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: .8rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--border, rgba(255,255,255,.08)); font-size: .88rem; }
.ord-others li:last-child, .ord-item:last-child { border-bottom: 0; }
@media (max-width: 900px) { .ord-grid { grid-template-columns: 1fr; } .ord-others li { grid-template-columns: 1fr auto; } }
/* Containers that are also sections keep their side padding (section padding is vertical only) */
.wrap.section, .wrap.section--tight, .wrap.section-tight, .container.section, .container.section--tight { padding-left: var(--pad); padding-right: var(--pad); }
.order-public .order-head { margin-bottom: 14px; } .order-public .order-head .shop-title { margin: 0; }
.pcard-qty { font-weight: 600; color: var(--muted, #94a3b8); }
