/* ============================================================
   AuditYourNetwork – Landing Page Styles
   Color palette: Navy #1F3864 · Blue #2F5597 · Light #EEF2F8
   (matches configvuln.com)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1F3864;
  --navy-mid:  #2F5597;
  --blue:      #2F5597;
  --blue-dark: #1F3864;
  --red:       #C00000;
  --green:     #059669;
  --text:      #2c2c2c;
  --text-mid:  #555;
  --text-light:#888;
  --bg-light:  #EEF2F8;
  --bg-white:  #FFFFFF;
  --border:    #BDD7EE;
  --max-w:     1140px;
  --max-narrow:720px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.65;
  font-size: 16px;
}

/* ===== LAYOUT ===== */
.container      { max-width: var(--max-w);      margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 24px; }
.center         { text-align: center; }
.section        { padding: 80px 0; }
.bg-light       { background: var(--bg-light); }
.bg-navy        { background: var(--navy); }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 3px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.lang-btn.active {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.lang-btn:hover:not(.active) { color: rgba(255,255,255,0.8); }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  padding: 96px 0 80px;
  color: #fff;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.badge {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: 0.03em;
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
  letter-spacing: 0.01em;
}
.cta-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* ===== SECTION HEADINGS ===== */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-title.light { color: #fff; }
.section-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 620px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.section-lead.light { color: rgba(255,255,255,0.72); }

/* ===== STAT ROW ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.45;
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  min-width: 48px;
  padding-top: 2px;
  letter-spacing: -0.03em;
}
.step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(13,31,60,0.1);
  transform: translateY(-2px);
}
.card-icon {
  font-size: 1.7rem;
  margin-bottom: 12px;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===== NIS2 ===== */
#nis2 p {
  font-size: 0.97rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.7;
}
#nis2 strong { color: var(--navy); }
.nis2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.nis2-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text);
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.nis2-check {
  color: var(--green);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== DEMO ===== */
#demo .section-title.light { margin-bottom: 14px; }
#demo .section-lead.light  { margin: 0 auto 28px; }
.coming-soon-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== CONTACT ===== */
#contact .section-title { margin-bottom: 14px; }
#contact .section-lead  { margin: 0 auto 28px; }
#contact .cta-btn       { font-size: 1rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero    { padding: 64px 0 56px; }

  .step { flex-direction: column; gap: 12px; }
  .step-num { font-size: 1.4rem; }

  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }

  .stat-row { grid-template-columns: 1fr; }
  .cards    { grid-template-columns: 1fr; }
  .nis2-grid{ grid-template-columns: 1fr; }
}
