/* BinMgr landing page styles (UI-007).
   Moved out of the inline <style> blocks in templates/landing/*. Loaded only by
   landing/landing_base.html. Order matches the old document order. */

/* ===== base (landing_base.html) ===== */
    /* ============================================
       BINMGR LANDING PAGE STYLES
       ============================================ */

    :root {
        /* Brand Colors */
        --primary: #0d6efd; /* app brand blue (UI-015): same as --bs-primary / --bm-primary */
        --primary-dark: #0a58ca;
        --primary-light: #3d8bfd;
        --primary-rgb: 13, 110, 253;
        --primary-tint: #e7f1ff;
        --primary-tint-strong: #cfe2ff;
        --primary-on-dark: #9ec5fe;
        /* AA: #047857 is 5.5:1 with white (the old #10b981 was 2.5:1) */
        --secondary: #047857;
        --secondary-dark: #065f46;
        /* Decorative accent; #b45309 is 5:1 on white */
        --accent: #b45309;

        /* Neutrals */
        --dark: #0f172a;
        --dark-muted: #1e293b;
        --text: #334155;
        /* AA on the tinted cards too: #475569 is 7.6:1 on white, >=5.9:1 on the
           red/green/blue tints (#64748b was 3.9-4.4:1 there, F-UI-005) */
        --text-muted: #475569;
        --light: #f8fafc;
        --white: #ffffff;
        --border: #e2e8f0;

        /* Gradients */
        --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        --gradient-hero: linear-gradient(180deg, var(--primary-tint) 0%, #ffffff 100%);
        --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

        /* Shadows */
        --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
        --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
        --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
        --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
        --shadow-glow: 0 0 40px rgba(var(--primary-rgb), 0.15);

        /* Spacing */
        --section-padding: 120px;
        --section-padding-sm: 80px;

        /* Border Radius */
        --radius-sm: 8px;
        --radius: 12px;
        --radius-lg: 16px;
        --radius-xl: 24px;
    }

    /* Reset & Base */
    * {
        box-sizing: border-box;
    }

    html {
        overflow-x: clip; /* belt and braces for older iOS Safari (PRES2-011) */
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        color: var(--text);
        line-height: 1.6;
        overflow-x: hidden;
        background: var(--white);
    }

    /* g-5 gutters are wider than the 12px container padding on phones (PRES2-011) */
    @media (max-width: 575.98px) {
        .row.g-5 {
            --bs-gutter-x: 1.5rem;
        }
    }

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

    a {
        color: var(--primary-dark); /* #0a58ca: AA on white and the light section tints; #0d6efd is only 4.5:1 */
        text-decoration: none;
        transition: all 0.2s ease;
    }

    a:hover {
        color: #084298;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* Section Base */
    .landing-section {
        padding: var(--section-padding) 0;
        position: relative;
    }

    .landing-section.compact {
        padding: var(--section-padding-sm) 0;
    }

    .section-header {
        text-align: center;
        margin-bottom: 64px;
    }

    .section-header h2 {
        font-size: 2.75rem;
        font-weight: 800;
        margin-bottom: 16px;
    }

    .section-header .lead {
        font-size: 1.25rem;
        color: var(--text-muted);
        max-width: 640px;
        margin: 0 auto;
    }

    .section-badge {
        display: inline-block;
        padding: 6px 16px;
        background: rgba(var(--primary-rgb), 0.1);
        color: var(--primary-dark); /* 5.9:1 on the badge tint (F-UI-005) */
        font-size: 0.875rem;
        font-weight: 600;
        border-radius: 100px;
        margin-bottom: 16px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Buttons */
    .btn {
        padding: 14px 28px;
        font-weight: 600;
        border-radius: var(--radius);
        transition: all 0.2s ease;
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .btn-lg {
        padding: 18px 36px;
        font-size: 1.1rem;
    }

    .btn-primary {
        background: var(--gradient-primary);
        color: white;
        box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.35);
        color: white;
    }

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

    .btn-secondary:hover {
        background: var(--secondary-dark);
        color: white;
    }

    .btn-outline {
        background: transparent;
        border: 2px solid var(--dark);
        color: var(--dark);
    }

    .btn-outline:hover {
        background: var(--dark);
        color: white;
    }

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

    .btn-white:hover {
        background: var(--light);
        transform: translateY(-2px);
    }

    /* Cards */
    .feature-card {
        background: white;
        border-radius: var(--radius-lg);
        padding: 32px;
        height: 100%;
        border: 1px solid var(--border);
        transition: all 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: transparent;
    }

    .feature-card .icon {
        width: 56px;
        height: 56px;
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

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

    .feature-card p {
        color: var(--text-muted);
        margin-bottom: 0;
    }

    /* Utility Classes */
    .text-gradient {
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .bg-light-blue {
        background: var(--primary-tint);
    }

    .bg-dark-section {
        background: var(--gradient-dark);
        color: white;
    }

    .bg-dark-section h2,
    .bg-dark-section h3,
    .bg-dark-section h4 {
        color: white;
    }

    .bg-dark-section .lead,
    .bg-dark-section p {
        color: rgba(255,255,255,0.8);
    }

    /* Responsive */
    @media (max-width: 991px) {
        .landing-section {
            padding: 80px 0;
        }

        .section-header h2 {
            font-size: 2.25rem;
        }
    }

    @media (max-width: 767px) {
        .landing-section {
            padding: 60px 0;
        }

        .section-header {
            margin-bottom: 40px;
        }

        .section-header h2 {
            font-size: 1.875rem;
        }

        .btn-lg {
            padding: 14px 24px;
            font-size: 1rem;
        }
    }

    /* Accessibility: skip link, visible keyboard focus, reduced motion */
    .skip-link {
        position: absolute;
        top: -100px;
        left: 0.5rem;
        z-index: 2000;
        padding: 0.5rem 1rem;
        background: var(--primary-dark);
        color: #fff;
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }

    .skip-link:focus {
        top: 0;
        color: #fff;
    }

    :focus-visible {
        outline: 3px solid var(--primary);
        outline-offset: 2px;
    }

    .bg-dark-section :focus-visible,
    .landing-footer :focus-visible {
        outline-color: var(--primary-on-dark);
    }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }

/* ===== home.html ===== */
/* Page-specific overrides and additions */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Navbar padding for fixed header */
body {
    padding-top: 0;
}

/* Section dividers */
.landing-section + .landing-section {
    border-top: 1px solid var(--border);
}

.bg-dark-section + .landing-section,
.landing-section + .bg-dark-section {
    border-top: none;
}

/* Animated entrance for sections */
.landing-section {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== partials/_navbar.html ===== */
.navbar-landing {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar-landing.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i {
    font-size: 1.75rem;
}

.navbar-landing .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.navbar-landing .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(var(--primary-rgb), 0.05);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-actions .btn-link {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
}

.navbar-actions .btn-link:hover {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
    padding: 8px;
    font-size: 1.5rem;
    color: var(--dark);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        margin-top: 16px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav {
        margin-bottom: 16px;
    }
    
    .navbar-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== partials/_hero.html ===== */
.hero-section {
    position: relative;
    padding: 140px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    /* closest-side: fully transparent at the box edge, so no visible seam (PRES2-011) */
    background: radial-gradient(closest-side, rgba(var(--primary-rgb), 0.08), transparent);
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--accent);
}

/* PRES-012: capped at 3rem and balanced so no single word sits on its own line */
.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-features {
    margin-bottom: 0;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-feature i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* Each trust note carries its own check icon, so a wrapped line never starts
   with a dangling separator (PRES-012) */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 4px 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust i {
    color: var(--secondary);
}

/* Hero Visual / Dashboard Preview */
.hero-visual {
    position: relative;
    padding: 20px;
}

.hero-dashboard {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.dash-header {
    background: var(--dark);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-title {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

.dash-content {
    padding: 24px;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat {
    text-align: center;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-sync-activity {
    background: var(--light);
    border-radius: var(--radius);
    padding: 16px;
}

.sync-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.sync-item:last-child {
    border-bottom: none;
}

.sync-item.syncing i {
    color: var(--primary);
}

.sync-item.success i {
    color: var(--secondary);
}

.sync-item span:first-of-type:not(.badge) {
    flex: 1;
}

.sync-item .time {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Marketplace Strip */
.marketplace-strip {
    background: white;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

.marketplace-strip p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marketplace-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.mp-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
}

.mp-logo i {
    font-size: 1.25rem;
}

.hero-visual-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.mp-logo-live {
    color: var(--dark);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        margin-top: 48px;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .hero-section {
        padding: 100px 0 32px;
    }

    .hero-trust {
        flex-wrap: wrap;
        gap: 4px 16px;
    }
    
    .dash-stats {
        grid-template-columns: 1fr;
    }
}

/* Phones: the sample dashboard is decorative and took ~600px; hide it (PRES-012) */
@media (max-width: 575.98px) {
    .hero-visual {
        display: none;
    }
    
    .marketplace-logos {
        gap: 24px;
    }
}

/* ===== partials/_metrics.html ===== */
.metrics-section {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.metrics-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%);
    transform: translate(-50%, -50%);
}

.metrics-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.metrics-section h2 {
    color: white;
}

.metrics-section .lead {
    color: rgba(255, 255, 255, 0.7);
}

.metrics-grid {
    position: relative;
    z-index: 1;
}

.metric-card {
    text-align: center;
    padding: 32px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Live Activity Feed */
.live-activity {
    max-width: 500px;
    margin: 60px auto 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.activity-header {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.activity-feed {
    padding: 16px 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item span:first-of-type {
    flex: 1;
}

.activity-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
    .metric-value {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .metric-value {
        font-size: 1.75rem;
    }
    
    .metric-card {
        padding: 24px 12px;
    }
}

/* ===== partials/_calculator.html ===== */
.calculator-section {
    background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%);
}

.calculator-section .section-header h2 em {
    font-style: normal;
    color: #dc2626;
}

.calculator-wrapper {
    margin-bottom: 24px;
}

.calc-disclaimer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 760px;
    margin: 0 auto;
}

/* Input Side */
.calc-inputs {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow);
    height: 100%;
}

.calc-inputs h4 {
    margin-bottom: 8px;
}

.inputs-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.input-group-calc {
    margin-bottom: 24px;
}

.input-group-calc label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.input-group-calc input,
.input-group-calc select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.input-group-calc input:focus,
.input-group-calc select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.input-with-prefix {
    position: relative;
}

.input-with-prefix .prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 500;
}

.input-with-prefix input {
    padding-left: 36px;
}

.input-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Results Side */
.calc-results {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 2px solid #fecaca;
}

.results-header {
    margin-bottom: 24px;
}

.results-header h4 {
    margin-bottom: 4px;
    color: #dc2626;
}

.results-header p {
    color: var(--text-muted);
    margin: 0;
}

/* Cost Breakdown */
.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cost-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.cost-item:hover {
    background: #fef2f2;
}

.cost-item.risk-item {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.cost-icon {
    width: 44px;
    height: 44px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.cost-icon.warning {
    background: #fef3c7;
    color: #b45309;
}

.cost-icon.danger {
    background: #fee2e2;
    color: #dc2626;
}

.cost-details {
    flex: 1;
}

.cost-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.cost-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cost-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    white-space: nowrap;
}

/* Total */
.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.total-label .label-main {
    display: block;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.total-label .label-sub {
    font-size: 0.85rem;
    color: #fff; /* 80% white on the red total was 3.6:1 */
}

.total-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

/* Monthly Impact */
.monthly-impact {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.impact-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

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

.impact-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.impact-stat .stat-value.danger {
    color: #dc2626;
}

.impact-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* CTA */
.calc-cta {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.cta-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.comparison-item {
    text-align: center;
    padding: 16px 24px;
    border-radius: var(--radius);
}

.comparison-item.loss {
    background: #fee2e2;
}

.comparison-item.savings {
    background: #dcfce7;
}

.comp-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.comp-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.comparison-item.loss .comp-value {
    color: #dc2626;
}

.comparison-item.savings .comp-value {
    color: #15803d;
}

.comparison-vs {
    font-weight: 600;
    color: var(--text-muted);
}

.roi-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #15803d;
}

.roi-message i {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 991px) {
    .calc-inputs {
        margin-bottom: 32px;
    }
    
    .total-value {
        font-size: 2rem;
    }
    
    .cta-comparison {
        flex-direction: column;
        gap: 12px;
    }
    
    .comparison-vs {
        display: none;
    }
}

@media (max-width: 575px) {
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cost-item {
        flex-wrap: wrap;
    }
    
    .cost-value {
        width: 100%;
        text-align: right;
        margin-top: 8px;
    }
}

/* ===== partials/_personas.html ===== */
.personas-section {
    background: white;
}

/* Persona Tabs */
.persona-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.persona-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: 100px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.persona-tab i {
    font-size: 1.25rem;
}

.persona-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.persona-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Persona Panels */
.persona-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.persona-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Persona Info */
.persona-info {
    max-width: 540px;
}

.persona-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 20px;
}

.persona-info h3 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.persona-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Pain Points */
.persona-pain-points {
    margin-bottom: 28px;
}

.persona-pain-points h4,
.persona-solutions h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pain-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: var(--text);
}

.pain-point i {
    margin-top: 3px;
}

/* Solutions */
.persona-solutions {
    margin-bottom: 32px;
}

.solution-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.solution-item:hover {
    background: var(--primary-tint);
}

.solution-item i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.solution-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.solution-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Persona CTA */
.persona-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.persona-cta .cta-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Visual Cards */
.persona-visual {
    padding: 20px;
}

.visual-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.card-scene {
    /* Common scene styles */
}

.scene-header {
    padding: 16px 24px;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.scene-badge {
    font-weight: 600;
    font-size: 0.9rem;
}

.scene-content {
    padding: 24px;
}

/* Crafter Card Specific */
.scene-action {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--primary-tint);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.action-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.action-text strong {
    display: block;
    color: var(--dark);
}

.action-text span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.scene-arrow {
    text-align: center;
    padding: 8px 0;
    color: var(--border);
}

.scene-result {
    margin-bottom: 16px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--light);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.result-item .platform {
    font-weight: 600;
}

.result-item .status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.result-item.pending {
    opacity: 0.7;
}

.scene-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fef3c7;
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: #92400e;
}

/* Reseller Card - Bin Grid */
.bin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.bin-item {
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.bin-item.highlighted {
    background: var(--primary-tint);
    border-color: var(--primary);
}

.bin-label {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.bin-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.bin-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.bin-scan {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.scene-callout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: #dcfce7;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: #166534;
}

.scene-callout i {
    font-size: 1.25rem;
    margin-top: 2px;
}

/* Brand Card - Channel Overview */
.channel-overview {
    margin-bottom: 16px;
}

.channel-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 0.5fr;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.channel-row.header {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.channel-row:last-child {
    border-bottom: none;
}

.channel-row i {
    margin-right: 6px;
}

.sync-ok {
    color: var(--secondary);
}

.channel-total {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
    font-weight: 600;
}

/* Wholesale Card - Reorder Flow */
.reorder-flow {
    /* Flow styles */
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
}

.flow-step.completed {
    background: #dcfce7;
}

.step-indicator {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.flow-step.completed .step-indicator {
    background: var(--secondary);
}

.step-detail strong {
    display: block;
    color: var(--dark);
    margin-bottom: 2px;
}

.step-detail span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.flow-arrow {
    text-align: center;
    padding: 8px 0;
    color: var(--border);
}

/* Responsive */
@media (max-width: 991px) {
    .persona-info h3 {
        font-size: 1.75rem;
    }

    .persona-visual {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .persona-tabs {
        gap: 8px;
    }

    .persona-tab {
        padding: 10px 16px;
        font-size: 0.875rem;
    }

    /* Keep the visible label (accessible name) on small screens; lay tabs out 2x2 */
    .persona-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .persona-tab {
        justify-content: center;
    }

    .bin-grid {
        grid-template-columns: 1fr;
    }

    .channel-row {
        grid-template-columns: 1.5fr 1fr 1fr 0.5fr;
        font-size: 0.8rem;
    }
}

/* ===== partials/_features.html ===== */
.features-section {
    background: white;
}

/* Feature Blocks (Large features) */
.feature-block {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.feature-block:last-child {
    border-bottom: none;
}

.feature-block.bg-light-blue {
    /* Full-bleed band without widening the document (PRES2-011): the
       background extends sideways through a shadow and is clipped to the
       viewport instead of using +-100vw margins. */
    background: #f0f9ff;
    box-shadow: 0 0 0 100vmax #f0f9ff;
    clip-path: inset(0 -100vmax);
}

.feature-icon-lg {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 24px;
}

.feature-icon-lg.bg-primary { background: var(--gradient-primary); }
.feature-icon-lg.bg-danger { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.feature-icon-lg.bg-warning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.feature-icon-lg.bg-info { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-item i {
    font-size: 1.25rem;
    margin-top: 2px;
}

.detail-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 2px;
}

.detail-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Feature Visuals */
.feature-visual {
    padding: 20px;
}

/* Sync Demo */
.sync-demo {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.sync-center {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.sync-hub {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0.1);
}

.sync-hub i {
    font-size: 2rem;
    margin-bottom: 4px;
}

.sync-hub span {
    font-size: 0.75rem;
}

.sync-platforms {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sync-platform {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--light);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.sync-platform:hover {
    background: #e0f2fe;
}

.platform-name {
    font-weight: 600;
}

.sync-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.sync-status.synced {
    color: var(--secondary);
}

.sync-status.syncing {
    color: var(--primary);
}

.sync-status.coming-soon {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Oversell Demo */
.oversell-demo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scenario {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.scenario-header {
    padding: 12px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scenario.bad .scenario-header {
    background: #fef2f2;
    color: #dc2626;
}

.scenario.good .scenario-header {
    background: #f0fdf4;
    color: #15803d;
}

.scenario-content {
    padding: 20px;
}

.stock-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.stock-line:last-of-type {
    border-bottom: none;
}

.qty {
    font-weight: 600;
}

.qty.actual {
    color: var(--primary);
}

.qty.synced {
    color: var(--secondary);
}

.result-bad, .result-good {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.result-bad {
    background: #fef2f2;
    color: #dc2626;
}

.result-good {
    background: #f0fdf4;
    color: #15803d;
}

/* Draft Demo */
.draft-demo {
    display: flex;
    justify-content: center;
}

.draft-flow {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.draft-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.draft-step:hover, .draft-step.active {
    background: var(--light);
}

.draft-step.active {
    background: #f0fdf4;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.draft-step.active .step-icon {
    background: var(--secondary);
    color: white;
}

.step-content strong {
    display: block;
    margin-bottom: 4px;
}

.step-content span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.draft-arrow {
    display: flex;
    justify-content: center;
    padding: 8px 0;
    color: var(--border);
}

/* Secondary Features Grid */
.features-secondary {
    padding-top: 80px;
}

.features-secondary .section-header {
    margin-bottom: 48px;
}

.features-secondary .section-header h3 {
    font-size: 2rem;
}

.feature-card .icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.bg-purple-light { background: #f3e8ff; }
.text-purple { color: #9333ea; }
.bg-green-light { background: #dcfce7; }
.text-green { color: #15803d; }
.bg-orange-light { background: #ffedd5; }
.text-orange { color: #c2410c; }
.bg-blue-light { background: var(--primary-tint-strong); }
.text-blue { color: var(--primary); }
.bg-teal-light { background: #ccfbf1; }
.text-teal { color: #0f766e; }
.bg-red-light { background: #fee2e2; }
.text-red { color: #dc2626; }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.feature-list li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991px) {
    .feature-block {
        padding: 60px 0;
    }

    .feature-block.bg-light-blue {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .feature-content h3 {
        font-size: 1.75rem;
    }

    .feature-visual {
        margin-top: 40px;
    }
}

/* ===== partials/_workflow.html ===== */
.workflow-section {
    position: relative;
    overflow: hidden;
}

.workflow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(var(--primary-rgb), 0.15) 0%, transparent 60%);
    transform: translateX(-50%);
}

/* Workflow Steps */
.workflow-steps {
    position: relative;
    margin-bottom: 100px;
}

.workflow-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.workflow-step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 20px;
}

.workflow-step h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.workflow-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.step-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.workflow-connector {
    position: absolute;
    top: 50%;
    left: 12.5%;
    right: 12.5%;
    transform: translateY(-50%);
    height: 20px;
    display: none;
}

@media (min-width: 992px) {
    .workflow-connector {
        display: block;
    }
}

/* Daily Workflow */
.daily-workflow {
    margin-bottom: 80px;
}

.daily-workflow .section-header {
    margin-bottom: 40px;
}

.daily-workflow .section-header h3 {
    color: white;
    font-size: 1.75rem;
}

.daily-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
}

.daily-header {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: white;
}

.daily-header i {
    font-size: 1.25rem;
}

.daily-content {
    padding: 20px;
}

.daily-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.daily-item i {
    color: var(--secondary);
    margin-top: 2px;
}

/* Demo Invite */
.demo-invite {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.demo-invite h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.demo-invite p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .demo-invite {
        text-align: center;
        padding: 32px;
    }

    .demo-invite .btn {
        margin-top: 24px;
    }
}

@media (max-width: 575px) {
    .demo-invite {
        padding: 24px 16px;
    }

    .demo-invite .btn {
        width: 100%;
    }
}

/* ===== partials/_pricing.html ===== */
.pricing-section {
    background: var(--light);
}

/* Pricing Cards */
.pricing-cards {
    margin-bottom: 80px;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.plan-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.plan-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    color: var(--dark);
}

.plan-price .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
}

.plan-price .period {
    color: var(--text-muted);
    font-size: 1rem;
}

.trial-limits {
    max-width: 760px;
    margin: -40px auto 16px;
    text-align: center;
    color: var(--text);
    font-size: 0.95rem;
}

.billing-terms {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.plan-features {
    flex: 1;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.feature-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 2px;
}

.feature-item span {
    color: var(--text);
    font-size: 0.95rem;
}

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

.trial-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.plan-price .amount.amount-text {
    font-size: 2rem;
}

@media (max-width: 767px) {
    .plan-price .amount {
        font-size: 3rem;
    }
}

/* ===== partials/_reviews.html ===== */
.reviews-section {
    background: white;
}

/* Featured Review */
.featured-review {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin-bottom: 64px;
}

.review-quote {
    position: relative;
}

.review-quote .bi-quote {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.review-quote blockquote {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--dark);
    margin: 0 0 32px 0;
    padding: 0;
    border: none;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
}

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

.review-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    min-width: 140px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 8px;
}

/* Review Cards */
.review-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 16px;
}

.review-stars i {
    margin-right: 2px;
}

.review-text {
    flex: 1;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.reviewer-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}

.reviewer-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 991px) {
    .featured-review {
        padding: 32px;
    }
    
    .review-quote blockquote {
        font-size: 1.15rem;
    }
    
    .review-stats {
        margin-top: 32px;
    }
}

/* ===== partials/_faq.html ===== */
.faq-section {
    background: var(--light);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-question:not(.collapsed) i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    border-top: 1px solid var(--border);
}

.faq-answer-content {
    padding: 24px;
    padding-top: 20px;
}

.faq-answer-content p {
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.7;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content strong {
    color: var(--dark);
}

@media (max-width: 767px) {
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 20px;
    }
}

/* ===== partials/_cta_footer.html ===== */
/* CTA Section */
.cta-section {
    /* darker end of the brand ramp so the white and 90% white text stays AA (UI-015 palette change) */
    background: linear-gradient(135deg, var(--primary-dark) 0%, #084298 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.cta-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

.cta-badge i {
    color: #fbbf24;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.cta-feature i {
    color: #4ade80;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.trust-item i {
    color: rgba(255, 255, 255, 0.75);
}

/* Simplified Footer */
.landing-footer {
    background: var(--dark);
    color: white;
    padding: 32px 0;
}

.footer-simple {
    width: 100%;
}

.footer-brand-simple .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.footer-brand-simple .brand-link i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.footer-links-simple {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links-simple a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links-simple a:hover {
    color: white;
}

.footer-links-simple .divider {
    color: rgba(255, 255, 255, 0.5);
}

.footer-developer {
    text-align: right;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.developer-info {
    margin-left: 8px;
}

.developer-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.developer-info a:hover {
    color: white;
}

@media (max-width: 991px) {
    .cta-section h2 {
        font-size: 2.25rem;
    }

    .cta-features {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .cta-section {
        padding: 80px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .cta-trust {
        flex-direction: column;
        gap: 12px;
    }

    .footer-simple > div {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

.footer-trademark {
    margin: 16px 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

@media (max-width: 575px) {
    .footer-links-simple {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 8px;
    }
}
