/* ============================================================
   app.css — CodersAgent Design System
   ============================================================ */

/* ─── CSS Variables ──────────────────────────────────────────────────────── */
:root {
    --navy:    #1A1A2E;
    --accent:  #E94560;
    --accent-hover: #c73650;
    --light:   #F5F5F5;
    --white:   #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100:#F3F4F6;
    --gray-200:#E5E7EB;
    --gray-400:#9CA3AF;
    --gray-600:#4B5563;
    --gray-900:#111827;
    --success: #10B981;
    --warning: #F59E0B;
    --error:   #EF4444;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --transition: .2s ease;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); color: var(--gray-900); background: var(--gray-50); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
h4 { font-size: 1rem; font-weight: 600; color: var(--navy); }
p  { margin-bottom: 1rem; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-block; background: var(--accent); color: var(--white);
    padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
    border: 2px solid var(--accent); transition: all var(--transition);
    text-decoration: none; text-align: center;
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }
.btn-outline {
    display: inline-block; background: transparent; color: var(--navy);
    padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
    border: 2px solid var(--gray-200); transition: all var(--transition); text-decoration: none;
}
.btn-outline:hover { border-color: var(--navy); background: var(--gray-50); text-decoration: none; }
.btn-navy {
    display: inline-block; background: var(--navy); color: var(--white);
    padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
    border: 2px solid var(--navy); transition: all var(--transition); text-decoration: none;
}
.btn-navy:hover { background: #0d0d1a; text-decoration: none; }
.btn-full { width: 100%; display: block; }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-lg { padding: 16px 32px; font-size: 1.125rem; }
.link-btn { background: none; border: none; padding: 0; color: var(--accent); text-decoration: underline; font-size: inherit; }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 32px; height: 64px; }
.site-logo { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link { color: var(--gray-600); padding: 8px 12px; border-radius: var(--radius); font-weight: 500; font-size: .95rem; transition: all var(--transition); border: none; background: none; }
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--gray-100); text-decoration: none; }
.nav-link-highlight { color: var(--accent); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-nav-cta { background: var(--accent); color: white; padding: 8px 20px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.btn-nav-cta:hover { background: var(--accent-hover); text-decoration: none; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn { cursor: pointer; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); min-width: 220px; padding: 8px; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); color: var(--gray-600); font-size: .9rem; transition: all var(--transition); }
.dropdown-item:hover { background: var(--gray-50); color: var(--navy); text-decoration: none; }
.dropdown-view-all { color: var(--accent); font-weight: 600; margin-top: 4px; border-top: 1px solid var(--gray-100); }

/* Mobile */
.mobile-menu-btn { display: none; background: none; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 8px; }
.hamburger { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 20px; height: 2px; background: var(--navy); transition: all var(--transition); }
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.mobile-menu { background: white; border-top: 1px solid var(--gray-200); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.mobile-link { padding: 12px 16px; color: var(--gray-600); font-weight: 500; border-radius: var(--radius); display: block; }
.mobile-link:hover { background: var(--gray-50); text-decoration: none; }
.mobile-link-highlight { color: var(--accent); font-weight: 600; }
.mobile-link-cta { background: var(--accent); color: white !important; text-align: center; font-weight: 600; }
.mobile-link-sub { font-size: .875rem; color: var(--gray-400); padding-left: 28px; }

/* ─── Compare Bar ────────────────────────────────────────────────────────── */
.compare-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: white; padding: 12px 20px; display: flex; align-items: center; gap: 16px; z-index: 90; box-shadow: 0 -4px 12px rgba(0,0,0,.2); }
.compare-bar-text { flex: 1; font-weight: 500; }
.compare-bar-actions { display: flex; align-items: center; gap: 12px; }
.btn-compare-now { background: var(--accent); color: white; padding: 8px 20px; border-radius: var(--radius); font-weight: 600; }
.btn-compare-clear { background: transparent; border: 1px solid rgba(255,255,255,.3); color: white; padding: 8px 16px; border-radius: var(--radius); font-size: .875rem; }
.btn-compare-quotes { background: var(--success); color: white; padding: 8px 20px; border-radius: var(--radius); font-weight: 600; }
.compare-hint { color: var(--gray-400); font-size: .875rem; }

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: .9rem; color: var(--gray-900); margin-bottom: 6px; }
.form-label-req::after { content: ' *'; color: var(--error); }
.form-input, .form-select, .form-textarea {
    display: block; width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--gray-200); border-radius: var(--radius);
    font-family: inherit; font-size: 1rem; color: var(--gray-900);
    background: white; transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,26,46,.08);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: .8rem; color: var(--gray-600); margin-top: 4px; }
.form-error { font-size: .85rem; color: var(--error); margin-top: 4px; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.5; cursor: pointer; }
.consent-label input { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: box-shadow var(--transition), transform var(--transition); overflow: hidden; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; background: var(--gray-50); border-top: 1px solid var(--gray-100); }

/* ─── Agency Card ────────────────────────────────────────────────────────── */
.agency-card { display: flex; flex-direction: column; height: 100%; }
.agency-card-header { padding: 20px 20px 0; display: flex; gap: 14px; align-items: flex-start; }
.agency-logo { width: 56px; height: 56px; border-radius: var(--radius); border: 1px solid var(--gray-200); object-fit: contain; flex-shrink: 0; background: var(--gray-50); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.agency-card-body { padding: 16px 20px; flex: 1; }
.agency-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.agency-short-bio { font-size: .875rem; color: var(--gray-600); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.agency-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.agency-tag { background: var(--gray-100); color: var(--gray-600); padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 500; }
.agency-tag-accent { background: rgba(233,69,96,.08); color: var(--accent); }
.agency-pricing { font-size: .875rem; color: var(--gray-600); font-weight: 500; }
.agency-card-footer { padding: 14px 20px; display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--gray-100); }
.badge-verified { background: rgba(16,185,129,.1); color: var(--success); padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 600; }
.badge-featured { background: rgba(245,158,11,.1); color: var(--warning); padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 600; }
.compare-checkbox-wrap { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--gray-600); }
.compare-checkbox { width: 16px; height: 16px; cursor: pointer; }

/* ─── Stars ──────────────────────────────────────────────────────────────── */
.stars { color: var(--warning); letter-spacing: 2px; }
.star.empty { color: var(--gray-200); }
.rating-number { font-size: .9rem; color: var(--gray-600); font-weight: 600; }

/* ─── Grid layouts ───────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-sidebar { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #2d1b5a 100%); color: white; padding: 80px 0; }
.hero h1 { color: white; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,.8); margin: 16px 0 32px; max-width: 600px; }
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stat-number { font-size: 2rem; font-weight: 700; color: var(--accent); }
.hero-stat-label { font-size: .875rem; color: rgba(255,255,255,.7); }

/* ─── Search Bar ─────────────────────────────────────────────────────────── */
.search-bar { background: white; border-radius: var(--radius-lg); padding: 8px; display: flex; gap: 8px; box-shadow: var(--shadow-lg); max-width: 700px; }
.search-input { flex: 1; border: none; padding: 10px 16px; font-size: 1rem; font-family: inherit; outline: none; border-radius: var(--radius); }
.search-btn { background: var(--accent); color: white; border: none; padding: 10px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; }

/* ─── Filters Sidebar ────────────────────────────────────────────────────── */
.filters-sidebar { background: white; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--gray-200); position: sticky; top: 80px; }
.filter-group { margin-bottom: 24px; }
.filter-group-title { font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-600); margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: .9rem; }
.filter-option input { width: 16px; height: 16px; }
.filter-count { margin-left: auto; background: var(--gray-100); color: var(--gray-600); padding: 1px 8px; border-radius: 20px; font-size: .75rem; }

/* ─── Pagination ─────────────────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 32px 0; }
.page-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); border: 1.5px solid var(--gray-200); color: var(--gray-600); font-weight: 500; transition: all var(--transition); }
.page-link:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.page-link.active { background: var(--navy); color: white; border-color: var(--navy); }
.page-link-text { padding: 0 16px; width: auto; }

/* ─── GDPR Banner ────────────────────────────────────────────────────────── */
.consent-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: white; padding: 20px; z-index: 1000; }
.consent-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.consent-text { flex: 1; min-width: 280px; font-size: .9rem; }
.consent-text strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-consent-accept { background: var(--accent); color: white; border: none; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; cursor: pointer; }
.btn-consent-essential { background: transparent; color: white; border: 1px solid rgba(255,255,255,.4); padding: 10px 20px; border-radius: var(--radius); font-weight: 500; cursor: pointer; }
.btn-consent-settings { background: transparent; color: rgba(255,255,255,.7); border: none; padding: 10px; font-size: .875rem; cursor: pointer; text-decoration: underline; }

/* Consent Modal */
.consent-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.consent-modal-inner { background: white; border-radius: var(--radius-lg); padding: 32px; max-width: 500px; width: 100%; }
.consent-option { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.consent-option:last-of-type { border-bottom: none; }
.consent-option p { font-size: .875rem; color: var(--gray-600); margin: 4px 0 0; }
.consent-buttons { display: flex; gap: 12px; margin-top: 24px; }

/* ─── Flash messages ─────────────────────────────────────────────────────── */
.flash { padding: 14px 20px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 500; }
.flash-success { background: rgba(16,185,129,.1); color: #065f46; border-left: 4px solid var(--success); }
.flash-error   { background: rgba(239,68,68,.1); color: #991b1b; border-left: 4px solid var(--error); }
.flash-warning { background: rgba(245,158,11,.1); color: #92400e; border-left: 4px solid var(--warning); }
.flash button  { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: inherit; opacity: .6; }

/* ─── Quiz ───────────────────────────────────────────────────────────────── */
.quiz-container { max-width: 700px; margin: 0 auto; }
.quiz-progress { height: 6px; background: var(--gray-200); border-radius: 3px; margin-bottom: 40px; overflow: hidden; }
.quiz-progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent), #ff6b6b); border-radius: 3px; transition: width .4s ease; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-question { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.quiz-subtitle { color: var(--gray-600); margin-bottom: 28px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border: 2px solid var(--gray-200); border-radius: var(--radius-lg); cursor: pointer; transition: all var(--transition); }
.quiz-option:hover { border-color: var(--navy); background: var(--gray-50); }
.quiz-option.selected { border-color: var(--accent); background: rgba(233,69,96,.04); }
.quiz-option input { flex-shrink: 0; margin-top: 2px; }
.quiz-option-text { font-weight: 500; }
.quiz-option-desc { font-size: .875rem; color: var(--gray-600); margin-top: 2px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.quiz-step-counter { color: var(--gray-400); font-size: .875rem; }

/* Score bars */
.score-bar-wrap { margin-bottom: 16px; }
.score-bar-label { display: flex; justify-content: space-between; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.score-bar-track { height: 10px; background: var(--gray-200); border-radius: 5px; overflow: hidden; }
.score-bar-fill { height: 100%; background: linear-gradient(90deg, var(--navy), var(--accent)); border-radius: 5px; transition: width 1s ease; }

/* Personality card */
.personality-card { background: linear-gradient(135deg, var(--navy), #2d1b5a); color: white; border-radius: var(--radius-lg); padding: 32px; text-align: center; margin-bottom: 32px; }
.personality-icon { font-size: 3rem; margin-bottom: 12px; }
.personality-type { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.personality-desc { opacity: .85; font-size: 1rem; }

/* Match card */
.match-card { border: 2px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; display: flex; gap: 20px; align-items: flex-start; }
.match-score { background: var(--accent); color: white; border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.match-why { font-size: .875rem; color: var(--gray-600); margin-top: 8px; }
.match-why li { margin-bottom: 4px; }

/* ─── Tool Card ──────────────────────────────────────────────────────────── */
.tool-card { display: flex; flex-direction: column; }
.tool-card-header { display: flex; gap: 14px; align-items: center; padding: 20px 20px 12px; }
.tool-logo { width: 48px; height: 48px; border-radius: var(--radius); border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: var(--navy); background: var(--gray-50); flex-shrink: 0; }
.tool-pricing-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.tool-pricing-free       { background: rgba(16,185,129,.1); color: var(--success); }
.tool-pricing-freemium   { background: rgba(59,130,246,.1); color: #1d4ed8; }
.tool-pricing-paid       { background: rgba(245,158,11,.1); color: #92400e; }
.tool-pricing-open_source{ background: rgba(139,92,246,.1); color: #5b21b6; }

/* ─── Compare Table ──────────────────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { background: var(--navy); color: white; padding: 16px; text-align: left; font-weight: 600; }
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
.compare-table tr:hover td { background: var(--gray-50); }
.compare-table .field-label { font-weight: 600; color: var(--gray-600); font-size: .875rem; background: var(--gray-50); }
.compare-winner { color: var(--success); font-weight: 700; }
.compare-cta-row td { background: var(--gray-50); padding: 20px 16px; }

/* ─── Blog ───────────────────────────────────────────────────────────────── */
.blog-card-image { width: 100%; height: 200px; object-fit: cover; }
.blog-meta { display: flex; gap: 16px; font-size: .875rem; color: var(--gray-600); margin-bottom: 12px; }
.blog-tag { background: var(--gray-100); color: var(--gray-600); padding: 3px 10px; border-radius: 20px; font-size: .78rem; }
.affiliate-notice-inline { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2); border-radius: var(--radius); padding: 10px 16px; font-size: .85rem; color: #92400e; margin: 24px 0; }

/* ─── Affiliate Disclosure ───────────────────────────────────────────────── */
.affiliate-notice { background: rgba(26,26,46,.04); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 14px 20px; font-size: .85rem; color: var(--gray-600); margin-bottom: 32px; display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }

/* ─── Exit Intent Modal ──────────────────────────────────────────────────── */
.exit-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.exit-modal-inner { background: white; border-radius: var(--radius-lg); padding: 40px; max-width: 480px; width: 100%; position: relative; }
.exit-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.5rem; color: var(--gray-400); cursor: pointer; }
.exit-modal-icon { font-size: 3rem; text-align: center; margin-bottom: 16px; }

/* Scroll Lead Slide-in */
.scroll-lead { position: fixed; bottom: 24px; right: 24px; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; max-width: 320px; z-index: 80; border: 1px solid var(--gray-200); transform: translateX(400px); transition: transform .4s ease; }
.scroll-lead.visible { transform: translateX(0); }
.scroll-lead-close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 1.2rem; color: var(--gray-400); cursor: pointer; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 60px 0 32px; margin-top: 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .footer-tagline { margin-top: 12px; font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a { color: rgba(255,255,255,.6); font-size: 1rem; font-weight: 700; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.footer-socials a:hover { color: white; border-color: rgba(255,255,255,.6); text-decoration: none; }
.footer-col h4 { color: white; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .875rem; transition: color var(--transition); }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.footer-privacy-link { margin-top: 12px; }
.footer-privacy-link a, .footer-privacy-link button { color: rgba(255,255,255,.5); font-size: .8rem; }

/* ─── Admin (basic public styles for admin panel) ────────────────────────── */
.banner-above-footer { padding: 20px; text-align: center; background: var(--gray-50); border-top: 1px solid var(--gray-200); }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-4 { gap: 16px; }
.underline { text-decoration: underline; }
.font-bold { font-weight: 700; }
.text-sm { font-size: .875rem; }
.text-gray { color: var(--gray-600); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title p { color: var(--gray-600); font-size: 1.1rem; margin-top: 12px; }
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 40px 0; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .grid-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hero { padding: 48px 0; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .compare-bar { flex-wrap: wrap; gap: 10px; }
    .compare-table { font-size: .875rem; }
}
@media (max-width: 480px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta-group { flex-direction: column; }
    .search-bar { flex-direction: column; }
    .scroll-lead { right: 12px; left: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
