@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --void: #0a0908;
  --charcoal: #131210;
  --panel: #1a1815;
  --panel-border: #2a2620;
  --gold: #ffd700;
  --gold-deep: #b8860b;
  --gold-dim: #8a6d1f;
  --cream: #f5f1e6;
  --grey: #9c9689;
  --grey-dim: #6b6558;
  --ember: #e5484d;
  --sapphire: #4a90d9;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 215, 0, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(184, 134, 11, 0.06), transparent);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3, .eyebrow, .stat-num {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold-dim);
}

.gold-text {
  background: linear-gradient(120deg, #fff3b0 0%, var(--gold) 35%, var(--gold-deep) 70%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 9, 8, 0.72);
  border-bottom: 1px solid var(--panel-border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 0.88rem;
  color: var(--grey);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(135deg, #ffe98a, var(--gold) 45%, var(--gold-deep));
  color: #1a1400;
  box-shadow: 0 8px 24px -8px rgba(255, 215, 0, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(255, 215, 0, 0.7); }
.btn-ghost {
  border-color: var(--panel-border);
  color: var(--cream);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--gold-dim); }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.14;
  color: var(--cream);
}
.hero p.lede {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--grey);
  max-width: 46ch;
}
.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 46px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-trust div { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 600;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dim);
}

/* --- Conversation demo (signature element) --- */
.convo-demo {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--charcoal));
  border: 1px solid var(--panel-border);
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
}
.convo-demo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,215,0,0.35), transparent 40%, transparent 60%, rgba(255,215,0,0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.convo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.convo-top .brand span { font-size: 0.92rem; }
.convo-limit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--grey-dim);
}
.convo-bar {
  height: 4px;
  background: var(--panel-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.convo-bar span {
  display: block;
  height: 100%;
  width: 66%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 999px;
}
.convo-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 20px 22px;
}
.convo-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}
.convo-line {
  font-size: 1.18rem;
  min-height: 1.6em;
  transition: opacity 0.3s ease;
}
.convo-line.rtl { direction: rtl; font-family: 'Manrope', sans-serif; }
.convo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}
.mic-pulse {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 0 0 rgba(255,215,0,0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,215,0,0.45); }
  70% { box-shadow: 0 0 0 16px rgba(255,215,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
}
.mic-pulse svg { width: 20px; height: 20px; fill: #1a1400; }

/* ---------- Sections shared ---------- */
section { padding: 110px 0; position: relative; }
.section-head { max-width: 620px; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--cream);
}
.section-head p {
  margin-top: 16px;
  color: var(--grey);
  font-size: 1.02rem;
}

/* ---------- Why section ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.why-card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }
.why-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,215,0,0.16), rgba(255,215,0,0.03));
  border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.why-card h3 { font-size: 1.08rem; font-weight: 600; color: var(--cream); margin-bottom: 10px; }
.why-card p { color: var(--grey); font-size: 0.94rem; }

/* ---------- Features (alternating showcase) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--panel-border);
}
.feature-row:last-child { border-bottom: 1px solid var(--panel-border); }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-eyebrow-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 14px;
  display: block;
}
.feature-text h3 {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
}
.feature-text p { color: var(--grey); font-size: 1rem; max-width: 42ch; }
.feature-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--cream); font-size: 0.94rem;
}
.feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}
.phone-frame {
  max-width: 260px;
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,0.8);
}
.phone-frame img { width: 100%; }

/* ---------- Languages strip ---------- */
.lang-strip {
  background: var(--charcoal);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  padding: 60px 0;
}
.lang-strip .wrap { text-align: center; }
.lang-strip .eyebrow { justify-content: center; }
.lang-strip .eyebrow::before, .lang-strip .eyebrow::after {
  content: '';
  width: 26px; height: 1px;
  background: var(--gold-dim);
}
.lang-marquee {
  margin-top: 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 2.2;
  letter-spacing: 0.02em;
}
.lang-marquee span { color: var(--gold-dim); margin: 0 10px; }

/* ---------- Screenshots gallery ---------- */
.gallery-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 20px;
}
.gallery-track .phone-frame { max-width: 100%; border-radius: 22px; }

/* ---------- Download CTA ---------- */
.cta-band {
  border-radius: 28px;
  background: linear-gradient(135deg, var(--panel), var(--charcoal) 60%);
  border: 1px solid var(--panel-border);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,215,0,0.14), transparent 65%);
  top: -220px; right: -160px;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--cream);
  position: relative;
}
.cta-band p {
  margin: 16px auto 34px;
  color: var(--grey);
  max-width: 46ch;
  position: relative;
}
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}
.badge-soon .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.2s infinite;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--panel-border);
  padding: 50px 0 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand span { font-family: 'Cinzel', serif; font-size: 0.92rem; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 0.86rem; color: var(--grey); }
.footer-links a:hover { color: var(--gold); }
.footer-note {
  margin-top: 34px;
  font-size: 0.8rem;
  color: var(--grey-dim);
  border-top: 1px solid var(--panel-border);
  padding-top: 24px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal {
  padding: 160px 0 100px;
  max-width: 780px;
  margin: 0 auto;
}
.legal h1 { font-size: 2.1rem; font-weight: 600; margin-bottom: 8px; }
.legal .updated { color: var(--grey-dim); font-size: 0.85rem; margin-bottom: 46px; }
.legal h2 {
  font-size: 1.2rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--gold);
}
.legal p, .legal li { color: var(--grey); font-size: 0.96rem; margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { color: var(--gold); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 34px; }
  .feature-row.reverse .feature-text, .feature-row.reverse .feature-visual { order: initial; }
  .gallery-track { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 50px 26px; }
  .footer-grid { flex-direction: column; }
}
@media (max-width: 520px) {
  .gallery-track { grid-template-columns: 1fr 1fr; }
  section { padding: 76px 0; }
  .hero { padding: 130px 0 70px; }
}
