/* ============================================
   BASE.CSS — Reset, Typography, Background Effects
   Vaivox Design System
   ============================================ */

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Typography ────────────────────────────── */
html { scroll-behavior: smooth; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Sora', 'Plus Jakarta Sans', sans-serif; color: var(--text); }
body, p, button, input, select, label, nav, a { font-family: 'Inter', 'Plus Jakarta Sans', sans-serif; }
body { padding-top: 60px; font-family:var(--sans); background:var(--bg); color:var(--text); min-height:100vh; overflow-x:hidden; position:relative; }

/* ── Corner glows — soft pastels for light mode ── */
body::before {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(ellipse 65% 55% at -10% -10%,   rgba(200,165,80,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 110% 0%,  rgba(59,130,246,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at -5% 100%, rgba(180,145,60,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 105% 100%,rgba(200,165,80,0.06) 0%, transparent 60%);
}

/* ── Subtle dot pattern ────────────────────── */
body::after {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image: radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── Floating language words ─────────────────── */
.floating-words {
  position: fixed; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.fw {
  position: absolute;
  font-family: 'Sora', var(--sans), sans-serif;
  font-weight: 700;
  white-space: nowrap;
  will-change: transform;
  animation: floatWord linear infinite;
  text-shadow: none;
}
.fw-lg { font-size: 3.2rem; color: rgba(140,140,155,0.18); }
.fw-md { font-size: 2.2rem; color: rgba(120,120,135,0.20); }
.fw-sm { font-size: 1.5rem; color: rgba(140,140,155,0.22); }
.fw-xs { font-size: 1.1rem; color: rgba(160,160,175,0.24); }

.fw:nth-child(1)  { top: 6%;  left: 3%;  animation-duration: 35s; animation-delay: 0s; }
.fw:nth-child(2)  { top: 14%; right: 5%; animation-duration: 40s; animation-delay: -8s; }
.fw:nth-child(3)  { top: 24%; left: 8%;  animation-duration: 32s; animation-delay: -4s; }
.fw:nth-child(4)  { top: 4%;  left: 45%; animation-duration: 38s; animation-delay: -12s; }
.fw:nth-child(5)  { top: 34%; right: 3%; animation-duration: 36s; animation-delay: -2s; }
.fw:nth-child(6)  { top: 20%; left: 70%; animation-duration: 42s; animation-delay: -16s; }
.fw:nth-child(7)  { top: 44%; left: 5%;  animation-duration: 34s; animation-delay: -6s; }
.fw:nth-child(8)  { top: 55%; left: 55%; animation-duration: 37s; animation-delay: -10s; }
.fw:nth-child(9)  { top: 10%; left: 25%; animation-duration: 44s; animation-delay: -14s; }
.fw:nth-child(10) { top: 65%; right: 8%; animation-duration: 33s; animation-delay: -3s; }
.fw:nth-child(11) { top: 50%; left: 30%; animation-duration: 39s; animation-delay: -18s; }
.fw:nth-child(12) { top: 16%; right: 20%;animation-duration: 41s; animation-delay: -7s; }
.fw:nth-child(13) { top: 72%; left: 65%; animation-duration: 36s; animation-delay: -20s; }
.fw:nth-child(14) { top: 30%; left: 85%; animation-duration: 38s; animation-delay: -5s; }
.fw:nth-child(15) { top: 60%; left: 15%; animation-duration: 43s; animation-delay: -11s; }
.fw:nth-child(16) { top: 78%; right: 15%;animation-duration: 35s; animation-delay: -9s; }
.fw:nth-child(17) { top: 68%; left: 8%;  animation-duration: 40s; animation-delay: -13s; }
.fw:nth-child(18) { top: 82%; left: 45%; animation-duration: 36s; animation-delay: -7s; }
.fw:nth-child(19) { top: 75%; right: 3%; animation-duration: 42s; animation-delay: -15s; }
.fw:nth-child(20) { top: 85%; left: 25%; animation-duration: 34s; animation-delay: -9s; }
.fw:nth-child(21) { top: 40%; left: 90%; animation-duration: 38s; animation-delay: -17s; }
.fw:nth-child(22) { top: 88%; right: 25%;animation-duration: 37s; animation-delay: -4s; }

/* ── Wrapper ───────────────────────────────── */
.wrapper { position:relative; z-index:1; max-width:820px; margin:0 auto; padding:48px 24px 100px; }

/* ── Header (logo, tagline) ────────────────── */
header { margin-bottom:52px; animation:fadeDown .6s ease both; }
.logo-row { display:flex; align-items:center; gap:12px; margin-bottom:6px; }
.logo-icon {
  width:36px; height:36px; background:var(--accent); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--glow); animation:pulse 3s ease-in-out infinite;
}
.logo-icon svg { width:18px; height:18px; color:var(--bg); }
h1 {
  font-size:clamp(2rem,6vw,3.2rem); font-weight:800; letter-spacing:-1px; line-height:1;
  background:linear-gradient(135deg,#1e293b 0%,var(--accent) 75%,var(--accent2) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.tagline { font-family:var(--mono); font-size:.76rem; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; margin-top:6px; font-weight: 500;}

/* ── Card (Liquid Glass) ──────────────────── */
.card { background:rgba(255,255,255,0.7); backdrop-filter:blur(24px) saturate(160%); -webkit-backdrop-filter:blur(24px) saturate(160%); border:1px solid rgba(255,255,255,0.8); border-top:1px solid rgba(255,255,255,1); border-radius:18px; box-shadow:0 14px 40px rgba(0,0,0,0.04), 0 4px 10px rgba(0,0,0,0.02), inset 0 1px 0 rgba(255,255,255,0.6); padding:32px; margin-bottom:24px; position: relative; }
.card-label {
  font-family:var(--mono); font-size:.65rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent);
  margin-bottom:20px; display:flex; align-items:center; gap:8px;
}
.card-label::before { content:''; display:block; width:18px; height:2px; background:var(--accent); opacity:.4; border-radius:2px;}

/* ── Form inputs ──────────────────────────── */
.field { margin-bottom:18px; }
label { display:block; font-size:.78rem; color:var(--muted); margin-bottom:7px; font-family:var(--mono); letter-spacing:.04em; font-weight:600; }
input[type="text"], select {
  width:100%; background:rgba(0,0,0,0.02); border:1px solid rgba(0,0,0,0.08); border-radius:12px;
  color:var(--text); font-family:'IBM Plex Mono', var(--mono), monospace; font-size:.88rem; padding:14px 16px;
  transition:all .3s cubic-bezier(0.4, 0, 0.2, 1); outline:none; -webkit-appearance:none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}
input:focus, select:focus { border-color:#c8a550; box-shadow:0 0 0 4px rgba(200,165,80,.1), 0 4px 15px rgba(200,165,80,.08); background: #fff;}
input::placeholder { color:#94a3b8; }
select {
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:36px;
}
select option { background:#ffffff; color: var(--text); }
.form-row { display:flex; gap:12px; align-items:flex-end; }
.form-row > .field:first-child { flex: 1; }

/* ── Error message ─────────────────────────── */
.error-msg {
  display:none; margin-bottom:14px;
  background:rgba(255,61,107,.07); border:1px solid rgba(255,61,107,.25);
  border-radius:var(--r); padding:11px 15px;
  font-family:var(--mono); font-size:.8rem; color:var(--accent2); line-height:1.6;
}

/* ── Global BG gradient (v2 style) ────────── */
body {
  padding-top: 60px;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(200,165,80,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(180,145,60,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(200,165,80,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 60%, rgba(236,72,153,0.10) 0%, transparent 55%);
  background-color: #f0f0f0;
  background-attachment: fixed;
}

/* ── Dot grid overlay ──────────────────────── */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(200,165,80,0.08) 1.2px, transparent 1.2px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
}

/* ── Floating orbs ─────────────────────────── */
.bg-orb {
  position: fixed; border-radius: 50%;
  filter: blur(60px); will-change: transform;
  pointer-events: none; z-index: 0;
}
.bg-orb-1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(200,165,80,0.16) 0%, rgba(200,165,80,0.04) 50%, transparent 70%);
  top: -15%; right: -10%;
  animation: orb1 22s ease-in-out infinite;
}
.bg-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(180,145,60,0.12) 0%, rgba(180,145,60,0.03) 50%, transparent 70%);
  top: 25%; left: -12%;
  animation: orb2 28s ease-in-out infinite;
}
.bg-orb-3 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(220,185,100,0.08) 0%, rgba(220,185,100,0.02) 50%, transparent 70%);
  bottom: -5%; right: 10%;
  animation: orb3 20s ease-in-out infinite;
}

/* ── Custom Select ────────────────────────── */
.custom-select { position: relative; width: 100%; }
.cs-selected {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; cursor: pointer;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: var(--r); color: var(--text);
  font-family: var(--sans); font-size: 0.9rem;
  transition: border-color .2s;
  user-select: none;
}
.cs-selected:hover { border-color: var(--accent); }
.custom-select.open .cs-selected { border-color: var(--accent); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.cs-arrow { margin-left: auto; color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.custom-select.open .cs-arrow { transform: rotate(180deg); }
.cs-flag { display:flex; align-items:center; }
.cs-name { flex: 1; }
.cs-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  background: #0d0d0d;
  border: 1px solid var(--accent);
  border-top: none; border-bottom-left-radius: var(--r); border-bottom-right-radius: var(--r);
  max-height: 280px; overflow-y: auto;
}
.custom-select.open .cs-dropdown { display: block; }
.cs-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; cursor: pointer;
  font-family: var(--sans); font-size: 0.88rem; color: #e8ecf5;
  transition: background .15s;
}
.cs-option:hover { background: #1a1a2e; }
.cs-option.selected { color: var(--accent); }
.cs-separator { height: 1px; background: var(--border2); margin: 4px 0; }
.cs-beta { color: var(--muted); }
.cs-beta:hover { color: var(--text); }
.cs-beta-tag {
  margin-left: auto; font-size: 0.65rem; font-family: var(--mono);
  background: rgba(200,165,80,0.1); color: var(--accent);
  padding: 2px 6px; border-radius: 4px; letter-spacing: 1px;
}

/* ── Credits badge ──────────────────────────── */
.credits-badge {
  display: none; align-items: center; justify-content: center; gap: 6px;
  font-family: 'IBM Plex Mono', var(--mono), monospace; font-size: 0.7rem; color: #7b8aab;
  margin-top: 12px; text-align: center;
}
.credits-badge.visible { display: flex; }
.credits-badge.low { color: #f97316; }
.credits-badge.empty { color: #ef4444; }

/* ── Live dot ──────────────────────────────── */
.live-dot { width:8px; height:8px; background:var(--green); border-radius:50%; box-shadow:0 0 8px rgba(34,197,94,.7); animation:pulse 1.8s ease-in-out infinite; flex-shrink:0; }

/* ── TEMA CHIARO GLOBALE (desktop + mobile) ── */
body {
  background: #f0f0f0 !important;
}
body::before {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(ellipse 60% 55% at -5% 0%,   rgba(200,165,80,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 105% 0%,  rgba(180,145,60,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at -5% 100%, rgba(200,165,80,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 105% 100%,rgba(180,145,60,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 40%,  rgba(200,165,80,0.05) 0%, transparent 100%) !important;
  display: block !important;
}
body::after {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px) !important;
  background-size: 32px 32px !important;
  display: block !important;
}

/* ── Testi hero — tema chiaro ──────────────── */
.hero h1 {
  color: #1a1a2e !important;
  -webkit-text-fill-color: #1a1a2e !important;
}
.hero h1 .grad {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
  background: linear-gradient(135deg, #c8a550 0%, #dbc078 50%, #a07830 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.hero-sub {
  color: #64648c !important;
}
.section-title, .section-sub {
  color: #1a1a1a !important;
}
.tagline {
  color: #555 !important;
}
/* Watch how it works */
#watch-demo-btn {
  color: #fff !important;
  border-color: transparent !important;
}
/* Contatori */
.counter-num {
  color: #1a1a2e !important;
}
.counter-label {
  color: #1a1a2e !important;
}
#hero-counters {
  background: rgba(200,165,80,0.08) !important;
  border-color: rgba(200,165,80,0.2) !important;
}

/* ── Secondary pages ───────────────────────── */
.page-wrap {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
  padding: 76px 24px 80px;
}
.page-hero {
  text-align: center; margin-bottom: 32px;
}
.page-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.page-title {
  font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: -1px; color: #1a1a2e; margin-bottom: 16px;
}
.page-title span {
  background: linear-gradient(135deg, #c8a550, #a07830);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-sub {
  font-size: 1rem; color: #555; line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}

/* ── Content cards — stile scuro come pricing ── */
.content-card {
  background: linear-gradient(160deg, rgba(24,18,42,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(200,165,80,0.15);
  border-top: 2px solid rgba(200,165,80,0.35);
  border-radius: 16px; padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(200,165,80,0.06), 0 8px 24px rgba(0,0,0,0.12);
  transition: border-color .3s, box-shadow .3s, transform .3s;
  color: #e8ecf5;
}
.content-card:hover {
  border-color: rgba(200,165,80,0.4);
  border-top-color: rgba(200,165,80,0.6);
  box-shadow: 0 4px 20px rgba(200,165,80,0.15), 0 12px 32px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}
.content-card.featured {
  border-color: rgba(200,165,80,0.45);
  border-top-color: rgba(200,165,80,0.7);
  box-shadow: 0 4px 20px rgba(200,165,80,0.2), 0 8px 50px rgba(200,165,80,0.1);
}
.card-grid { display: grid; gap: 20px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── Step cards — solo pagine secondarie ───── */
.page-wrap .step-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: linear-gradient(160deg, rgba(24,18,42,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(200,165,80,0.15);
  border-top: 2px solid rgba(200,165,80,0.35);
  border-radius: 16px; padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(200,165,80,0.12), 0 12px 32px rgba(0,0,0,0.2), 0 0 24px rgba(200,165,80,0.08);
  transition: border-color .3s, box-shadow .3s, transform .3s; margin-bottom: 16px;
}
.page-wrap .step-card:hover {
  border-color: rgba(200,165,80,0.4);
  border-top-color: rgba(200,165,80,0.6);
  box-shadow: 0 8px 28px rgba(200,165,80,0.22), 0 16px 40px rgba(0,0,0,0.25), 0 0 32px rgba(200,165,80,0.12);
  transform: translateY(-3px);
}
.page-wrap .step-num {
  min-width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(200,165,80,0.15), rgba(180,145,60,0.15));
  border: 1px solid rgba(200,165,80,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 0.85rem; font-weight: 700; color: #c8a550;
}
.page-wrap .step-body h3 {
  font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700;
  color: #e8ecf5; margin-bottom: 8px;
}
.page-wrap .step-body p {
  font-size: 0.88rem; color: #94a3b8; line-height: 1.65;
}
.page-wrap .step-body ul { margin-top: 8px; padding-left: 0; list-style: none; }
.page-wrap .step-body ul li {
  font-size: 0.85rem; color: #94a3b8;
  padding: 3px 0; display: flex; align-items: center; gap: 8px;
}
.page-wrap .step-body ul li::before {
  content: '>'; color: #c8a550; font-size: 1rem; font-weight: 700;
}

/* ── Section label ─────────────────────────── */
.section-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: #c8a550;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 32px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::after { content:''; flex:1; height:1px; background: #d0d0d0; }

/* ── FAQ items — stile scuro come pricing ──── */
.faq-item {
  background: linear-gradient(160deg, rgba(24,18,42,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(200,165,80,0.15);
  border-top: 2px solid rgba(200,165,80,0.35);
  border-radius: 16px; padding: 22px 26px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(200,165,80,0.06), 0 8px 24px rgba(0,0,0,0.12);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.faq-item:hover {
  border-color: rgba(200,165,80,0.4);
  border-top-color: rgba(200,165,80,0.6);
  box-shadow: 0 4px 20px rgba(200,165,80,0.15), 0 12px 32px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.faq-q {
  font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 700;
  color: #e8ecf5; margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.faq-q::before {
  content:'Q'; font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem;
  color: #c8a550; background: rgba(200,165,80,0.12);
  border: 1px solid rgba(200,165,80,0.25); border-radius: 4px;
  padding: 2px 7px; flex-shrink: 0;
}
.faq-a {
  font-size: 0.88rem; color: #94a3b8; line-height: 1.65; padding-left: 34px;
}

/* ── Contact blocks — stile scuro come pricing ── */
.contact-block {
  background: linear-gradient(160deg, rgba(24,18,42,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(200,165,80,0.15);
  border-top: 2px solid rgba(200,165,80,0.35);
  border-radius: 16px; padding: 32px; margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(200,165,80,0.06), 0 8px 24px rgba(0,0,0,0.12);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.contact-block:hover {
  border-color: rgba(200,165,80,0.4);
  border-top-color: rgba(200,165,80,0.6);
  box-shadow: 0 4px 20px rgba(200,165,80,0.15), 0 12px 32px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.contact-block h3 {
  font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700;
  color: #e8ecf5; margin-bottom: 12px;
}
.contact-block p {
  font-size: 0.88rem; color: #94a3b8; line-height: 1.65; margin-bottom: 10px;
}
.contact-email {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace; font-size: 0.9rem; color: #c8a550;
  background: rgba(200,165,80,0.06); border: 1px solid rgba(200,165,80,0.2);
  border-radius: 8px; padding: 10px 18px; text-decoration: none;
  transition: background .2s;
}
.contact-email:hover { background: rgba(200,165,80,0.12); }

/* ── Why grid ──────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-top: 32px;
}
.why-item {
  background: linear-gradient(160deg, rgba(24,18,42,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(200,165,80,0.15);
  border-top: 2px solid rgba(200,165,80,0.35);
  border-radius: 14px; padding: 18px;
  box-shadow: 0 2px 8px rgba(200,165,80,0.06), 0 8px 24px rgba(0,0,0,0.12);
  transition: border-color .3s, transform .3s;
}
.why-item:hover {
  border-color: rgba(200,165,80,0.4);
  transform: translateY(-2px);
}
.why-item-icon { font-size: 1.3rem; margin-bottom: 8px; }
.why-item-title {
  font-size: 0.88rem; font-weight: 700; color: #e8ecf5;
}

/* ── Image+Text Cards (how-it-works, contact, etc.) ── */
.hiw-card {
  display: flex; align-items: stretch; gap: 0;
  background: linear-gradient(160deg, rgba(24,18,42,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(200,165,80,0.15);
  border-top: 2px solid rgba(200,165,80,0.35);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(200,165,80,0.12), 0 12px 32px rgba(0,0,0,0.2);
  margin-bottom: 24px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.hiw-card:hover {
  border-color: rgba(200,165,80,0.4); border-top-color: rgba(200,165,80,0.6);
  box-shadow: 0 8px 28px rgba(200,165,80,0.22), 0 16px 40px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}
.hiw-card.reverse { flex-direction: row-reverse; }
.hiw-img {
  width: 280px; min-height: 220px; flex-shrink: 0;
  background: rgba(200,165,80,0.06);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hiw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hiw-card:hover .hiw-img img { transform: scale(1.06); }
.hiw-body { flex: 1; padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; color: #f1f5f9; }

/* ── Legal pages — light ───────────────────── */
.legal-content {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
  padding: 100px 24px 80px;
}
.legal-content h1 {
  font-family: 'Sora', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700; color: #1a1a2e; margin-bottom: 8px; letter-spacing: -0.5px;
}
.legal-content .subtitle {
  font-size: 0.9rem; color: #555; margin-bottom: 40px;
}
.legal-content h2 {
  font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 700;
  color: #1a1a2e; margin: 36px 0 14px; letter-spacing: -0.3px;
}
.legal-content p, .legal-content li {
  font-size: 0.9rem; color: #444; line-height: 1.75; margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content a { color: #c8a550; text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ── Legal cards — unified style ───────────── */
.legal-card {
  background: linear-gradient(160deg, rgba(24,18,42,0.98) 0%, rgba(10,8,16,0.99) 100%);
  border: 1px solid rgba(200,165,80,0.15);
  border-top: 2px solid rgba(200,165,80,0.35);
  border-radius: 16px; padding: 28px 32px; margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(200,165,80,0.06), 0 8px 24px rgba(0,0,0,0.12);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.legal-card:hover {
  border-color: rgba(200,165,80,0.4);
  border-top-color: rgba(200,165,80,0.6);
  box-shadow: 0 4px 20px rgba(200,165,80,0.15), 0 12px 32px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.legal-card h2 {
  font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: #e8ecf5; margin-bottom: 12px;
}
.legal-card p, .legal-card li {
  font-size: 0.88rem; color: #94a3b8; line-height: 1.7; margin-bottom: 8px;
}
.legal-card ul { padding-left: 20px; margin-bottom: 12px; }
.legal-card a { color: #c8a550; text-decoration: none; }
.legal-card a:hover { text-decoration: underline; }

/* ── Pricing page styles — light ───────────── */
.pricing-plan-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.pricing-price {
  font-family: 'Sora', sans-serif; font-size: 2.4rem; font-weight: 800;
  color: #e8ecf5; margin-bottom: 6px;
}
.pricing-price span { font-size: 1rem; color: #94a3b8; font-weight: 400; }
.pricing-desc { font-size: 0.85rem; color: #94a3b8; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: #e8ecf5;
  padding: 8px 0; border-bottom: 1px solid rgba(200,165,80,0.1);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content:''; width:16px; height:16px; border-radius:50%; flex-shrink:0;
  background: rgba(200,165,80,0.08); border: 1px solid rgba(200,165,80,0.25);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%23c8a550' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:10px; background-repeat:no-repeat; background-position:center;
}
.pricing-btn {
  display: block; width: 100%; padding: 12px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: opacity .2s; text-align: center;
  text-decoration: none;
}
.pricing-btn-free {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: #e8ecf5;
}
.pricing-btn-pro {
  background: linear-gradient(135deg, #c8a550, #a07830);
  border: none; color: #fff; font-weight: 700;
  box-shadow: 0 0 20px rgba(200,165,80,0.2);
}
.pricing-btn:hover { opacity: 0.82; }

/* ── Plans grid ────────────────────────────── */
.plans-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.plans-bottom { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-bottom: 56px; align-items: start; }

audio { display:none; }

/* ── CTA hover (replaces inline onmouseover/onmouseout) ── */
.cta-gold-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,165,80,0.4) !important; }
.cta-outline-btn:hover { border-color: var(--accent) !important; }
