/* ─── Custom Properties ──────────────────────────────── */
:root {
  --bg: #080812;
  --surface: #0e0e1c;
  --surface-2: #131325;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --text: #e2e2ee;
  --muted: #64648a;
  --soft: #9090b8;
  --hover-bg: rgba(255,255,255,0.04);
  --outline-hover-bg: rgba(255,255,255,0.03);
  --nav-scrolled-bg: rgba(8, 8, 18, 0.88);
  --nav-mobile-bg: rgba(8,8,18,0.96);
  --grid-line: rgba(255,255,255,0.025);
  --dropdown-shadow: 0 12px 40px rgba(0,0,0,0.5);
  --featured-accent: #16102a;
  --loaas-featured-accent: #1c1508;
  --gold: #c8a84e;
  --gold-dim: rgba(200, 168, 78, 0.1);
  --gold-glow: rgba(200, 168, 78, 0.18);
  --violet: #6d28d9;
  --violet-light: #9d70f5;
  --violet-dim: rgba(109, 40, 217, 0.1);
  --violet-glow: rgba(109, 40, 217, 0.2);
  --radius: 12px;
  --radius-lg: 18px;
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 64px;
}

html { color-scheme: dark; }

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7fc;
  --surface: #ffffff;
  --surface-2: #eef1fb;
  --border: rgba(20, 24, 40, 0.09);
  --border-hover: rgba(20, 24, 40, 0.16);
  --text: #131528;
  --muted: #68708a;
  --soft: #404761;
  --hover-bg: rgba(24, 28, 44, 0.045);
  --outline-hover-bg: rgba(24, 28, 44, 0.03);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.78);
  --nav-mobile-bg: rgba(255, 255, 255, 0.97);
  --grid-line: rgba(24, 28, 44, 0.055);
  --dropdown-shadow: 0 18px 40px rgba(27, 32, 55, 0.12);
  --featured-accent: #efeaff;
  --loaas-featured-accent: #fff2d6;
  --gold-dim: rgba(200, 168, 78, 0.16);
  --gold-glow: rgba(200, 168, 78, 0.18);
  --violet-dim: rgba(109, 40, 217, 0.1);
  --violet-glow: rgba(109, 40, 217, 0.16);
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(circle at top left, rgba(109, 40, 217, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(200, 168, 78, 0.08), transparent 26%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Layout ─────────────────────────────────────────── */
.container { max-width: 1120px; margin-inline: auto; padding-inline: 28px; }
.section { padding-block: 96px; }
.section--dark { background: var(--surface); }
.section--alt { background: var(--surface-2); }

/* ─── Typography ─────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: 24px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--violet { color: var(--violet-light); }
.body-text { font-size: 16px; color: var(--soft); line-height: 1.75; margin-bottom: 16px; }
.text-gold { color: var(--gold); }
.text-violet { color: var(--violet-light); }
.text-gradient {
  background: linear-gradient(120deg, var(--gold) 0%, var(--violet-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-gold {
  background: var(--gold);
  color: #0a0700;
  box-shadow: 0 2px 16px var(--gold-glow);
}
.btn-gold:hover { box-shadow: 0 4px 24px var(--gold-glow); }

.btn-violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 2px 16px var(--violet-glow);
}
.btn-violet:hover { box-shadow: 0 4px 24px var(--violet-glow); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  transition: border-color 0.18s, background 0.18s;
}
.btn-outline:hover { border-color: var(--border-hover); background: var(--outline-hover-bg); }

.btn-outline-sm {
  padding: 8px 18px;
  border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.18s, background 0.18s;
}
.btn-outline-sm:hover { border-color: var(--border-hover); background: var(--outline-hover-bg); }

.btn-ghost {
  background: transparent;
  color: var(--violet-light);
  border: 1px solid rgba(157, 112, 245, 0.25);
  font-size: 14px;
  font-weight: 600;
}
.btn-ghost:hover { background: var(--violet-dim); }

.btn-submit {
  width: 100%;
  justify-content: center;
  background: var(--gold);
  color: #0a0700;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 2px 16px var(--gold-glow);
}
.btn-submit:hover { box-shadow: 0 6px 24px var(--gold-glow); transform: translateY(-2px); }

/* ─── Badge ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(200,168,78,0.2); }
.badge-violet { background: var(--violet-dim); color: var(--violet-light); border: 1px solid rgba(157,112,245,0.2); }
.badge-beta {
  font-size: 10px; font-weight: 700;
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid rgba(200,168,78,0.2);
  padding: 2px 8px; border-radius: 100px; letter-spacing: 0.05em;
}

/* ─── Navigation ─────────────────────────────────────── */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.logo-dot { color: var(--gold); }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links .theme-toggle { margin-left: 6px; }
.nav-links > li > a {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.nav-links > li > a:hover { color: var(--text); background: var(--hover-bg); }

/* Dropdown */
.has-dropdown { position: relative; }
.nav-btn {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s, background 0.18s;
}
.nav-btn:hover { color: var(--text); background: var(--hover-bg); }
.nav-chevron {
  font-size: 10px;
  transition: transform 0.2s;
  display: inline-block;
}
.has-dropdown.open .nav-chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;           /* no gap — hover continuity maintained */
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 6px 6px; /* top padding creates the visual gap */
  min-width: 220px;
  box-shadow: var(--dropdown-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 300;
}
.dropdown, .prod-card, .stat-card, .feat-card, .price-card, .contact-form, .cta-bar, .coming-soon-card, .legal-highlight, .legal-contact-card, .pricing-table th {
  box-shadow: none;
}
html[data-theme="light"] .dropdown,
html[data-theme="light"] .prod-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .feat-card,
html[data-theme="light"] .price-card,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .cta-bar,
html[data-theme="light"] .coming-soon-card,
html[data-theme="light"] .legal-highlight,
html[data-theme="light"] .legal-contact-card {
  box-shadow: 0 10px 30px rgba(24, 28, 44, 0.05);
}
.has-dropdown.open .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--soft);
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover { background: var(--surface-2); color: var(--text); }
.dropdown-item .ditem-name { font-weight: 500; }
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 20px 16px;
  background: var(--nav-mobile-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 4px;
  font-size: 15px;
  color: var(--soft);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-mobile a:last-child { border-bottom: none; margin-top: 10px; padding: 0; }
.nav-mobile .theme-toggle {
  width: 100%;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 0;
  padding: 10px 4px;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--soft);
  text-align: left;
}
.nav-mobile .theme-toggle:hover {
  background: transparent;
  color: var(--text);
}
.nav-mobile .theme-toggle__icon { font-size: 1em; }
.nav-mobile .theme-toggle__label { display: inline; font-size: inherit; font-weight: inherit; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  padding-bottom: 60px;
}
.hero-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(118deg, var(--gold) 0%, var(--violet-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--soft);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Product page hero variant */
.page-hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 72px;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ─── Product Cards (Landing) ────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 20px;
  margin-top: 56px;
}
.prod-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.prod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.prod-card--primary::before { background: linear-gradient(90deg, var(--violet), var(--violet-light), transparent); }
.prod-card--secondary::before { background: linear-gradient(90deg, var(--gold), transparent); }
.prod-card:hover { transform: translateY(-4px); }
.prod-card--primary:hover { border-color: rgba(157,112,245,0.2); }
.prod-card--secondary:hover { border-color: rgba(200,168,78,0.2); }

.prod-card__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.prod-card h3 {
  font-family: var(--font-head);
  font-size: 26px; font-weight: 700;
  line-height: 1.2; margin-bottom: 14px;
}
.prod-card p { font-size: 15px; color: var(--soft); line-height: 1.7; margin-bottom: 24px; }
.prod-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.prod-tag {
  font-size: 12px; padding: 4px 12px;
  border-radius: 100px; background: var(--surface-2);
  color: var(--soft); border: 1px solid var(--border);
}
.prod-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  transition: gap 0.2s;
}
.prod-card--primary .prod-card__link { color: var(--violet-light); }
.prod-card--secondary .prod-card__link { color: var(--gold); }
.prod-card__link:hover { gap: 10px; }

/* ─── About Section ──────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.stat-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.stat-card .stat-val {
  font-family: var(--font-head);
  font-size: 28px; font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card .stat-label { font-size: 13px; color: var(--muted); }
.about-points { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.about-point-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.about-point h4 {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 600; margin-bottom: 4px;
}
.about-point p { font-size: 14px; color: var(--soft); line-height: 1.65; }

/* ─── Tags ───────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
}
.tag--gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(200,168,78,0.2); }
.tag--violet { background: var(--violet-dim); color: var(--violet-light); border: 1px solid rgba(157,112,245,0.2); }
.tag--soft { background: var(--surface-2); color: var(--soft); border: 1px solid var(--border); }

.for-whom { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--border); }
.for-whom-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* ─── Feature Grid ───────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.feat-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}
.feat-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.feat-card--violet:hover { border-color: rgba(157,112,245,0.2); }
.feat-card--gold:hover { border-color: rgba(200,168,78,0.2); }
.feat-icon { font-size: 20px; margin-bottom: 14px; }
.feat-card h4 {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 600; margin-bottom: 8px;
}
.feat-card p { font-size: 14px; color: var(--soft); line-height: 1.6; }

/* ─── Split Layout ───────────────────────────────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.split-features { display: flex; flex-direction: column; gap: 28px; }
.feat-item { display: flex; gap: 18px; align-items: flex-start; }
.feat-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
}
.feat-num--gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(200,168,78,0.2); }
.feat-num--violet { background: var(--violet-dim); color: var(--violet-light); border: 1px solid rgba(157,112,245,0.2); }
.feat-item h4 { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feat-item p { font-size: 14px; color: var(--soft); line-height: 1.65; }

/* ─── Pricing ────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
  max-width: 700px;
}
.price-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.price-card--featured {
  border-color: rgba(157,112,245,0.25);
  background: linear-gradient(135deg, var(--surface), var(--featured-accent));
  position: relative;
}
.price-card--featured::before {
  content: 'Most Popular';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--violet);
  color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 0 0 8px 8px;
}
.price-tier { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.price-amount { font-family: var(--font-head); font-size: 36px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.price-amount span { font-size: 16px; font-weight: 500; color: var(--muted); }
.price-period { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.price-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.price-list li { font-size: 14px; color: var(--soft); display: flex; gap: 8px; }
.price-list li::before { content: '✓'; color: var(--violet-light); flex-shrink: 0; }
.price-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ─── CTA Bar ────────────────────────────────────────── */
.cta-bar {
  margin-top: 64px;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-bar p { font-size: 17px; color: var(--soft); max-width: 460px; line-height: 1.55; }
.cta-bar strong { color: var(--text); }
.cta-bar-btns { display: flex; gap: 12px; flex-shrink: 0; }

/* ─── Contact Section ────────────────────────────────── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-note {
  display: flex; gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-top: 32px;
}
.contact-note .note-icon { color: var(--gold); font-size: 16px; flex-shrink: 0; }
.contact-note p { font-size: 14px; color: var(--soft); line-height: 1.6; margin: 0; }

/* ─── Form ───────────────────────────────────────────── */
.contact-form {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text); }
.form-group input, .form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.service-toggle { display: flex; gap: 6px; flex-wrap: wrap; }
.svc-btn {
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.18s;
}
.svc-btn.active {
  color: var(--gold);
  border-color: rgba(200,168,78,0.4);
  background: var(--gold-dim);
}
.form-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }
.form-success {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 8px; margin-top: 12px;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.18);
  color: #4ade80; font-size: 14px;
}
.form-success.hidden { display: none; }

/* ─── Footer ─────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-block: 56px;
  gap: 40px;
}
.footer-brand .nav-logo { display: block; font-size: 18px; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 200px; }
.footer-links { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.18s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
}

/* ─── Process Steps ─────────────────────────────────── */
.process-wrap { margin-top: 48px; }
.process-steps { display: flex; flex-direction: column; }
.process-steps.hidden { display: none; }
.pstep {
  display: flex; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.pstep:last-child { border-bottom: none; }
.pstep-num {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  color: var(--muted); letter-spacing: 0.1em;
  min-width: 26px; margin-top: 2px; flex-shrink: 0;
}
.pstep h4 { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.pstep p { font-size: 14px; color: var(--soft); line-height: 1.7; }

/* ─── Oscar page styles ──────────────────────────────── */
.oscar-mark-wrap { position: relative; display: inline-flex; }
.oscar-mark {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #6d28d9, #4c1d95);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 34px; font-weight: 800; color: #fff;
  box-shadow: 0 8px 32px var(--violet-glow);
}
.oscar-beta { position: absolute; top: -8px; right: -8px; }

.oscar-header {
  display: flex; gap: 28px; align-items: flex-start;
  margin-bottom: 56px;
}

.coming-soon-card {
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--violet-light);
  margin-top: 56px;
}
.coming-soon-card h4 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.coming-soon-card p { font-size: 14px; color: var(--soft); line-height: 1.7; margin: 0; }

/* ─── Legal page styles ──────────────────────────────── */
.legal-wrap { max-width: 740px; margin-inline: auto; padding: 120px 24px 80px; }
.legal-app-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 10px; padding: 8px 16px; margin-bottom: 28px;
}
.legal-app-badge .lbadge-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--violet), #4c1d95);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #fff;
}
.legal-app-badge.violet { background: var(--violet-dim); border: 1px solid rgba(157,112,245,0.2); }
.legal-app-badge.violet span { font-size: 13px; color: var(--violet-light); font-weight: 500; }
.legal-app-badge.gold { background: var(--gold-dim); border: 1px solid rgba(200,168,78,0.2); }
.legal-app-badge.gold span { font-size: 13px; color: var(--gold); font-weight: 500; }
.legal-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.legal-meta {
  font-size: 13px; color: var(--muted);
  margin-bottom: 40px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  line-height: 1.8;
}
.legal-highlight {
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 3px solid var(--violet-light);
  border-radius: 8px; padding: 14px 18px; margin: 20px 0;
}
.legal-highlight.gold { border-left-color: var(--gold); }
.legal-highlight p { margin: 0; font-size: 14px; color: var(--soft); }
.legal-body h2 {
  font-family: var(--font-head); font-size: 19px; font-weight: 700;
  margin: 40px 0 12px; color: var(--text);
}
.legal-body h3 {
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  margin: 22px 0 8px; color: var(--text);
}
.legal-body p { font-size: 15px; color: var(--soft); line-height: 1.78; margin-bottom: 14px; }
.legal-body ul, .legal-body ol { margin: 10px 0 18px 18px; }
.legal-body li { font-size: 15px; color: var(--soft); line-height: 1.7; margin-bottom: 6px; }
.legal-body a { color: var(--violet-light); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-top: 36px;
}
.legal-contact-card p { margin: 0 0 4px; font-size: 14px; }
.legal-contact-card a { color: var(--gold); }
.pricing-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.pricing-table th {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  text-align: left; padding: 10px 14px;
  background: var(--surface-2); color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pricing-table td { padding: 10px 14px; font-size: 14px; color: var(--soft); border-bottom: 1px solid var(--border); }
.pricing-table tr:last-child td { border-bottom: none; }

html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-title,
html[data-theme="light"] .legal-title {
  color: #0f1326;
}
html[data-theme="light"] .nav-wrap.scrolled {
  box-shadow: 0 10px 30px rgba(24, 28, 44, 0.06);
}
html[data-theme="light"] .section--dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 241, 251, 0.96));
}
html[data-theme="light"] .btn-outline,
html[data-theme="light"] .btn-outline-sm {
  background: rgba(255, 255, 255, 0.72);
}
html[data-theme="light"] .btn-outline:hover,
html[data-theme="light"] .btn-outline-sm:hover {
  background: rgba(255, 255, 255, 0.96);
}
html[data-theme="light"] .contact-note,
html[data-theme="light"] .prod-tag,
html[data-theme="light"] .tag--soft {
  background: rgba(255, 255, 255, 0.78);
}

/* ─── Scroll animation ───────────────────────────────── */
[data-animate] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ─── Theme toggle (single in menu, matches nav text) ─── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.theme-toggle:hover { color: var(--text); background: var(--hover-bg); }
.theme-toggle__icon { font-size: 1em; line-height: 1; }
.theme-toggle__label { font-size: inherit; font-weight: inherit; }
.nav-links .theme-toggle { padding: 6px 12px; }
.nav-links .theme-toggle:hover { color: var(--text); background: var(--hover-bg); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .split-layout { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-bar { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .oscar-header { flex-direction: column; }
}
@media (max-width: 768px) {
  .section { padding-block: 60px; }
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle { margin-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .cta-bar { padding: 24px; }
  .cta-bar-btns { flex-direction: column; width: 100%; }
  .cta-bar-btns .btn { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(32px, 9vw, 48px); }
  .service-toggle { flex-direction: column; }
  .svc-btn { justify-content: center; }
  .pricing-grid { max-width: none; }
}
