/* Base */
:root {
  --bg: #0b0f1a;
  --panel: #0f1526;
  --text: #e6ebff;
  --muted: #98a2c3;
  --primary: #6aa5ff;
  --primary-600: #4c8dff;
  --accent: #9b8cff;
  --success: #51d39b;
  --danger: #ff7b7b;
  --border: #1b2440;
  --shadow: 0 10px 30px rgba(0,0,0,0.35), 0 6px 16px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 80% -100px, rgba(106,165,255,0.15), transparent 60%),
              radial-gradient(1000px 700px at -20% -80px, rgba(155,140,255,0.20), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); border: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,15,26,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.2px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 8px; box-shadow: var(--shadow); }
.brand-name { font-size: 18px; }

/* Image logo */
.brand-logo { width: 28px; height: 28px; border-radius: 8px; box-shadow: var(--shadow); display: inline-block; object-fit: contain; }

.site-nav ul { display: flex; gap: 20px; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: var(--text); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 64px; right: 0; left: 0; background: var(--panel); border-bottom: 1px solid var(--border); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; padding: 12px 20px; }
}

/* Hero */
.hero { padding: 80px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: 48px; line-height: 1.1; margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.cta { display: flex; gap: 12px; margin: 8px 0 10px; }
.subtext { color: var(--muted); margin-top: 10px; }

.device-frame { width: 100%; max-width: 340px; aspect-ratio: 10/20; background: #000; border-radius: 28px; padding: 14px; box-shadow: var(--shadow); border: 1px solid #111; justify-self: end; }
.device-screen { width: 100%; height: 100%; border-radius: 20px; background: #0b0f1a; border: 1px solid #111; object-fit: cover; display: block; }
.gradient { background: linear-gradient(160deg, rgba(106,165,255,0.3), rgba(155,140,255,0.25) 35%, rgba(11,15,26,1) 60%); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .device-frame { justify-self: start; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; cursor: pointer; }
.btn-primary { background: linear-gradient(180deg, var(--primary), var(--primary-600)); border: 0; box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.04); }

/* Features */
.features { padding: 40px 0 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.feature-card h3 { margin-top: 0; margin-bottom: 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); }

@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta-section { padding: 40px 0 80px; }
.cta-inner { background: linear-gradient(160deg, rgba(106,165,255,0.12), rgba(155,140,255,0.12)); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); text-align: center; }
.signup-form { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.signup-form input { height: 44px; min-width: 260px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: #0b0f1a; color: var(--text); }

/* Legal pages */
.page-heading { padding: 56px 0 0; }
.page-heading h1 { margin: 0 0 8px; }
.legal { padding: 14px 20px 60px; }
.legal h2 { margin-top: 28px; margin-bottom: 8px; font-size: 20px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; background: rgba(11,15,26,0.6); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-links { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a.active { color: var(--text); }
.copyright { color: var(--muted); margin: 0; }


