/* AngyOne - Trust Authority (Blue Edition) */

/* 1. Reset & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Palette: Trust Blue (Light Mode Default) */
    --primary: #0F172A;
    /* Navy Blue (Slate 900) */
    --primary-light: #1E293B;
    /* Slate 800 */
    --primary-bright: #2563EB;
    /* Royal Blue */

    --accent: #E0F2FE;
    /* Sky 100 */
    --accent-dark: #BAE6FD;
    /* Sky 200 */

    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    /* Slate 50 */
    --bg-blue: #EFF6FF;
    /* Blue 50 */

    --text-main: #0F172A;
    /* Navy used for text */
    --text-body: #475569;
    /* Slate 600 */
    --border: #E2E8F0;
    /* Slate 200 */

    --card-bg: #FFFFFF;
    --card-hover: #FFFFFF;

    /* Shapes */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 999px;

    /* Layout */
    --container-width: 1200px;
    --nav-height: 80px;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary: #FFFFFF;

    --bg-main: #020617;
    /* Slate 950 - Very Dark */
    --bg-alt: #0F172A;
    /* Slate 900 */
    --bg-blue: #1E293B;
    /* Slate 800 */

    --text-main: #F8FAFC;
    /* Slate 50 */
    --text-body: #94A3B8;
    /* Slate 400 */
    --border: #1E293B;
    /* Slate 800 */

    --card-bg: #0F172A;
    /* Slate 900 cards */
    --card-hover: #1E293B;

    --primary-bright: #60A5FA;
    /* Lighter blue */
}

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

body {
    font-family: var(--font-main);
    color: var(--text-body);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* 2. Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2.5rem;
}

/* IMPORTANT: Background Utility for Sections */
.bg-alt {
    background-color: var(--bg-alt);
}

.bg-main {
    background-color: var(--bg-main);
}

/* Typography fix for headers */
/* Typography fix for headers */
h1,
h2,
h3,
h4,
h5 {
    color: var(--text-main);
    letter-spacing: -0.025em;
    /* Modern Coding/SaaS look */
}

.section-label {
    color: var(--primary-bright);
    /* Pop color */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #2563EB;
    /* Default Royal Blue */
    color: white;
}

[data-theme="dark"] .btn-primary {
    background-color: #3B82F6;
    /* Slightly lighter blue */
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    filter: brightness(110%);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary-bright);
    color: var(--primary-bright);
}

/* Theme Toggle Button - Premium Style */
.btn-theme {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-theme:hover {
    background-color: var(--bg-alt);
    border-color: var(--primary-bright);
    color: var(--primary-bright);
}

.mobile-only {
    display: none;
}

@media(max-width: 768px) {
    .mobile-only {
        display: flex;
    }
}


/* 3. Navigation (Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.85);
    /* Light Mode Glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .navbar {
    background-color: rgba(2, 6, 23, 0.85);
    /* Dark Mode Glass */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 90px;
    /* Increased size per user request */
    width: auto;
    display: block;
    margin-top: -3px;
    /* Visual balance */
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-body);
    font-size: 0.95rem;
    transition: color 0.1s;
}

.nav-link:hover,
.nav-link.nav-active {
    color: var(--primary-bright);
}

/* Dropdown Menu Support */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropbtn {
    background: none;
    border: none;
    color: var(--text-body);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.dropdown-content {
    /* Modern Hover Stability Fix */
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background-color: var(--card-bg);
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1000;
    top: 100%;
    /* Anchor to bottom of button */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border: 1px solid var(--border);
    padding: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Helper bridge to fix hover gap */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown-divider {
    border-top: 1px solid var(--border);
    margin: 4px 0;
}

.dropdown-content a {
    color: var(--text-body);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.15s;
    margin-bottom: 2px;
}

.dropdown-content a:hover {
    background-color: var(--bg-alt);
    color: var(--primary-bright);
    transform: translateX(2px);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Arrow indicator */
.dropbtn::after {
    content: " ▾";
    font-size: 0.8em;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.2s;
}

.dropdown:hover .dropbtn::after {
    transform: rotate(180deg);
}

.hamburger {
    display: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-main);
        padding: 24px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border);
        align-items: flex-start;
        /* Fix visibility and scrolling */
        z-index: 1100;
        max-height: 85vh;
        overflow-y: auto;
    }

    .hamburger {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    /* Mobile Dropdown Fix */
    .dropdown {
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }

    .dropbtn {
        width: 100%;
        justify-content: space-between;
        padding: 10px 0;
        font-weight: 600;
        color: var(--primary);
        /* Highlight headers */
    }

    .dropdown-content {
        position: static;
        /* Flow in document */
        width: 100%;
        min-width: unset;
        box-shadow: none;
        border: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0 0 0 16px;
        /* Indent links */
        display: block;
        /* Always Show on Mobile */
        margin-bottom: 16px;
    }

    .dropdown-content a {
        padding: 8px 0;
        font-size: 0.95rem;
        color: var(--text-body);
    }

    /* Hide the 'View Hub' links on mobile to save space? Optional. Keeping for now. */
}

/* 4. Hero Section (Split Layout) */
.hero {
    min-height: 80vh;
    padding-top: var(--nav-height);
    background: linear-gradient(180deg, #0F172A 0%, #172554 100%);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .hero {
    background: radial-gradient(circle at center, #1E293B 0%, #020617 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    order: 1;
    /* Text first */
    text-align: left;
    /* Aligned left for density */
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    color: #CBD5E1;
    margin-bottom: 40px;
}

.hero-visual {
    order: 2;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CSS Abstract Dashboard */
.visual-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 300px;
    height: 180px;
}

.card-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(15, 23, 42, 0.6);
    /* Darker glass */
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.card-2 {
    top: 40%;
    left: 60%;
    transform: translate(-50%, -50%) rotate(5deg);
    z-index: 1;
    opacity: 0.7;
}

.card-3 {
    top: 60%;
    left: 40%;
    transform: translate(-50%, -50%) rotate(-5deg);
    z-index: 1;
    opacity: 0.7;
}

/* Fake UI lines in card */
.ui-line {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 10px;
}

.ui-circle {
    width: 40px;
    height: 40px;
    background: #2563EB;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Mobile Hero */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        order: 1;
        text-align: center;
        margin: 0 auto;
    }

    .hero-visual {
        order: 2;
        height: 300px;
    }
}

/* Hero Search Bar */
.hero-search-container {
    display: flex;
    justify-content: flex-start;
    /* Aligned left */
    gap: 8px;
    margin-bottom: 32px;
    max-width: 450px;
    background: var(--bg-main);
    padding: 6px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .hero-search-container {
    background: #1E293B;
    /* Slate 800 */
    border: 1px solid #334155;
}

@media (max-width: 900px) {
    .hero-search-container {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-search-input {
    flex-grow: 1;
    padding: 12px 16px;
    border: none;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    border-radius: var(--radius-sm);
    background: transparent;
}

.hero-search-btn {
    padding: 12px 24px;
    background: var(--primary-bright);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
}

.hero-search-btn:hover {
    background-color: #1D4ED8;
}


/* 4.5 Trust Strip */
.trust-strip {
    background-color: var(--bg-main);
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-bright);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .trust-grid {
        gap: 24px;
        flex-direction: column;
        align-items: center;
        /* Stack vertically on mobile */
    }
}

/* 5. Clean Cards (Premium) */
.clean-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    /* Softer corners */
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.clean-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary-bright);
    background: var(--card-hover);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-bright);
    background: var(--bg-blue);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

[data-theme="dark"] .feature-icon {
    background: #1E293B;
}

.clean-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.clean-card p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* Featured Spotlight (NEW) */
.featured-spotlight {
    /* Always use dark gradient, even in dark mode, to support white text */
    background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    color: white;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border for definition */
}

.spotlight-content {
    flex: 1;
    z-index: 2;
}

/* Image now injected via HTML */
.spotlight-visual {
    flex: 1;
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 2;
}

/* Removed ::after placeholder */

.spotlight-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #E0F2FE;
    margin-bottom: 16px;
    display: block;
}

@media(max-width: 900px) {
    .featured-spotlight {
        flex-direction: column;
        text-align: center;
    }
}


/* 6. Categories & Stats */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.category-tag {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.category-tag:hover {
    background: var(--bg-blue);
    color: var(--primary-bright);
    border-color: var(--primary-bright);
}

/* Methodology Bar */
.stats-bar {
    background-color: #0F172A;
    /* Always Navy to maintain contrast block */
    color: white;
    padding: 60px 0;
    margin: 80px 0 0 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E0F2FE;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #94A3B8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 7. Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.tool-badge {
    padding: 4px 12px;
    background: var(--bg-blue);
    color: var(--primary-bright);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
}

[data-theme="dark"] .tool-badge {
    background: #1E293B;
}

.tool-link {
    color: var(--primary-bright);
    font-weight: 600;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

/* 8. FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: var(--bg-alt);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-body);
    display: none;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 9. Newsletter Box */
.newsletter-box {
    background-color: var(--bg-alt);
    color: var(--text-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.newsletter-input {
    background: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--border);
}

/* 10. Fat Footer */
footer {
    background-color: var(--bg-alt);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    color: var(--text-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col ul li a:hover {
    color: var(--primary-bright);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

/* 11. Review Components (NEW) */
.verdict-card {
    background: var(--bg-blue);
    border: 1px solid var(--primary-bright);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.verdict-label {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-bright);
    color: white;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    border-bottom-left-radius: var(--radius-md);
    text-transform: uppercase;
}

/* 14. Product Page Header (Compact & Clean) */
.product-header {
    padding-top: 140px;
    padding-bottom: 60px;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border);
}

.product-header .container {
    max-width: 800px;
    /* Focus the eye */
    text-align: center;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumb a {
    color: var(--text-body);
}

.breadcrumb a:hover {
    color: var(--primary-bright);
}

.product-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-main);
}

.product-subtitle {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Adjust button for light mode header */
.product-header .btn-primary {
    background-color: var(--primary-bright);
    color: white;
}

.decision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.decision-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
}

.decision-card.pro {
    border-top: 4px solid #22c55e;
    /* Green for Pros/Use If */
}

.decision-card.con {
    border-top: 4px solid #ef4444;
    /* Red for Cons/Avoid If */
}

.decision-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.decision-list {
    list-style: none;
    padding: 0;
}

.decision-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.decision-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-bright);
    font-weight: bold;
}

.decision-card.con .decision-list li::before {
    color: #ef4444;
}

.decision-card.pro .decision-list li::before {
    color: #22c55e;
}

.verdict-box {
    background: var(--bg-main);
    border: 2px solid var(--primary-bright);
    padding: 40px;
    text-align: center;
    border-radius: var(--radius-lg);
    margin-bottom: 60px;
}

.verdict-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .decision-grid {
        grid-template-columns: 1fr;
    }
}

.article-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.article-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 40px);
}

.toc-header {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.toc-link {
    display: block;
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 2px solid var(--border);
    transition: all 0.2s;
}

.toc-link:hover,
.toc-link.active {
    color: var(--primary-bright);
    border-color: var(--primary-bright);
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-body);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-bright);
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-bright);
}

.author-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-main);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-body);
}

.content-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    /* Comfortable reading */
    margin-bottom: 24px;
    color: var(--text-body);
}

.content-body h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.content-body h3 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 16px;
}

/* Quote / Definition Style */
.callout-quote {
    border-left: 4px solid var(--primary-bright);
    padding-left: 24px;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 32px 0;
    background: transparent;
}

@media (max-width: 900px) {
    .article-grid {
        grid-template-columns: 1fr;
        /* Stack sidebar */
    }

    .article-sidebar {
        display: none;
        /* Hide TOC on mobile for simplicity, or move to top */
    }
}

[data-theme="dark"] .verdict-card {
    background: rgba(37, 99, 235, 0.1);
}

.verdict-label {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-bright);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-bottom-right-radius: var(--radius-sm);
    text-transform: uppercase;
}

.rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.rating-label {
    flex: 1;
    font-weight: 600;
}

.rating-track {
    flex: 2;
    height: 8px;
    background: var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin: 0 16px;
}

.rating-fill {
    height: 100%;
    background: var(--primary-bright);
    border-radius: var(--radius-pill);
}

.rating-score {
    width: 30px;
    font-weight: 700;
    color: var(--text-main);
    text-align: right;
}

/* Comparison Table */
.comparison-container {
    overflow-x: auto;
    margin-bottom: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.compare-table th,
.compare-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table th {
    background: var(--bg-alt);
    font-weight: 600;
    color: var(--text-main);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.check-icon {
    color: #10B981;
}

/* Green */
.cross-icon {
    color: #EF4444;
}

/* Red */

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .features-grid,
    .tools-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .hero-search-container,
    .newsletter-form {
        flex-direction: column;
    }

    .hero-search-input,
    .newsletter-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-search-btn,
    .newsletter-btn {
        width: 100%;
    }
}

/* 6. Audience Section (PartnerStack Optimization) */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.audience-card {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.audience-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-bright);
    box-shadow: var(--shadow-md);
}

.audience-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--bg-main);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.audience-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.audience-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}