/* ══════════════════════════════════════════
   Qwito - Shared Styles (all pages)
   Updated: 2026-04-07
   ══════════════════════════════════════════ */

:root {
  --bg: #0A1628;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --lime: #B8E600;
  --lime-hover: #A3D100;
  --lime-glow: rgba(184,230,0,0.12);
  --teal: #00D4AA;
  --wa-green: #25D366;
  --white: #FFFFFF;
  --text: #E5E7EB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --border: rgba(184,230,0,0.08);
  --border-strong: rgba(184,230,0,0.2);
  --radius: 16px;
  --radius-sm: 10px;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: clip;
  min-height: 100vh;
}

/* Subtle dot grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(184,230,0,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── CONTAINER ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--lime); }
.nav-cta {
  background: var(--lime) !important;
  color: #0A1628 !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.9; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--lime);
  color: #0A1628;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 24px rgba(184,230,0,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(184,230,0,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--bg-card-hover); }

.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(0,212,170,0.3);
  color: var(--teal);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-outline-teal:hover {
  background: rgba(0,212,170,0.05);
  transform: translateY(-1px);
}

/* Full-width button variant for cards */
.btn-primary.full-width,
.btn-secondary.full-width,
.btn-outline-teal.full-width {
  width: 100%;
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 80px 0 64px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero h1 span { color: var(--lime); }
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--text-muted); }

/* Section labels */
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── FAQ ACCORDION ── */
.faq-section { padding: 64px 0; }
.faq-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.5;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--lime); }
.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after {
  content: '−';
  color: var(--lime);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer p {
  padding: 0 0 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}
.faq-answer a {
  color: var(--lime);
  text-decoration: none;
}
.faq-answer a:hover { text-decoration: underline; }

/* ── CTA SECTION ── */
.cta-section, .final-cta {
  padding: 64px 0;
  text-align: center;
}
.cta-section h2, .final-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-section p, .final-cta p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 28px;
}

/* ── FOOTER ── */
footer {
  background: #0A0A0C;
  border-top: 1px solid var(--border);
  padding: 48px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-content { max-width: 1280px; margin: 0 auto; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--lime); }
.footer-trust {
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-copyright { margin-top: 24px; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav.menu-open {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    align-items: flex-start;
    padding-top: 16px;
  }
  nav.menu-open .container {
    flex-wrap: wrap;
    height: 100%;
    align-content: flex-start;
  }
  .nav-links { display: none; }
  nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding-top: 60px;
  }
  nav.menu-open .nav-links a { font-size: 20px; color: var(--white); }
  nav.menu-open .nav-cta { font-size: 18px !important; padding: 14px 32px; margin-top: 16px; }
  .page-hero { padding: 60px 0 48px; }
  .page-hero h1 { font-size: clamp(28px, 6vw, 40px); }
  .faq-section { padding: 48px 0; }
  .cta-section, .final-cta { padding: 48px 0; }
  .footer-links { gap: 16px; }
  .btn-primary, .btn-secondary, .btn-outline-teal {
    font-size: 15px;
    padding: 14px 24px;
    width: 100%;
    justify-content: center;
  }
}
