/* Landing Page Styles - Aligned with Dashboard Design System */

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

/* Match Dashboard font sizing */
html { font-size: 14px; }
@media (min-width: 768px) { html { font-size: 16px; } }

/* Light theme (default) */
:root {
    color-scheme: light;
}

body {
    font-family: var(--font-primary);
    line-height: var(--leading-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--brand-off-white);
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ====== Dark Theme ====== */
html[data-bs-theme="dark"] {
    color-scheme: dark;
}

html[data-bs-theme="dark"] body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .landing-container {
    background: var(--bg-primary);
}

/* Dark theme — non-blue sections */
html[data-bs-theme="dark"] .product-preview,
html[data-bs-theme="dark"] .about-section,
html[data-bs-theme="dark"] .faq-section,
html[data-bs-theme="dark"] .how-it-works,
html[data-bs-theme="dark"] .screenshots-section,
html[data-bs-theme="dark"] .legal-page {
    background: var(--bg-primary);
}

html[data-bs-theme="dark"] .certificate-title {
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .certificate-subtitle {
    color: var(--text-secondary);
}

html[data-bs-theme="dark"] .certificate-questions li {
    color: var(--text-tertiary);
}

html[data-bs-theme="dark"] .certificate-answer {
    color: var(--text-primary);
}

/* Dark theme cards */
html[data-bs-theme="dark"] .pricing-card,
html[data-bs-theme="dark"] .faq-item,
html[data-bs-theme="dark"] .legal-content {
    background: var(--bg-surface);
    border-color: var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

html[data-bs-theme="dark"] .pricing-header {
    border-bottom-color: var(--border-color);
}

html[data-bs-theme="dark"] .faq-question:hover {
    background: var(--bg-surface-hover);
}

html[data-bs-theme="dark"] .faq-question::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23f3f4f6'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* Dark theme text */
html[data-bs-theme="dark"] .section-title,
html[data-bs-theme="dark"] .step-title,
html[data-bs-theme="dark"] .plan-name,
html[data-bs-theme="dark"] .faq-question,
html[data-bs-theme="dark"] .price-amount,
html[data-bs-theme="dark"] .price-currency,
html[data-bs-theme="dark"] .legal-header h1,
html[data-bs-theme="dark"] .legal-section h2,
html[data-bs-theme="dark"] .legal-section h3 {
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .section-subtitle,
html[data-bs-theme="dark"] .step-description,
html[data-bs-theme="dark"] .plan-features li,
html[data-bs-theme="dark"] .about-text,
html[data-bs-theme="dark"] .faq-answer,
html[data-bs-theme="dark"] .pricing-note,
html[data-bs-theme="dark"] .price-period,
html[data-bs-theme="dark"] .plan-tagline,
html[data-bs-theme="dark"] .plan-annual-note,
html[data-bs-theme="dark"] .legal-updated,
html[data-bs-theme="dark"] .legal-section p,
html[data-bs-theme="dark"] .legal-section li {
    color: var(--text-secondary);
}


/* Dark theme buttons */
html[data-bs-theme="dark"] .plan-button {
    background: var(--border-color);
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .plan-button:hover {
    background: var(--hover-color);
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .plan-button.primary {
    background: var(--brand-blue);
    color: white;
}

html[data-bs-theme="dark"] .plan-button.primary:hover {
    background: #0070cc; /* intentionally lighter than brand-blue for dark hover */
}

/* Dark theme legal */
html[data-bs-theme="dark"] .legal-section {
    border-bottom-color: var(--bg-surface-alt);
}

html[data-bs-theme="dark"] .legal-section strong {
    color: var(--text-primary);
}

/* Hidden utility class for theme toggle */
.hidden {
    display: none !important;
}

.landing-container {
    min-height: 100vh;
    background: var(--brand-off-white);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* ====== Hero Section ====== */
.hero-section {
    background: linear-gradient(180deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: white;
    padding: var(--space-16) var(--space-5);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: var(--brand-orange-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
    opacity: 0.9;
    font-weight: var(--font-weight-normal);
    line-height: var(--leading-relaxed);
}

/* CTA Button - matches Dashboard .btn-secondary style */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.75rem 1.5rem;
    background: var(--brand-orange);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-lg);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(244, 125, 23, 0.25);
}

.cta-button:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(244, 125, 23, 0.35);
    color: white;
}

.cta-button:active {
    transform: translateY(0);
    background: var(--brand-orange-active);
}

.cta-button .cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

.cta-note {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    opacity: 0.8;
    letter-spacing: 0.02em;
}

/* Hero Trust Bar */
.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.hero-trust-item i {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero-trust-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-trust-link:hover {
    color: #fff;
}

@media (max-width: 480px) {
    .hero-trust-bar {
        flex-direction: column;
        gap: var(--space-2);
    }
}

/* Hero Product Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Email Mockup */
.hero-email-mockup {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-email {
    border-radius: 12px;
    padding: 1.25rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--gray-800);
}

.hero-email--incoming {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-email--reply {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: heroReplyFadeIn 0.6s ease 0.8s both;
}

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

.hero-email-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.hero-email-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-email-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-email-sender {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--gray-900);
}

.hero-email-time {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.hero-email-body p {
    margin: 0 0 0.5rem;
}

.hero-email-body p:last-child {
    margin-bottom: 0;
}

.hero-email-list {
    margin: 0.4rem 0 0.5rem 1.2rem;
    padding: 0;
    font-size: 0.8rem;
}

.hero-email-list li {
    margin-bottom: 0.2rem;
    color: var(--gray-700);
}

.hero-email--reply .hero-email-list li {
    color: rgba(255, 255, 255, 0.85);
}

.hero-email-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0;
}

.hero-email-time-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.75rem;
    border-radius: 100px;
}

.hero-email-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(244, 125, 23, 0.15);
    color: var(--brand-orange);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    margin: 0.3rem 0 0.5rem;
    transition: background 0.2s ease;
}

.hero-email-link-chip:hover {
    background: rgba(244, 125, 23, 0.25);
    color: var(--brand-orange);
    text-decoration: none;
}

.hero-email-link-chip i {
    font-size: 0.75rem;
}

.hero-email-footer {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    color: var(--color-success);
    font-weight: 600;
}

.hero-email-footer i {
    font-size: 0.65rem;
}

@media (prefers-reduced-motion: reduce) {
    .hero-email--reply {
        animation: none;
    }
}

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

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

    .hero-visual {
        order: -1;
        margin-bottom: var(--space-6);
    }

    .hero-email-mockup {
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-email {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

/* ====== Section Common Styles ====== */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--brand-dark-blue);
    text-align: center;
    margin-bottom: var(--space-3);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-500);
    text-align: center;
    margin-bottom: var(--space-10);
}

/* ====== How It Works ====== */
.how-it-works {
    padding: var(--space-16) var(--space-5) var(--space-8);
    background: white;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    background: rgba(0, 86, 161, 0.08);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--brand-blue);
}

.step-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--brand-dark-blue);
    margin-bottom: var(--space-2);
}

.step-description {
    font-size: var(--text-base);
    color: var(--gray-500);
    line-height: var(--leading-relaxed);
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: var(--space-6);
}

.step-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--brand-orange);
}

@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }
}

/* Dark mode — How It Works steps */
html[data-bs-theme="dark"] .step-icon {
    background: rgba(96, 165, 250, 0.1);
}

html[data-bs-theme="dark"] .step-icon svg {
    color: var(--brand-blue-light);
}

/* ====== Product Preview Section ====== */
.product-preview {
    padding: var(--space-10) var(--space-5);
    background: white;
    color: var(--gray-900);
    overflow: hidden;
}

/* Certificate Showcase - Side by Side */
.certificate-showcase {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.certificate-content {
    text-align: left;
}

.certificate-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--brand-dark-blue);
    margin-bottom: var(--space-3);
}

.certificate-subtitle {
    font-size: var(--text-base);
    color: var(--gray-600);
    margin-bottom: var(--space-3);
}

.certificate-questions {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
}

.certificate-questions li {
    color: var(--gray-700);
    font-size: var(--text-base);
    padding: var(--space-1) 0;
    padding-left: var(--space-5);
    position: relative;
}

.certificate-questions li::before {
    content: "?";
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 600;
}

.certificate-answer {
    font-size: var(--text-base);
    color: var(--gray-900);
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.certificate-link {
    display: inline-block;
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: color 0.2s ease;
}

.certificate-link:hover {
    color: #ffb366;
    text-decoration: underline;
}

.certificate-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .certificate-showcase {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-6);
    }

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

    .certificate-visual {
        order: -1;
    }

    .certificate-image {
        max-width: 360px;
    }
}

.product-preview .section-title {
    color: var(--brand-dark-blue);
}

/* Blue sections — white titles */
.scan-coverage-section .section-title,
.pricing-section .section-title {
    color: white;
}

.product-preview .section-subtitle {
    color: var(--gray-600);
    margin-bottom: var(--space-8);
}

/* ====== Pricing Section ====== */
.pricing-section {
    padding: var(--space-10) var(--space-5) var(--space-12);
    background: linear-gradient(180deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: white;
}

.pricing-section .section-title {
    margin-bottom: var(--space-4);
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.toggle-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.toggle-label.active {
    color: white;
}

.toggle-save {
    display: inline-block;
    background: var(--brand-orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.toggle-switch:hover {
    background: rgba(255, 255, 255, 0.3);
}

.toggle-switch.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
}

.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-knob {
    transform: translateX(20px);
}

.plan-annual-note {
    font-size: var(--text-xs);
    color: var(--gray-400);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

/* Dark theme pricing toggle */
html[data-bs-theme="dark"] .toggle-label {
    color: rgba(255, 255, 255, 0.4);
}

html[data-bs-theme="dark"] .toggle-label.active {
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .toggle-switch {
    background: var(--hover-color);
    border-color: var(--gray-600);
}

html[data-bs-theme="dark"] .toggle-switch:hover {
    background: var(--gray-600);
}

html[data-bs-theme="dark"] .toggle-switch.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards - matches Dashboard .card styles */
.pricing-card {
    background: white;
    border-radius: 0.75rem;
    padding: var(--space-8);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card .plan-features {
    flex-grow: 1;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--brand-orange);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Recommended';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
}

.plan-name {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--brand-dark-blue);
    margin-bottom: var(--space-2);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: var(--space-2);
}

.price-currency {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    color: var(--brand-dark-blue);
}

.price-amount {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--brand-dark-blue);
    line-height: 1;
}

.price-period {
    font-size: var(--text-base);
    color: var(--gray-500);
}

.plan-tagline {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-style: italic;
}

.plan-includes {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.plan-features {
    list-style: none;
    margin-bottom: var(--space-6);
}

.plan-features li {
    padding: var(--space-2) 0;
    color: var(--gray-600);
    font-size: var(--text-base);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.plan-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
    flex-shrink: 0;
}

/* Plan buttons - matches Dashboard .btn styles */
.plan-button {
    display: block;
    width: 100%;
    padding: 0.625rem 1.25rem;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background: var(--gray-100);
    color: var(--brand-dark-blue);
}

.plan-button:hover {
    background: var(--gray-200);
    color: var(--brand-dark-blue);
}

.plan-button.primary {
    background: var(--brand-blue);
    color: white;
    font-weight: 600;
}

.plan-button.primary:hover {
    background: #004580;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 161, 0.25);
    color: white;
}

.plan-cancel-note {
    text-align: center;
    margin-top: var(--space-3);
    font-size: var(--text-xs);
    color: var(--gray-400);
}

.pricing-note {
    text-align: center;
    margin-top: var(--space-6);
    color: var(--gray-500);
    font-size: var(--text-sm);
}

/* Enterprise Upsell */
.enterprise-upsell {
    margin-top: var(--space-6);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.enterprise-upsell p {
    font-size: var(--text-sm);
    margin: 0;
}

.enterprise-link {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.enterprise-link:hover {
    color: var(--brand-orange-hover);
    text-decoration: underline;
}

.enterprise-upsell strong {
    color: white;
}

/* ====== About Section ====== */
.about-section {
    padding: var(--space-10) var(--space-5);
    background: white;
}

.about-section .section-container {
    max-width: 900px;
}

.about-text {
    font-size: var(--text-base);
    color: var(--gray-500);
    text-align: center;
    margin-bottom: var(--space-3);
    line-height: var(--leading-relaxed);
}

/* ====== Persona Cards ====== */
.persona-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin: var(--space-6) auto var(--space-8);
    max-width: 100%;
}

.persona-card {
    background: var(--brand-off-white);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: var(--space-6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.persona-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.persona-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-3);
    color: var(--brand-blue);
}

.persona-card-icon svg {
    width: 100%;
    height: 100%;
}

.persona-card-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--brand-dark-blue);
    margin-bottom: var(--space-2);
}

.persona-card-text {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* Persona cards responsive */
@media (max-width: 768px) {
    .persona-cards {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* Dark theme persona cards */
html[data-bs-theme="dark"] .persona-card {
    background: var(--bg-surface);
    border-color: var(--border-color);
}

html[data-bs-theme="dark"] .persona-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

html[data-bs-theme="dark"] .persona-card-icon {
    color: var(--brand-blue-light);
}

html[data-bs-theme="dark"] .persona-card-title {
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .persona-card-text {
    color: var(--text-secondary);
}

/* ====== Founder Note ====== */
.founder-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0;
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

.founder-note--top {
    border-top: none;
    padding-top: 0;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
}

.founder-quote {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    font-style: italic;
    max-width: 500px;
    margin: 0 0 var(--space-3) 0;
}

.founder-name {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-style: normal;
}

/* Dark theme founder note */
html[data-bs-theme="dark"] .founder-note {
    border-top-color: var(--border-color);
}

html[data-bs-theme="dark"] .founder-quote {
    color: var(--text-secondary);
}

html[data-bs-theme="dark"] .founder-name {
    color: var(--text-muted);
}

/* ====== FAQ Section ====== */
.faq-section {
    padding: var(--space-16) var(--space-5);
    background: white;
}

.faq-section .section-container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* FAQ items - collapsible accordion */
.faq-item {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-item[open] {
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.faq-question {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--brand-dark-blue);
    padding: var(--space-4) var(--space-5);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
    transition: background-color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23212C5E'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-answer {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: var(--leading-relaxed);
    padding: 0 var(--space-5) var(--space-4);
    margin: 0;
}

/* FAQ items inside legal pages - clean bullet list style */
.legal-content .faq-item {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: var(--space-2);
}

.legal-content .faq-item[open] {
    box-shadow: none;
    margin-bottom: var(--space-4);
}

.legal-content .faq-question {
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
}

.legal-content .faq-question::before {
    content: '›';
    position: absolute;
    left: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-orange);
    transition: transform 0.2s ease;
}

.legal-content .faq-item[open] .faq-question::before {
    transform: rotate(90deg);
}

.legal-content .faq-question::after {
    display: none;
}

.legal-content .faq-question:hover {
    background: none !important;
    color: var(--brand-orange);
}

html[data-bs-theme="dark"] .legal-content .faq-question:hover {
    background: none !important;
    color: var(--brand-orange);
}

.legal-content .faq-answer {
    padding: var(--space-2) 0 var(--space-2) var(--space-6);
}

html[data-bs-theme="dark"] .legal-content .faq-item {
    background: transparent;
    box-shadow: none;
}

html[data-bs-theme="dark"] .legal-content .faq-question::before {
    color: var(--brand-orange);
}

/* ====== What We Scan Grid ====== */
.scan-coverage-section {
    padding: var(--space-10) var(--space-5);
    background: linear-gradient(180deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: white;
}

.scan-coverage-title {
    color: white;
}

.scan-coverage-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.scan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    max-width: 1000px;
    margin: 0 auto;
}

.scan-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scan-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scan-item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    flex-shrink: 0;
    color: white;
    font-size: var(--text-base);
}

.scan-item-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.scan-item-detail {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
}

/* Scan grid responsive */
@media (max-width: 768px) {
    .scan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Dark theme scan grid */
html[data-bs-theme="dark"] .scan-coverage-title {
    color: var(--text-primary);
}


/* ====== Mid-Page CTA ====== */
.mid-cta {
    padding: var(--space-8) var(--space-5);
    background: linear-gradient(180deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    text-align: center;
    color: white;
}

.mid-cta-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 var(--space-2);
}

.mid-cta-text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-5);
    font-weight: var(--font-weight-medium);
}

.cta-button--subtle {
    padding: 0.625rem 1.25rem;
    font-size: var(--text-base);
    box-shadow: 0 2px 8px rgba(244, 125, 23, 0.2);
}

.cta-button--subtle:hover {
    box-shadow: 0 4px 12px rgba(244, 125, 23, 0.3);
}


/* ====== Bottom CTA Section ====== */
.bottom-cta {
    padding: var(--space-12) var(--space-5);
    background: linear-gradient(180deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    text-align: center;
}

.bottom-cta-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-6);
}

.bottom-cta .cta-button {
    margin: 0 auto;
}

.bottom-cta .cta-note {
    color: rgba(255, 255, 255, 0.7);
}

/* ====== Responsive Adjustments ====== */
@media (max-width: 640px) {
    .hero-section {
        padding: var(--space-12) var(--space-4) var(--space-10);
        min-height: auto;
    }

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

/* ====== Legal Pages (Privacy, Terms) ====== */
.legal-page {
    padding: var(--space-12) var(--space-5) var(--space-16);
    background: var(--brand-off-white);
    min-height: 80vh;
}

.legal-container {
    max-width: 1100px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.legal-header h1 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--brand-dark-blue);
    margin-bottom: var(--space-2);
}

.legal-updated {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.legal-content {
    background: white;
    border-radius: 0.75rem;
    padding: var(--space-8);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    border: 1px solid var(--gray-200);
}

.legal-section {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--gray-100);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--brand-dark-blue);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    position: relative;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, rgba(33, 44, 94, 0.3), rgba(244, 125, 23, 0.3));
}

.legal-section h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-700);
    margin-top: var(--space-5);
    margin-bottom: var(--space-3);
}

.legal-section p {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-4);
}

.legal-section ul li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--brand-orange);
    border-radius: 50%;
}

.legal-section a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--brand-orange);
    text-decoration: underline;
}

.legal-section strong {
    color: var(--gray-700);
    font-weight: 600;
}

.legal-section table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.legal-section table th,
.legal-section table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border: 1px solid var(--gray-200);
}

.legal-section table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.legal-section table td {
    color: var(--gray-600);
}

html[data-bs-theme="dark"] .legal-section table th,
html[data-bs-theme="dark"] .legal-section table td {
    border-color: var(--border-color);
}

html[data-bs-theme="dark"] .legal-section table th {
    background: var(--bg-surface);
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .legal-section table td {
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .legal-page {
        padding: var(--space-8) var(--space-4) var(--space-12);
    }

    .legal-header h1 {
        font-size: var(--text-3xl);
    }

    .legal-content {
        padding: var(--space-5);
    }
}

/* ====== Screenshot Carousel ====== */
.screenshots-section {
    padding: var(--space-4) var(--space-5) var(--space-16);
    background: white;
}

.screenshots-section .section-title {
    color: var(--brand-dark-blue);
}

.screenshots-section .section-subtitle {
    color: var(--gray-500);
    margin-bottom: var(--space-8);
}

.carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    text-align: center;
}

.carousel-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-200);
}

.carousel-label {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brand-dark-blue);
    letter-spacing: 0.02em;
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0;
}

.carousel-arrow:hover {
    background: var(--brand-off-white);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.97);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--brand-dark-blue);
}

.carousel-arrow--prev {
    left: -22px;
}

.carousel-arrow--next {
    right: -22px;
}

/* Dot Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--gray-300);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.carousel-dot:hover {
    background: var(--gray-400);
}

.carousel-dot.active {
    background: var(--brand-blue);
    transform: scale(1.2);
}

/* Carousel responsive */
@media (max-width: 1000px) {
    .carousel-arrow--prev {
        left: var(--space-2);
    }

    .carousel-arrow--next {
        right: var(--space-2);
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 640px) {
    .screenshots-section {
        padding: var(--space-10) var(--space-4);
    }

    .carousel-image {
        border-radius: 0.5rem;
    }

    .carousel-viewport {
        border-radius: 0.5rem;
    }
}

/* Dark theme — Screenshot Carousel */
html[data-bs-theme="dark"] .screenshots-section .section-title {
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .screenshots-section .section-subtitle {
    color: var(--text-secondary);
}

html[data-bs-theme="dark"] .carousel-image {
    border-color: var(--border-color);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

html[data-bs-theme="dark"] .carousel-label {
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .carousel-arrow {
    background: var(--bg-surface);
    border-color: var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html[data-bs-theme="dark"] .carousel-arrow:hover {
    background: var(--bg-surface-hover);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

html[data-bs-theme="dark"] .carousel-arrow svg {
    color: var(--text-primary);
}

html[data-bs-theme="dark"] .carousel-dot {
    background: var(--hover-color);
}

html[data-bs-theme="dark"] .carousel-dot:hover {
    background: var(--gray-600);
}

html[data-bs-theme="dark"] .carousel-dot.active {
    background: var(--brand-blue-light);
}

/* ====== Reduced Motion Support ====== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
