:root {
    /* Premium Trust Palette */
    --primary: #0F172A;
    --primary-light: #1E293B;
    --secondary: #1E40AF;
    --secondary-hover: #1D4ED8;
    --accent: #CA8A04;
    /* Premium Gold */
    --accent-light: #EAB308;
    --success: #059669;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --text-dark: #020617;
    --text-muted: #64748B;
    --border: #E2E8F0;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --grad-blue: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    --grad-gold: linear-gradient(135deg, #CA8A04 0%, #EAB308 100%);

    /* Typography - Premium Mix */
    --font-main: 'Nunito Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Rubik', sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

.icon-accent {
    color: var(--accent);
}

.icon-secondary {
    color: var(--secondary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3.5vw, 1.75rem);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Promotion Banner */
.promo-banner {
    background: var(--grad-gold);
    color: var(--primary);
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1100;
}

.promo-banner .close-banner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.6;
}

/* Header & Nav */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: flex-end;
    /* Align the text logically below variable height icons */
}

.main-nav a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
}

.nav-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    /* Space between icon and text */
    height: 100%;
}

.nav-icon {
    color: var(--primary);
    /* The dark color of the icons */
    transition: var(--transition);
}

.nav-icon.icon-xl {
    width: 32px;
    height: 32px;
}

.nav-icon.icon-lg {
    width: 32px;
    height: 32px;
}

.nav-icon.icon-sm {
    width: 32px;
    height: 32px;
}

.nav-text {
    text-align: center;
}

.main-nav a:hover,
.main-nav a:hover .nav-icon {
    color: var(--secondary);
}

.main-nav a:hover .nav-icon {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: var(--grad-primary);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #CBD5E0;
    max-width: 900px;
    margin: 0 auto 48px;
    font-weight: 400;
}

/* Trust Badges Bar */
.trust-badges-container {
    padding: 40px 0;
    text-align: center;
}

.trust-badges-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 120px;
    opacity: 0.8;
    transition: var(--transition);
}

.trust-badge:hover {
    opacity: 1;
    transform: scale(1.05);
}

.trust-badge-icon {
    font-size: 2rem;
    color: var(--secondary);
}

.trust-badge-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb-icon {
    margin: 0 8px;
    opacity: 0.5;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.4);
}

/* Pillar Sections */
.sections-grid {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.pillar-card {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.pillar-icon {
    font-size: 3rem;
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    color: var(--secondary);
}

/* Single Post / Page Layout */
.container-narrow {
    max-width: 850px;
}

.article-hero {
    padding: clamp(60px, 10vw, 120px) 0;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 0;
}

.article-hero .blog-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.disclosure-container {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.disclosure-box {
    padding: 15px 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    margin-top: 48px;
    padding-bottom: 80px;
}

.entry-container {
    padding: 60px 0;
}

/* Winner Card (Review Sidebar) */
.winner-card {
    position: sticky;
    top: 120px;
    border: 2px solid var(--primary) !important;
}

.winner-card h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

.winner-icon {
    font-size: 4rem;
    margin: 20px 0;
}

.winner-score {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary);
}

.winner-card hr {
    margin: 24px 0;
    border: none;
    border-top: 1px solid var(--border);
}

.winner-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.btn-full {
    width: 100%;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.blog-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.blog-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--grad-primary);
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.8);
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
    filter: brightness(1);
}

.blog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(26, 32, 44, 0.8), transparent);
    z-index: 1;
}

.blog-content {
    padding: 24px;
    position: relative;
}

.blog-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

/* Ebook Section Expansion */
.ebook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.ebook-item {
    background: var(--grad-primary);
    color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.ebook-item:hover {
    transform: translateY(-5px);
}

.ebook-img {
    width: 160px;
    height: 220px;
    background: var(--grad-gold);
    border-radius: 4px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    text-align: center;
    padding: 15px;
}

.ebook-item h3 {
    color: var(--accent);
}

/* Newsletter */
.newsletter-section {
    background: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 32px auto 0;
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 1rem;
}

/* Improved Footer */
.main-footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #A0AEC0;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #2D3748;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #718096;
}

/* Comparison Table Premium */
.table-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 2px solid var(--bg-light);
}

td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

tr:last-child td {
    border: none;
}

.badge-best {
    background: var(--success);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

/* Responsive Updates */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        list-style: none;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .sections-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .pillar-card {
        padding: 32px 24px;
    }

    .table-wrapper {
        overflow-x: auto;
        margin: 0 -20px;
        padding: 20px;
        border-radius: 0;
    }

    table {
        min-width: 600px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.25rem;
    }

    .btn {
        width: 100%;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* Minimal Centered Footer (Matching User Screenshot) */
.minimal-footer {
    background: #111111;
    /* Very dark grey, almost black */
    color: #A0AEC0;
    padding: 60px 20px;
    text-align: center;
    font-family: var(--font-main);
    display: flex;
    justify-content: center;
}

.minimal-footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 800px;
}

.minimal-footer-copyright {
    font-size: 1.1rem;
    color: #D1D5DB;
    /* Lighter grey for copy */
    margin-bottom: 5px;
    text-align: center;
}

.minimal-footer-copyright strong {
    color: #F3F4F6;
    font-weight: 600;
}

.minimal-footer-copyright .divider {
    color: #6B7280;
    margin: 0 10px;
}

.minimal-footer-disclosure {
    font-size: 0.95rem;
    color: #9CA3AF;
    margin-bottom: 15px;
    text-align: center;
}

.minimal-footer-disclosure .disclosure-link {
    color: #EAB308;
    /* Gold/Yellow link */
    text-decoration: underline;
    text-decoration-color: rgba(234, 179, 8, 0.4);
    text-underline-offset: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.minimal-footer-disclosure .disclosure-link:hover {
    color: #FBBF24;
    text-decoration-color: #FBBF24;
}

.minimal-footer-nav {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.minimal-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.minimal-footer-links li {
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
}

.minimal-footer-links li::before {
    content: none !important;
}

.minimal-footer-links a {
    color: #A0AEC0;
    font-size: 1.05rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.minimal-footer-links a:hover {
    color: #FFFFFF;
}

/* Hide the old grid footer CSS if it's still there */
.footer-grid,
.footer-bottom {
    display: none !important;
}