/* =========================
   THEME VARIABLES
========================= */
:root {
  --bg: #0b0f1a;
  --bg-soft: #11162a;
  --card: #151b34;
  --text: #e6e9ff;
  --muted: #9aa3c7;
  --primary: #5b7cfa;
  --accent: #22d3ee;
  --border: rgba(255,255,255,.08);

  --white: #ffffff;
  --gray: #94a3b8;
  --black: #020617;
}

[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #3b5bfd;
  --accent: #06b6d4;
  --border: rgba(0,0,0,.08);

  --white: #ffffff;
  --gray: #475569;
  --black: #020617;
}

/* =========================
   BASE
========================= */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top, var(--bg-soft), var(--bg));
  color: var(--text);
  transition: background .4s ease, color .4s ease;
}

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

/* =========================
   NAVBAR
========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 800;
  font-size: 22px;
}

.logo span { color: var(--primary); }

nav a {
  margin-left: 24px;
  opacity: .9;
}

.theme-toggle {
  margin-left: 24px;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */
.btn-primary,
.btn-secondary,
.btn-outline {
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  transition: .3s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.btn-secondary {
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--card);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* =========================
   HERO
========================= */
.hero {
  padding: 120px 20px 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 700px;
  margin: 24px auto 40px;
  color: var(--muted);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 60px;
}

.hero-stats strong {
  display: block;
  font-size: 26px;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 90px 40px;
  max-width: 1200px;
  margin: auto;
}

.section.dark {
  background: var(--bg-soft);
  border-radius: 40px;
}

.section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

/* ============================== FEATURES LAYOUT ================================ */ .features-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; } .features-visual img { width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0,0,0,0.25); } /* Subtitle */ .section-subtitle { max-width: 700px; margin: -20px auto 50px; color: var(--muted); text-align: center; } /* Responsive */ @media (max-width: 900px) { .features-layout { grid-template-columns: 1fr; } .features-visual { order: -1; } }

/* =========================
   SECURITY HERO
========================= */
.security-hero {
  padding: 140px 40px;
  background:
    radial-gradient(circle at top left, rgba(91,124,250,0.18), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.85));
}

[data-theme="light"] .security-hero {
  background:
    radial-gradient(circle at top left, rgba(59,91,253,0.12), transparent 55%),
    linear-gradient(180deg, #ffffff, #f6f7fb);
}

.security-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.security-image img {
  width: 100%;
  border-radius: 36px;
  object-fit: cover;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
}

[data-theme="light"] .security-image img {
  box-shadow: 0 30px 70px rgba(0,0,0,.12);
}

.security-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
}

.security-copy h2 {
  font-size: 2.6rem;
  margin: 18px 0;
}

.security-lead {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.security-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

/* =========================
   FAQ (FULLY THEME SAFE)
========================= */
.faq-section {
  padding: 120px 40px;
  background: radial-gradient(circle at top, var(--bg-soft), var(--bg));
}

.faq-header {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.faq-header p {
  color: var(--muted);
}

.faq-accordion {
  max-width: 900px;
  margin: auto;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question .icon {
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform .3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}

.faq-answer p {
  padding: 0 26px 22px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

/* =========================
   CTA
========================= */
.cta {
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 25px;
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .security-wrapper {
    grid-template-columns: 1fr;
  }

  .security-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar { padding: 15px 25px; }
  .section { padding: 80px 25px; }
}
