/* ============================================
   RecoverMail — Design System
   Email Security & Account Recovery Education
   ============================================ */

:root {
  --navy: #0F2A43;
  --navy-light: #1a3a5c;
  --navy-dark: #0a1f33;
  --teal: #14B8A6;
  --teal-light: #2dd4bf;
  --teal-dark: #0d9488;
  --coral: #F87171;
  --coral-light: #fca5a5;
  --coral-dark: #dc2626;
  --white: #FFFFFF;
  --gray-soft: #E2E8F0;
  --gray-light: #f1f5f9;
  --gray-mid: #94a3b8;
  --gray-dark: #475569;
  --gray-darker: #334155;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 42, 67, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 42, 67, 0.10);
  --shadow-lg: 0 10px 30px rgba(15, 42, 67, 0.12);
  --shadow-xl: 0 20px 50px rgba(15, 42, 67, 0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-width: 1200px;
  --content-width: 760px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.02em;
}

a { color: var(--teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal); }

img, svg { max-width: 100%; height: auto; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--content-width); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
}
.logo:hover { color: var(--navy); }
.logo svg { width: 36px; height: 36px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
  display: block;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}
.main-nav a {
  color: var(--gray-darker);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-nav a:hover { background: var(--gray-light); color: var(--navy); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 0.7em; opacity: 0.6; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}
.dropdown-menu a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 0.88rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--navy); border: 2px solid var(--gray-soft); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal-dark); }
.btn-ghost:hover { color: var(--teal); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-dark); color: var(--white); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--teal-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--teal-light); }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual svg { width: 100%; max-width: 420px; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--teal-light); }
.hero-stat .label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--gray-dark); }
.section-head .eyebrow {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--teal-light); }

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.article-card .card-img {
  height: 180px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--gray-soft);
}
.article-card .card-img svg { width: 80px; height: 80px; }
.article-card .card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  background: rgba(20, 184, 166, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.article-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--teal-dark); }
.article-card p { font-size: 0.92rem; color: var(--gray-dark); margin-bottom: 16px; flex: 1; }
.article-card .read-more { font-size: 0.88rem; font-weight: 600; color: var(--teal-dark); }
.article-card .read-more::after { content: ' \2192'; transition: var(--transition); }
.article-card .read-more:hover::after { transform: translateX(4px); }

/* ===== FEATURED GUIDE ===== */
.featured-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.featured-guide-visual { display: flex; justify-content: center; }
.featured-guide-visual svg { width: 100%; max-width: 360px; }
.featured-guide .tag { display: inline-block; background: var(--coral); color: var(--white); padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.featured-guide h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 16px; }
.featured-guide p { color: var(--gray-dark); margin-bottom: 24px; }

/* ===== CHECKLIST ===== */
.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-soft);
}
.checklist li:last-child { border-bottom: none; }
.checklist-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(20, 184, 166, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
}
.checklist-icon svg { width: 16px; height: 16px; }
.checklist li h4 { font-size: 1rem; margin-bottom: 4px; }
.checklist li p { font-size: 0.9rem; color: var(--gray-dark); margin: 0; }

/* ===== PHISHING EXAMPLES ===== */
.phish-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.phish-card {
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.phish-card:hover { box-shadow: var(--shadow-md); }
.phish-card .phish-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral-dark);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.phish-card .phish-label svg { width: 18px; height: 18px; }
.phish-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.phish-card .phish-example {
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--gray-darker);
  margin: 12px 0;
  font-family: monospace;
}
.phish-card .phish-tip {
  font-size: 0.88rem;
  color: var(--gray-dark);
  border-top: 1px solid var(--gray-soft);
  padding-top: 12px;
}
.phish-card .phish-tip strong { color: var(--teal-dark); }

/* ===== SECURITY CHECK ===== */
.security-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.check-item {
  background: var(--white);
  border: 2px solid var(--gray-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition);
}
.check-item:hover { border-color: var(--teal-light); }
.check-item.checked { border-color: var(--teal); background: rgba(20, 184, 166, 0.04); }
.check-item-header { display: flex; align-items: flex-start; gap: 14px; }
.check-item-checkbox {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.check-item.checked .check-item-checkbox { background: var(--teal); border-color: var(--teal); color: var(--white); }
.check-item-checkbox svg { width: 16px; height: 16px; opacity: 0; transition: var(--transition); }
.check-item.checked .check-item-checkbox svg { opacity: 1; }
.check-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.check-item p { font-size: 0.9rem; color: var(--gray-dark); }
.score-bar {
  background: var(--gray-soft);
  border-radius: 20px;
  height: 12px;
  overflow: hidden;
  margin: 32px 0 12px;
}
.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  border-radius: 20px;
  transition: width 0.5s ease;
  width: 0%;
}
.score-display { display: flex; justify-content: space-between; align-items: center; }
.score-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.score-label { font-size: 0.9rem; color: var(--gray-dark); }

/* ===== ARTICLE PAGE ===== */
.article-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.article-header .container-narrow { position: relative; z-index: 1; }
.article-header .tag {
  display: inline-block;
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal-light);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.article-header h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.article-meta .dot { width: 4px; height: 4px; background: rgba(255, 255, 255, 0.4); border-radius: 50%; }

.article-body { padding: 56px 0 80px; }
.article-body .container-narrow > p { margin-bottom: 20px; font-size: 1.05rem; color: var(--gray-darker); }
.article-body h2 { font-size: 1.6rem; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.25rem; margin: 28px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 24px 24px; }
.article-body li { margin-bottom: 10px; color: var(--gray-darker); }
.article-body blockquote {
  border-left: 4px solid var(--teal);
  background: var(--gray-light);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--gray-darker);
}
.article-body .callout {
  background: rgba(248, 113, 113, 0.06);
  border-left: 4px solid var(--coral);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}
.article-body .callout strong { color: var(--coral-dark); }
.article-body .tip-box {
  background: rgba(20, 184, 166, 0.06);
  border-left: 4px solid var(--teal);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}
.article-body .tip-box strong { color: var(--teal-dark); }
.article-body .inline-illust { margin: 32px 0; text-align: center; }
.article-body .inline-illust svg { max-width: 100%; }
.article-body .inline-illust figcaption { font-size: 0.85rem; color: var(--gray-mid); margin-top: 8px; }

.article-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-soft);
}
.article-footer-nav a { font-weight: 600; }

/* ===== ABOUT ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; max-width: 600px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; }
.breadcrumb a { color: var(--teal-light); }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-card .info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-card .info-item svg { width: 22px; height: 22px; color: var(--teal-light); flex-shrink: 0; }
.contact-info-card .info-item .label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-card .info-item .value { font-size: 1rem; }

.contact-form { background: var(--white); border: 1px solid var(--gray-soft); border-radius: var(--radius-lg); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-soft);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--gray-mid); margin-top: 8px; }
.form-success {
  display: none;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid var(--teal);
  color: var(--teal-dark);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.form-success.show { display: block; }

/* ===== GUIDES PAGE ===== */
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-cat-card {
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.guide-cat-card:hover { box-shadow: var(--shadow-lg); border-color: var(--teal-light); }
.guide-cat-card .cat-icon { width: 56px; height: 56px; background: rgba(20, 184, 166, 0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.guide-cat-card .cat-icon svg { width: 30px; height: 30px; color: var(--teal-dark); }
.guide-cat-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.guide-cat-card p { font-size: 0.92rem; color: var(--gray-dark); margin-bottom: 16px; }
.guide-cat-card ul { list-style: none; }
.guide-cat-card ul li { padding: 6px 0; font-size: 0.9rem; }
.guide-cat-card ul li a { display: flex; align-items: center; gap: 8px; }
.guide-cat-card ul li a::before { content: '\2192'; color: var(--teal); font-weight: bold; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--gray-soft); padding: 0; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--teal); transition: var(--transition); }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--gray-dark); }

/* ===== LEGAL ===== */
.legal-content { padding: 60px 0 80px; }
.legal-content h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal-content h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.legal-content p { margin-bottom: 16px; color: var(--gray-darker); }
.legal-content ul, .legal-content ol { margin: 0 0 16px 24px; }
.legal-content li { margin-bottom: 8px; color: var(--gray-darker); }
.legal-toc { background: var(--gray-light); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 40px; }
.legal-toc h3 { margin-bottom: 12px; }
.legal-toc ul { list-style: none; margin: 0; }
.legal-toc li { padding: 4px 0; }
.legal-toc a { font-size: 0.92rem; }

/* ===== SITEMAP ===== */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sitemap-col h3 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--teal); display: inline-block; }
.sitemap-col ul { list-style: none; }
.sitemap-col li { padding: 6px 0; }
.sitemap-col a { font-size: 0.95rem; }

/* ===== 404 ===== */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.error-page .error-code { font-family: var(--font-display); font-size: clamp(5rem, 15vw, 10rem); font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 16px; }
.error-page h1 { font-size: 1.8rem; margin-bottom: 16px; }
.error-page p { color: var(--gray-dark); margin-bottom: 32px; max-width: 480px; }

/* ===== NEWSLETTER CTA ===== */
.newsletter-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.newsletter-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.newsletter-cta h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; position: relative; z-index: 1; }
.newsletter-cta p { color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; position: relative; z-index: 1; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; position: relative; z-index: 1; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.7); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 6px 0; }
.footer-col a { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a { color: rgba(255, 255, 255, 0.6); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.hero-visual svg { animation: float 6s ease-in-out infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-visual svg { max-width: 280px; }
  .featured-guide { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .featured-guide-visual { order: -1; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .security-check-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-soft);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.active { max-height: 500px; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; }
  .main-nav a { padding: 12px 16px; }
  .nav-dropdown .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; }
  .article-grid { grid-template-columns: 1fr; }
  .phish-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { padding: 50px 0 60px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-cta { padding: 36px 24px; }
  .article-footer-nav { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-visual svg { animation: none; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

