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

:root {
  --bg:       #0A0C12;
  --surface:  #13161F;
  --border:   #1E2235;
  --text:     #E8EAF0;
  --muted:    #5A6075;
  --accent:   #4F8EF7;
  --gold:     #D4AF37;
  --elite:    #B48AE0;
  --green:    #22C55E;
  --danger:   #EF4444;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(10,12,18,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900; letter-spacing: .5px;
  color: var(--text);
}
.nav-logo span { color: var(--accent); }
.logo-img { mix-blend-mode: screen; }
.nav-cta {
  background: var(--accent); color: #fff; border: none;
  border-radius: 8px; padding: 9px 20px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: inherit; text-decoration: none;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,142,247,.12) 0%, transparent 70%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 80px, rgba(255,255,255,.015) 80px, rgba(255,255,255,.015) 81px),
    repeating-linear-gradient(90deg,  transparent, transparent 80px, rgba(255,255,255,.015) 80px, rgba(255,255,255,.015) 81px);
}
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 10vw, 96px); font-weight: 900;
  line-height: .95; letter-spacing: -1px;
  margin-bottom: 24px; position: relative;
}
.hero h1 .line2 { color: var(--gold); display: block; }
.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px); color: var(--muted);
  max-width: 520px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trial-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  background: var(--accent); color: #fff; border: none;
  border-radius: 10px; padding: 15px 32px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  font-family: inherit; text-decoration: none;
  display: inline-block; transition: opacity .2s;
}
.btn-primary:hover { opacity: .88; }
.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 15px 32px; font-size: 16px; font-weight: 600;
  cursor: pointer; font-family: inherit; text-decoration: none;
  display: inline-block; transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── TICKER ──────────────────────────────────────────────────── */
.ticker {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner {
  display: inline-flex; gap: 60px;
  animation: ticker 24s linear infinite;
}
.ticker-item {
  font-size: 13px; font-weight: 600; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.ticker-item span { color: var(--gold); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTIONS ────────────────────────────────────────────────── */
section { padding: 96px 24px; max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 6vw, 58px); font-weight: 900;
  line-height: 1; margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 17px; max-width: 520px; }

/* ── FEATURES ────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin-top: 56px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  position: relative; overflow: hidden; transition: border-color .2s;
}
.feature-card:hover { border-color: rgba(79,142,247,.4); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.accent-line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity .2s;
}
.feature-card:hover .accent-line { opacity: 1; }

/* ── TIERS ───────────────────────────────────────────────────── */
.tiers-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tiers-section section { max-width: 1100px; }
.tiers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 48px;
}
@media (max-width: 700px) { .tiers-grid { grid-template-columns: 1fr 1fr; } }
.tier-card {
  border-radius: 14px; padding: 20px;
  text-align: center; border: 1px solid transparent;
}
.tier-card .t-badge { font-size: 32px; margin-bottom: 10px; }
.tier-card .t-name  { font-weight: 900; font-size: 18px; margin-bottom: 4px; }
.tier-card .t-range { font-size: 12px; opacity: .75; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; margin-top: 56px; position: relative;
}
.steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%;
  height: 1px; background: var(--border);
}
.step { text-align: center; padding: 0 16px; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent);
  color: var(--accent); font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
}
.step h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.step p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── PHONE MOCKUP ────────────────────────────────────────────── */
.phone-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 700px) {
  .phone-section { grid-template-columns: 1fr; }
  .phone-mockup  { order: -1; }
}
.phone-mockup { display: flex; justify-content: center; }
.phone-frame {
  width: 260px; background: var(--surface);
  border: 2px solid var(--border); border-radius: 36px; padding: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.04);
  position: relative;
}
.phone-notch { width: 80px; height: 6px; background: var(--border); border-radius: 4px; margin: 0 auto 16px; }
.phone-screen { background: #0F1117; border-radius: 24px; overflow: hidden; }
.ps-header { background: #181C26; padding: 12px; border-bottom: 1px solid #2A2F40; }
.ps-title  { font-weight: 900; font-size: 14px; }
.ps-sub    { font-size: 9px; color: #6B7280; }
.ps-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
.ps-tile   { border-radius: 10px; padding: 10px; }
.ps-tile .ps-n { font-weight: 900; font-size: 18px; }
.ps-tile .ps-l { font-size: 9px; font-weight: 700; opacity: .8; }
.ps-contact { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #2A2F40; }
.ps-avatar  { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; flex-shrink: 0; }
.ps-info    { flex: 1; }
.ps-name    { font-weight: 700; font-size: 11px; }
.ps-detail  { font-size: 9px; color: #6B7280; }
.ps-spent   { font-size: 10px; font-weight: 800; }

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing-card {
  max-width: 440px; margin: 56px auto 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(79,142,247,.2), 0 40px 80px rgba(0,0,0,.4);
}
.pricing-top {
  background: linear-gradient(135deg, rgba(79,142,247,.15), rgba(79,142,247,.05));
  padding: 36px; text-align: center; border-bottom: 1px solid var(--border);
}
.pricing-badge {
  display: inline-block;
  background: rgba(79,142,247,.15); color: var(--accent);
  border: 1px solid rgba(79,142,247,.3); border-radius: 20px;
  padding: 4px 14px; font-size: 12px; font-weight: 700; margin-bottom: 16px;
}
.pricing-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 72px; font-weight: 900; line-height: 1;
}
.pricing-price sub {
  font-size: 24px; font-family: 'Inter', sans-serif;
  font-weight: 700; vertical-align: top; margin-top: 12px; display: inline-block;
}
.pricing-price sup {
  font-size: 18px; font-family: 'Inter', sans-serif; color: var(--muted);
}
.pricing-period { color: var(--muted); font-size: 14px; margin-top: 4px; }
.pricing-features { padding: 32px 36px; }
.pricing-feature { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.pricing-feature .check { color: var(--green); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.pricing-feature span  { font-size: 15px; color: var(--text); }
.pricing-cta { padding: 0 36px 36px; }
.pricing-cta a {
  display: block; text-align: center;
  background: var(--accent); color: #fff; border-radius: 12px;
  padding: 16px; font-size: 17px; font-weight: 800;
  text-decoration: none; transition: opacity .2s;
}
.pricing-cta a:hover { opacity: .88; }
.pricing-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ── INSTALL ─────────────────────────────────────────────────── */
.install-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 48px;
}
@media (max-width: 600px) { .install-cards { grid-template-columns: 1fr; } }
.install-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.install-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.install-step { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.install-step .n {
  background: var(--accent); color: #fff;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.install-step p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { margin-top: 48px; max-width: 680px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; cursor: pointer; }
.faq-q { font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .arrow { color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.faq-q.open .arrow { transform: rotate(180deg); color: var(--accent); }
.faq-a { font-size: 14px; color: var(--muted); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; }
.faq-a.open { max-height: 200px; padding-top: 12px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 40px 24px; text-align: center;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 900; margin-bottom: 8px;
}
.footer-logo span { color: var(--accent); }
footer p { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; justify-content: center; margin: 16px 0; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ── APP PREVIEW / SCREENSHOTS ───────────────────────────────── */
#app-preview { text-align: center; }
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  align-items: start;
}
.screenshot-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-frame {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 9 / 19;
  background: #0A0C12;
  border: 3px solid #2a2d3a;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 6px; background: #1a1d28;
  border-radius: 0 0 8px 8px; z-index: 2;
}
.phone-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
  pointer-events: none;
}
.screenshot-label { font-size: 15px; font-weight: 800; }
.screenshot-desc { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 180px; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 600px) {
  nav { padding: 12px 16px; }
  .steps::before { display: none; }
  .steps { gap: 32px; }
  .phone-section { gap: 40px; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .phone-frame { max-width: 160px; }
}
