/* =========================================================
   Light theme · motion UI · fully responsive
   ========================================================= */
:root {
  --bg: #fbfaff;
  --bg-2: #f4f1ff;
  --surface: #ffffff;
  --ink: #17142e;
  --ink-2: #4a4668;
  --muted: #77739a;
  --line: #e8e4fa;
  --primary: #5b3df5;
  --primary-2: #7b61ff;
  --accent: #ff5c8a;
  --sun: #ffb547;
  --mint: #19c39c;
  --sky: #2fa8ff;
  --danger: #e5484d;
  --grad: linear-gradient(120deg, #5b3df5 0%, #a14bf2 45%, #ff5c8a 100%);
  --grad-soft: linear-gradient(135deg, #efeaff 0%, #fff0f5 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(43, 26, 140, .06);
  --shadow: 0 12px 34px rgba(43, 26, 140, .10);
  --shadow-lg: 0 28px 70px rgba(43, 26, 140, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(91, 61, 245, .18); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 999; }
.skip:focus { left: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; cursor: pointer; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s, color .25s; white-space: nowrap; text-decoration: none; isolation: isolate; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); border-color: #d4cdf7; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--grad); background-size: 200% 100%; color: #fff; border: 0; box-shadow: 0 10px 26px rgba(91, 61, 245, .32); }
.btn-primary:hover { color: #fff; background-position: 100% 0; box-shadow: 0 16px 36px rgba(255, 92, 138, .35); }
.btn-ghost { background: transparent; }
.btn-dark { background: var(--ink); color: #fff; border: 0; }
.btn-dark:hover { color: #fff; }
.btn-danger { background: #fff1f1; color: var(--danger); border-color: #ffd5d5; }
.btn-sm { padding: .55em 1em; font-size: .9rem; border-radius: 11px; }
.btn-lg { padding: 1.05em 2em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .6s ease-out; pointer-events: none; z-index: -1; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn-row.center { justify-content: center; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: .85rem; text-align: center; padding: 8px 0; }
.topbar .wrap { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 250, 255, .78); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(43, 26, 140, .06); background: rgba(255, 255, 255, .9); }
.nav-wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.12rem; letter-spacing: -.02em; flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 8px 20px rgba(91, 61, 245, .35); transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav > a { color: var(--ink-2); font-weight: 600; font-size: .93rem; padding: 8px 10px; white-space: nowrap; border-radius: 10px; position: relative; }
.main-nav > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--grad); border-radius: 2px; transform: scaleX(0); transition: transform .35s var(--ease); }
.main-nav > a:hover, .main-nav > a.on { color: var(--ink); }
.main-nav > a:hover::after, .main-nav > a.on::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink); cursor: pointer; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--primary); }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; transition: transform .4s var(--ease); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.cur-switch select { height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 8px; font-weight: 700; font-size: .85rem; cursor: pointer; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: .25s var(--ease); z-index: 120; }
.dropdown.open .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .93rem; }
.dropdown-menu a:hover { background: var(--bg-2); color: var(--primary); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .35s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); background: #efeaff; padding: 7px 14px; border-radius: 999px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 92, 138, .18); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 8px rgba(255, 92, 138, 0); } }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card.hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d9d1fb; }
.card h3 { margin-bottom: .4em; }
.card.empty { text-align: center; padding: 60px 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 580px; opacity: 0; animation: fadeUp .9s .45s var(--ease) forwards; }
.hero .btn-row { opacity: 0; animation: fadeUp .9s .6s var(--ease) forwards; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: .92rem; font-weight: 600; opacity: 0; animation: fadeUp .9s .75s var(--ease) forwards; }
.hero-trust span::before { content: "✓"; color: var(--mint); margin-right: 6px; font-weight: 800; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; animation: float 14s ease-in-out infinite; pointer-events: none; }
.blob.b1 { width: 520px; height: 520px; background: #c9bbff; top: -160px; right: -120px; }
.blob.b2 { width: 380px; height: 380px; background: #ffc4d6; bottom: -120px; left: -100px; animation-delay: -5s; }
.blob.b3 { width: 260px; height: 260px; background: #ffe2b0; top: 40%; left: 40%; animation-delay: -9s; opacity: .45; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -40px) scale(1.06); } 66% { transform: translate(-30px, 20px) scale(.95); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(91, 61, 245, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 61, 245, .06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }

/* Hero visual: animated dashboard + floating social cards */
.hero-visual { position: relative; height: 480px; perspective: 1200px; opacity: 0; animation: fadeUp 1.1s .35s var(--ease) forwards; }
.hv-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 18px; transition: transform .2s ease-out; }
.hv-main { inset: 40px 30px 60px 20px; padding: 22px; }
.hv-main .hv-title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 14px; font-size: .95rem; }
.hv-main .hv-title small { color: var(--mint); background: #e7fbf5; padding: 4px 10px; border-radius: 999px; font-weight: 800; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.hv-kpi { background: var(--bg-2); border-radius: 14px; padding: 12px; }
.hv-kpi b { display: block; font-size: 1.2rem; }
.hv-kpi span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.hv-chart { height: 150px; display: flex; align-items: flex-end; gap: 8px; }
.hv-chart i { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--grad); transform-origin: bottom; transform: scaleY(0); animation: grow 1.2s var(--ease) forwards; opacity: .9; }
.hv-chart i:nth-child(odd) { background: linear-gradient(180deg, #a99bff, #5b3df5); }
@keyframes grow { to { transform: scaleY(1); } }
.hv-float { animation: bob 6s ease-in-out infinite; display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 700; font-size: .9rem; }
.hv-float .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.hv-float small { display: block; color: var(--muted); font-weight: 600; font-size: .75rem; }
.hv-f1 { top: 0; right: 0; } .hv-f1 .ic { background: linear-gradient(135deg, #feda75, #d62976, #4f5bd5); color: #fff; }
.hv-f2 { bottom: 10px; left: -10px; animation-delay: -2s; } .hv-f2 .ic { background: #e8f1ff; }
.hv-f3 { top: 46%; right: -16px; animation-delay: -4s; } .hv-f3 .ic { background: #ffecec; }
@keyframes bob { 50% { transform: translateY(-14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--surface); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 800; font-size: 1.15rem; color: #b3aed3; white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.marquee-track span::before { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-weight: 600; }

/* ---------- Feature / service cards ---------- */
.feature { position: relative; overflow: hidden; }
.feature .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px; transition: transform .5s var(--ease); }
.feature:hover .ic { transform: rotate(-8deg) scale(1.08); }
.feature p { color: var(--muted); }
.spot { --x: 50%; --y: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--x) var(--y), rgba(91, 61, 245, .09), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover::before { opacity: 1; }
.service-card { display: flex; flex-direction: column; position: relative; }
.service-card .price { font-size: 1.6rem; font-weight: 800; margin: 10px 0 4px; }
.service-card .price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.service-card ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 8px; flex: 1; }
.service-card li { padding-left: 28px; position: relative; color: var(--ink-2); font-size: .95rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #e7fbf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319c39c' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.service-card.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; position: relative; }
.ribbon { position: absolute; top: 18px; right: 18px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; letter-spacing: .04em; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; will-change: transform; }
.product-card:hover { box-shadow: var(--shadow-lg); }
.pc-media { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--grad-soft); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .pc-media img, .product-card:hover .pc-icon { transform: scale(1.08) rotate(-2deg); }
.pc-icon { font-size: 3.4rem; transition: transform .8s var(--ease); filter: drop-shadow(0 10px 18px rgba(43, 26, 140, .2)); }
.cat-organic { background: linear-gradient(135deg, #fff0f6, #ffe5ef); }
.cat-meta { background: linear-gradient(135deg, #eef2ff, #e3e9ff); }
.cat-google { background: linear-gradient(135deg, #eafaf3, #fff8e4); }
.cat-youtube { background: linear-gradient(135deg, #fff0ee, #ffe6e1); }
.cat-strategy { background: linear-gradient(135deg, #f3efff, #eaf6ff); }
.cat-bundle { background: var(--grad); }
.pc-off, .pc-tag { position: absolute; top: 12px; font-size: .75rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.pc-off { left: 12px; background: var(--ink); color: #fff; }
.pc-tag { right: 12px; background: #fff; color: var(--primary); }
.pc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: .75rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; }
.pc-body h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.pc-body h3 a { color: var(--ink); }
.pc-body p { color: var(--muted); font-size: .9rem; flex: 1; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-weight: 800; font-size: 1.2rem; }
.price s { color: var(--muted); font-weight: 600; font-size: .85rem; margin-left: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--ink-2); transition: .3s var(--ease); }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-card.hide { display: none; }

/* ---------- Product page ---------- */
.pd-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.pd-media { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; display: grid; place-items: center; font-size: 6rem; overflow: hidden; }
.pd-buy { position: sticky; top: 96px; }
.pd-buy .price { font-size: 2.2rem; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #e7fbf5; color: var(--mint); font-weight: 800; display: grid; place-items: center; font-size: .8rem; }
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; color: var(--ink); }
.prose h3 { margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-2); color: var(--ink); }
.prose code { background: var(--bg-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose blockquote { border-left: 4px solid var(--primary); margin: 1em 0; padding: .5em 1em; background: var(--bg-2); border-radius: 0 12px 12px 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--accent); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--surface); transition: border-color .25s, box-shadow .25s, transform .25s; font-size: 1rem; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 61, 245, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); animation: shake .35s; }
.field.valid input, .field.valid select, .field.valid textarea { border-color: var(--mint); }
.field-err { display: block; color: var(--danger); font-size: .82rem; font-weight: 600; margin-top: 6px; }
.hint { display: block; color: var(--muted); font-size: .82rem; margin-top: 6px; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; cursor: pointer; font-weight: 600; font-size: .92rem; transition: .25s var(--ease); background: var(--surface); }
.choice input:checked + span { border-color: var(--primary); background: #f1edff; color: var(--primary); box-shadow: 0 0 0 3px rgba(91, 61, 245, .1); }
.choice input:focus-visible + span { outline: 2px solid var(--primary); }
.phone-group { display: flex; }
.phone-group .cc { padding: 13px 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: 13px 0 0 13px; background: var(--bg-2); font-weight: 700; color: var(--ink-2); }
.phone-group input { border-radius: 0 13px 13px 0 !important; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.checkbox input { margin-top: 4px; accent-color: var(--primary); width: 17px; height: 17px; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; }
.otp-inputs input { width: 52px; height: 60px; text-align: center; font-size: 1.6rem; font-weight: 800; border: 1.5px solid var(--line); border-radius: 14px; transition: .25s; }
.otp-inputs input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 61, 245, .12); outline: none; transform: translateY(-2px); }
.steps-bar { display: flex; gap: 8px; margin-bottom: 26px; }
.steps-bar i { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; position: relative; }
.steps-bar i.on::after { content: ""; position: absolute; inset: 0; background: var(--grad); animation: fillBar .6s var(--ease) forwards; transform-origin: left; }
@keyframes fillBar { from { transform: scaleX(0); } }
.form-step { display: none; animation: stepIn .5s var(--ease); }
.form-step.on { display: grid; gap: 18px; }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } }

/* ---------- Alerts / badges / toasts ---------- */
.alert { padding: 14px 18px; border-radius: 14px; margin: 16px 0; font-weight: 600; border: 1px solid; }
.alert-success { background: #ecfdf3; color: #067647; border-color: #abefc6; }
.alert-error { background: #fff1f1; color: #b42318; border-color: #fecdca; }
.alert-info { background: #eff4ff; color: #3538cd; border-color: #c7d7fe; }
.alert-warning { background: #fffaeb; color: #b54708; border-color: #fedf89; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.badge-green { background: #e7fbf2; color: #067647; } .badge-amber { background: #fff6e0; color: #b54708; } .badge-red { background: #ffecec; color: #b42318; }
.badge-blue { background: #eaf2ff; color: #175cd3; } .badge-violet { background: #f1edff; color: #5b3df5; } .badge-gray { background: #f1f0f7; color: #5b5880; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 400; display: grid; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; max-width: 340px; animation: toastIn .5s var(--ease); }
.toast.error { background: #b42318; } .toast.success { background: #067647; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-40px); transition: .9s var(--ease); } .reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(40px); transition: .9s var(--ease); } .reveal-r.in { opacity: 1; transform: none; }
.reveal-s { opacity: 0; transform: scale(.92); transition: .9s var(--ease); } .reveal-s.in { opacity: 1; transform: none; }

/* ---------- Process / timeline ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.process .card { position: relative; }
.process .card::before { counter-increment: s; content: "0" counter(s); font-weight: 800; font-size: 2.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 8px; }

/* ---------- Tools / CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 70px); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(161, 75, 242, .55), transparent 60%); top: -200px; right: -120px; animation: float 12s infinite; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #c9c5e8; position: relative; max-width: 620px; }
.cta-band .btn-row { position: relative; }

/* ---------- Case studies ---------- */
.case-card { display: flex; flex-direction: column; gap: 10px; }
.case-card .tag { align-self: flex-start; }
.case-card h3 a { color: var(--ink); }
.result-pill { display: inline-block; background: #e7fbf2; color: #067647; font-weight: 800; padding: 6px 12px; border-radius: 10px; font-size: .9rem; margin: 3px 4px 3px 0; }
.source { font-size: .82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: var(--ink-2); animation: fadeUp .4s var(--ease); }

/* ---------- Report (tools) ---------- */
.score-ring { --v: 0; width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c, var(--primary)) calc(var(--v) * 1%), var(--line) 0); position: relative; margin: 0 auto; transition: --v 1.5s; }
.score-ring::before { content: ""; position: absolute; inset: 14px; background: var(--surface); border-radius: 50%; }
.score-ring b { position: relative; font-size: 2.6rem; font-weight: 800; }
.score-ring small { position: absolute; bottom: 42px; font-weight: 700; color: var(--muted); font-size: .8rem; }
.check-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.check-row .st { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; }
.st.pass { background: #e7fbf2; color: #067647; } .st.warn { background: #fff6e0; color: #b54708; } .st.fail { background: #ffecec; color: #b42318; }
.check-row h4 { margin: 0 0 4px; font-size: 1rem; }
.check-row p { margin: 0; color: var(--muted); font-size: .92rem; }
.locked { position: relative; }
.locked .blurred { filter: blur(6px); user-select: none; pointer-events: none; opacity: .7; }
.lock-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(251, 250, 255, 0), rgba(251, 250, 255, .96) 30%); padding: 20px; }
.lock-box { text-align: center; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); }
.lock-box .lk { font-size: 2.6rem; display: inline-block; animation: bob 3s infinite; }
.meter { height: 10px; background: var(--line); border-radius: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--grad); border-radius: 10px; width: 0; transition: width 1.4s var(--ease); }

/* ---------- Calendar output ---------- */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-day { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-height: 120px; font-size: .8rem; transition: .3s var(--ease); }
.cal-day:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cal-day .d { font-weight: 800; color: var(--muted); font-size: .75rem; }
.cal-day.blank { background: transparent; border: 0; }
.cal-head { font-weight: 800; text-align: center; font-size: .78rem; color: var(--muted); text-transform: uppercase; }
.fmt { display: inline-block; font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 6px; margin: 4px 0; }
.fmt-reel { background: #ffe8f0; color: #c11f57; } .fmt-carousel { background: #ece8ff; color: #4a2fe0; } .fmt-static { background: #e6f6ff; color: #0b6ea8; } .fmt-story { background: #fff3dc; color: #a35d00; } .fmt-live { background: #e5fbf3; color: #067647; } .fmt-short { background: #ffe9e6; color: #c4320a; } .fmt-video { background: #eef0f6; color: #344054; }

/* ---------- Footer ---------- */
.site-footer { background: #0f0c24; color: #c9c5e8; padding: 70px 0 30px; margin-top: 60px; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { display: block; color: #c9c5e8; padding: 4px 0; font-size: .93rem; }
.site-footer a:hover { color: #fff; transform: translateX(3px); }
.site-footer .muted { color: #9a96bd; margin-top: 14px; font-size: .93rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #2a2550; margin-top: 44px; padding-top: 24px; font-size: .85rem; color: #8b87b0; }
.newsletter { display: flex; gap: 8px; margin-top: 18px; }
.newsletter input { flex: 1; min-width: 0; background: #1c1840; border: 1px solid #2f2a5c; border-radius: 12px; padding: 11px 14px; color: #fff; }

/* ---------- Chatbot ---------- */
.chatbot { position: fixed; right: 18px; bottom: 18px; z-index: 300; }
.chat-fab { width: 60px; height: 60px; border-radius: 20px; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 34px rgba(91, 61, 245, .45); transition: transform .4s var(--ease); position: relative; }
.chat-fab:hover { transform: translateY(-3px) rotate(-6deg); }
.chat-fab .pulse { position: absolute; inset: 0; border-radius: 20px; border: 2px solid var(--primary); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.chat-panel { position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: scale(.85) translateY(20px); opacity: 0; visibility: hidden; transition: .4s var(--ease); }
.chatbot.open .chat-panel { transform: none; opacity: 1; visibility: visible; }
.chat-head { background: var(--grad); color: #fff; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.chat-head small { display: block; opacity: .85; font-size: .78rem; }
.chat-close { background: rgba(255, 255, 255, .2); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 10px; font-size: 1.3rem; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; font-size: .92rem; animation: fadeUp .35s var(--ease); line-height: 1.5; }
.msg.bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { font-weight: 700; }
.msg .sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .sugg button { border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; padding: 5px 10px; font-size: .78rem; font-weight: 700; cursor: pointer; color: var(--primary); }
.typing { display: flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-5px); opacity: .4; } }
.chat-start { padding: 18px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.chat-start p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.chat-start input, .chat-input input { padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; width: 100%; }
.chat-start input.bad { border-color: var(--danger); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input button { width: 46px; border: 0; border-radius: 12px; background: var(--primary); color: #fff; cursor: pointer; flex-shrink: 0; }
.wa-fab { position: fixed; left: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 18px; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 290; box-shadow: 0 12px 26px rgba(37, 211, 102, .4); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: translateY(-3px); color: #fff; }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 16px; right: 96px; bottom: 16px; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px 18px; z-index: 280; display: flex; gap: 14px; align-items: center; animation: toastIn .6s var(--ease); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.consent div { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- Content protection ---------- */
body[data-protect="1"] { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body[data-protect="1"] input, body[data-protect="1"] textarea, body[data-protect="1"] [contenteditable] { -webkit-user-select: text; user-select: text; }
body[data-protect="1"] img { -webkit-user-drag: none; pointer-events: auto; }
.protect-shield { position: fixed; inset: 0; z-index: 9999; background: rgba(15, 12, 36, .96); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); display: none; place-items: center; color: #fff; text-align: center; padding: 20px; }
.protect-shield b { display: block; font-size: 1.4rem; margin-bottom: 6px; }
.protect-shield span { color: #c9c5e8; }
body.shielded .protect-shield { display: grid; }
.watermark { position: fixed; inset: 0; pointer-events: none; z-index: 250; background-repeat: repeat; opacity: .05; }
@media print { body * { visibility: hidden !important; } body::before { content: ""; } body.allow-print * { visibility: visible !important; } body.allow-print::before { display: none; } }

/* ---------- Auth pages (motion login) ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); }
.auth-art { position: relative; overflow: hidden; background: #120e30; color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 60px; }
.auth-art h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); position: relative; z-index: 2; }
.auth-art p { color: #c9c5e8; position: relative; z-index: 2; max-width: 440px; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); animation: float 12s ease-in-out infinite; }
.orb.o1 { width: 420px; height: 420px; background: #5b3df5; top: -120px; left: -100px; opacity: .7; }
.orb.o2 { width: 340px; height: 340px; background: #ff5c8a; bottom: -100px; right: -60px; animation-delay: -4s; opacity: .55; }
.orb.o3 { width: 220px; height: 220px; background: #ffb547; top: 50%; left: 55%; animation-delay: -8s; opacity: .35; }
.auth-icons { position: relative; z-index: 2; display: flex; gap: 14px; margin-top: 30px; }
.auth-icons span { width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); display: grid; place-items: center; font-size: 1.5rem; animation: bob 5s ease-in-out infinite; border: 1px solid rgba(255, 255, 255, .15); }
.auth-icons span:nth-child(2) { animation-delay: -1s; } .auth-icons span:nth-child(3) { animation-delay: -2s; } .auth-icons span:nth-child(4) { animation-delay: -3s; }
.auth-main { display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: min(440px, 100%); animation: authIn .9s var(--ease); }
@keyframes authIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.auth-card h1 { font-size: 2rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 26px; }
.float-field { position: relative; }
.float-field input { width: 100%; padding: 22px 16px 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 1rem; transition: .3s var(--ease); }
.float-field label { position: absolute; left: 17px; top: 17px; color: var(--muted); pointer-events: none; transition: .25s var(--ease); font-weight: 600; }
.float-field input:focus, .float-field input:not(:placeholder-shown) { border-color: var(--primary); }
.float-field input:focus { box-shadow: 0 0 0 4px rgba(91, 61, 245, .12); outline: none; }
.float-field input:focus + label, .float-field input:not(:placeholder-shown) + label { top: 7px; font-size: .74rem; color: var(--primary); }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; color: var(--muted); font-size: .85rem; font-weight: 700; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: .92rem; }
.auth-switch { text-align: center; margin-top: 22px; color: var(--muted); }
.auth-badge { display: inline-flex; gap: 8px; align-items: center; background: #efeaff; color: var(--primary); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .8rem; margin-bottom: 18px; }

/* ---------- Misc ---------- */
.big-404 { font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: bob 4s infinite; }
.big-emoji { font-size: 3.4rem; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 26px 0; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 700; color: var(--ink-2); padding: 0 8px; }
.pager a.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tabs a { padding: 12px 16px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--primary); border-color: var(--primary); }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.kpi span { color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.kpi b { display: block; font-size: 1.7rem; font-weight: 800; margin-top: 4px; }
.kpi em { font-style: normal; font-weight: 800; font-size: .85rem; }
.up { color: var(--mint); } .down { color: var(--danger); }
.chart { width: 100%; height: 260px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .ln { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart .bar { transform-origin: bottom; transform-box: fill-box; animation: grow 1s var(--ease) both; }
.chart text { font-size: 11px; fill: var(--muted); font-family: var(--font); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
table.t { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.t th, table.t td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t th { background: #faf9ff; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr:hover td { background: #fcfbff; }
.manual-pay pre.bank { background: var(--bg-2); padding: 12px; border-radius: 12px; white-space: pre-wrap; font-family: inherit; }
.manual-pay form { display: grid; gap: 10px; margin-top: 12px; }
.manual-pay input { padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; }
.modal { position: fixed; inset: 0; background: rgba(15, 12, 36, .55); backdrop-filter: blur(6px); z-index: 500; display: grid; place-items: center; padding: 16px; animation: fadeIn .3s; }
.modal-box { background: var(--surface); border-radius: 22px; padding: 28px; width: min(520px, 100%); max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); animation: authIn .45s var(--ease); position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; border: 0; background: var(--bg-2); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 1.2rem; }
@keyframes fadeIn { from { opacity: 0; } }
.gw-list { display: grid; gap: 10px; margin: 16px 0; }
.gw-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; font-weight: 700; transition: .25s; }
.gw-opt:has(input:checked) { border-color: var(--primary); background: #f5f2ff; }
.gw-opt input { accent-color: var(--primary); }
.show-mobile { display: none; }
.copy { cursor: pointer; border-bottom: 1px dashed currentColor; }
.calc { display: grid; gap: 14px; background: var(--bg-2); border-radius: 18px; padding: 22px; margin: 18px 0; }
.calc h3 { margin: 0; }
.calc .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.calc label { font-size: .82rem; font-weight: 700; display: grid; gap: 6px; }
.calc input { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.calc output { display: block; background: #fff; border-radius: 12px; padding: 14px; font-weight: 700; border: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .main-nav { position: fixed; inset: 72px 0 auto 0; background: var(--surface); flex-direction: column; padding: 16px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .5s var(--ease); max-height: calc(100vh - 72px); overflow-y: auto; z-index: 90; }
  .main-nav.open { transform: none; }
  .main-nav > a { padding: 14px 12px; font-size: 1.05rem; }
  .main-nav > a::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 2px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .nav-mobile-extra a { padding: 12px; font-weight: 700; color: var(--ink-2); }
  .burger { display: flex; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 1080px) {
  .hero-grid, .pd-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; max-width: 520px; margin: 0 auto; width: 100%; }
  .g4, .process, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd-buy { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .g2, .g3, .form-row { grid-template-columns: 1fr; }
  .hide-sm { display: none !important; }
  .show-mobile { display: flex; }
  .nav-wrap { gap: 10px; height: 64px; }
  .main-nav { top: 64px; }
  .logo-text { font-size: 1rem; max-width: calc(100vw - 270px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cur-switch select { width: 62px; padding: 0 4px; }
  .nav-actions { gap: 6px; }
  .nav-actions .dropdown { display: none; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { padding: 40px 24px; min-height: 230px; }
  .auth-art p, .auth-icons { display: none; }
  .hero-visual { height: 360px; }
  .hv-main { inset: 30px 8px 50px 0; }
  .hv-f3 { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cal-grid { grid-template-columns: 1fr; }
  .cal-head, .cal-day.blank { display: none; }
  .consent { right: 16px; bottom: 90px; flex-direction: column; align-items: stretch; }
  .card { padding: 22px; }
  .otp-inputs input { width: 44px; height: 54px; }
}
@media (max-width: 420px) {
  .g4, .process, .stats { grid-template-columns: 1fr; }
  .icon-btn { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-l, .reveal-r, .reveal-s { opacity: 1; transform: none; }
}
@media (max-width: 1440px) and (min-width: 1241px) { .nav-actions .btn-primary { display: none; } }
@media (max-width: 760px) { .kpi-row { grid-template-columns: 1fr 1fr; gap: 10px; } .kpi { padding: 14px; } .kpi b { font-size: 1.3rem; } }
.pc-media .pc-off, .pc-media .pc-tag { top: auto; bottom: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
