:root {
  --bg: #060b18;
  --surface: #0d1526;
  --surface2: #141f35;
  --border: rgba(0, 229, 255, 0.12);
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.15);
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --blue: #3b82f6;
  --text: #f0f6ff;
  --text-muted: #7a90b0;
  --text-dim: #4a607a;
  --radius: 16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

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

/* ── Typography ── */
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); font-size: 1.05rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6, 11, 24, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-dot {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.nav-logo-text { font-weight: 700; font-size: 1.1rem; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--cyan); color: #000; padding: 8px 20px;
  border-radius: 999px; font-weight: 600; font-size: 0.88rem;
  text-decoration: none; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 30% 30%, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(var(--cyan) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyan) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan-dim); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
  font-size: 0.8rem; color: var(--cyan); font-weight: 600;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { margin-bottom: 24px; }
.hero-desc { font-size: 1.1rem; max-width: 480px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-store {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 12px 22px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-store:hover { border-color: var(--cyan); transform: translateY(-2px); }
.btn-store .store-icon { font-size: 1.6rem; }
.btn-store .store-text { display: flex; flex-direction: column; }
.btn-store .store-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.btn-store .store-name { font-size: 0.95rem; font-weight: 600; }

/* Hero phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-frame {
  width: 260px; height: 520px;
  background: var(--surface); border-radius: 36px;
  border: 2px solid var(--border);
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-screen {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #0a1628 0%, #060b18 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
}
.phone-ar-text { font-size: 0.75rem; color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase; }
.phone-pin {
  width: 48px; height: 48px; border-radius: 50% 50% 50% 4px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  transform: rotate(-45deg);
  box-shadow: 0 0 30px var(--cyan-glow);
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-10px); } }
.phone-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.75rem; color: var(--text-muted);
  width: 180px; text-align: center;
}
.phone-accuracy {
  position: absolute; top: 24px; right: 16px;
  background: rgba(0,229,255,0.15); border: 1px solid var(--cyan);
  border-radius: 999px; padding: 4px 10px;
  font-size: 0.65rem; color: var(--cyan); font-weight: 600;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 20px; background: #000; border-radius: 999px; z-index: 2;
}
.phone-glow {
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(var(--cyan-glow), transparent 70%);
  pointer-events: none;
}

/* ── Features ── */
#features { background: var(--surface); }
.features-header { text-align: center; margin-bottom: 64px; }
.features-header p { max-width: 560px; margin: 16px auto 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--cyan-dim); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; }

/* ── How it works ── */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 640px; margin: 0 auto; }
.step { display: flex; gap: 24px; padding: 32px 0; position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 64px; bottom: 0;
  width: 2px; background: linear-gradient(var(--border), transparent);
}
.step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cyan-dim); border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: var(--cyan);
}
.step h3 { margin-bottom: 8px; }

/* ── Tech ── */
#tech { background: var(--surface); }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.tech-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 16px; align-items: flex-start;
}
.tech-badge {
  flex-shrink: 0; padding: 4px 10px; border-radius: 999px;
  background: var(--cyan-dim); border: 1px solid var(--border);
  font-size: 0.7rem; color: var(--cyan); font-weight: 600; white-space: nowrap;
}

/* ── CTA ── */
#cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(0,229,255,0.05) 0%, rgba(59,130,246,0.05) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
#cta h2 { margin-bottom: 16px; }
#cta p { margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  padding: 48px 0; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { color: var(--text-dim); font-size: 0.82rem; }

/* ── Inner pages (Privacy / Terms / Support) ── */
.inner-page { padding: 140px 0 96px; min-height: 100vh; }
.inner-page h1 { margin-bottom: 8px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.inner-page .updated { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 48px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 12px; color: var(--text); }
.prose p, .prose li { color: var(--text-muted); font-size: 0.97rem; line-height: 1.8; }
.prose ul { padding-left: 20px; margin: 12px 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--cyan); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
