/* ═══════════════════════════════════════════════
   NervEase Subpages – Shared Stylesheet
   nerveasereviews.com
═══════════════════════════════════════════════ */

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

:root {
  --navy: #001F3F;
  --navy-mid: #002f5e;
  --navy-light: #003f7a;
  --orange: #FF6600;
  --orange-hover: #e05500;
  --blue-accent: #1a6fd4;
  --blue-light: #e8f0fb;
  --green: #1a8a3a;
  --red-soft: #d63b3b;
  --gray-light: #f7f8fc;
  --gray-mid: #e2e6f0;
  --gray-text: #6b7280;
  --text-dark: #0d1b2e;
  --text-body: #374151;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,31,63,0.08);
  --shadow-md: 0 6px 24px rgba(0,31,63,0.12);
  --shadow-lg: 0 16px 48px rgba(0,31,63,0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  text-align: center;
  font-size: 13px;
  padding: 8px 20px;
  letter-spacing: 0.02em;
}
.topbar strong { color: #ffd166; }

/* ── HEADER ── */
.site-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-mid);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 999;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.site-logo span { color: var(--orange); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 30px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--orange-hover); transform: translateY(-1px); }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--gray-light);
  padding: 12px 5%;
  font-size: 13px;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-mid);
}
.breadcrumb a { color: var(--blue-accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ── AUTHOR BAR ── */
.author-bar {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-accent);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 40px;
}
.author-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-accent);
  flex-shrink: 0;
}
.author-info h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.author-info p { font-size: 12px; color: var(--gray-text); line-height: 1.5; }
.author-info .disclaimer { font-size: 11px; color: var(--gray-text); font-style: italic; margin-top: 3px; }

/* ── QUICK ANSWER BOX ── */
.quick-answer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.quick-answer::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(26,109,212,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.quick-answer-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8c8ff;
  margin-bottom: 14px;
}
.quick-answer h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  line-height: 1.3;
}
.quick-answer p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 10px;
}
.quick-answer p:last-child { margin-bottom: 0; }
.quick-answer .qa-verdict {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.qa-dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }

/* ── AI OVERVIEW (invisible) ── */
#ai-overview {
  position: absolute;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #002a5a 55%, #01336b 100%);
  padding: 56px 5% 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,109,212,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1160px; margin: 0 auto; position: relative; z-index: 1; }
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8c8ff;
  margin-bottom: 18px;
}
.page-badge::before { content: '●'; color: #4ade80; font-size: 9px; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ffd166, #ff9a3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.page-hero-meta span { display: flex; align-items: center; gap: 5px; }

/* ── MAIN LAYOUT ── */
.page-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 5%;
}

/* ── TYPOGRAPHY ── */
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 48px 0 16px;
  padding-top: 8px;
}
h2:first-child { margin-top: 0; }
h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
}
p { margin-bottom: 18px; font-size: 18px; line-height: 1.78; color: var(--text-body); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 20px 24px; }
ul li, ol li { font-size: 17px; line-height: 1.75; color: var(--text-body); margin-bottom: 8px; }
strong { color: var(--text-dark); }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.7;
}
.highlight-box strong { color: var(--navy); }

/* ── WARNING BOX ── */
.warning-box {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 24px;
  margin: 28px 0;
  font-size: 16px;
  color: #78350f;
  line-height: 1.7;
}

/* ── INFO GRID ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.info-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  border-top: 3px solid var(--blue-accent);
}
.info-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gray-text); font-weight: 600; margin-bottom: 6px; }
.info-card p { font-size: 16px; color: var(--text-dark); font-weight: 600; line-height: 1.45; margin-bottom: 0; }

/* ── PROS CONS ── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
.pros-box { background: #f0faf3; border: 1px solid #a8e6b8; border-radius: var(--radius-lg); padding: 24px; }
.cons-box { background: #fef5f5; border: 1px solid #f0b8b8; border-radius: var(--radius-lg); padding: 24px; }
.pros-box h4 { color: var(--green); font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.cons-box h4 { color: var(--red-soft); font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li { font-size: 16px; color: var(--text-body); padding: 6px 0 6px 24px; position: relative; line-height: 1.6; border-bottom: 1px solid rgba(0,0,0,0.04); }
.pc-list li:last-child { border-bottom: none; }
.pc-list li::before { position: absolute; left: 0; font-weight: 700; }
.pros-box .pc-list li::before { content: '✓'; color: var(--green); }
.cons-box .pc-list li::before { content: '✗'; color: var(--red-soft); }

/* ── COMPARISON TABLE ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 28px 0; }
.comp-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.comp-table thead tr { background: var(--navy); }
.comp-table thead th { color: white; padding: 14px 18px; text-align: left; font-size: 14px; font-weight: 600; }
.comp-table thead th.featured-col { background: var(--blue-accent); }
.comp-table tbody tr:nth-child(even) { background: var(--gray-light); }
.comp-table tbody tr:hover { background: var(--blue-light); }
.comp-table tbody td { padding: 12px 18px; font-size: 16px; border-bottom: 1px solid var(--gray-mid); }
.comp-table tbody td:first-child { font-weight: 600; color: var(--navy); }
.tick { color: var(--green); font-weight: 700; }
.cross { color: var(--red-soft); font-weight: 700; }
.part { color: #d97706; font-weight: 700; }

/* ── FAQ ACCORDION ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin: 28px 0; }
.faq-item { border: 1px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; background: white; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  user-select: none;
  gap: 14px;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--gray-light); }
.faq-chevron {
  width: 26px; height: 26px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 13px; color: var(--blue-accent);
  transition: transform 0.25s, background 0.15s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--blue-accent); color: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 22px 18px; font-size: 16px; color: var(--text-body); line-height: 1.75; border-top: 1px solid var(--gray-mid); padding-top: 16px; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #003470 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,102,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h3 { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.5vw, 26px); color: white; margin-bottom: 10px; font-weight: 700; position: relative; z-index: 1; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 24px; line-height: 1.65; position: relative; z-index: 1; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange), #e05500);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(255,102,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; z-index: 1;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,102,0,0.5); }
.cta-trust { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.55); position: relative; z-index: 1; }

/* ── RELATED LINKS ── */
.related-links { margin: 40px 0; }
.related-links h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-text); margin-bottom: 14px; }
.related-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.related-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-light);
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--gray-mid);
  transition: all 0.15s;
}
.related-btn::before { content: '→'; color: var(--orange); font-size: 12px; }
.related-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--gray-mid); margin: 40px 0; }

/* ── SUBPAGE FOOTER ── */
.subpage-footer {
  background: var(--text-dark);
  padding: 52px 5% 28px;
}
.subpage-footer .sf-inner { max-width: 1160px; margin: 0 auto; }
.subpage-footer h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: white;
  margin-bottom: 6px;
}
.subpage-footer .sf-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }
.subpage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 9px;
  margin-bottom: 36px;
}
.sp-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.15s, color 0.15s, transform 0.12s;
  line-height: 1.35;
}
.sp-btn::before { content: '→'; color: var(--orange); font-size: 11px; flex-shrink: 0; }
.sp-btn:hover { background: rgba(255,255,255,0.1); color: white; transform: translateY(-2px); }
.sp-btn.active { background: rgba(255,102,0,0.15); border-color: rgba(255,102,0,0.35); color: white; }
.sf-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.sf-bottom a { color: rgba(255,255,255,0.45); text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .page-wrap { padding: 40px 5%; }
  h2 { font-size: 24px; margin-top: 36px; }
  h3 { font-size: 18px; }
  p, ul li, ol li { font-size: 17px; }
  .pros-cons { grid-template-columns: 1fr; }
  .quick-answer { padding: 24px 22px; }
  .author-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta-banner { padding: 32px 24px; }
  .sf-bottom { flex-direction: column; text-align: center; }
  .page-hero-meta { gap: 12px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
