/* ───────────────────────── Tokens ───────────────────────── */
:root {
  --bg:        #0A0A0A;
  --surface:   #1A1A1A;
  --surface-2: #2A2A2A;
  --gold:      #C9A84C;
  --gold-soft: #d8bd6e;
  --text:      #FFFFFF;
  --text-dim:  #9a9a9a;
  --text-mute: #6b6b6b;
  --border:    rgba(255, 255, 255, 0.08);
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1140px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }

/* ───────────────────────── Buttons ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.2px;
  padding: 14px 28px; border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #0A0A0A; }
.btn--primary:hover { transform: translateY(-2px); background: var(--gold-soft); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold); }

/* ───────────────────────── Navbar ───────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(10, 10, 10, 0.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { width: 36px; height: 36px; object-fit: contain; }
.nav__name { font-weight: 800; letter-spacing: 4px; font-size: 1.05rem; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  color: var(--text-dim); font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s var(--ease); position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold); transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

/* ───────────────────────── Hero ───────────────────────── */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.13) 0%, transparent 60%);
  z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero__logo { width: 72px; height: 72px; object-fit: contain; margin-bottom: 28px; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.hero__sub { margin-top: 24px; font-size: 1.12rem; color: var(--text-dim); max-width: 520px; }
.hero__cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 26px; font-size: 0.85rem; color: var(--text-mute); letter-spacing: 0.3px; }

/* ── Phone Mockup ── */
.hero__visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 280px; height: 560px;
  background: linear-gradient(160deg, #181818, #0d0d0d);
  border-radius: 42px; border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 0 0 6px #000;
  padding: 18px; display: flex; flex-direction: column;
}
.phone__notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #000; border-radius: 0 0 14px 14px; z-index: 3;
}
.cardstack { position: relative; flex: 1; margin-top: 14px; }
.swipecard {
  position: absolute; inset: 0; border-radius: 22px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.swipecard--back2 { transform: scale(0.9) translateY(20px); opacity: 0.4; }
.swipecard--back1 { transform: scale(0.95) translateY(10px); opacity: 0.7; }
.swipecard--front {
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  animation: cardFloat 5s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1.2deg); }
}
.swipecard__img {
  flex: 1;
  background:
    radial-gradient(circle at 30% 25%, rgba(201, 168, 76, 0.25), transparent 55%),
    linear-gradient(150deg, #3a3a3a, #1f1f1f);
  display: flex; align-items: center; justify-content: center;
}
.swipecard__sparkle { font-size: 2.4rem; color: var(--gold); opacity: 0.55; }
.swipecard__meta { display: flex; gap: 8px; padding: 14px; }
.swipecard__tag {
  font-size: 0.7rem; font-weight: 600; color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4); border-radius: 999px; padding: 4px 10px;
}
.swipecard__badge {
  position: absolute; top: 18px; right: 16px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
  padding: 6px 12px; border-radius: 8px; transform: rotate(8deg);
}
.swipecard__badge--like { color: #4CAF50; border: 2px solid #4CAF50; background: rgba(76, 175, 80, 0.1); }
.phone__controls { display: flex; justify-content: center; gap: 22px; padding: 18px 0 4px; }
.ctrl {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1.5px solid var(--border); font-size: 1.1rem;
}
.ctrl--no  { color: #E53935; border-color: rgba(229, 57, 53, 0.5); }
.ctrl--yes { color: var(--gold); border-color: rgba(201, 168, 76, 0.5); }
.ctrl--cart { color: var(--text-dim); }

/* ───────────────────────── Sections ───────────────────────── */
.section { padding: 96px 0; }
.section--alt { background: var(--surface); }
.section__head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.5px; }
.section__lead { margin-top: 18px; color: var(--text-dim); font-size: 1.08rem; }

/* ── Feature cards ── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.section--alt .card { background: var(--bg); }
.card:hover { transform: translateY(-6px); border-color: rgba(201, 168, 76, 0.4); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: rgba(201, 168, 76, 0.1); border: 1px solid rgba(201, 168, 76, 0.25);
  margin-bottom: 22px;
}
.card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.card__text { color: var(--text-dim); font-size: 0.95rem; }

/* ── Steps ── */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 240px; max-width: 320px; text-align: center;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 28px;
}
.step__num {
  width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: #0A0A0A; background: var(--gold);
}
.step__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.step__text { color: var(--text-dim); font-size: 0.96rem; }
.step__arrow { display: flex; align-items: center; color: var(--gold); font-size: 1.6rem; opacity: 0.6; }

/* ───────────────────────── CTA Band ───────────────────────── */
.ctaband { padding: 90px 0; text-align: center; background:
  radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.1), transparent 60%); }
.ctaband__title { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.ctaband__text { margin: 16px 0 30px; color: var(--text-dim); font-size: 1.08rem; }

/* ───────────────────────── Footer ───────────────────────── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 4px; }
.footer__brand .nav__name { margin-top: 4px; }
.footer__logo { width: 40px; height: 40px; object-fit: contain; }
.footer__tag { color: var(--text-mute); font-size: 0.9rem; margin-top: 12px; }
.footer__col h4 { font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--text-dim); font-size: 0.92rem; margin-bottom: 12px; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid var(--border); padding: 24px 0; }
.footer__bottom p { color: var(--text-mute); font-size: 0.85rem; }

/* ───────────────────────── Legal pages ───────────────────────── */
.legal { padding: 60px 0 100px; }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim);
  font-size: 0.9rem; margin-bottom: 36px; transition: color 0.2s var(--ease);
}
.legal__back:hover { color: var(--gold); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.legal__updated { color: var(--text-mute); font-size: 0.85rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin: 36px 0 12px; }
.legal__sub { font-size: 1.02rem; font-weight: 600; color: var(--text); margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--gold); }
.legal .placeholder {
  background: var(--surface); border: 1px dashed rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-sm); padding: 18px 20px; color: var(--text-mute);
  font-size: 0.9rem; margin: 8px 0 24px;
}

/* ───────────────────────── Reveal Animation ───────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .swipecard--front { animation: none; }
}

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { text-align: center; }
  .hero__logo { margin-left: auto; margin-right: auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .step__arrow { display: none; }
}

@media (max-width: 620px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 0.85rem; }
  .nav__name { display: none; }
  .hero { padding: 48px 0 70px; }
  .section { padding: 70px 0; }
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .footer__grid { grid-template-columns: 1fr; }
}
