/* GoBallistic — landing page styles */
:root {
  --bg: #0f0f23;
  --bg-elevated: #16213e;
  --surface: #1f2b47;
  --accent: #e94560;
  --accent-soft: #e9456015;
  --text: #ffffff;
  --text-secondary: #a0a0b8;
  --text-muted: #6c6c80;
  --border: #2a2a45;
  --success: #4caf50;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

main { display: block; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(15, 15, 35, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; }
.brand-mark { display: block; height: 56px; width: auto; }
.footer-mark { display: block; height: 64px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px 64px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--accent);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #fff 0%, #c9c9d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ---------- Phone mockup ---------- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  width: 260px;
  height: 540px;
  background: #1a1a2e;
  border: 8px solid #2a2a45;
  border-radius: 40px;
  padding: 16px;
  box-shadow:
    0 50px 100px rgba(233, 69, 96, 0.15),
    0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #16213e 0%, #0f0f23 100%);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.reticle-pulse {
  animation: reticle-glow 3s ease-in-out infinite;
}
@keyframes reticle-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(233, 69, 96, 0.4)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 24px rgba(233, 69, 96, 0.9)); transform: scale(1.05); }
}
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 2.5s linear infinite;
  box-shadow: 0 0 12px var(--accent);
}
@keyframes scan {
  0% { top: 10%; }
  100% { top: 90%; }
}

/* ---------- Store badges ---------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: transform 0.15s, border-color 0.15s;
}
.store-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.store-badge svg { color: #fff; }
.store-badge small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #c9c9d6;
}
.store-badge strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-top: 1px;
}

/* ---------- Sections ---------- */
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 56px;
}

/* ---------- Features ---------- */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 20px;
}
.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Pricing ---------- */
.pricing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  border-radius: 32px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.price-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
  border-color: var(--accent);
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(233, 69, 96, 0.2);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.price-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.price {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}
.price small {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.price-meta {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
.price-card ul {
  list-style: none;
  margin: 24px 0;
  flex-grow: 1;
}
.price-card li {
  padding: 8px 0 8px 26px;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.btn {
  display: inline-block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-secondary {
  background: var(--bg-elevated);
  color: white;
  border: 1px solid var(--border);
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: 96px 32px;
  max-width: 800px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.cta p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 32px;
}
.cta .store-badges { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
}
.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer a {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.15s;
}
.footer a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom small {
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .nav-links { gap: 18px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding: 48px 20px 32px; gap: 32px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .phone-frame { width: 220px; height: 460px; }
  .features, .pricing, .cta { padding: 48px 20px; }
  .price-card-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.legal-page h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.legal-page .effective {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}
.legal-page h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 24px;
  margin-bottom: 10px;
}
.legal-page p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-page ul {
  margin: 14px 0 14px 8px;
  padding-left: 24px;
}
.legal-page li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.legal-page a { color: var(--accent); }
.legal-page a:hover { text-decoration: underline; }
