
/* ============================================
   DeviceAdBlock.com — Device Shield Theme
   ============================================ */

/* === FONTS === */
@font-face { font-family: 'Outfit'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/outfit-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/outfit-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/outfit-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/outfit-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/outfit-800-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/inter-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/inter-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/inter-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/inter-700-latin.woff2') format('woff2'); }

/* === CSS VARIABLES === */
:root {
  --bg: #ffffff;
  --bg-alt: #f0fdfa;
  --bg-card: #ffffff;
  --text: #334155;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #ccfbf1;
  --primary-lighter: #f0fdfa;
  --accent: #ef4444;
  --accent-light: #fef2f2;
  --mint: #99f6e4;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.1);
  --shadow-lg: 0 8px 30px rgba(15,23,42,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ios-color: #007AFF;
  --android-color: #34A853;
  --mac-color: #6B7280;
  --windows-color: #0078D4;
  --tv-color: #8B5CF6;
  --nav-height: 72px;
}

[data-theme="dark"] {
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --bg-card: #1e293b;
  --text: #cbd5e1;
  --text-heading: #f1f5f9;
  --text-muted: #94a3b8;
  --primary: #5eead4;
  --primary-hover: #2dd4bf;
  --primary-light: rgba(94,234,212,0.1);
  --primary-lighter: rgba(94,234,212,0.05);
  --accent: #f87171;
  --accent-light: rgba(248,113,113,0.1);
  --mint: rgba(153,246,228,0.2);
  --border: #334155;
  --border-light: #1e293b;
  --shadow: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background 0.3s, color 0.3s; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-heading); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2rem; margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

/* === READING PROGRESS BAR === */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 10000; transition: width 0.1s linear; width: 0; }

/* === NAVBAR === */
.navbar { position: sticky; top: 0; z-index: 1000; background: var(--bg); border-bottom: 1px solid var(--border); height: var(--nav-height); display: flex; align-items: center; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--text-heading); text-decoration: none; }
.nav-brand .brand-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), #14b8a6); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-muted); font-size: 0.93rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm); transition: all 0.2s; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-light); }
.theme-toggle { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; cursor: pointer; font-size: 1.1rem; color: var(--text); transition: all 0.2s; }
.theme-toggle:hover { border-color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-heading); cursor: pointer; padding: 8px; }

/* === HERO === */
.hero { padding: 100px 0 80px; text-align: center; background: linear-gradient(180deg, var(--primary-lighter) 0%, var(--bg) 100%); }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--primary); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 680px; margin: 0 auto 2rem; }

/* Hero shield illustration */
.hero-illustration { max-width: 700px; margin: 0 auto 2rem; position: relative; }
.hero-illustration svg { width: 100%; height: auto; }

/* Shield pulse animation */
@keyframes shieldPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}
.shield-pulse { animation: shieldPulse 3s ease-in-out infinite; }

/* Bouncing ad tags */
@keyframes adBounce {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { transform: translate(var(--bx, 30px), var(--by, -20px)) scale(0.8); opacity: 0.7; }
  100% { transform: translate(var(--bx2, 60px), var(--by2, -40px)) scale(0.5); opacity: 0; }
}
.ad-tag-bounce { animation: adBounce 2.5s ease-out infinite; }

/* === STATS COUNTER === */
.stats-bar { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 40px 0; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* === DEVICE CARDS GRID === */
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2rem; }
.device-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: all 0.3s; position: relative; overflow: hidden; text-decoration: none; }
.device-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.device-card .device-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.device-card.ios .device-icon { background: rgba(0,122,255,0.1); color: var(--ios-color); }
.device-card.android .device-icon { background: rgba(52,168,83,0.1); color: var(--android-color); }
.device-card.mac .device-icon { background: rgba(107,114,128,0.1); color: var(--mac-color); }
.device-card.windows .device-icon { background: rgba(0,120,212,0.1); color: var(--windows-color); }
.device-card.tv .device-icon { background: rgba(139,92,246,0.1); color: var(--tv-color); }
.device-card h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--text-heading); }
.device-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.device-card .card-arrow { position: absolute; top: 16px; right: 16px; color: var(--text-muted); font-size: 1.1rem; transition: transform 0.2s; }
.device-card:hover .card-arrow { transform: translateX(4px); color: var(--primary); }

/* === BEFORE/AFTER PANELS === */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 2rem 0; }
.ba-panel { border-radius: var(--radius); padding: 24px; position: relative; }
.ba-panel.before { background: var(--accent-light); border: 1px solid rgba(239,68,68,0.2); }
.ba-panel.after { background: var(--primary-light); border: 1px solid rgba(13,148,136,0.2); }
.ba-panel .ba-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.ba-panel.before .ba-badge { background: var(--accent); color: #fff; }
.ba-panel.after .ba-badge { background: var(--primary); color: #fff; }
.ba-panel h4 { margin-top: 0; }
.ba-panel ul { margin: 0; }

/* === STATUS BADGES === */
.badge-protected { display: inline-flex; align-items: center; gap: 4px; background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.badge-exposed { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-light); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }

/* === WHY BLOCK ADS === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2rem; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow 0.3s; }
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-card .feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* === AD COUNTER ANIMATION === */
.ad-counter { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--primary), #14b8a6); color: #fff; padding: 12px 24px; border-radius: 50px; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; box-shadow: 0 4px 20px rgba(13,148,136,0.3); }
.ad-counter .counter-num { font-size: 1.4rem; font-weight: 800; }

/* === NEWSLETTER === */
.newsletter { background: linear-gradient(135deg, var(--primary), #0f766e); border-radius: var(--radius-lg); padding: 48px; text-align: center; color: #fff; }
.newsletter h2 { color: #fff; margin-top: 0; }
.newsletter p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 24px; }
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 12px 18px; border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius-sm); background: rgba(255,255,255,0.15); color: #fff; font-size: 1rem; font-family: var(--font-body); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form button { padding: 12px 28px; background: #fff; color: var(--primary); border: none; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; cursor: pointer; transition: transform 0.2s; }
.newsletter-form button:hover { transform: scale(1.03); }

/* === GUIDE LAYOUT (two-column) === */
.guide-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }

/* Sidebar TOC */
.sidebar-toc { position: sticky; top: calc(var(--nav-height) + 24px); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; max-height: calc(100vh - var(--nav-height) - 48px); overflow-y: auto; }
.sidebar-toc h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin: 0 0 16px; font-weight: 600; }
.sidebar-toc ul { list-style: none; padding: 0; margin: 0; }
.sidebar-toc li { margin-bottom: 4px; }
.sidebar-toc a { display: block; padding: 6px 12px; font-size: 0.9rem; color: var(--text-muted); border-radius: 6px; border-left: 2px solid transparent; transition: all 0.2s; text-decoration: none; }
.sidebar-toc a:hover { color: var(--primary); background: var(--primary-lighter); }
.sidebar-toc a.active { color: var(--primary); background: var(--primary-light); border-left-color: var(--primary); font-weight: 500; }

/* Guide content */
.guide-content { min-width: 0; }
.guide-header { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.guide-header h1 { margin-bottom: 12px; font-size: 2.25rem; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--text-muted); font-size: 0.9rem; }
.guide-meta span { display: inline-flex; align-items: center; gap: 4px; }
.device-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.device-badge.ios { background: rgba(0,122,255,0.1); color: var(--ios-color); }
.device-badge.android { background: rgba(52,168,83,0.1); color: var(--android-color); }
.device-badge.mac { background: rgba(107,114,128,0.1); color: var(--mac-color); }
.device-badge.windows { background: rgba(0,120,212,0.1); color: var(--windows-color); }
.device-badge.tv { background: rgba(139,92,246,0.1); color: var(--tv-color); }

/* Settings breadcrumb paths */
.settings-path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 12px; font-size: 0.88rem; font-family: var(--font-body); font-weight: 500; margin: 4px 0; }
.settings-path .sep { color: var(--text-muted); font-size: 0.8rem; }

/* === DEVICE-SPECIFIC CODE BLOCKS === */
.code-block { border-radius: var(--radius); overflow: hidden; margin: 1.25rem 0; border: 1px solid var(--border); }
.code-block-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: 0.85rem; font-weight: 600; font-family: var(--font-heading); }
.code-block-header.ios { background: var(--ios-color); color: #fff; }
.code-block-header.android { background: var(--android-color); color: #fff; }
.code-block-header.mac { background: var(--mac-color); color: #fff; }
.code-block-header.windows { background: var(--windows-color); color: #fff; }
.code-block-header.tv { background: var(--tv-color); color: #fff; }
.code-block-header.generic { background: var(--bg-alt); color: var(--text-heading); border-bottom: 1px solid var(--border); }
.code-block-header .copy-btn { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: inherit; padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; cursor: pointer; transition: background 0.2s; }
.code-block-header .copy-btn:hover { background: rgba(255,255,255,0.35); }
.code-block-header.generic .copy-btn { background: var(--bg); border-color: var(--border); }
.code-block pre { margin: 0; padding: 16px; background: #0f172a; color: #e2e8f0; overflow-x: auto; font-size: 0.9rem; line-height: 1.6; }
[data-theme="dark"] .code-block pre { background: #020617; }

/* === STEP CARDS === */
.step-card { display: flex; gap: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.step-number { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.step-content { flex: 1; min-width: 0; }
.step-content h4 { margin: 0 0 8px; font-size: 1.05rem; }
.step-content p { margin: 0; font-size: 0.95rem; }

/* === CALLOUT BOXES === */
.callout { border-radius: var(--radius); padding: 20px 24px; margin: 1.25rem 0; display: flex; gap: 14px; }
.callout-icon { flex-shrink: 0; font-size: 1.3rem; }
.callout-body { flex: 1; min-width: 0; }
.callout-body p:last-child { margin-bottom: 0; }
.callout.tip { background: var(--primary-light); border: 1px solid rgba(13,148,136,0.2); }
.callout.warning { background: #fffbeb; border: 1px solid rgba(245,158,11,0.3); }
[data-theme="dark"] .callout.warning { background: rgba(245,158,11,0.1); }
.callout.danger { background: var(--accent-light); border: 1px solid rgba(239,68,68,0.2); }
.callout.info { background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.2); }

/* === TABLES === */
.table-responsive { overflow-x: auto; margin: 1.25rem 0; }
table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
th { background: var(--bg-alt); font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; text-align: left; padding: 12px 16px; color: var(--text-heading); border-bottom: 2px solid var(--border); }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.93rem; }
tr:last-child td { border-bottom: none; }

/* === ABOUT PAGE === */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 2rem 0; }
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.team-card .team-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 16px; }
.team-card h3 { font-size: 1.1rem; margin: 0 0 4px; }
.team-card .role { font-size: 0.9rem; color: var(--primary); font-weight: 500; margin-bottom: 8px; }
.team-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* === CONTACT FORM === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; font-size: 0.93rem; margin-bottom: 6px; color: var(--text-heading); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-body); background: var(--bg); color: var(--text); transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-light); }
.form-group textarea { min-height: 140px; resize: vertical; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; font-size: 1rem; font-weight: 600; font-family: var(--font-body); border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Response time cards */
.response-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2rem 0; }
.response-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.response-card .rc-icon { font-size: 2rem; margin-bottom: 12px; }
.response-card h4 { margin: 0 0 6px; font-size: 1rem; }
.response-card p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* === FAQ ACCORDION (Bootstrap overrides) === */
.accordion { margin: 2rem 0; }
.accordion-item { border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; margin-bottom: 8px; background: var(--bg-card) !important; overflow: hidden; }
.accordion-button { background: var(--bg-card) !important; color: var(--text-heading) !important; font-weight: 600; font-family: var(--font-heading); font-size: 1rem; padding: 16px 20px; box-shadow: none !important; }
.accordion-button::after { filter: none; }
[data-theme="dark"] .accordion-button::after { filter: invert(1); }
.accordion-button:not(.collapsed) { background: var(--primary-light) !important; color: var(--primary) !important; }
.accordion-body { padding: 16px 20px; font-size: 0.95rem; }
.accordion-body p { color: var(--text); margin-bottom: 0.5rem; }
.accordion-body p:last-child { margin-bottom: 0; }

/* === FOOTER === */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 60px 0 0; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-family: var(--font-heading); }
.footer-brand h3 { font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; text-decoration: none; }
.footer-col a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; font-size: 0.9rem; color: var(--text-muted); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); margin: 0 8px; }

/* === COOKIE BANNER === */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-card); border-top: 1px solid var(--border); padding: 18px 24px; z-index: 9999; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--text); }
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns .btn { padding: 8px 20px; font-size: 0.9rem; }
.btn-decline { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }
.btn-decline:hover { background: var(--border); }

/* === BACK TO TOP === */
.back-to-top { position: fixed; bottom: 80px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 1.2rem; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 999; transition: transform 0.2s; }
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: scale(1.1); }

/* === LEGAL PAGES === */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { margin-bottom: 1rem; }
.legal-content h2 { font-size: 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.legal-content h3 { font-size: 1.15rem; }
.legal-content p, .legal-content li { font-size: 0.95rem; }
.legal-content .last-updated { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; }

/* === PAGE HEADER (for non-guide pages) === */
.page-header { padding: 60px 0 40px; background: var(--bg-alt); text-align: center; border-bottom: 1px solid var(--border); }
.page-header h1 { margin-bottom: 8px; }
.page-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.breadcrumb-nav { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.breadcrumb-nav a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--primary); }

/* === LATEST GUIDES SECTION === */
.guides-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 2rem; }
.guide-preview { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.3s; text-decoration: none; display: block; }
.guide-preview:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.guide-preview h3 { font-size: 1.1rem; margin: 0 0 8px; color: var(--text-heading); }
.guide-preview p { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 12px; }
.guide-preview .read-more { font-size: 0.9rem; color: var(--primary); font-weight: 500; }

/* === ABOUT EXTRAS === */
.editorial-standards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 2rem 0; }
.standard-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.standard-card h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 1rem; }
.standard-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Device workflow visual */
.device-workflow { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 40px; background: var(--bg-alt); border-radius: var(--radius-lg); margin: 2rem 0; }
.workflow-device { text-align: center; padding: 16px; }
.workflow-device .wf-icon { font-size: 2.5rem; margin-bottom: 8px; }
.workflow-device span { font-size: 0.85rem; color: var(--text-muted); display: block; }
.workflow-arrow { font-size: 1.5rem; color: var(--primary); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .guide-layout { grid-template-columns: 1fr; }
  .sidebar-toc { position: static; max-height: none; margin-bottom: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 60px 0 50px; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .response-cards { grid-template-columns: 1fr; }
  .guides-list { grid-template-columns: 1fr; }
  .editorial-standards { grid-template-columns: 1fr; }
  .stats-bar { gap: 24px; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px; gap: 4px; box-shadow: var(--shadow-lg); z-index: 999; }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .newsletter-form { flex-direction: column; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .device-workflow { gap: 8px; }
  .workflow-arrow { display: none; }
}
@media (max-width: 480px) {
  .device-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .step-card { flex-direction: column; align-items: flex-start; }
}
