/* ─────────────────────────────────────────────
   Apex Landing Page
   Theme: Deep Moss + Gold (matches app theme)
   Font:  Nunito
   ───────────────────────────────────────────── */

:root {
  --bg-base:       #111D13;
  --bg-primary:    #1E3320;
  --bg-surface:    #263D28;
  --bg-surface-alt:#1A2E1C;
  --bg-overlay:    #0D160E;

  --border-subtle: #2F4A32;
  --border-strong: #3F653F;

  --text-primary:  #EEE9DF;
  --text-secondary:#8BAE85;
  --text-muted:    #567852;

  --primary:       #6DBF6D;
  --primary-dark:  #4A9B4A;
  --primary-light: #2F4A32;

  --accent:        #C4A24A;
  --accent-dark:   #A07C28;
  --accent-light:  #352E10;

  --radius-md:     8px;
  --radius-lg:     12px;
  --radius-xl:     16px;
  --radius-xxl:    20px;
  --radius-full:   9999px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 29, 19, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-base);
}

/* ─── HERO ─── */
.hero {
  padding-top: 100px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px 0;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.hero-text {
  flex: 1;
  padding-top: 40px;
}
.hero-text h1 {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--text-primary);
}
.hero-text h1 em {
  font-style: italic;
  color: var(--primary);
}
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 440px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 36px;
  background: var(--primary);
  color: var(--bg-base);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(109, 191, 109, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(109, 191, 109, 0.35);
}
.btn-lg {
  padding: 18px 48px;
  font-size: 18px;
}

/* ─── PHONE MOCKUP ─── */
.hero-phone {
  flex-shrink: 0;
  width: 320px;
  position: relative;
}
.phone-frame {
  background: #0D160E;
  border-radius: 40px;
  border: 3px solid var(--border-strong);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(109,191,109,0.1);
  overflow: hidden;
}
.phone-screenshot {
  display: block;
  width: 100%;
  border-radius: 32px;
}

/* ─── HERO BAND ─── */
.hero-band {
  background: var(--primary-light);
  margin-top: 60px;
  padding: 48px 32px;
  border-top: 1px solid var(--border-subtle);
}
.hero-band-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.band-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 500px;
}
.band-bottom {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.band-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}
.store-badges {
  display: flex;
  gap: 12px;
}
.store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  transition: all 0.2s;
}
.store-badge:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-base);
}

/* ─── FEATURES ─── */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
  color: var(--text-primary);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xxl);
  padding: 32px;
  transition: all 0.25s;
}
.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  background: var(--bg-primary);
  padding: 100px 32px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.step {
  flex: 1;
  text-align: center;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.step-arrow {
  color: var(--text-muted);
  font-size: 24px;
  margin-top: 12px;
  flex-shrink: 0;
}

/* ─── CTA ─── */
.cta {
  text-align: center;
  padding: 100px 32px;
  max-width: 600px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}
.footer-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-text { padding-top: 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-phone { width: 280px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-wrap: wrap; justify-content: center; }
  .step-arrow { display: none; }
  .step { min-width: 200px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-phone { width: 260px; }
}
