/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #003A6B;
  --primary-light:  #0056A3;
  --primary-dark:   #002952;
  --bg:             #121212;
  --surface:        #1E1E1E;
  --surface-light:  #2A2A2A;
  --text:           #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted:     rgba(255,255,255,0.40);
  --border:         rgba(255,255,255,0.08);
  --radius:         20px;
  --radius-sm:      12px;
  --radius-full:    9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Layout ────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ─── Nav ───────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18,18,18,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-logo span { font-size: 24px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary);
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--primary-light) !important; }

/* ─── Mobile lang shortcut (shown only when nav-links is hidden) ────────────── */
.nav-lang-mobile { display: none; }

/* ─── Language toggle ───────────────────────────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.5px;
}

.lang-btn:hover { color: var(--text); }

.lang-btn.active {
  background: var(--primary);
  color: var(--text);
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  padding-top: 160px;
  padding-bottom: 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,58,107,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,58,107,0.20);
  border: 1px solid rgba(0,58,107,0.40);
  color: #4A9EE0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0,58,107,0.40);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,58,107,0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  background: var(--surface-light);
  transform: translateY(-2px);
}

/* ─── App mockup ────────────────────────────────────────────────────────────── */
.mockup-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
}

.mockup-phone {
  width: 200px;
  background: var(--surface);
  border-radius: 32px;
  border: 2px solid var(--border);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.60);
}

.mockup-phone.center {
  width: 230px;
  transform: translateY(-20px);
  box-shadow: 0 40px 100px rgba(0,58,107,0.35);
  border-color: rgba(0,58,107,0.50);
}

.mockup-screen {
  width: 100%;
  aspect-ratio: 9/19;
  background: linear-gradient(160deg, var(--primary-dark), #001a3d);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}

.mockup-screen .app-icon { font-size: 40px; }
.mockup-screen .app-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.5px;
}

/* ─── Stats bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ─── Features ──────────────────────────────────────────────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4A9EE0;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(0,58,107,0.50);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(0,58,107,0.15);
  border: 1px solid rgba(0,58,107,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Download ──────────────────────────────────────────────────────────────── */
.download-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.download-section .section-sub { margin: 0 auto 48px; }

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  min-width: 200px;
}

.store-btn:hover {
  border-color: rgba(0,58,107,0.50);
  background: rgba(0,58,107,0.10);
  transform: translateY(-3px);
}

.store-btn-icon { font-size: 36px; line-height: 1; }

.store-btn-text { text-align: left; }

.store-btn-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}

.store-btn-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  display: block;
  letter-spacing: -0.3px;
}

.store-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ─── Privacy page ──────────────────────────────────────────────────────────── */
.privacy-page { padding-top: 120px; padding-bottom: 96px; }

.privacy-page h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.privacy-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.privacy-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

.privacy-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.privacy-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.privacy-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  border: 1px solid var(--border);
}

.privacy-table td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  vertical-align: top;
}

.privacy-content a {
  color: #4A9EE0;
  text-decoration: underline;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-links { display: none; }
  .nav-lang-mobile { display: flex; }

  .features-grid { grid-template-columns: 1fr; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .mockup-phone { width: 140px; }
  .mockup-phone.center { width: 165px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }
}
