/* =========================================
   TAPXCHANGE — DESIGN SYSTEM
   Dark mode default · Light mode toggle · Purple accent
   ========================================= */

/* ----- 1. Design Tokens ----- */
:root {
  --bg:             #09080f;
  --bg-2:           #0d0b18;
  --surface:        #100d1c;
  --surface-2:      #180d2a;
  --border:         rgba(255,255,255,0.08);
  --border-strong:  rgba(255,255,255,0.14);
  --text:           #ede9f8;
  --text-dim:       #9490aa;
  --accent:         #a78bfa;
  --accent-2:       #7c3aed;
  --accent-text:    #a78bfa;
  --accent-bg:      rgba(167,139,250,0.08);
  --accent-border:  rgba(167,139,250,0.22);
  --warm:           #f59e0b;
  --font-sans:      'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:     'Instrument Serif', Georgia, serif;
  --font-mono:      'Geist Mono', 'Menlo', monospace;
  --container:      1280px;
  --section-py:     96px;
}

[data-theme="light"] {
  --bg:            #f5f3ff;
  --bg-2:          #ede9f8;
  --surface:       #ffffff;
  --surface-2:     #f8f5ff;
  --border:        rgba(0,0,0,0.07);
  --border-strong: rgba(0,0,0,0.12);
  --text:          #1a0a3c;
  --text-dim:      #5b4e8a;
  --accent:        #a78bfa;
  --accent-2:      #7c3aed;
  --accent-text:   #5b21b6;
  --accent-bg:     rgba(91,33,182,0.06);
  --accent-border: rgba(91,33,182,0.16);
  --warm:          #b45309;
}

/* ----- 2. Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }

/* ----- 3. Typography ----- */
.serif   { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em; }
.mono    { font-family: var(--font-mono); }
.text-accent { color: var(--accent-text); }
.text-dim    { color: var(--text-dim); }
.text-warm   { color: var(--warm); }

/* ----- 4. Layout ----- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-py) 0; }
.section-border { border-top: 1px solid var(--border); }

/* ----- 5. Ambient Glow / Grid ----- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow-a {
  position: absolute; width: 720px; height: 720px; border-radius: 9999px;
  background: radial-gradient(circle at center, rgba(167,139,250,0.16), rgba(167,139,250,0) 60%);
  filter: blur(40px);
}
.glow-b {
  position: absolute; width: 560px; height: 560px; border-radius: 9999px;
  background: radial-gradient(circle at center, rgba(124,58,237,0.12), transparent 60%);
  filter: blur(50px);
}
.glow-c {
  position: absolute; width: 420px; height: 420px; border-radius: 9999px;
  background: radial-gradient(circle at center, rgba(245,158,11,0.08), transparent 60%);
  filter: blur(40px);
}
[data-theme="light"] .glow-a { opacity: 0.35; }
[data-theme="light"] .glow-b { opacity: 0.25; }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.033) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

/* ----- 6. Glass Cards ----- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-strong {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
[data-theme="light"] .glass { background: linear-gradient(180deg,rgba(255,255,255,0.88),rgba(255,255,255,0.65)); box-shadow: 0 1px 16px rgba(0,0,0,0.06); }
[data-theme="light"] .glass-strong { background: rgba(255,255,255,0.96); box-shadow: 0 2px 24px rgba(0,0,0,0.08); }

.card-hover { transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.card-hover:hover { transform: translateY(-2px); border-color: rgba(167,139,250,0.3); background: linear-gradient(180deg, rgba(167,139,250,0.05), rgba(255,255,255,0.015)); }
[data-theme="light"] .card-hover:hover { border-color: rgba(91,33,182,0.2); background: linear-gradient(180deg,rgba(91,33,182,0.04),rgba(255,255,255,0.5)); }

/* ----- 7. Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px;
  font-size: 0.9rem; font-weight: 500; font-family: var(--font-sans);
  cursor: pointer; border: none; white-space: nowrap;
  transition: all 0.18s ease; line-height: 1;
}
.btn-accent {
  background: var(--accent);
  color: #1a0a3c;
  box-shadow: 0 0 0 1px rgba(167,139,250,0.5), 0 10px 40px -10px rgba(167,139,250,0.5);
}
.btn-accent:hover {
  transform: translateY(-1px);
  background: #b8a0fb;
  box-shadow: 0 0 0 1px rgba(167,139,250,0.6), 0 18px 55px -10px rgba(167,139,250,0.6);
}
.btn-ghost { background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }
[data-theme="light"] .btn-ghost { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.12); }
[data-theme="light"] .btn-ghost:hover { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.2); }
.btn-lg { padding: 14px 28px; font-size: 0.9375rem; border-radius: 14px; }
.btn svg { transition: transform 0.15s ease; }
.btn:hover svg.arrow { transform: translateX(3px); }

/* ----- 8. Pill / Badge ----- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  color: var(--accent-text); font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
}
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 8px; border-radius: 5px;
  font-size: 9px; font-weight: 700; border: 1px solid; font-family: var(--font-mono);
}
.tag-accent { background: var(--accent-bg); color: var(--accent-text); border-color: var(--accent-border); }
.tag-orange { background: rgba(245,158,11,0.1); color: #f59e0b; border-color: rgba(245,158,11,0.2); }
.tag-green  { background: rgba(52,211,153,0.1); color: #34d399; border-color: rgba(52,211,153,0.2); }

/* ----- 9. Icon Frame & Live Dot ----- */
.icon-frame {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(167,139,250,0.14), rgba(167,139,250,0.02));
  border: 1px solid var(--accent-border);
  color: var(--accent-text); flex-shrink: 0;
}
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(167,139,250,0.18);
  animation: live-pulse 2.2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(167,139,250,0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(167,139,250,0.04); }
}

/* ----- 10. Section Label ----- */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-dim); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-family: var(--font-mono);
}
.section-label::before { content: ""; width: 24px; height: 1px; background: var(--accent); flex-shrink: 0; }
[data-theme="light"] .section-label::before { background: var(--accent-text); }

.sec-head    { margin-bottom: 56px; }
.sec-head h2 { margin-top: 16px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.sec-head p  { margin-top: 16px; color: var(--text-dim); font-size: 1.0625rem; max-width: 560px; line-height: 1.7; }
.sec-head--center { text-align: center; }
.sec-head--center p { margin-left: auto; margin-right: auto; }

.hr-dashed { height: 1px; background-image: linear-gradient(to right, rgba(255,255,255,0.18) 50%, transparent 50%); background-size: 8px 1px; background-repeat: repeat-x; }
[data-theme="light"] .hr-dashed { background-image: linear-gradient(to right, rgba(0,0,0,0.12) 50%, transparent 50%); }

.dot-sep { display: inline-block; width: 3px; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.25); }
[data-theme="light"] .dot-sep { background: rgba(0,0,0,0.2); }

.check-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.check-icon {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-text); flex-shrink: 0; margin-top: 1px;
}
.check-icon svg { width: 12px; height: 12px; stroke-width: 3; }
.check-item-title { font-weight: 500; margin-bottom: 2px; }
.check-item-desc  { font-size: 0.875rem; color: var(--text-dim); line-height: 1.6; }

/* =========================================
   NAVIGATION
   ========================================= */
.site-header { position: sticky; top: 0; z-index: 100; width: 100%; }
.nav-inner {
  background: rgba(9,8,15,0.78);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease;
}
[data-theme="light"] .nav-inner { background: rgba(245,243,255,0.85); border-bottom-color: rgba(0,0,0,0.06); }
.nav { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}
.nav-logo-icon svg { color: #fff; }
.nav-brand { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.nav-version {
  font-family: var(--font-mono); font-size: 10px; padding: 2px 8px; border-radius: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-dim); margin-left: 4px;
}
[data-theme="light"] .nav-version { background: rgba(0,0,0,0.04); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.875rem; color: var(--text-dim); }
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text-dim);
  transition: all 0.2s ease; cursor: pointer;
}
.theme-toggle:hover { background: rgba(255,255,255,0.08); color: var(--text); }
[data-theme="light"] .theme-toggle { background: rgba(0,0,0,0.04); }
[data-theme="light"] .theme-toggle:hover { background: rgba(0,0,0,0.08); }

.nav-hamburger {
  display: none; width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-hamburger span { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all 0.25s ease; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(9,8,15,0.97); backdrop-filter: blur(20px);
  flex-direction: column; padding: 88px 28px 40px;
  transform: translateX(-100%); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.mobile-nav.open { transform: translateX(0); }
[data-theme="light"] .mobile-nav { background: rgba(245,243,255,0.97); }
.mobile-nav a { display: block; padding: 16px 0; font-size: 1.5rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); letter-spacing: -0.02em; transition: color 0.15s ease; }
.mobile-nav a:hover { color: var(--accent-text); }
.mobile-nav-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav-actions .btn { justify-content: center; }

/* =========================================
   HERO
   ========================================= */
.hero { position: relative; overflow: hidden; padding: 80px 0 100px; }
.hero-split { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { margin-bottom: 32px; }
.hero h1 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 .serif { color: var(--accent-text); }
.hero-desc { margin-top: 28px; font-size: 1.0625rem; color: var(--text-dim); max-width: 480px; line-height: 1.75; }
.hero-cta   { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 48px; }
.hero-trust-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 12px; }
.hero-trust-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; color: var(--text-dim); }
.hero-trust-logos .serif { font-size: 1.25rem; }
.hero-trust-logos .bold  { font-weight: 700; letter-spacing: -0.02em; font-size: 0.9rem; }
.hero-trust-logos .italic-lg { font-style: italic; font-size: 1.1rem; }
.hero-trust-logos .mono-sm  { font-family: var(--font-mono); font-size: 0.75rem; }

.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  margin-top: 72px; position: relative; z-index: 1; background: rgba(255,255,255,0.02);
}
[data-theme="light"] .stats-strip { background: rgba(0,0,0,0.02); }
.stats-strip-item { padding: 24px; background: var(--bg); border-right: 1px solid var(--border); }
.stats-strip-item:last-child { border-right: none; }
[data-theme="light"] .stats-strip-item { background: var(--surface); }
.stats-strip-lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 10px; }
.stats-strip-val { font-size: 1.875rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stats-strip-val span { color: var(--accent-text); }
.stats-strip-val .dim { font-size: 1.1rem; color: var(--text-dim); }

/* Hero visual */
.hero-visual { position: relative; max-width: 420px; margin-left: auto; }

/* NFC card hero mockup */
.nfc-card-frame {
  width: 320px; margin: 0 auto; position: relative; z-index: 2;
}
.nfc-card {
  border-radius: 20px;
  background: linear-gradient(135deg, #1e0a3c, #2d1060, #180a30);
  border: 1px solid rgba(167,139,250,0.25);
  box-shadow: 0 40px 80px -30px rgba(124,58,237,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.nfc-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.15), transparent 65%);
}
[data-theme="light"] .nfc-card {
  background: linear-gradient(135deg, #3b0764, #5b21b6, #2e1065);
  box-shadow: 0 24px 60px rgba(91,33,182,0.35);
}
.nfc-card-bg { position: absolute; inset: 0; }
.nfc-card-content { position: relative; z-index: 1; color: #fff; }
.nfc-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.nfc-card-logo { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; opacity: 0.9; }
.nfc-symbol { opacity: 0.55; }
.nfc-card-profile { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.nfc-avatar {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(167,139,250,0.5), rgba(124,58,237,0.8));
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: #fff;
  flex-shrink: 0;
}
.nfc-name { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 3px; }
.nfc-title { font-size: 12px; opacity: 0.65; }
.nfc-card-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nfc-link-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  font-size: 11px; color: rgba(255,255,255,0.8);
}

/* Floating hero elements */
.hero-float { position: absolute; z-index: 10; }
.hero-float-qr { top: 24px; left: -48px; transform: rotate(-6deg); }
.hero-float-stat { top: 16px; right: -32px; transform: rotate(5deg); width: 180px; }
.float-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 18px; padding: 14px;
}
[data-theme="light"] .float-card { background: rgba(255,255,255,0.92); box-shadow: 0 4px 24px rgba(0,0,0,0.1); }

.nfc-tap-card { width: 130px; }
.nfc-tap-icon { display: flex; justify-content: center; color: var(--accent-text); margin-bottom: 8px; }
.nfc-tap-text { text-align: center; }

.float-stat-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.float-stat-head .up { color: var(--accent-text); display: flex; align-items: center; gap: 3px; }
.float-stat-val { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.float-stat-lbl { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.float-chart { display: flex; align-items: flex-end; gap: 3px; height: 40px; margin-top: 12px; }
.float-bar { flex: 1; background: linear-gradient(180deg, rgba(167,139,250,0.85), rgba(124,58,237,0.4)); border-radius: 3px 3px 0 0; }

/* =========================================
   FEATURES GRID
   ========================================= */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 14px; }
.feat-big { grid-column: 1 / 3; grid-row: 1 / 3; }
.feat-card { border-radius: 20px; padding: 24px; position: relative; overflow: hidden; }
.feat-card-head { display: flex; align-items: flex-start; justify-content: space-between; }
.feat-num { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); }
.feat-card h3 { margin-top: 20px; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; }
.feat-card.feat-big h3 { font-size: 1.5rem; }
.feat-card p { margin-top: 8px; font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }
.feat-big p { max-width: 400px; }

/* =========================================
   HOW IT WORKS (Methods)
   ========================================= */
.methods-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.method-card { border-radius: 20px; padding: 24px; }
.method-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.method-head-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.method-tag { font-family: var(--font-mono); font-size: 9px; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.06em; }
.method-tag-pop   { background: var(--accent-bg); color: var(--accent-text); border: 1px solid var(--accent-border); }
.method-tag-plain { background: rgba(255,255,255,0.05); color: var(--text-dim); border: 1px solid var(--border); }
[data-theme="light"] .method-tag-plain { background: rgba(0,0,0,0.04); }
.method-card h3  { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 8px; }
.method-card > p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 20px; }
.method-mock     { border-radius: 14px; padding: 16px; margin-bottom: 20px; }
.method-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.method-foot-check { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-dim); }
.method-foot-check svg { color: var(--accent-text); }

/* =========================================
   CARDS SECTION
   ========================================= */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 0 auto; }
.card-option { border-radius: 28px; padding: 36px; position: relative; overflow: hidden; }
.card-option--std { border: 1px solid var(--border-strong); background: var(--surface); }
.card-option--premium {
  background: linear-gradient(180deg, rgba(167,139,250,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(167,139,250,0.38);
  box-shadow: 0 20px 60px -20px rgba(167,139,250,0.28);
  backdrop-filter: blur(12px);
}
[data-theme="light"] .card-option--premium {
  background: linear-gradient(180deg, rgba(91,33,182,0.04), rgba(255,255,255,0.7));
  border-color: rgba(91,33,182,0.22);
}

.card-visual { margin-bottom: 28px; }
.card-mockup {
  border-radius: 16px;
  padding: 22px 24px;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.card-mockup--steel {
  background: linear-gradient(135deg, #2a2035, #3d1f6e, #1a1030);
  border: 1px solid rgba(167,139,250,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  color: #ede9f8;
}
.card-mockup--polymer {
  background: linear-gradient(135deg, #1a0e2e, #250d44, #120a28);
  border: 1px solid rgba(167,139,250,0.15);
  color: #ccc;
}
[data-theme="light"] .card-mockup--steel { background: linear-gradient(135deg, #4c1d95, #5b21b6, #3b0764); color: #fff; }
[data-theme="light"] .card-mockup--polymer { background: linear-gradient(135deg, #2e1065, #3b0764, #1e0a3c); color: rgba(255,255,255,0.85); }
.card-mockup-inner { min-height: 90px; }

.card-option-body {}

/* =========================================
   PRICING
   ========================================= */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 0 auto; }
.price-card { border-radius: 28px; padding: 36px; position: relative; }
.price-card--std { border: 1px solid var(--border-strong); background: var(--surface); }
[data-theme="light"] .price-card--std { background: var(--surface); }
.price-card--pro {
  background: linear-gradient(180deg, rgba(167,139,250,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(167,139,250,0.38);
  box-shadow: 0 20px 60px -20px rgba(167,139,250,0.28);
  backdrop-filter: blur(12px);
}
[data-theme="light"] .price-card--pro {
  background: linear-gradient(180deg, rgba(91,33,182,0.04), rgba(255,255,255,0.7));
  border-color: rgba(91,33,182,0.22);
  box-shadow: 0 12px 40px -12px rgba(91,33,182,0.15);
}
.price-recommended {
  position: absolute; top: -12px; left: 28px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: #1a0a3c;
}
.price-type { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.price-card--pro .price-type { color: var(--accent-text); }
.price-name { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 20px; }
.price-val  { display: flex; align-items: baseline; gap: 2px; margin-bottom: 6px; }
.price-cur  { font-size: 1.25rem; font-weight: 500; color: var(--text-dim); }
.price-amt  { font-size: 3.25rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.price-per  { font-size: 0.875rem; color: var(--text-dim); align-self: flex-end; padding-bottom: 4px; }
.price-note { font-size: 0.875rem; color: var(--text-dim); margin-bottom: 28px; }
.price-feat-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.price-card--pro .price-feat-list { border-color: rgba(167,139,250,0.15); }
.price-feat { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.price-feat svg { color: var(--accent-text); flex-shrink: 0; }
.price-feat-dim svg { color: var(--text-dim); }
.price-feat-dim span { color: var(--text-dim); }
.price-footer { margin-top: 8px; text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }

/* =========================================
   DIFFERENTIATORS
   ========================================= */
.diff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.diff-card { border-radius: 20px; padding: 24px; }
.diff-card h3 { font-size: 0.9375rem; font-weight: 500; margin-top: 20px; margin-bottom: 6px; }
.diff-card p  { font-size: 0.875rem; color: var(--text-dim); line-height: 1.55; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.testi-card { border-radius: 20px; padding: 24px; }
.testi-stars { display: flex; gap: 3px; color: var(--accent-text); margin-bottom: 14px; }
.testi-quote { font-size: 0.9375rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 20px; }
.testi-quote::before { content: '\201C'; color: var(--accent-text); font-size: 1.25rem; line-height: 0; vertical-align: -6px; margin-right: 2px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.875rem; color: #fff; flex-shrink: 0;
}
.testi-name { font-weight: 500; font-size: 0.9rem; }
.testi-role { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* =========================================
   FAQ
   ========================================= */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1rem; font-weight: 500; color: var(--text); cursor: pointer;
  background: none; border: none; transition: color 0.15s ease; letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--accent-text); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); flex-shrink: 0; transition: all 0.25s ease;
}
[data-theme="light"] .faq-icon { background: rgba(0,0,0,0.04); }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: #1a0a3c; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.faq-a-inner { padding-bottom: 22px; font-size: 0.9375rem; color: var(--text-dim); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 400px; }

/* =========================================
   CONTACT & CTA
   ========================================= */
.cta-final { position: relative; overflow: hidden; padding: var(--section-py) 0; text-align: center; }
.cta-h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 20px; }
.cta-h2 .serif { color: var(--accent-text); }
.cta-p { font-size: 1.0625rem; color: var(--text-dim); max-width: 520px; margin: 0 auto 40px; line-height: 1.75; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.cta-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; margin-top: 40px; }
.cta-trust-item { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.cta-trust-item svg { color: var(--accent-text); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 14px; }
.contact-left > p { color: var(--text-dim); line-height: 1.75; margin-bottom: 36px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 0.9rem; color: var(--text-dim); }
.contact-det-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-bg); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-text); flex-shrink: 0;
}
.contact-steps { margin-top: 36px; padding: 22px; border-radius: 16px; }
.contact-step { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.contact-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #1a0a3c;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.contact-step-text { font-size: 0.875rem; color: var(--text-dim); line-height: 1.55; padding-top: 2px; }
.contact-form-wrap { border-radius: 24px; padding: 40px; }
.form-grp { margin-bottom: 16px; }
.form-lbl { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); margin-bottom: 6px; }
.form-ctrl {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 0.9rem; outline: none;
  transition: all 0.15s ease; appearance: none; font-family: var(--font-sans);
}
.form-ctrl::placeholder { color: rgba(255,255,255,0.2); }
.form-ctrl:focus { border-color: rgba(167,139,250,0.45); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 3px rgba(167,139,250,0.08); }
[data-theme="light"] .form-ctrl { background: rgba(0,0,0,0.03); border-color: var(--border); color: var(--text); }
[data-theme="light"] .form-ctrl::placeholder { color: rgba(0,0,0,0.25); }
[data-theme="light"] .form-ctrl:focus { border-color: rgba(91,33,182,0.4); background: rgba(0,0,0,0.02); box-shadow: 0 0 0 3px rgba(91,33,182,0.07); }
textarea.form-ctrl { resize: vertical; min-height: 120px; }
select.form-ctrl { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }

.csel-wrap { position: relative; }
.csel-trigger {
  width: 100%; padding: 12px 40px 12px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 0.9rem; font-family: var(--font-sans);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  transition: border-color .15s, background .15s, box-shadow .15s; user-select: none;
}
.csel-trigger:focus { outline: none; }
.csel-trigger.placeholder { color: rgba(255,255,255,0.2); }
[data-theme="light"] .csel-trigger.placeholder { color: rgba(0,0,0,0.25); }
.csel-wrap.open .csel-trigger, .csel-trigger:focus-visible { border-color: rgba(167,139,250,0.45); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 3px rgba(167,139,250,0.08); }
[data-theme="light"] .csel-wrap.open .csel-trigger { border-color: rgba(91,33,182,0.4); background: rgba(0,0,0,0.02); box-shadow: 0 0 0 3px rgba(91,33,182,0.07); }
.csel-chevron { width: 16px; height: 16px; flex-shrink: 0; margin-left: 8px; transition: transform .2s ease; }
.csel-wrap.open .csel-chevron { transform: rotate(180deg); }
.csel-list {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 200;
  background: #100d1c; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.55);
}
[data-theme="light"] .csel-list { background: #ffffff; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.csel-wrap.open .csel-list { display: block; }
.csel-opt { padding: 11px 16px; font-size: 0.9rem; color: var(--text); cursor: pointer; transition: background .12s; }
.csel-opt:hover { background: rgba(255,255,255,.06); }
[data-theme="light"] .csel-opt:hover { background: rgba(0,0,0,.04); }
.csel-opt.selected { color: var(--accent-text); background: var(--accent-bg); }
.csel-opt.placeholder-opt { color: var(--text-dim); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { margin-top: 12px; padding: 12px 16px; border-radius: 10px; font-size: 0.875rem; font-weight: 500; display: none; }
.form-msg.success { display: block; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); color: #34d399; }
.form-msg.error   { display: block; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #f87171; }

/* =========================================
   FOOTER
   ========================================= */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand-name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; }
.footer-copy { font-size: 12px; color: var(--text-dim); margin-left: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 0.875rem; color: var(--text-dim); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 8px; }
.footer-soc {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); transition: all 0.15s ease;
}
.footer-soc:hover { background: var(--accent-bg); color: var(--accent-text); border-color: var(--accent-border); }
[data-theme="light"] .footer-soc { background: rgba(0,0,0,0.03); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .diff-grid    { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feat-big { grid-column: 1 / 3; }
}
@media (max-width: 960px) {
  :root { --section-py: 72px; }
  .hero-split    { grid-template-columns: 1fr; text-align: center; }
  .hero-desc     { margin-left: auto; margin-right: auto; }
  .hero-cta      { justify-content: center; }
  .hero-trust    { display: flex; flex-direction: column; align-items: center; }
  .hero-visual   { display: none; }
  .contact-grid  { grid-template-columns: 1fr; }
  .testi-grid    { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .methods-grid  { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .cards-grid    { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .stats-strip   { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .nav-links  { display: none; }
  .nav-actions .btn-ghost.sign-in { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav    { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-big      { grid-column: 1; }
  .diff-grid     { grid-template-columns: repeat(2,1fr); }
  .form-row      { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .price-card { padding: 28px 22px; }
  .card-option { padding: 28px 22px; }
}
@media (max-width: 480px) {
  :root { --container: 100%; }
  .container { padding: 0 16px; }
  .stats-strip  { grid-template-columns: 1fr 1fr; }
  .diff-grid    { grid-template-columns: 1fr; }
  .cta-trust    { flex-direction: column; gap: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
