/* ==========================================================================
   Schlaftracker-Vergleich — Style
   Farbschema: Nacht-Indigo / Lavendel / Morgen-Gold
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --color-primary: #1e1b4b;
    --color-primary-dark: #0f0c2e;
    --color-primary-light: #6366f1;
    --color-primary-bg: #eef0fc;
    --color-accent: #8b5cf6;
    --color-accent-dark: #7c3aed;
    --color-accent-light: #f5f3ff;
    --color-night: #1e1b4b;
    --color-night-light: #3730a3;
    --color-lavender: #a78bfa;
    --color-gold: #fbbf24;
    --color-gold-light: #fef3c7;
    --color-text: #1e293b;
    --color-text-light: #5a6b7a;
    --color-text-lighter: #8a9baa;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-soft: #eef0fc;
    --color-bg-dark: #1e1b4b;
    --color-bg-footer: #0f0c2e;
    --color-border: #e2e8f0;
    --color-border-light: #edf0f5;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #6366f1;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --section-pad: 64px;
    --content-width: 1200px;
    --article-width: 800px;
    --sidebar-width: 280px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(30,27,75,.08), 0 1px 2px rgba(30,27,75,.06);
    --shadow-md: 0 4px 6px rgba(30,27,75,.07), 0 2px 4px rgba(30,27,75,.06);
    --shadow-lg: 0 10px 25px rgba(30,27,75,.1), 0 4px 10px rgba(30,27,75,.06);
    --transition: .2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-main);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.3; color: var(--color-text); }
h1 { font-size: 2.2rem; font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 700; margin: 2rem 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 .75rem; }
h4 { font-size: 1.1rem; font-weight: 600; margin: 1.25rem 0 .5rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.5rem; }
li { margin-bottom: .35rem; }

/* --- Content Images --- */
.content-img { margin: 2rem 0; }
.content-img img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
}
.content-img figcaption {
    font-size: .85rem;
    color: var(--color-text-light);
    margin-top: 8px;
    text-align: center;
}

/* --- Layout --- */
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-soft { background: var(--color-bg-soft); }

.article-layout {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 30px 24px 0;
}
.article-layout > .container {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 48px;
    align-items: start;
    max-width: 100%;
    padding: 0;
}
.article-content { min-width: 0; }

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #0f0c2e 0%, #1e1b4b 60%, #3730a3 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(15,12,46,.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: var(--content-width);
    margin: 0 auto;
    height: 64px;
}
.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.logo span { color: var(--color-gold); }
.logo:hover { color: #fff; }
.logo-icon { display: flex; align-items: center; line-height: 1; flex-shrink: 0; }

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    height: 64px;
    margin: 0;
    padding: 0;
}
.nav-desktop > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}
.nav-desktop > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    color: #c7d2fe;
    font-size: .92rem;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-desktop > li > a:hover,
.nav-desktop > li > a.active { color: #fff; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 200;
    list-style: none;
    margin: 0;
}
.nav-desktop > li:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text);
    font-size: .9rem;
}
.dropdown-menu a:hover { background: var(--color-primary-bg); color: var(--color-primary); }

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}
.nav-mobile {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #0f0c2e 0%, #1e1b4b 100%);
    padding: 24px;
    overflow-y: auto;
    z-index: 99;
}
.nav-mobile.open { display: block; }
.nav-mobile-group { margin-bottom: 20px; }
.nav-mobile-group-title {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-lavender);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-mobile a {
    display: block;
    padding: 10px 0;
    color: #c7d2fe;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-mobile a:hover { color: #fff; }

/* --- Ad Disclosure Bar --- */
.ad-disclosure {
    background: var(--color-gold-light);
    border-bottom: 1px solid var(--color-gold);
    padding: 10px 0;
    text-align: center;
    font-size: .78rem;
    color: var(--color-text-light);
}
.ad-disclosure a { color: var(--color-primary); font-weight: 600; }

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 16px 0;
    font-size: .85rem;
    color: var(--color-text-lighter);
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before {
    content: "›";
    margin: 0 8px;
    color: var(--color-text-lighter);
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary); }

/* --- Hero --- */
.hero {
    background: linear-gradient(135deg, #0f0c2e 0%, #1e1b4b 40%, #3730a3 70%, #6366f1 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(251,191,36,.15), transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(167,139,250,.15), transparent 50%);
    pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: #fff;
}
.hero p {
    font-size: 1.2rem;
    color: #e0e7ff;
    max-width: 680px;
    margin: 0 auto 32px;
}
.hero-article {
    padding: 48px 0 32px;
    text-align: left;
}
.hero-article h1 { font-size: 2.2rem; }
.hero-article p { margin: 0; max-width: none; color: #e0e7ff; }
.article-meta { font-size: .9rem; opacity: .8; }

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.hero-badge {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: .88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn small {
    font-size: .78em;
    font-weight: 400;
    opacity: .8;
}
.btn-primary {
    background: var(--color-accent);
    color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
    background: var(--color-primary);
    color: #fff;
}
.btn-secondary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold {
    background: var(--color-gold);
    color: var(--color-primary-dark);
}
.btn-gold:hover { background: #f59e0b; color: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-light:hover { background: #fff; color: var(--color-primary); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* --- Cards Grid --- */
.cards-grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--color-bg-alt);
}
.card-body { padding: 24px; }
.card-body h3 { margin-top: 0; font-size: 1.15rem; }
.card-body p { color: var(--color-text-light); font-size: .95rem; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-primary-light);
    font-weight: 600;
    font-size: .95rem;
}
.card-link:hover { gap: 8px; }

/* --- Category Cards (Homepage — 4 Formfaktoren) --- */
.category-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--color-primary-light);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.category-card-icon {
    margin-bottom: 14px;
    line-height: 1;
    color: var(--color-primary);
}
.category-card-icon svg {
    display: block;
    width: 48px;
    height: 48px;
    stroke: var(--color-primary);
}
.category-card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}
.category-card-desc {
    color: var(--color-text-light);
    font-size: .92rem;
    margin-bottom: 16px;
    flex-grow: 1;
}
.category-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    font-size: .88rem;
    border-top: 1px solid var(--color-border-light);
    padding-top: 14px;
}
.category-card ul li { padding: 3px 0; }
.category-card ul a {
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.category-card ul a::before {
    content: '→';
    font-size: .75rem;
    color: var(--color-primary-light);
}
.category-card ul a:hover { color: var(--color-primary); }
.category-card-foot {
    border-top: 1px solid var(--color-border-light);
    padding-top: 14px;
    margin-top: auto;
}
.category-card-foot .card-link { font-size: .92rem; }

/* --- Badges --- */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.badge-abo {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.badge-abo::before { content: ''; display: inline-block; width: .85em; height: .85em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23991b1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center/contain no-repeat; vertical-align: -.1em; margin-right: 4px; }
.badge-no-abo {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.badge-no-abo::before { content: ''; display: inline-block; width: .85em; height: .85em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; vertical-align: -.1em; margin-right: 4px; }
.badge-featured {
    background: var(--color-gold-light);
    color: #92400e;
    border: 1px solid var(--color-gold);
}
.badge-featured::before { content: ''; display: inline-block; width: .85em; height: .85em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d97706' stroke='%23d97706' stroke-width='1'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat; vertical-align: -.1em; margin-right: 4px; }
.badge-amazon {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffe69c;
}
.badge-partner {
    background: var(--color-accent-light);
    color: var(--color-accent-dark);
    border: 1px solid #ddd6fe;
}

/* --- Product Highlight Card --- */
.product-highlight {
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    transition: border-color var(--transition);
}
.product-highlight:hover { border-color: var(--color-primary-light); }
.product-highlight-featured { border-color: var(--color-accent); }
.product-highlight-featured .product-highlight-badge { background: var(--color-accent); }
.product-highlight-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 6px 16px;
    letter-spacing: .03em;
}
.product-highlight-inner {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
}
.product-highlight-img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.product-highlight-img img {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
}
.product-highlight--no-img .product-highlight-inner {
    grid-template-columns: 1fr;
}
.product-highlight-body { padding: 24px 28px; }
.product-highlight-body h3 { margin: 0 0 8px; font-size: 1.3rem; }
.product-highlight-body > p { color: var(--color-text-light); margin-bottom: 16px; }
.product-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}
.product-features li {
    font-size: .9rem;
    color: var(--color-text);
    padding-left: 22px;
    position: relative;
    margin: 0;
}
.product-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}
.product-features li.con::before {
    content: "\2715";
    color: var(--color-danger);
}
.product-highlight-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
    flex-wrap: wrap;
}
.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
}
.product-price small {
    font-size: .8rem;
    font-weight: 400;
    color: var(--color-text-light);
}

/* --- Comparison Table --- */
.compare-table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
    background: #fff;
}
.compare-table th {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: middle;
}
.compare-table tr:nth-child(even) { background: var(--color-bg-alt); }
.compare-table tr:hover { background: var(--color-primary-bg); }
.compare-table .check { color: var(--color-success); font-weight: 600; }
.compare-table .cross { color: var(--color-danger); }
.compare-table .partial { color: var(--color-warning); }
.compare-table .check::before { content: ''; display: inline-block; width: 1em; height: 1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; vertical-align: -.15em; margin-right: 5px; }
.compare-table .cross::before { content: ''; display: inline-block; width: 1em; height: 1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/contain no-repeat; vertical-align: -.15em; margin-right: 5px; }
.compare-table .partial::before { content: ''; display: inline-block; width: 1em; height: 1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") center/contain no-repeat; vertical-align: -.15em; margin-right: 5px; }
.compare-table .btn { padding: 8px 18px; font-size: .85rem; white-space: nowrap; display: block; text-align: center; }
.compare-table td:last-child { min-width: 140px; vertical-align: middle; }
.compare-table td:last-child .btn + .btn { margin-top: 6px; }
.compare-table .product-name { font-weight: 700; }
.compare-table .highlight-row { background: var(--color-accent-light) !important; }

/* --- Sidebar (sticky) --- */
.sidebar { position: sticky; top: 88px; }
.sidebar-cta {
    background: linear-gradient(180deg, var(--color-accent-light) 0%, #fff 100%);
    border: 2px solid var(--color-lavender);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}
.sidebar-cta-badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.sidebar-cta h4 { margin: 0 0 8px; font-size: 1rem; }
.sidebar-cta p { font-size: .85rem; color: var(--color-text-light); margin-bottom: 16px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* --- Table of Contents --- */
.toc {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
}
.toc h3, .toc h4 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--color-text-lighter);
    margin: 0 0 12px;
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 0; }
.toc a {
    display: block;
    padding: 6px 0 6px 12px;
    font-size: .88rem;
    color: var(--color-text-light);
    border-left: 3px solid transparent;
    transition: all var(--transition);
}
.toc a:hover { color: var(--color-primary); border-left-color: var(--color-primary-light); }
.toc a.active { color: var(--color-primary); border-left-color: var(--color-primary); font-weight: 600; }

/* --- Info Boxes --- */
.info-box {
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 1.5rem 0;
    font-size: .95rem;
}
.info-box-title {
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-box.tip { background: var(--color-primary-bg); border-left: 4px solid var(--color-primary-light); }
.info-box.tip .info-box-title { color: var(--color-primary); }
.info-box.warning { background: var(--color-gold-light); border-left: 4px solid var(--color-gold); }
.info-box.warning .info-box-title { color: #92400e; }
.info-box.danger { background: #fef2f2; border-left: 4px solid var(--color-danger); }
.info-box.danger .info-box-title { color: #991b1b; }
.info-box.expert { background: var(--color-accent-light); border-left: 4px solid var(--color-accent); }
.info-box.expert .info-box-title { color: var(--color-accent-dark); }

/* --- FAQ Accordion --- */
.faq-section { margin: 2rem 0; }
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
    transition: background var(--transition);
}
.faq-question:hover { background: var(--color-bg-alt); }
.faq-question::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--color-text-lighter);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-answer {
    display: none;
    padding: 0 20px 16px;
    color: var(--color-text-light);
    font-size: .95rem;
    line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* --- Footer --- */
.site-footer {
    background: linear-gradient(180deg, #1e1b4b 0%, #0f0c2e 100%);
    color: #a5b4fc;
    padding: 48px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 12px; }
.footer-col h4 {
    color: #c7d2fe;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #a5b4fc; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    padding: 20px 0;
    font-size: .82rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-disclaimer {
    padding: 16px 0 24px;
    font-size: .78rem;
    color: #8b93c0;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 16px;
}
.footer-publisher {
    padding: 14px 0 0;
    font-size: .82rem;
    color: #a5b4fc;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 16px;
}
.footer-publisher a { color: #c7d2fe; }

/* --- Related Articles --- */
.related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--color-text);
    transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30,27,75,.15);
}
.related-card img { width: 100%; height: 160px; object-fit: cover; }
.related-card span {
    display: block;
    padding: 14px 16px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--color-primary);
    line-height: 1.35;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root { --section-pad: 48px; }
    .article-layout > .container { grid-template-columns: 1fr; }
    .article-layout { padding: 0 24px; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    :root { --section-pad: 36px; }
    body { font-size: 16px; }
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.35rem; }
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.05rem; }
    .nav-desktop { display: none; }
    .hamburger { display: block; }
    .product-highlight-inner { grid-template-columns: 1fr; }
    .product-highlight-img { min-height: 160px; }
    .product-features { grid-template-columns: 1fr; }
    .product-highlight-footer { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .cards-3, .cards-4 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .article-layout { padding: 0 16px; }
    .btn { padding: 12px 20px; font-size: .92rem; }
    .btn-lg { padding: 14px 24px; font-size: 1rem; }
}
