/* ── Fonts ────────────────────────────────────────────────── */
@font-face {
  font-family: 'Urbane Rounded';
  src: url('UrbaneRounded-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Urbane Rounded';
  src: url('UrbaneRounded-DemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg:          #3D3640;
  --bg-deep:     #332E36;
  --bg-card:     #4A434D;
  --bg-input:    #353035;
  --gold:        #FFD470;
  --gold-dim:    rgba(255, 212, 112, 0.15);
  --coral:       #EF8A8E;
  --coral-dim:   rgba(239, 138, 142, 0.12);
  --text:        #FFFEFA;
  --text-dim:    #B0A8B4;
  --text-muted:  #887F8C;
  --radius:      20px;
  --radius-sm:   12px;
  --max-w:       720px;
  --max-w-wide:  1040px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Urbane Rounded', -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Ambient glow background ─────────────────────────────── */
.glow-bg {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: -1;
  overflow: hidden;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  will-change: transform;
}
.glow-orb.gold-orb {
  width: 600px; height: 600px;
  background: var(--gold);
  top: -10%; left: -5%;
  animation: drift-1 18s ease-in-out infinite;
}
.glow-orb.coral-orb {
  width: 500px; height: 500px;
  background: var(--coral);
  bottom: -10%; right: -8%;
  animation: drift-2 22s ease-in-out infinite;
}
.glow-orb.soft-orb {
  width: 450px; height: 450px;
  background: #C4A0E8;
  top: 40%; left: 50%;
  opacity: 0.08;
  animation: drift-3 26s ease-in-out infinite;
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(12vw, 8vh) scale(1.1); }
  50%      { transform: translate(5vw, 18vh) scale(0.9); }
  75%      { transform: translate(-6vw, 10vh) scale(1.05); }
}
@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(-10vw, -12vh) scale(0.95); }
  50%      { transform: translate(-4vw, -6vh) scale(1.12); }
  75%      { transform: translate(8vw, -14vh) scale(0.9); }
}
@keyframes drift-3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  33%      { transform: translate(-40%, -10vh) scale(1.15); }
  66%      { transform: translate(-60%, 8vh) scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .glow-orb { animation: none; }
}

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

/* ── Navbar ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(61, 54, 64, 0.85);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w-wide); margin: 0 auto;
  padding: 14px 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 600;
  color: var(--text); text-decoration: none;
}
.nav-brand img {
  width: 36px; height: auto;
  object-fit: contain;
}
.nav-brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-dim); font-size: 0.9rem; font-weight: 300;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 24px 64px;
  max-width: 800px; margin: 0 auto;
  position: relative;
}
.hero-logo {
  width: 96px; height: auto;
  object-fit: contain; margin-bottom: 32px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.3));
}
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.18;
}
.hero h1 .gold { color: var(--gold); }
.hero h1 .coral { color: var(--coral); }
.hero .subtitle {
  margin-top: 20px; font-size: 1.15rem;
  color: var(--text-dim); max-width: 520px; margin-inline: auto;
  line-height: 1.7;
}

/* ── Store badges ────────────────────────────────────────── */
.store-badges {
  display: flex; gap: 14px;
  justify-content: center; margin-top: 40px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 14px 28px;
  color: var(--text); font-size: 0.95rem; font-weight: 300;
  transition: all .2s ease;
  text-decoration: none;
}
.store-badge:not(.disabled):hover {
  border-color: var(--gold); background: var(--bg-input);
  text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 212, 112, .1);
}
.store-badge.disabled {
  opacity: 0.45; cursor: default; pointer-events: none;
}
.store-badge .badge-label { display: flex; flex-direction: column; }
.store-badge .badge-sub {
  font-size: 0.7rem; font-weight: 400; color: var(--text-dim);
  letter-spacing: 0.02em;
}
.store-badge .badge-main { font-size: 1rem; font-weight: 600; }
.store-badge svg { flex-shrink: 0; }

/* ── Section divider ─────────────────────────────────────── */
.divider {
  max-width: var(--max-w-wide); margin: 0 auto;
  border: none; border-top: 1px solid rgba(255,255,255,.06);
}

/* ── Section header ──────────────────────────────────────── */
.section-header {
  text-align: center;
  padding: 64px 24px 32px;
  max-width: var(--max-w); margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600; letter-spacing: -0.01em;
}
.section-header p {
  margin-top: 12px; color: var(--text-dim); font-size: 1.05rem;
  max-width: 480px; margin-inline: auto;
}

/* ── Features grid ───────────────────────────────────────── */
.features {
  max-width: var(--max-w-wide); margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .2s ease;
}
.feature-card:hover {
  border-color: rgba(255,255,255,.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.3rem;
}
.feature-icon.gold-bg { background: var(--gold-dim); }
.feature-icon.coral-bg { background: var(--coral-dim); }
.feature-card h3 {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 8px;
}
.feature-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }

/* ── Phone showcase ───────────────────────────────────────── */
.showcase {
  padding: 0 0 80px;
}
.showcase-scroll {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 20px;
  max-width: 1100px; margin: 0 auto;
  padding: 20px 32px 32px;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.showcase-scroll::-webkit-scrollbar { display: none; }

/* Phone frame */
.phone {
  flex-shrink: 0;
  width: 180px;
  scroll-snap-align: center;
  transition: transform .3s ease;
}
.phone:hover { transform: translateY(-6px); }
.phone-frame {
  position: relative;
  background: #1A1618;
  border-radius: 28px;
  padding: 10px;
  box-shadow:
    0 16px 48px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.06),
    inset 0 0 0 1px rgba(255,255,255,.04);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 18px;
  background: #1A1618;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: var(--bg);
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.phone-label {
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* Hero phone (center, larger) */
.phone.hero-phone {
  width: 220px;
}
.phone.hero-phone .phone-frame {
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 24px 80px rgba(255, 212, 112, .1),
    0 20px 60px rgba(0,0,0,.4),
    0 0 0 1px rgba(255, 212, 112, .08),
    inset 0 0 0 1px rgba(255,255,255,.04);
}
.phone.hero-phone .phone-notch {
  top: 12px; width: 72px; height: 20px;
}
.phone.hero-phone .phone-screen {
  border-radius: 22px;
}

/* Tilt effect on side phones */
.phone.tilt-left {
  transform: perspective(800px) rotateY(4deg);
}
.phone.tilt-left:hover {
  transform: perspective(800px) rotateY(4deg) translateY(-6px);
}
.phone.tilt-right {
  transform: perspective(800px) rotateY(-4deg);
}
.phone.tilt-right:hover {
  transform: perspective(800px) rotateY(-4deg) translateY(-6px);
}

@media (max-width: 900px) {
  .showcase-scroll {
    justify-content: flex-start;
    padding: 20px 24px 32px;
    gap: 16px;
  }
  .phone { width: 170px; }
  .phone.hero-phone { width: 200px; }
  .phone.tilt-left, .phone.tilt-right,
  .phone.tilt-left:hover, .phone.tilt-right:hover {
    transform: none;
  }
  .phone:hover { transform: translateY(-4px); }
}

/* ── CTA section ─────────────────────────────────────────── */
.cta {
  text-align: center;
  padding: 80px 24px;
  position: relative;
}
.cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.cta p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 32px; }
.cta-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #2A2428;
  font-size: 1rem; font-weight: 600;
  padding: 16px 36px; border-radius: var(--radius);
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 4px 16px rgba(255, 212, 112, .25);
}
.cta-button:not(.disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 212, 112, .35);
  text-decoration: none;
}
.cta-button.disabled {
  opacity: 0.45; cursor: default;
}

/* ── Legal pages (privacy, terms) ────────────────────────── */
.legal {
  max-width: var(--max-w); margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal h1 {
  font-size: 2rem; font-weight: 600; margin-bottom: 8px;
}
.legal .updated {
  color: var(--text-dim); font-size: 0.9rem; margin-bottom: 40px;
}
.legal h2 {
  font-size: 1.15rem; font-weight: 600;
  margin-top: 40px; margin-bottom: 12px;
  color: var(--gold);
}
.legal a { color: var(--coral); }
.legal a:hover { color: var(--coral); }
.legal p, .legal li {
  font-size: 0.95rem; color: var(--text-dim);
  margin-bottom: 12px; line-height: 1.7;
}
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }

/* ── Support page ────────────────────────────────────────── */
.support {
  max-width: var(--max-w); margin: 0 auto;
  padding: 48px 24px 80px; text-align: center;
}
.support h1 {
  font-size: 2rem; font-weight: 600; margin-bottom: 12px;
}
.support .subtitle {
  color: var(--text-dim); font-size: 1.05rem; margin-bottom: 48px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; text-align: left;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.support-card h3 { margin-bottom: 10px; font-size: 1.05rem; font-weight: 600; }
.support-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 8px; }
.support-card a { font-weight: 600; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px 80px; text-align: left;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.06); }
.faq-item h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.faq-item p { color: var(--text-dim); font-size: 0.92rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 32px 24px;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-w-wide); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--text-dim); }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-inner { padding: 12px 16px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.82rem; }
  .hero { padding: 64px 16px 48px; }
  .hero-logo { width: 72px; }
  .section-header { padding: 48px 16px 24px; }
  .features { padding: 0 16px 64px; }
  .cta { padding: 64px 16px; }
  .legal { padding: 32px 16px 64px; }
  .support { padding: 32px 16px 48px; }
  .faq { padding: 0 16px 64px; }
  .store-badges { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 280px; justify-content: center; }
}
