/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0D1E2B;
  --bg-card: #132A3B;
  --fg: #F1F5F9;
  --fg-muted: #94A3B8;
  --accent: #378ADD;
  --accent-light: #85B7EB;
  --border: #1E3A50;
  --radius: 14px;
  --max-w: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Nav ──────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 30, 43, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
}

.nav-brand svg { flex-shrink: 0; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--fg-muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--fg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 0 80px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .accent { color: var(--accent); }

.hero p {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.badge-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(55, 138, 221, 0.2); }

.badge-btn--primary { background: var(--accent); color: #fff; }
.badge-btn--outline { background: transparent; border: 1.5px solid var(--border); color: var(--fg); }

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(55, 138, 221, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ── Stats row ────────────────────────────────────────────── */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-label {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ── Environment section ──────────────────────────────────── */
.environment {
  padding: 80px 0;
  text-align: center;
}

.environment h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.environment p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 40px;
}

.env-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.env-compare {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 36px;
  text-align: center;
}

.env-compare .label { color: var(--fg-muted); font-size: 0.85rem; margin-bottom: 6px; }
.env-compare .value { font-size: 2rem; font-weight: 700; }
.env-compare.ours .value { color: var(--accent); }

.env-arrow { font-size: 2rem; color: var(--accent); }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

footer .footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
}

/* ── Support page ─────────────────────────────────────────── */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--fg-muted);
  font-size: 1.1rem;
}

.support-content {
  padding: 0 0 80px;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.support-contact {
  max-width: 700px;
  margin: 40px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.support-contact h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-contact p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.support-contact a.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
}

.support-contact a.contact-btn:hover {
  background: var(--accent-light);
  color: var(--bg);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .hero { padding: 60px 0 50px; }
  .features-grid { grid-template-columns: 1fr; }
  .env-visual { flex-direction: column; gap: 16px; }
  .env-arrow { transform: rotate(90deg); }
}
