
:root {
    /* Light Theme (default) */
    --primary-color: #059669; /* emerald-600 */
    --primary-hover: #047857; /* emerald-700 */
    --secondary-color: #f0fdf4; /* emerald-50 */
    --text-dark: #0f172a; /* slate-900 */
    --text-medium: #475569; /* slate-600 */
    --text-light: #64748b; /* slate-500 */
    --background-color: #f8fafc; /* slate-50 */
    --white: #ffffff;
    --border-color: #e2e8f0; /* slate-200 */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --amber-color: #f59e0b;

    /* Additional tokens for theming */
    --card-bg: #ffffff;
    --header-bg: #ffffff;
    --footer-bg: #0f172a;
    --glow-color: rgba(5, 150, 105, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #10b981; /* emerald-500 */
    --primary-hover: #059669; /* emerald-600 */
    --secondary-color: rgba(16, 185, 129, 0.1);
    --text-dark: #ffffff;
    --text-medium: #a1a1aa; /* zinc-400 */
    --text-light: #71717a; /* zinc-500 */
    --background-color: #18181b; /* zinc-900 */
    --white: #09090b; /* zinc-950 */
    --border-color: #27272a; /* zinc-800 */
    --card-bg: #1f1f23;
    --header-bg: #09090b;
    --footer-bg: #09090b;
    --glow-color: rgba(16, 185, 129, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--text-medium);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.main-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .main-header {
    background-color: rgba(9, 9, 11, 0.9);
}

.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.logo-img {
    width: 36px;
    height: 36px;
    margin-right: 0.5rem;
}

.logo-icon {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-dark);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Navigation Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 200;
    padding: 1.5rem;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-dark);
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-nav-actions {
    margin-top: auto;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-actions .btn {
    text-align: center;
    width: 100%;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: #d1fae5; /* emerald-100 */
    text-decoration: none;
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-dark);
    background-color: transparent;
}
.btn-outline:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
}

.btn-lg { font-size: 1.1rem; }
.w-full { width: 100%; display: block; text-align: center; }

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-text .text-primary { color: var(--primary-color); }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text p { font-size: 1.25rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 2rem; }

/* Trusted By Section */
.trusted-by {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stars {
    color: var(--amber-color);
    display: flex;
    gap: 2px;
}

.trusted-stat p { margin: 0; line-height: 1.2; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.stat-label { font-size: 0.875rem; color: var(--text-light); }
.vertical-divider { width: 1px; height: 3rem; background-color: var(--border-color); }

/* Calculator Styles */
.calculator-card {
    background-color: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px var(--shadow-color), 0 10px 10px -5px var(--shadow-color);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .calculator-card {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px var(--glow-color);
}

.calc-header {
    margin-bottom: 1.5rem;
}

.slider-container {
    margin-bottom: 2rem;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type=range] {
    width: 100%;
    margin: 0.5rem 0;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.slider-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
}

.breakdown-box {
    background-color: var(--background-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.breakdown-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.rebate-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.rebate-option-btn {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rebate-option-btn:hover {
    border-color: #cbd5e1; /* slate-300 */
}

.rebate-option-btn.active {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}

.option-content h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--text-dark); }
.option-content p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.option-amount { font-size: 1.25rem; font-weight: 700; color: var(--primary-color); }

.calc-footer-text {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* General Sections */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.25rem; color: var(--text-light); }

.benefits-section, .how-it-works-section, .faq-section, .showings-section {
    padding: 5rem 0;
}

.how-it-works-section, .faq-section { background-color: var(--background-color); }

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px var(--shadow-color);
}

[data-theme="dark"] .card:hover {
    border-color: #3f3f46;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary-color);
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.card h3 { margin-bottom: 0.5rem; }

/* How It Works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
    gap: 2rem;
    text-align: center;
    position: relative;
}

.step-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 2px solid var(--secondary-color);
    position: relative;
    z-index: 2; /* Keep card above connection line */
}

/* Connection Line for Steps */
@media (min-width: 1024px) {
    .step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 3.5rem; /* Vertically centered with the number icon (top 2rem padding + 1.5rem half-height) */
        left: 100%;
        width: 2rem; /* Matches the gap */
        height: 2px;
        background: linear-gradient(to right, #d1fae5, transparent);
        z-index: 1;
        transform: translateY(-50%);
    }
    
    /* Improved connector: dashed line spanning the whole grid row behind cards? 
       Or individual connectors. The React code used an absolute div.
       Let's stick to simple pseudo-elements between cards.
    */
    .how-it-works-grid {
        /* Reset grid for smaller screens handled by media query below */
    }
}

/* Fallback for responsive Grid */
@media (max-width: 1024px) {
    .how-it-works-grid {
        grid-template-columns: 1fr 1fr;
    }
    .step-card:not(:last-child)::after {
        display: none;
    }
}
@media (max-width: 640px) {
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}


.step-number {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
}

.step-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.step-icon svg {
    opacity: 0.8;
}

/* Step Connector Line */
.step-connector {
    display: none;
}

@media (min-width: 1024px) {
    .step-card {
        position: relative;
    }

    .step-connector {
        display: block;
        position: absolute;
        top: 3.5rem;
        left: 100%;
        width: 2rem;
        height: 3px;
        background: linear-gradient(to right, var(--primary-color), transparent);
        opacity: 0.3;
    }

    .step-card:last-child .step-connector {
        display: none;
    }
}

/* Showings Section */
.showings-card {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 3rem;
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.showings-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calendar-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem auto;
    color: var(--primary-color);
}

.showing-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showing-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.showing-number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

.showing-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pro-tip-box {
    margin-top: 2rem;
    background-color: var(--secondary-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    color: #064e3b; /* emerald-900 */
    font-size: 0.9rem;
}

/* FAQ */
.faq-accordion { max-width: 800px; margin: auto; }
.faq-item {
    background-color: var(--white);
    border: none;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.faq-item summary {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    position: relative;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
.faq-item summary:hover {
    color: var(--primary-color);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-medium);
    border-bottom: 2px solid var(--text-medium);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item[open] summary::after {
    transform: rotate(-135deg);
}
.faq-item[open] summary {
    color: var(--primary-color);
}
.faq-item .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-medium);
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

/* Waitlist Section */
.waitlist-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.waitlist-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d1fae5 100%);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #b9f6ca;
}

.waitlist-content h2 {
    margin-bottom: 1rem;
}

.waitlist-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form .form-group {
    display: flex;
    gap: 0.5rem;
    background-color: var(--white);
    padding: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.waitlist-form input[type="email"] {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    outline: none;
}

.waitlist-form .form-notice {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 0;
}

.waitlist-success {
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
}

.waitlist-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
    .waitlist-form .form-group {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        border: none;
    }
    
    .waitlist-form input[type="email"] {
        background-color: var(--white);
        border: 1px solid var(--border-color);
        margin-bottom: 0.75rem;
        width: 100%;
    }
    
    .waitlist-form .btn {
        width: 100%;
    }
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255, 255, 255, 0.9); font-size: 1.25rem; margin-bottom: 2rem; }
.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}
.cta-section .btn-primary:hover { background-color: var(--secondary-color); }

/* Footer */
.main-footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo { color: var(--white); }
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; }

.footer-links h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: var(--text-light);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
    border-top: 1px solid #334155; /* slate-700 */
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Blog & Static Pages */
.page-header {
    padding: 4rem 0;
    background-color: var(--background-color);
    text-align: center;
}

.content-section {
    padding: 4rem 0;
    max-width: 800px;
    margin: auto;
}

.content-section h2 { margin-top: 2rem; margin-bottom: 1rem; }
.content-section h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.content-section ul { margin-left: 1.5rem; margin-bottom: 1rem; }

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

.post-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.post-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.post-card-image img { width: 100%; height: 200px; object-fit: cover; }
.post-card-content { padding: 1.5rem; }
.post-card-content h3 { margin-bottom: 0.5rem; }
.post-card-meta { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1rem; }
.post-card-content a { font-weight: 600; }

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

/* =============================================
   BLOG PAGE STYLES
   ============================================= */

/* Blog Header */
.blog-header {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ecfdf5 100%);
    text-align: center;
}

.blog-header h1 {
    margin-bottom: 0.5rem;
}

.blog-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin: 0;
}

/* Featured Post */
.featured-post-section {
    padding: 2rem 0 0 0;
}

.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.featured-post-image {
    position: relative;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-post-content {
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-tag {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
}

.category-tag:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.category-tag-sm {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.category-tag-sm:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.featured-post-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-post-content h2 a {
    color: var(--text-dark);
    transition: color 0.2s;
}

.featured-post-content h2 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.featured-post-content > p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.post-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.meta-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.post-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Category Filters */
.category-filter-section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.category-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s;
}

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

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Blog Layout with Sidebar */
.blog-content-section {
    padding: 3rem 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
}

.blog-main .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Updated Post Cards for Blog Grid */
.blog-main .post-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-main .post-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.blog-main .post-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-main .post-card-content {
    padding: 1.25rem;
}

.blog-main .post-card-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-main .post-card-content h3 a {
    color: var(--text-dark);
    transition: color 0.2s;
}

.blog-main .post-card-content h3 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-main .post-card-content > p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-light);
}

.post-date-sm, .read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
}

/* Search Widget */
.search-widget {
    padding: 1rem;
}

.search-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background: var(--primary-hover);
}

/* Categories Widget */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-medium);
    transition: all 0.2s;
}

.category-list li:last-child a {
    border-bottom: none;
}

.category-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
    padding-left: 0.5rem;
}

.category-list .count {
    background: var(--background-color);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Popular Posts Widget */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-post-item {
    display: flex;
    gap: 0.75rem;
}

.popular-post-thumb {
    flex-shrink: 0;
}

.popular-post-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.popular-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popular-post-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.popular-post-content h4 a {
    color: var(--text-dark);
    transition: color 0.2s;
}

.popular-post-content h4 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.popular-post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post-item a {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.recent-post-item a:hover {
    background: var(--background-color);
    text-decoration: none;
}

.recent-post-thumb {
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.recent-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.recent-post-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Sidebar CTA Widget */
.sidebar-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d1fae5 100%);
    text-align: center;
}

.sidebar-cta .widget-title {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-cta p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

[data-theme="dark"] .sidebar-cta {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
}

[data-theme="dark"] .recent-post-item a:hover {
    background: var(--card-bg);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d1fae5 100%);
    text-align: center;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
}

.newsletter-widget .widget-title {
    border-bottom: none;
    padding-bottom: 0;
}

.newsletter-widget > p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    background: var(--white);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-note {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0.5rem 0 0 0;
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--background-color);
    color: var(--text-medium);
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Pagination */
.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-medium);
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
}

.pagination-num {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: var(--text-medium);
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-num:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.pagination-num.active {
    background: var(--primary-color);
    color: white;
}

.pagination-ellipsis {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

/* Responsive */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        position: static;
    }

    .newsletter-widget,
    .sidebar-cta {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-image { display: none; } /* Hide static image on mobile, keep calculator */
    .calculator-card { order: -1; margin-bottom: 2rem; } /* Show calc first on mobile */
    .hero-actions { justify-content: center; }
    .trusted-by { justify-content: center; flex-wrap: wrap; }
    .vertical-divider { display: none; }

    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-nav {
        display: flex;
    }

    /* Blog Responsive */
    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post-content {
        padding: 1.5rem;
    }

    .featured-post-image img {
        min-height: 200px;
    }

    .blog-main .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .newsletter-widget,
    .sidebar-cta {
        grid-column: span 1;
    }

    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .pagination-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   THEME TOGGLE BUTTON
   ============================================= */

.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-medium);
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(15deg);
}

.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle {
    border-color: var(--border-color);
    color: var(--text-medium);
}

[data-theme="dark"] .theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

/* Initial states (before animation) */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-down"] {
    transform: translateY(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(50px);
}

[data-animate="fade-right"] {
    transform: translateX(-50px);
}

[data-animate="scale-up"] {
    transform: scale(0.9);
}

[data-animate="stagger"] {
    opacity: 1;
}

[data-animate="stagger"] > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animated states (when visible) */
[data-animate].animated {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

[data-animate="stagger"].animated > * {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for children */
[data-animate="stagger"].animated > *:nth-child(1) { transition-delay: 0.1s; }
[data-animate="stagger"].animated > *:nth-child(2) { transition-delay: 0.2s; }
[data-animate="stagger"].animated > *:nth-child(3) { transition-delay: 0.3s; }
[data-animate="stagger"].animated > *:nth-child(4) { transition-delay: 0.4s; }
[data-animate="stagger"].animated > *:nth-child(5) { transition-delay: 0.5s; }
[data-animate="stagger"].animated > *:nth-child(6) { transition-delay: 0.6s; }

/* =============================================
   PARALLAX EFFECTS
   ============================================= */

.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(39, 39, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 39, 42, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .parallax-section::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.parallax-section > .container {
    position: relative;
    z-index: 1;
}

/* Floating decorative elements */
.hero-section {
    --parallax-y: 0px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: calc(-50% + var(--parallax-y));
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: top 0.1s linear;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: calc(-30% - var(--parallax-y));
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: bottom 0.1s linear;
}

[data-theme="dark"] .hero-section::before {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
}

[data-theme="dark"] .hero-section::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

/* =============================================
   DARK THEME SPECIFIC STYLES
   ============================================= */

/* Primary Button Glow in Dark Mode */
[data-theme="dark"] .btn-primary {
    box-shadow: 0 0 20px var(--glow-color);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 0 30px var(--glow-color);
}

/* Secondary elements */
[data-theme="dark"] .breakdown-box {
    background-color: rgba(24, 24, 27, 0.8);
}

[data-theme="dark"] .rebate-option-btn {
    background-color: var(--card-bg);
}

[data-theme="dark"] .rebate-option-btn.active {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-color);
}

/* Step cards */
[data-theme="dark"] .step-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

/* Showings card */
[data-theme="dark"] .showings-card {
    background-color: var(--card-bg);
}

[data-theme="dark"] .pro-tip-box {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
}

/* FAQ */
[data-theme="dark"] .faq-item {
    background-color: var(--card-bg);
}

[data-theme="dark"] .faq-item summary::after {
    border-color: var(--text-medium);
}

/* Waitlist */
[data-theme="dark"] .waitlist-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .waitlist-form .form-group {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .waitlist-form input[type="email"] {
    background-color: transparent;
    color: var(--text-dark);
}

/* Footer */
[data-theme="dark"] .main-footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--border-color);
}

/* Blog Header */
[data-theme="dark"] .blog-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .blog-header h1,
[data-theme="dark"] .blog-header p {
    color: var(--text-dark);
}

[data-theme="dark"] .blog-header p {
    color: var(--text-secondary);
}

/* Page Header (Support, etc.) */
[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, var(--bg-secondary) 100%);
}

/* Featured Post */
[data-theme="dark"] .featured-post {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

/* Post Cards */
[data-theme="dark"] .post-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .post-card-content h3 a {
    color: var(--text-dark);
}

[data-theme="dark"] .post-card-footer {
    border-color: var(--border-color);
}

/* Category Filter */
[data-theme="dark"] .category-filter-section {
    border-color: var(--border-color);
}

[data-theme="dark"] .filter-btn {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Sidebar Widgets */
[data-theme="dark"] .sidebar-widget {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .search-input {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-dark);
}

[data-theme="dark"] .category-list a {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .category-list a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .category-list .count {
    background-color: var(--bg-secondary);
}

/* Newsletter Widget - Dark Mode Fix */
[data-theme="dark"] .newsletter-widget {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
}

[data-theme="dark"] .newsletter-widget .widget-title {
    color: var(--text-dark);
}

[data-theme="dark"] .newsletter-widget > p {
    color: var(--text-secondary);
}

[data-theme="dark"] .newsletter-widget .newsletter-note {
    color: var(--text-muted);
}

[data-theme="dark"] .newsletter-form input {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-dark);
}

/* Tags */
[data-theme="dark"] .tag {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

[data-theme="dark"] .tag:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Pagination */
[data-theme="dark"] .pagination-nav {
    border-color: var(--border-color);
}

[data-theme="dark"] .pagination-btn {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .pagination-btn:hover:not(.disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .pagination-num {
    color: var(--text-secondary);
}

[data-theme="dark"] .pagination-num:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

[data-theme="dark"] .pagination-num.active {
    background-color: var(--primary-color);
    color: white;
}

/* Smooth transitions for all themed elements */
.card, .calculator-card, .step-card, .faq-item, .waitlist-card,
.showings-card, .breakdown-box, .rebate-option-btn, .btn {
    transition: background-color 0.3s ease, border-color 0.3s ease,
                box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* =============================================
   MOBILE RESPONSIVE - SHOW THEME TOGGLE
   ============================================= */

@media (max-width: 768px) {
    .nav-actions {
        display: flex !important;
        gap: 0.5rem;
    }

    .nav-actions .btn {
        display: none;
    }

    .theme-toggle {
        display: flex;
    }
}

/* =============================================
   B2B LANDING PAGE
   ============================================= */

.b2b-page {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #eff6ff;
    --glow-color: rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .b2b-page {
    --primary-color: #60a5fa;
    --primary-hover: #3b82f6;
    --secondary-color: rgba(59, 130, 246, 0.14);
    --glow-color: rgba(96, 165, 250, 0.3);
}

.b2b-page .hero-section {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 32%),
        radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.08), transparent 28%),
        var(--white);
}

.b2b-page .badge {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.b2b-page .b2b-trusted {
    align-items: stretch;
}

.b2b-proof-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 255, 0.96) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 24px 40px -20px rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] .b2b-proof-card {
    background: linear-gradient(180deg, rgba(24, 24, 27, 0.98) 0%, rgba(22, 29, 49, 0.98) 100%);
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
}

.proof-header {
    margin-bottom: 1.5rem;
}

.proof-header h3 {
    margin-bottom: 0.5rem;
}

.proof-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.proof-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.9rem;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

[data-theme="dark"] .proof-item {
    background-color: rgba(31, 41, 55, 0.45);
    border-color: rgba(96, 165, 250, 0.12);
}

.proof-item h4 {
    margin-bottom: 0.35rem;
}

.proof-item p {
    margin: 0;
    color: var(--text-medium);
}

.proof-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.08em;
}

.mini-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.mini-stat strong {
    display: block;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.mini-stat span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.audience-card {
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.audience-eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

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

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