/* ============================================
   AdBlockingGuide.com — Main Stylesheet
   ============================================ */

/* --- Local Fonts --- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latinext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latinext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- CSS Variables --- */
:root {
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-card: #1e293b;
  --bg-card-hover: #263148;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.3);
  --accent-teal: #06b6d4;
  --accent-teal-glow: rgba(6, 182, 212, 0.25);
  --accent-red: #ef4444;
  --accent-red-glow: rgba(239, 68, 68, 0.3);
  --accent-yellow: #f59e0b;
  --border-color: rgba(148, 163, 184, 0.12);
  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.35);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --shield-gradient: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
  --danger-gradient: linear-gradient(135deg, var(--accent-red), #dc2626);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #e2e8f0;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: rgba(15, 23, 42, 0.1);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; }
a { color: var(--accent-teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-green); }
img { max-width: 100%; height: auto; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 5rem 0; }
.text-gradient {
  background: var(--shield-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-danger-gradient {
  background: var(--danger-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.badge-green {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.badge-red {
  display: inline-block;
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- Scroll fade-in animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: fadeInSafety 0.8s ease forwards;
  animation-delay: 0.3s;
}
@keyframes fadeInSafety {
  to { opacity: 1; transform: translateY(0); }
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reading Progress Bar --- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--shield-gradient);
  z-index: 9999;
  transition: width 0.1s linear;
  width: 0%;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition), box-shadow var(--transition);
}
[data-theme="light"] .navbar {
  background: rgba(248, 250, 252, 0.92);
}
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-brand .shield-icon {
  width: 32px;
  height: 32px;
  background: var(--shield-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent-green);
}
.nav-links a.active::after {
  content: \'\';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--shield-gradient);
  border-radius: 2px;
}
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition);
}
.theme-toggle:hover { background: var(--bg-card-hover); color: var(--accent-teal); }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile nav */
@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 1040;
  }
  .nav-links.open { transform: translateY(0); }
  .mobile-toggle { display: block; }
}

/* --- Hero Section --- */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Hero Ad-Blocking Animation Scene --- */
.hero-animation {
  position: absolute;
  top: 0;
  right: -5%;
  width: 55%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
.floating-ad {
  position: absolute;
  background: var(--accent-red);
  color: #fff;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
  box-shadow: 0 4px 20px var(--accent-red-glow);
  animation: floatIn 3s ease-in-out infinite;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-ad .ad-x {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}
.floating-ad:nth-child(1) { top: 15%; right: 25%; animation-delay: 0s; }
.floating-ad:nth-child(2) { top: 35%; right: 10%; animation-delay: 0.8s; }
.floating-ad:nth-child(3) { top: 55%; right: 30%; animation-delay: 1.6s; }
.floating-ad:nth-child(4) { top: 75%; right: 15%; animation-delay: 2.4s; }
.floating-ad:nth-child(5) { top: 25%; right: 45%; animation-delay: 0.4s; }
.floating-ad:nth-child(6) { top: 65%; right: 50%; animation-delay: 1.2s; }

@keyframes floatIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.8); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  60% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 1; transform: scale(1.05); filter: brightness(1.5); }
  80% {
    opacity: 0;
    transform: scale(0.3) rotate(15deg);
    filter: brightness(2) saturate(0);
    background: var(--accent-green);
  }
  100% { opacity: 0; transform: scale(0) rotate(30deg); }
}

/* Shield overlay */
.hero-shield {
  position: absolute;
  top: 50%;
  right: 25%;
  transform: translate(50%, -50%);
  width: 220px;
  height: 260px;
  z-index: 6;
}
.hero-shield svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px var(--accent-green-glow));
  animation: shieldPulse 3s ease-in-out infinite;
}
@keyframes shieldPulse {
  0%, 100% { filter: drop-shadow(0 0 30px var(--accent-green-glow)); transform: translate(50%, -50%) scale(1); }
  50% { filter: drop-shadow(0 0 60px var(--accent-green-glow)); transform: translate(50%, -50%) scale(1.05); }
}

/* --- Blocked Ad Banner Animation --- */
.blocked-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.blocked-banner::after {
  content: \'AD BLOCKED\';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent-green);
  text-shadow: 0 0 20px var(--accent-green-glow);
  border: 4px solid var(--accent-green);
  padding: 0.5rem 2rem;
  border-radius: 8px;
  opacity: 0;
  animation: stampBlock 0.6s ease forwards;
  animation-delay: 1s;
  z-index: 10;
}
@keyframes stampBlock {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-15deg) scale(3); }
  60% { opacity: 1; transform: translate(-50%, -50%) rotate(-15deg) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-15deg) scale(1); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--shield-gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-green-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-green-glow);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-2px);
}

/* --- Guide Cards --- */
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.guide-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-green);
}
.guide-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.guide-card .card-icon.safari { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.guide-card .card-icon.chrome { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.guide-card .card-icon.system { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.guide-card .card-icon.privacy { background: linear-gradient(135deg, #10b981, #059669); }
.guide-card .card-icon.youtube { background: linear-gradient(135deg, #ef4444, #dc2626); }
.guide-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.guide-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.guide-card .card-link {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.guide-card .card-link:hover { gap: 0.6rem; }

/* Card ad-crush mini animation */
.guide-card .mini-ad-block {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #fff;
  font-weight: 700;
  opacity: 0.7;
  transition: all 0.4s ease;
}
.guide-card:hover .mini-ad-block {
  background: var(--accent-green);
  transform: scale(0.7) rotate(180deg);
  opacity: 1;
  border-radius: 50%;
}
.guide-card:hover .mini-ad-block::after {
  content: \'\2713\';
  position: absolute;
}

/* --- Stats Section --- */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}
.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.stat-icon.blocked { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.stat-icon.tracked { background: rgba(6, 182, 212, 0.15); color: var(--accent-teal); }
.stat-icon.saved { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.stat-icon.speed { background: rgba(245, 158, 11, 0.15); color: var(--accent-yellow); }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.stat-number .counter { display: inline; }
.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Before/After Split --- */
.split-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 767px) { .split-compare { grid-template-columns: 1fr; } }
.split-side {
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.split-side.ads-side {
  background: linear-gradient(135deg, #1a0808, #2d1010);
  border: 2px solid rgba(239, 68, 68, 0.3);
}
.split-side.clean-side {
  background: linear-gradient(135deg, #062016, #0a2e1f);
  border: 2px solid rgba(16, 185, 129, 0.3);
}
.split-label {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
.ads-side .split-label { background: rgba(239, 68, 68, 0.2); color: var(--accent-red); }
.clean-side .split-label { background: rgba(16, 185, 129, 0.2); color: var(--accent-green); }
.split-side h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.split-side ul { list-style: none; padding: 0; }
.split-side ul li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.split-side ul li::before {
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}
.ads-side ul li::before { content: \'\2718\'; color: var(--accent-red); }
.clean-side ul li::before { content: \'\2714\'; color: var(--accent-green); }

/* Fake ad elements inside split */
.fake-ad {
  background: var(--accent-red);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  margin: 6px 0;
  display: inline-block;
  animation: adFlicker 2s ease-in-out infinite;
}
@keyframes adFlicker {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; transform: scale(1.02); }
}
.fake-ad.blocked {
  background: var(--bg-card);
  color: var(--accent-green);
  text-decoration: line-through;
  opacity: 0.5;
  animation: none;
}

/* --- Floating Page Ads (background decoration) --- */
.page-floating-ads {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.page-floating-ads .pf-ad {
  position: absolute;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.65rem;
  color: rgba(239, 68, 68, 0.3);
  font-weight: 700;
  animation: pfFloat 12s linear infinite;
  opacity: 0;
}
@keyframes pfFloat {
  0% { opacity: 0; transform: translateX(-100px); }
  10% { opacity: 0.6; }
  40% { opacity: 0.6; }
  50% { opacity: 0; transform: translateX(calc(100vw + 100px)) scale(0.5) rotate(10deg); }
  100% { opacity: 0; transform: translateX(calc(100vw + 100px)); }
}
.page-floating-ads .pf-ad:nth-child(1) { top: 20%; animation-delay: 0s; animation-duration: 14s; }
.page-floating-ads .pf-ad:nth-child(2) { top: 45%; animation-delay: 3s; animation-duration: 11s; }
.page-floating-ads .pf-ad:nth-child(3) { top: 70%; animation-delay: 6s; animation-duration: 16s; }
.page-floating-ads .pf-ad:nth-child(4) { top: 10%; animation-delay: 8s; animation-duration: 13s; }
.page-floating-ads .pf-ad:nth-child(5) { top: 85%; animation-delay: 2s; animation-duration: 15s; }

/* Shield catch effect */
.shield-catch {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 72px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  filter: drop-shadow(0 0 20px var(--accent-green-glow));
  animation: shieldBreathe 4s ease-in-out infinite;
}
@keyframes shieldBreathe {
  0%, 100% { opacity: 0.1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.2; transform: translateY(-50%) scale(1.08); }
}

/* --- Newsletter Section --- */
.newsletter-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}
.newsletter-section h2 { margin-bottom: 0.75rem; }
.newsletter-section p { color: var(--text-secondary); margin-bottom: 1.5rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { outline: none; border-color: var(--accent-green); }
@media (max-width: 575px) { .newsletter-form { flex-direction: column; } }

/* --- Guide Article Styles --- */
.article-header {
  padding: 8rem 0 3rem;
  text-align: center;
  position: relative;
}
.article-header .badge-green { margin-bottom: 1rem; }
.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}
.article-body h2 {
  font-size: 1.65rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}
.article-body h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-teal);
}
.article-body p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.article-body li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.article-body strong { color: var(--text-primary); }

/* Code blocks */
.code-block {
  background: #0d1117;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin: 1.5rem 0;
  overflow: hidden;
}
.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.copy-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
}
.copy-btn:hover { background: var(--accent-green); color: #fff; }
.copy-btn.copied { background: var(--accent-green); color: #fff; }
.code-block pre {
  padding: 1.25rem;
  overflow-x: auto;
  margin: 0;
}
.code-block code {
  font-family: \'SF Mono\', \'Fira Code\', \'Cascadia Code\', monospace;
  font-size: 0.9rem;
  color: #e6edf3;
  line-height: 1.6;
}

/* Tip / Warning boxes */
.tip-box {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.tip-box.tip {
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid var(--accent-green);
}
.tip-box.warning {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid var(--accent-yellow);
}
.tip-box.danger {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid var(--accent-red);
}
.tip-box .tip-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.tip-box p { margin: 0; font-size: 0.95rem; }

/* Table of Contents */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.toc h4 { margin-bottom: 0.75rem; font-size: 1rem; }
.toc ol { padding-left: 1.25rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--text-secondary); font-size: 0.95rem; }
.toc a:hover { color: var(--accent-green); }

/* --- Contact Page --- */
.response-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.response-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}
.response-card .rc-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.response-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.response-card p { color: var(--text-secondary); font-size: 0.9rem; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form .form-label { color: var(--text-secondary); font-weight: 500; }
.contact-form .form-control, .contact-form .form-select {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px var(--accent-green-glow);
}
.contact-form textarea.form-control { min-height: 140px; }

/* FAQ Accordion */
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-button {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.15rem 1.5rem;
  box-shadow: none !important;
}
.accordion-button::after {
  filter: invert(0.5);
}
.accordion-button:not(.collapsed) {
  color: var(--accent-green) !important;
  background: var(--bg-card-hover) !important;
}
.accordion-body p {
  color: var(--text-secondary) !important;
  line-height: 1.7;
  font-size: 0.95rem;
}
.accordion-body { padding: 1.25rem 1.5rem; }

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.75rem; line-height: 1.7; }
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-green); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* --- Cookie Consent --- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-consent.show { transform: translateY(0); }
.cookie-consent p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }
.cookie-consent a { color: var(--accent-teal); }

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--shield-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  border: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px var(--accent-green-glow);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-3px); }

/* --- Legal Pages --- */
.legal-page { padding: 8rem 0 4rem; }
.legal-page .container { max-width: 800px; }
.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}
.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent-teal);
}
.legal-page h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-page p, .legal-page li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}
.legal-page ul, .legal-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.legal-page th, .legal-page td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  text-align: left;
  font-size: 0.9rem;
}
.legal-page th {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
}
.legal-page td { color: var(--text-secondary); }

/* --- About Page --- */
.about-hero {
  padding: 8rem 0 3rem;
  text-align: center;
}
.about-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.about-hero p { color: var(--text-secondary); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.value-card:hover { border-color: var(--accent-green); transform: translateY(-2px); }
.value-card .vc-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--text-secondary); font-size: 0.93rem; }

/* --- Breadcrumb --- */
.breadcrumb-nav {
  padding: 0.75rem 0;
  margin-top: 60px;
}
.breadcrumb-nav ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.breadcrumb-nav li { font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb-nav li a { color: var(--text-secondary); }
.breadcrumb-nav li a:hover { color: var(--accent-green); }
.breadcrumb-nav li + li::before { content: \'›\'; margin-right: 0.5rem; color: var(--text-muted); }

/* --- Misc --- */
::selection { background: var(--accent-green); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
