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

:root {
  --bg:         #0D0D1A;
  --card:       #1A1A2E;
  --card-alt:   #232340;
  --border:     #2E2E4A;
  --primary:    #7B5EA7;
  --primary-lt: #9B7EC8;
  --gold:       #D4AF37;
  --text:       #F0EEF8;
  --muted:      #A0A0B8;
  --dim:        #606080;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill:9999px;
  --max-w:      1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ──────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: rgba(13,13,26,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.logo-img { width: 30px; height: 30px; border-radius: 8px; }
.logo-text {
  font-size: 17px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-lt), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.2px;
}

.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--primary); }
.lang-toggle-inner {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 0;
  text-align: center;
}

.hero-glow-a {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(212,175,55,0.08);
  top: -180px; right: -160px;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow-b {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(123,94,167,0.10);
  bottom: 0; left: -140px;
  pointer-events: none;
  filter: blur(80px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212,175,55,0.35);
  background: rgba(212,175,55,0.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--primary-lt) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn-primary {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: #0D0D1A;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); text-decoration: none; }

.btn-secondary {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-1px); text-decoration: none; }

.hero-social {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 48px;
}

/* Hero phone */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.hero-phone {
  width: 160px;
  position: relative;
}
.hero-phone .phone-frame {
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  border: 2px solid var(--border);
  border-bottom: none;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  /* clip to just the top ~55% so it peeks above the fold */
  max-height: 220px;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.hero-phone .phone-frame img {
  width: 100%;
  display: block;
}

/* ── Stats Strip ──────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 40px;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-lt), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; text-align: center; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Section Base ─────────────────────────────── */
.section { padding: 80px 0; }
.section-alt {
  background: rgba(26,26,46,0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
  color: var(--text);
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ── Feature Showcase ─────────────────────────── */
.feature-showcase {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.feature-showcase-alt { background: rgba(26,26,46,0.35); }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }

/* Phone frame */
.feature-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  width: 260px;
  border-radius: 40px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}
.phone-frame img {
  width: 100%;
  display: block;
}

/* Phone pair (two overlapping phones) */
.phone-pair {
  position: relative;
  height: 480px;
}
.phone-pair .phone-frame { position: absolute; width: 230px; }
.phone-pair .phone-back {
  top: 20px; left: 0;
  transform: rotate(-4deg);
  opacity: 0.7;
  z-index: 1;
}
.phone-pair .phone-front {
  top: 0; right: 0;
  transform: rotate(3deg);
  z-index: 2;
}

/* Feature text */
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(from var(--tag-color, #D4AF37) r g b / 0.3);
  background: rgba(from var(--tag-color, #D4AF37) r g b / 0.08);
  color: var(--tag-color, var(--gold));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Fallback for browsers without CSS color-mix */
.feature-tag {
  border-color: rgba(212,175,55,0.3);
  background: rgba(212,175,55,0.08);
}

.feature-heading {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}

.feature-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

/* ── Mini Feature Pills ───────────────────────── */
.mini-features {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.mini-features .section-eyebrow { margin-bottom: 32px; }

.pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.pill-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.pill-card:hover { border-color: rgba(123,94,167,0.45); transform: translateY(-1px); }

.pill-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }

.pill-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.pill-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Contact Box ──────────────────────────────── */
.contact-box {
  text-align: center;
  max-width: 540px;
}
.contact-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0 auto 24px;
  display: block;
}
.legal-links {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--text); text-decoration: none; }
.dot { color: var(--dim); }

/* ── Disclaimer ───────────────────────────────── */
.disclaimer-box {
  background: rgba(212,175,55,0.04);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  font-size: 13px;
  color: var(--dim);
  max-width: 820px;
  line-height: 1.75;
}
.disclaimer-box strong { color: var(--gold); }

/* ── Footer ───────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: var(--card);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { font-size: 12px; color: var(--dim); }

/* ── Legal Pages ──────────────────────────────── */
.legal-page { padding: 60px 0 80px; }
.legal-container { max-width: 760px; }
.legal-container h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--text); }
.legal-date { color: var(--dim); font-size: 13px; margin-bottom: 32px; }
.legal-container h2 { font-size: 18px; font-weight: 700; margin-top: 40px; margin-bottom: 12px; color: var(--text); }
.legal-container h3 { font-size: 15px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; color: var(--text); }
.legal-container p { font-size: 14px; color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.legal-container ul { margin: 12px 0 16px 20px; }
.legal-container li { font-size: 14px; color: var(--muted); margin-bottom: 8px; line-height: 1.65; }
.legal-container a { color: var(--gold); }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .feature-row-reverse { direction: ltr; }
  .feature-row .feature-phone { order: -1; }
  .feature-row-reverse .feature-phone { order: -1; }
  .phone-frame { width: 220px; margin: 0 auto; }
  .phone-pair { height: 400px; }
  .phone-pair .phone-back { left: 10px; }
  .phone-pair .phone-front { right: 10px; }
  .feature-list li { text-align: left; }
  .pills-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 0 20px; }
}

@media (max-width: 600px) {
  .nav { padding: 12px 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
  .hero { padding: 60px 20px 0; }
  .section { padding: 56px 0; }
  .feature-showcase { padding: 48px 0; }
  .hero-glow-a, .hero-glow-b { display: none; }
  .stat-divider { display: none; }
  .stats-inner { gap: 24px; }
  .hero-phone { width: 160px; }
}
