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

:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #eff6ff;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --radius: 14px;
}

/* ── Lucide icon helpers ── */
[data-lucide] { display: inline-block; vertical-align: middle; }
.badge-icon   { width: 13px; height: 13px; stroke: #a5b4fc; }
.btn-icon-sm  { width: 15px; height: 15px; flex-shrink: 0; }
.check-icon   { width: 14px; height: 14px; color: var(--success); flex-shrink: 0; }
.star-icon    { width: 12px; height: 12px; fill: currentColor; }
.chip-icon    { width: 16px; height: 16px; color: #94a3b8; flex-shrink: 0; }
.install-hero-icon { width: 40px; height: 40px; stroke: #60a5fa; stroke-width: 1.5; }
.ok-icon      { width: 16px; height: 16px; color: #4ade80; flex-shrink: 0; }
.inline-icon  { width: 13px; height: 13px; }
.heart-icon   { width: 13px; height: 13px; fill: #f43f5e; stroke: #f43f5e; }

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

/* ── NAV ── */
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  text-decoration: none;
}
.nav-logo { width: 32px; height: 32px; }
/* Nav-specific outline button (white on dark bg) */
.nav .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}
.nav .btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--brand);
  color: white;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-light); }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; margin-top: 1.5rem; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  color: white;
  padding-bottom: 3rem;
}
.hero-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.4);
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.hero-note { font-size: 0.8rem; color: #64748b; }

/* Stats row */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 500px;
  margin: 2rem auto 0;
  padding: 1.25rem 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: white; }
.stat span { font-size: 0.8rem; color: #64748b; }
.stat-divider { width: 1px; height: 2rem; background: rgba(255,255,255,0.1); }

/* ── SECTIONS ── */
.section { padding: 4rem 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
  text-align: center;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── FEATURES GRID ── */
.features-section { background: white; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
/* Feature icon colour variants */
.feature-icon [data-lucide] { width: 22px; height: 22px; stroke-width: 1.75; }
.fi-blue   { background: #dbeafe; color: #2563eb; }
.fi-green  { background: #d1fae5; color: #059669; }
.fi-yellow { background: #fef9c3; color: #d97706; }
.fi-pink   { background: #fce7f3; color: #db2777; }
.fi-purple { background: #ede9fe; color: #7c3aed; }
.fi-orange { background: #ffedd5; color: #ea580c; }
.fi-teal   { background: #ccfbf1; color: #0d9488; }
.fi-indigo { background: #e0e7ff; color: #4f46e5; }
.fi-amber  { background: #fef3c7; color: #d97706; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }

/* ── STEPS ── */
.steps-section { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.step-body p { font-size: 0.875rem; color: var(--muted); }
.step-connector {
  width: 2px;
  height: 24px;
  background: var(--border);
  margin: 0 auto;
  margin-left: 29px;
}
.steps-cta { text-align: center; margin-top: 2rem; }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.pricing-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  background: white;
  position: relative;
}
.pricing-popular {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.plan-price { margin-bottom: 1.25rem; }
.plan-price span { font-size: 1.75rem; font-weight: 800; color: var(--text); }
.plan-price { font-size: 0.875rem; color: var(--muted); }
.plan-features { list-style: none; space-y: 0.5rem; }
.plan-features li {
  font-size: 0.875rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.plan-features li:last-child { border-bottom: none; }

/* ── INSTALL SECTION ── */
.install-section { background: white; }
.install-card-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border-radius: 20px;
  padding: 3rem;
  color: white;
}
@media (max-width: 640px) {
  .install-card-main { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .stats-row { gap: 1.25rem; }
  .stat-divider { display: none; }
}
.install-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.install-info h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; }
.install-info p { color: #94a3b8; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.device-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #e2e8f0;
  margin-bottom: 1rem;
}
#install-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s;
}
#install-btn:hover { background: #1d4ed8; }
#manual-instructions {
  background: rgba(255,255,255,0.07);
  border-left: 3px solid #60a5fa;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}
.already-installed {
  color: #4ade80;
  font-size: 0.95rem;
  font-weight: 500;
}
.already-installed a { color: #60a5fa; text-decoration: none; display: inline-flex; align-items: center; gap: 0.25rem; }
.already-installed { display: flex; align-items: center; gap: 0.5rem; }
.benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.benefit:last-child { border-bottom: none; }
.benefit-icon-wrap {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon-wrap [data-lucide] { width: 18px; height: 18px; stroke-width: 2; }
.bi-yellow { background: rgba(250,204,21,0.15); color: #fbbf24; }
.bi-blue   { background: rgba(96,165,250,0.15); color: #60a5fa; }
.bi-purple { background: rgba(167,139,250,0.15); color: #a78bfa; }
.bi-green  { background: rgba(52,211,153,0.15); color: #34d399; }
.benefit strong { display: block; font-size: 0.9rem; color: white; }
.benefit p { font-size: 0.8rem; color: #64748b; margin-top: 0.15rem; }
/* Install hero icon wrapper */
.install-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(96,165,250,0.12);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
/* Plan features with icon */
.plan-features li { display: flex; align-items: center; gap: 0.5rem; }

/* ── FOOTER ── */
.footer {
  background: #0f172a;
  color: #64748b;
  padding: 3rem 0 2rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer-name { font-size: 1rem; font-weight: 700; color: white; }
.footer-desc { font-size: 0.85rem; margin-bottom: 1.25rem; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: white; }
.footer-copy { font-size: 0.8rem; }
.version { margin-top: 0.5rem; font-size: 0.75rem; opacity: 0.5; }
