:root {
  --primary: #1565C0;
  --accent: #2196F3;
  --bg: #121212;
  --surface: #1E1E1E;
  --surface2: #242424;
  --border: #2A2A2A;
  --text: #FFFFFF;
  --text-secondary: #9E9E9E;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18,18,18,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav { display: flex; align-items: center; gap: 0.25rem; }
nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
nav a.nav-cta {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 1rem;
}
nav a.nav-cta:hover { background: var(--accent); }

/* ── Hero ── */
.hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-text {
  flex: 1;
  min-width: 0;
}
.hero-phone {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
.phone-frame {
  position: relative;
  width: 220px;
  background: #1a1a1a;
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 0 0 1.5px #3a3a3a,
    0 32px 80px rgba(0,0,0,0.7),
    0 8px 24px rgba(0,0,0,0.4);
}
.phone-frame img {
  width: 100%;
  border-radius: 30px;
  display: block;
}
.hero-badge {
  display: inline-block;
  background: rgba(33,150,243,0.12);
  color: var(--accent);
  border: 1px solid rgba(33,150,243,0.3);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ── Download buttons ── */
.download-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  min-width: 180px;
  transition: transform 0.15s, opacity 0.15s;
}
.store-btn:hover { transform: translateY(-1px); opacity: 0.92; }

.apple-btn { background: #000; color: #fff; border: 1px solid #333; }
.android-btn { background: #2A2A2A; color: var(--text-secondary); border: 1px solid var(--border); cursor: default; }
.android-btn:hover { transform: none; opacity: 1; }
.android-btn-live { background: #1E3A1E; color: #fff; border: 1px solid #2E7D32; cursor: pointer; }
.android-btn-live:hover { transform: translateY(-1px); opacity: 0.92; }

.store-icon { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; text-align: left; }
.store-line1 { font-size: 0.7rem; opacity: 0.8; line-height: 1.2; }
.store-line2 { font-size: 1rem; font-weight: 700; line-height: 1.2; }

/* ── How It Works ── */
.how-it-works {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-it-works .container { text-align: center; }
.how-it-works h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.how-it-works .section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(33,150,243,0.15);
  border: 1px solid rgba(33,150,243,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.step h3 { font-size: 1rem; font-weight: 700; }
.step p { font-size: 0.9rem; color: var(--text-secondary); }

/* ── Features ── */
.features { padding: 5rem 0; }
.features h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.features .section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feature-icon { font-size: 1.75rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

/* ── Premium ── */
.premium {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.premium-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.premium-header h2 { font-size: 2rem; font-weight: 700; }
.price-badge {
  background: rgba(33,150,243,0.12);
  color: var(--accent);
  border: 1px solid rgba(33,150,243,0.3);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.premium-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.premium-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.15rem; }
.premium-item strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.premium-item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

.premium-cta { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 2.5rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  transition: background 0.15s;
}
.cta-btn:hover { background: var(--accent); }
.cta-note { color: var(--text-secondary); font-size: 0.85rem; }

/* ── Footer ── */
footer {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
footer p + p { margin-top: 0.5rem; }
footer a { color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--text); }
.footer-note { font-size: 0.75rem; color: #555; margin-top: 1rem; }

/* ── Responsive ── */
@media (max-width: 760px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 2.5rem; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .download-buttons { justify-content: center; }
  .hero-phone { order: -1; }
  .phone-frame { width: 180px; }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 0 2.5rem; }
  .store-btn { min-width: 155px; }
  .premium-header { flex-direction: column; align-items: flex-start; }
  nav a:not(.nav-cta) { display: none; }
}
