/* =============================================================================
   TWAINSCANNING.NET - Modern Enterprise Redesign
   Design Direction: "Professional Enterprise" - Clean, trustworthy, corporate
   Light theme with legacy brand colors (blues, oranges)
   ============================================================================= */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&family=Fira+Code:wght@400;500&display=swap');

/* === CSS VARIABLES === */
:root {
    /* Core Colors - Light Enterprise Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --bg-hero: linear-gradient(135deg, #4c94d4 0%, #2B88CD 50%, #00397D 100%);

    /* Legacy Brand Colors */
    --brand-blue: #4c94d4;
    --brand-blue-light: #2B88CD;
    --brand-blue-dark: #00397D;
    --brand-purple: #48439A;
    --brand-orange: #F9660B;
    --brand-yellow: #f6ab00;
    --brand-red: #e74c3c;

    /* Accent Colors */
    --accent-primary: #00397D;
    --accent-secondary: #F9660B;
    --accent-success: #059669;
    --accent-warning: #f6ab00;

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #ffffff;
    --text-accent: var(--brand-blue-dark);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #4c94d4 0%, #2B88CD 50%, #00397D 100%);
    --gradient-cta: linear-gradient(135deg, #F9660B 0%, #e85d0a 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    /* Borders */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-accent: rgba(76, 148, 212, 0.3);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-display: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Fira Code', 'Consolas', monospace;

    /* Spacing */
    --section-padding: clamp(3rem, 6vw, 5rem);
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
}

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-display);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

code, .mono {
    font-family: var(--font-mono);
}

/* === UTILITIES === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.text-gradient {
    color: var(--brand-blue-dark);
}

.text-accent { color: var(--brand-blue); }
.text-orange { color: var(--brand-orange); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-orange);
    color: var(--text-light);
    border-bottom: 3px solid #cc5509;
}

.btn-primary:hover {
    background: #e85d0a;
    color: var(--text-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--brand-blue);
    color: var(--text-light);
    border-bottom: 3px solid var(--brand-blue-dark);
}

.btn-secondary:hover {
    background: var(--brand-blue-light);
    color: var(--text-light);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--brand-blue);
    color: var(--text-light);
}

.btn-ghost {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    border-color: var(--border-medium);
}

.btn-yellow {
    background: var(--brand-yellow);
    color: var(--text-primary);
    border-bottom: 3px solid #d79500;
}

.btn-yellow:hover {
    background: #e09d00;
    transform: translateY(-1px);
}

.btn-red {
    background: var(--brand-red);
    color: var(--text-light);
    border-bottom: 3px solid #c0392b;
}

.btn-red:hover {
    background: #d64333;
    color: var(--text-light);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* === NAVIGATION === */
.nav-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(0, 57, 125, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-modern.scrolled {
    background: rgba(0, 57, 125, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

.nav-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo .logo-text span:first-child {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

.nav-logo .logo-text span:last-child {
    font-size: 0.75rem;
    color: var(--brand-yellow);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
    text-decoration: none;
}

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

.nav-links a.active {
    color: var(--brand-yellow);
}

.nav-cta {
    display: flex;
    gap: 0.75rem;
}

/* Nav CTA Buttons */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.nav-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.nav-btn-secondary {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-btn-secondary:hover svg {
    transform: translateY(2px);
}

.nav-btn-primary {
    background: linear-gradient(135deg, #f6ab00 0%, #f9660b 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(249, 102, 11, 0.3);
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, #ffb820 0%, #ff7722 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(249, 102, 11, 0.4);
}

.nav-btn-primary:hover svg {
    transform: scale(1.1);
}

/* Subtle shine effect on primary button */
.nav-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.nav-btn-primary:hover::before {
    left: 100%;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    margin: 5px 0;
    transition: all var(--transition-base);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--brand-blue-dark);
        padding: 1.5rem;
        gap: 1rem;
    }

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

    .nav-cta {
        display: none;
    }

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

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/img/ts-header.png') no-repeat top center;
    opacity: 0.15;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    width: fit-content;
}

@media (max-width: 991px) {
    .hero-badge {
        margin: 0 auto;
    }
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-light);
}

.hero-title .highlight {
    color: var(--brand-yellow);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
}

@media (max-width: 991px) {
    .hero-description {
        margin: 0 auto;
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 991px) {
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 991px) {
    .hero-stats {
        justify-content: center;
    }
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-yellow);
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Code Preview */
.hero-visual {
    position: relative;
}

@media (max-width: 991px) {
    .hero-visual {
        display: none;
    }
}

.code-window {
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-window-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.code-window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-window-dot:nth-child(1) { background: #ef4444; }
.code-window-dot:nth-child(2) { background: #eab308; }
.code-window-dot:nth-child(3) { background: #22c55e; }

.code-window-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: var(--font-mono);
}

.code-window-content {
    padding: 1.25rem;
    overflow-x: auto;
}

.code-window pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #e2e8f0;
}

.code-window .keyword { color: #c792ea; }
.code-window .string { color: #c3e88d; }
.code-window .comment { color: #64748b; font-style: italic; }
.code-window .type { color: #ffcb6b; }
.code-window .method { color: #82aaff; }
.code-window .number { color: #f78c6c; }

/* === TRUST BAR === */
.trust-bar {
    padding: 1.5rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.trust-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--brand-blue);
}

/* === FEATURES GRID === */
.features-section {
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-header .overline {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.0625rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4c94d4 0%, #2B88CD 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-light);
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9375rem;
    margin: 0;
    color: var(--text-secondary);
}

/* === CODE SHOWCASE === */
.code-showcase {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

@media (max-width: 991px) {
    .code-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.code-showcase-content .overline {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

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

.code-showcase-content p {
    margin-bottom: 1.5rem;
}

.code-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.code-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.code-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
}

.code-step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.code-step-content p {
    font-size: 0.875rem;
    margin: 0;
}

.code-step-content code {
    background: var(--bg-tertiary);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--brand-blue-dark);
}

/* === TRUST BAR === */
.trust-bar {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-stat .stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.trust-stat .stat-icon svg {
    width: 20px;
    height: 20px;
    color: #f6ab00;
}

.trust-stat .stat-content {
    display: flex;
    flex-direction: column;
}

.trust-stat .stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.trust-stat .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .trust-stats {
        gap: 1rem;
    }
    .trust-divider {
        display: none;
    }
    .trust-stat .stat-number {
        font-size: 1rem;
    }
}

/* === PRICING SECTION === */
.pricing-section {
    background: var(--bg-primary);
}

/* Homepage Pricing Card */
.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    text-align: center;
}

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

.pricing-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, #f6ab00, #f9660b);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.pricing-header p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.pricing-amount {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    vertical-align: super;
}

.pricing-type {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.pricing-features span {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.pricing-cta {
    margin-bottom: 1rem;
}

.pricing-cta .btn {
    width: 100%;
}

.pricing-guarantee {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.pricing-guarantee a {
    color: var(--brand-blue);
    text-decoration: none;
}

.pricing-guarantee a:hover {
    text-decoration: underline;
}

/* Pricing Page Layout */
.pricing-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 900px) {
    .pricing-layout {
        grid-template-columns: 1fr;
    }
}

/* Main Pricing Card */
.pricing-card-pro {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #f6ab00, #f9660b);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2rem;
    box-shadow: 0 4px 12px rgba(249, 102, 11, 0.3);
}

.card-badge svg {
    width: 14px;
    height: 14px;
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.license-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(76, 148, 212, 0.1);
    color: var(--brand-blue);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0.25rem;
    margin-bottom: 0.75rem;
}

.card-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.card-header p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Price Display */
.price-display {
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.price-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.price-main .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.2;
}

.price-main .amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-meta {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.price-term {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Value Comparison */
.value-comparison {
    margin-bottom: 1.5rem;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
}

.comparison-item.savings {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.comparison-item svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.comparison-item span {
    font-size: 0.875rem;
    color: #166534;
}

.comparison-item strong {
    color: #15803d;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.feature-list li {
    display: flex;
    gap: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.feature-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-check svg {
    width: 14px;
    height: 14px;
    color: #22c55e;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.feature-text strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

/* CTA Section inside pricing card */
.pricing-card-pro .cta-section {
    margin-bottom: 1.5rem;
    background: none;
    position: static;
}

.buy-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, #f6ab00, #f9660b);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 102, 11, 0.3);
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 102, 11, 0.4);
}

.buy-button .btn-icon {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.buy-button .btn-icon svg {
    width: 20px;
    height: 20px;
}

.buy-button:hover .btn-icon {
    opacity: 1;
    transform: translateX(0);
}

.cta-subtext {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.cta-subtext svg {
    width: 16px;
    height: 16px;
}

/* Guarantee Badge */
.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(76, 148, 212, 0.04), rgba(76, 148, 212, 0.08));
    border: 1px solid rgba(76, 148, 212, 0.15);
    border-radius: 1rem;
    margin-top: 0.5rem;
}

.guarantee-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4c94d4, #2B88CD);
    border-radius: 0.625rem;
    flex-shrink: 0;
}

.guarantee-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.guarantee-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.guarantee-text strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.guarantee-text span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Pricing Sidebar */
.pricing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.sidebar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar-card.try-free .sidebar-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.2));
}

.sidebar-card.try-free .sidebar-icon svg {
    color: #22c55e;
}

.sidebar-card.enterprise .sidebar-icon {
    background: linear-gradient(135deg, rgba(76, 148, 212, 0.1), rgba(76, 148, 212, 0.2));
}

.sidebar-card.enterprise .sidebar-icon svg {
    color: var(--brand-blue);
}

.sidebar-icon svg {
    width: 24px;
    height: 24px;
}

.sidebar-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.sidebar-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.sidebar-link:hover {
    gap: 0.75rem;
}

.sidebar-link svg {
    width: 16px;
    height: 16px;
}

/* Payment Methods */
.payment-methods {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    text-align: center;
}

.payment-methods > span {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.payment-icon {
    width: 40px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.25rem;
}

.payment-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
}

/* === SOCIAL PROOF SECTION === */
.social-proof-section {
    background: var(--bg-primary);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.industry-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.industry-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 0.75rem;
}

.industry-icon svg {
    width: 24px;
    height: 24px;
}

.industry-icon.healthcare { background: rgba(239, 68, 68, 0.1); }
.industry-icon.healthcare svg { color: #ef4444; }

.industry-icon.finance { background: rgba(34, 197, 94, 0.1); }
.industry-icon.finance svg { color: #22c55e; }

.industry-icon.legal { background: rgba(139, 92, 246, 0.1); }
.industry-icon.legal svg { color: #8b5cf6; }

.industry-icon.government { background: rgba(59, 130, 246, 0.1); }
.industry-icon.government svg { color: #3b82f6; }

.industry-icon.manufacturing { background: rgba(249, 115, 22, 0.1); }
.industry-icon.manufacturing svg { color: #f97316; }

.industry-icon.education { background: rgba(236, 72, 153, 0.1); }
.industry-icon.education svg { color: #ec4899; }

.industry-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem 0;
}

.industry-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Testimonial */
.testimonial-highlight {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 1rem;
}

.testimonial-highlight blockquote {
    font-size: 1.125rem;
    font-style: italic;
    color: white;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6ab00, #f9660b);
    border-radius: 50%;
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

.author-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-info strong {
    font-size: 0.9375rem;
    color: white;
}

.author-info span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, #4c94d4 0%, #2B88CD 50%, #00397D 100%);
    position: relative;
}

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

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.cta-buttons .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* === SUPPORT PAGE === */
.support-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.support-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(76, 148, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(246, 171, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.support-hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4ade80;
    margin-bottom: 1.5rem;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.support-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.support-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* Support Options Grid */
.support-options {
    background: var(--bg-secondary);
    padding-top: 3rem;
}

.options-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
}

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

/* Support Cards */
.support-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

/* Contact Card */
.contact-card {
    position: relative;
}

.card-header-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6ab00, #f9660b);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(249, 102, 11, 0.25);
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    color: white;
}

.response-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
}

.response-badge .pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.contact-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.contact-card > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.contact-form label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.2s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(76, 148, 212, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f6ab00, #f9660b);
    border: none;
    border-radius: 0.625rem;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 102, 11, 0.25);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 102, 11, 0.35);
}

.submit-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(3px);
}

.contact-promise {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(76, 148, 212, 0.05), rgba(76, 148, 212, 0.1));
    border-radius: 0.625rem;
    margin-top: 1rem;
}

.contact-promise svg {
    width: 20px;
    height: 20px;
    color: var(--brand-blue);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-promise span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Resources Card */
.resources-card {
    display: flex;
    flex-direction: column;
}

.resources-header {
    margin-bottom: 1.25rem;
}

.resources-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem 0;
}

.resources-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.resource-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.resource-item:hover {
    background: white;
    border-color: var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.resource-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    flex-shrink: 0;
}

.resource-icon svg {
    width: 22px;
    height: 22px;
}

.resource-icon.docs {
    background: rgba(76, 148, 212, 0.1);
}
.resource-icon.docs svg { color: var(--brand-blue); }

.resource-icon.guide {
    background: rgba(139, 92, 246, 0.1);
}
.resource-icon.guide svg { color: #8b5cf6; }

.resource-icon.examples {
    background: rgba(34, 197, 94, 0.1);
}
.resource-icon.examples svg { color: #22c55e; }

.resource-icon.download {
    background: rgba(246, 171, 0, 0.1);
}
.resource-icon.download svg { color: var(--brand-orange); }

.resource-content {
    flex: 1;
    min-width: 0;
}

.resource-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.resource-content p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.resource-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
}

.resource-arrow svg {
    width: 18px;
    height: 18px;
    color: var(--brand-blue);
}

.resource-item:hover .resource-arrow {
    opacity: 1;
    transform: translateX(0);
}

.quick-contact {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    margin-top: 1.25rem;
}

.quick-contact-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.quick-contact span {
    color: var(--text-secondary);
}

.quick-contact a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.quick-contact a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-primary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(76, 148, 212, 0.3);
}

.faq-item.active {
    border-color: var(--brand-blue);
    box-shadow: 0 4px 20px rgba(76, 148, 212, 0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

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

.faq-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-orange);
    background: rgba(246, 171, 0, 0.1);
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.faq-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-icon svg {
    color: var(--brand-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    padding-left: calc(1.5rem + 2.5rem + 1rem);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer-content a {
    color: var(--brand-blue);
    text-decoration: none;
}

.faq-answer-content a:hover {
    text-decoration: underline;
}

.faq-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.faq-cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
}

.faq-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-cta .btn svg {
    width: 18px;
    height: 18px;
}

/* === FOOTER === */
.footer-modern {
    background: #1e293b;
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

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

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

.footer-brand .nav-logo .logo-text span:first-child {
    color: var(--text-light);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: #94a3b8;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9375rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-light);
    text-decoration: none;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #94a3b8;
    font-size: 0.9375rem;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--brand-blue-light);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: #94a3b8;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: #64748b;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #94a3b8;
}

/* === PAGE HEADER === */
.page-header {
    padding: 8rem 0 3rem;
    background: var(--gradient-hero);
    text-align: center;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.page-header .text-gradient {
    color: var(--brand-yellow);
}

.page-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin: 0 auto;
}

/* === DOWNLOAD SECTION === */
.download-section {
    background: var(--bg-primary);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

/* Platform Cards */
.download-platform-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.platform-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.download-platform-card.framework .platform-glow {
    background: linear-gradient(90deg, #4c94d4, #2B88CD, #00397D);
}

.download-platform-card.core .platform-glow {
    background: linear-gradient(90deg, #8b5cf6, #a855f7, #d946ef);
}

/* Platform Header */
.platform-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.platform-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.download-platform-card:hover .platform-logo {
    transform: scale(1.05);
}

.download-platform-card.framework .platform-logo {
    background: linear-gradient(135deg, #4c94d4, #2B88CD);
}

.download-platform-card.core .platform-logo {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.platform-logo svg {
    width: 32px;
    height: 32px;
    color: white;
}

.platform-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}

.download-platform-card.framework .platform-badge {
    background: rgba(76, 148, 212, 0.1);
    color: #2B88CD;
}

.download-platform-card.core .platform-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.platform-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.platform-support {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Platform Meta */
.platform-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.meta-label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.meta-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Download Options */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Download Button */
.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.download-btn.primary {
    background: linear-gradient(135deg, #f6ab00, #f9660b);
    color: white;
    box-shadow: 0 4px 15px rgba(249, 102, 11, 0.3);
}

.download-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 102, 11, 0.4);
}

.download-btn .btn-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.download-btn .btn-icon svg {
    width: 22px;
    height: 22px;
}

.download-btn .btn-content {
    flex: 1;
}

.download-btn .btn-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.download-btn .btn-sublabel {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.125rem;
}

.download-btn .btn-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.download-btn .btn-arrow svg {
    width: 20px;
    height: 20px;
}

.download-btn:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Download Divider */
.download-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.download-divider::before,
.download-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

/* NuGet Option */
.nuget-option {
    background: #0f172a;
    border-radius: 0.75rem;
    padding: 1rem;
    overflow: hidden;
}

.nuget-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.nuget-icon {
    width: 16px;
    height: 16px;
    color: #60a5fa;
}

.nuget-header span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nuget-command {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1e293b;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.nuget-command code {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: #4ade80;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.copy-btn.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

/* Platform Note */
.platform-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    color: #7c3aed;
}

.platform-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* No Install Banner */
.no-install-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(76, 148, 212, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid var(--border-light);
    border-radius: 1rem;
}

.banner-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4c94d4, #8b5cf6);
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.banner-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.banner-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.banner-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 640px) {
    .no-install-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* === FEATURES PAGE === */
.features-page-section {
    background: var(--bg-primary);
}

.feature-example {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-light);
}

.feature-example:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-example-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-example-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue);
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
}

.feature-example-header h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
}

.feature-example > p {
    margin-bottom: 1.25rem;
    max-width: 800px;
}

/* === RELEASE NOTES === */
.release-section {
    background: var(--bg-secondary);
}

.release-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-card);
}

.release-card h3 {
    color: var(--brand-blue-dark);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.release-card .release-date {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

.release-card h4 {
    font-size: 0.8125rem;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1rem 0 0.5rem;
}

.release-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.release-card li {
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.release-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: var(--brand-blue);
    border-radius: 50%;
}

/* === MODAL STYLES === */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-weight: 600;
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
}

.form-control {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-control:focus {
    background: var(--bg-primary);
    border-color: var(--brand-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 148, 212, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.close {
    color: var(--text-secondary);
    opacity: 1;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

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

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* =============================================================================
   HERO V2 - Animated Interactive Hero Section
   ============================================================================= */

.hero-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #00397D 0%, #2B88CD 50%, #4c94d4 100%);
    overflow: hidden;
}

/* Background Effects */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particleFloat 5s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.8;
    }
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #F9660B 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #4c94d4 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: orbFloat2 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

/* Hero Grid Layout */
.hero-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 1100px) {
    .hero-v2-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Hero Content - Left Side */
.hero-v2-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Animated Badge */
.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    width: fit-content;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-v2-badge.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

/* Title Styling */
.hero-v2-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-v2-title.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

.title-gradient {
    background: linear-gradient(135deg, #f6ab00 0%, #F9660B 50%, #f6ab00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.title-small {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
}

.dotnet-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #512BD4 0%, #7B4DFF 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9em;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(81, 43, 212, 0.4);
}

/* Description */
.hero-v2-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-v2-description.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-v2-description strong {
    color: white;
    font-weight: 600;
}

/* CTA Buttons */
.hero-v2-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

/* Ensure secondary button in hero matches height */
.hero-v2-cta .btn-secondary {
    padding: 1.1rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.hero-v2-cta.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === HERO DOWNLOAD BUTTON - Electric Momentum === */
.hero-download-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: none;
    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
    overflow: visible;
    isolation: isolate;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                filter 0.3s ease;
}

.hero-download-btn:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.05);
}

.hero-download-btn:active {
    transform: translateY(-2px) scale(1.01);
}

/* Animated gradient background */
.hero-download-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #F9660B 0%,
        #ff7a22 25%,
        #f6ab00 50%,
        #ff7a22 75%,
        #F9660B 100%
    );
    background-size: 300% 300%;
    border-radius: 16px;
    animation: hero-gradient-flow 4s ease infinite;
    z-index: 1;
}

@keyframes hero-gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glowing aura */
.hero-download-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #F9660B, #f6ab00, #ff7a22);
    border-radius: 20px;
    z-index: 0;
    opacity: 0.6;
    filter: blur(20px);
    animation: hero-glow-pulse 2s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Outer ring on hover */
.hero-download-btn::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(249, 102, 11, 0.3);
    border-radius: 24px;
    z-index: 0;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-download-btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Shimmer sweep effect */
.hero-download-shimmer {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    z-index: 2;
}

.hero-download-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: hero-shimmer 3s ease-in-out infinite;
}

@keyframes hero-shimmer {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

/* Main content container */
.hero-download-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    z-index: 3;
    color: white;
}

/* Download icon with bounce */
.hero-download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.hero-download-icon svg {
    width: 26px;
    height: 26px;
    stroke: white;
    animation: hero-icon-bounce 2s ease-in-out infinite;
}

@keyframes hero-icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Text styling */
.hero-download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.hero-download-label {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.hero-download-sublabel {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Arrow with slide animation */
.hero-download-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hero-download-arrow svg {
    width: 18px;
    height: 18px;
    stroke: white;
    transition: transform 0.3s ease;
}

.hero-download-btn:hover .hero-download-arrow {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.hero-download-btn:hover .hero-download-arrow svg {
    transform: translateX(3px);
}

/* Particle effects */
.hero-download-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: visible;
}

.hero-download-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0;
    filter: blur(1px);
}

.hero-download-btn:hover .particle {
    animation: hero-particle-float 1.5s ease-out forwards;
}

.hero-download-particles .particle:nth-child(1) {
    left: 20%;
    top: 50%;
    animation-delay: 0s;
}
.hero-download-particles .particle:nth-child(2) {
    left: 40%;
    top: 30%;
    animation-delay: 0.1s;
}
.hero-download-particles .particle:nth-child(3) {
    left: 60%;
    top: 60%;
    animation-delay: 0.2s;
}
.hero-download-particles .particle:nth-child(4) {
    left: 80%;
    top: 40%;
    animation-delay: 0.3s;
}
.hero-download-particles .particle:nth-child(5) {
    left: 30%;
    top: 70%;
    animation-delay: 0.15s;
}
.hero-download-particles .particle:nth-child(6) {
    left: 70%;
    top: 25%;
    animation-delay: 0.25s;
}

@keyframes hero-particle-float {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.5);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-download-content {
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }

    .hero-download-icon {
        width: 40px;
        height: 40px;
    }

    .hero-download-icon svg {
        width: 22px;
        height: 22px;
    }

    .hero-download-label {
        font-size: 1rem;
    }

    .hero-download-sublabel {
        font-size: 0.7rem;
    }

    .hero-download-arrow {
        width: 28px;
        height: 28px;
        margin-left: 0.25rem;
    }

    .hero-download-arrow svg {
        width: 14px;
        height: 14px;
    }
}

/* Focus state for accessibility */
.hero-download-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
}

/* Old class kept for compatibility */
.hero-btn-glow {
    position: relative;
    box-shadow: 0 0 20px rgba(249, 102, 11, 0.4);
}

.hero-btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #F9660B, #f6ab00, #F9660B);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.hero-btn-glow:hover::before {
    opacity: 0.6;
}

/* =============================================================================
   FEATURES PAGE - EPIC FINAL CTA SECTION
   ============================================================================= */

.features-final-cta {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0f1a 0%, #111827 50%, #0f172a 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Animated Background */
.final-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cta-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(76, 148, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 148, 212, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: cta-grid-move 20s linear infinite;
}

@keyframes cta-grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.cta-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 102, 11, 0.3) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: cta-glow-float 8s ease-in-out infinite;
}

.cta-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 148, 212, 0.25) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: cta-glow-float 10s ease-in-out infinite reverse;
}

@keyframes cta-glow-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Particles */
.cta-particles {
    position: absolute;
    inset: 0;
}

.cta-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 4px;
    height: 4px;
    background: rgba(249, 102, 11, 0.6);
    border-radius: 50%;
    animation: cta-particle-pulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes cta-particle-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

/* Layout */
.final-cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Content Side */
.final-cta-content {
    color: #fff;
}

.final-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(249, 102, 11, 0.15);
    border: 1px solid rgba(249, 102, 11, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #F9660B;
    margin-bottom: 1.5rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #F9660B;
    border-radius: 50%;
    animation: badge-pulse-anim 2s ease-in-out infinite;
}

@keyframes badge-pulse-anim {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.final-cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.final-cta-title .title-line {
    display: block;
}

.final-cta-title .title-gradient {
    background: linear-gradient(135deg, #F9660B 0%, #f6ab00 50%, #F9660B 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-gradient-shift 4s ease infinite;
}

@keyframes title-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.final-cta-title .title-small {
    font-size: 0.6em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-top: 0.25rem;
}

.final-cta-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* CTA Buttons */
.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.final-cta-primary {
    position: relative;
    display: inline-flex;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.final-cta-primary .btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #F9660B 0%, #e85d0a 100%);
    z-index: 0;
}

.final-cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    z-index: 1;
}

.final-cta-primary .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.final-cta-primary .btn-content svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.final-cta-primary .btn-content span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.final-cta-primary .btn-content strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.final-cta-primary .btn-content small {
    font-size: 0.75rem;
    opacity: 0.9;
}

.final-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 102, 11, 0.4);
}

.final-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.final-cta-secondary .btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.final-cta-secondary .btn-content svg {
    width: 20px;
    height: 20px;
    stroke: #F9660B;
}

.final-cta-secondary .btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.final-cta-secondary .btn-arrow svg {
    width: 14px;
    height: 14px;
}

.final-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(249, 102, 11, 0.5);
}

.final-cta-secondary:hover .btn-arrow {
    background: rgba(249, 102, 11, 0.3);
    transform: translateX(3px);
}

/* Trust Section */
.final-cta-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-avatars .avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #F9660B, #f6ab00);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
}

.trust-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Visual Side - Floating Code Window */
.final-cta-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-code-window {
    position: relative;
    width: 100%;
    max-width: 450px;
    background: #1a1f2e;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    animation: code-window-float 6s ease-in-out infinite;
}

@keyframes code-window-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}

.code-window-chrome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #252b3b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chrome-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3b4252;
}

.chrome-dot:nth-child(1) { background: #bf616a; }
.chrome-dot:nth-child(2) { background: #ebcb8b; }
.chrome-dot:nth-child(3) { background: #a3be8c; }

.chrome-title {
    margin-left: auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-mono);
}

.code-window-body {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-window-body pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.7;
}

.code-window-body code {
    color: #e5e9f0;
}

.code-comment { color: #616e88; }
.code-keyword { color: #81a1c1; }
.code-type { color: #8fbcbb; }
.code-method { color: #88c0d0; }
.code-string { color: #a3be8c; }

.code-window-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(163, 190, 140, 0.1);
    border-top: 1px solid rgba(163, 190, 140, 0.2);
    font-size: 0.8rem;
    color: #a3be8c;
    font-family: var(--font-mono);
}

.footer-icon.success {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(163, 190, 140, 0.2);
    border-radius: 50%;
}

.footer-icon.success svg {
    width: 12px;
    height: 12px;
    stroke: #a3be8c;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: #252b3b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-badge svg {
    width: 16px;
    height: 16px;
}

.fb-pdf {
    top: 10%;
    right: -10%;
    animation: fb-float-1 5s ease-in-out infinite;
}

.fb-pdf svg { fill: #ef4444; }

@keyframes fb-float-1 {
    0%, 100% { transform: translate(0, 0) rotate(-3deg); }
    50% { transform: translate(-5px, 10px) rotate(3deg); }
}

.fb-check {
    bottom: 20%;
    right: -5%;
    background: rgba(163, 190, 140, 0.2);
    border-color: rgba(163, 190, 140, 0.3);
    animation: fb-float-2 4s ease-in-out infinite;
}

.fb-check svg {
    stroke: #a3be8c;
}

@keyframes fb-float-2 {
    0%, 100% { transform: translate(0, 0) rotate(3deg); }
    50% { transform: translate(5px, -10px) rotate(-3deg); }
}

.fb-speed {
    top: 60%;
    left: -10%;
    animation: fb-float-3 6s ease-in-out infinite;
}

.fb-speed svg {
    stroke: #f6ab00;
}

@keyframes fb-float-3 {
    0%, 100% { transform: translate(0, 0) rotate(2deg); }
    50% { transform: translate(8px, 8px) rotate(-2deg); }
}

/* Bottom Stats */
.final-cta-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.final-cta-stats .stat-item {
    text-align: center;
}

.final-cta-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.final-cta-stats .stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.final-cta-stats .stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .final-cta-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .final-cta-content {
        order: 1;
    }

    .final-cta-visual {
        order: 2;
    }

    .final-cta-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .final-cta-actions {
        justify-content: center;
    }

    .final-cta-trust {
        justify-content: center;
    }

    .floating-badge {
        display: none;
    }
}

@media (max-width: 640px) {
    .features-final-cta {
        padding: 4rem 0;
    }

    .final-cta-title {
        font-size: 2rem;
    }

    .final-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta-primary,
    .final-cta-secondary {
        justify-content: center;
    }

    .final-cta-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .final-cta-stats .stat-divider {
        display: none;
    }

    .final-cta-stats .stat-item {
        flex: 0 0 45%;
    }

    .floating-code-window {
        max-width: 100%;
    }

    .code-window-body {
        padding: 1rem;
    }

    .code-window-body pre {
        font-size: 0.75rem;
    }
}

/* Stats Section */
.hero-v2-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    width: fit-content;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.hero-v2-stats.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-v2-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.stat-icon svg {
    color: var(--brand-yellow);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
    .hero-v2-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .hero-v2-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-v2-cta .btn-secondary {
        justify-content: center;
        padding: 1rem 1.5rem;
    }
}

/* Visual Section - Right Side */
.hero-v2-visual {
    position: relative;
    height: 500px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-v2-visual.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1100px) {
    .hero-v2-visual {
        display: none;
    }
}

/* Scanner Device */
.scanner-device {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
}

.scanner-body {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scanner-screen {
    background: #0a0f1a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.scanner-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #94a3b8;
    transition: all 0.3s ease;
}

.status-dot.scanning {
    background: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    animation: statusPulse 1s ease-in-out infinite;
}

.status-dot.complete {
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

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

.status-text {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: #94a3b8;
}

.scanner-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4c94d4, #F9660B);
    border-radius: 3px;
    animation: progressLoop 2s ease-in-out infinite;
}

@keyframes progressLoop {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.scanner-slot {
    height: 12px;
    background: #0a0f1a;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.scanner-laser {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F9660B, transparent);
    transform: translateY(-50%);
    animation: laserScan 1.5s ease-in-out infinite;
}

@keyframes laserScan {
    0% { transform: translateY(-50%) translateX(-100%); }
    100% { transform: translateY(-50%) translateX(100%); }
}

/* Document Stack */
.document-stack {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 100px;
    perspective: 1000px;
}

.document {
    position: absolute;
    width: 100%;
    height: 80px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 12px;
    transform-origin: center bottom;
}

.doc-lines {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        #e2e8f0 0px,
        #e2e8f0 2px,
        transparent 2px,
        transparent 12px
    );
}

.doc-1 {
    animation: docFloat1 3s ease-in-out infinite;
    z-index: 3;
}

.doc-2 {
    top: 8px;
    transform: scale(0.95);
    opacity: 0.8;
    animation: docFloat2 3s ease-in-out infinite;
    z-index: 2;
}

.doc-3 {
    top: 16px;
    transform: scale(0.9);
    opacity: 0.6;
    animation: docFloat3 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes docFloat1 {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(-5deg); }
}

@keyframes docFloat2 {
    0%, 100% { transform: translateY(0) scale(0.95); }
    50% { transform: translateY(-5px) scale(0.95); }
}

@keyframes docFloat3 {
    0%, 100% { transform: translateY(0) scale(0.9); }
    50% { transform: translateY(-3px) scale(0.9); }
}

/* Output Formats */
.output-formats {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.format-badge {
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    color: white;
    animation: formatPop 0.5s ease-out forwards;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
}

.format-pdf {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    animation-delay: 0.5s;
}

.format-jpeg {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    animation-delay: 0.7s;
}

.format-tiff {
    background: linear-gradient(135deg, #059669, #047857);
    animation-delay: 0.9s;
}

.format-png {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    animation-delay: 1.1s;
}

@keyframes formatPop {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Floating Code Window */
.code-window-float {
    position: absolute;
    bottom: 30px;
    right: -40px;
    width: 340px;
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: floatCode 6s ease-in-out infinite;
}

@keyframes floatCode {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.code-window-float .code-window-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.code-window-float .code-window-content {
    padding: 1rem;
    min-height: 160px;
    position: relative;
}

.code-window-float pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #F9660B;
    animation: cursorBlink 0.8s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

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

/* Floating Elements */
.floating-element {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: white;
}

.fe-1 {
    top: 20px;
    right: 60px;
    animation: floatElement 5s ease-in-out infinite;
}

.fe-2 {
    top: 120px;
    left: 20px;
    animation: floatElement 6s ease-in-out infinite 0.5s;
}

.fe-3 {
    bottom: 100px;
    left: 40px;
    animation: floatElement 5.5s ease-in-out infinite 1s;
}

.csharp-icon {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, #512BD4, #7B4DFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* Mobile Responsiveness */
@media (max-width: 1100px) {
    .hero-v2 {
        min-height: auto;
        padding: 140px 0 100px;
    }

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

    .hero-v2-description {
        max-width: 100%;
    }

    .hero-v2-stats {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .title-line {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .title-small {
        font-size: 1.25rem;
    }

    .hero-v2-stats {
        padding: 1rem;
        gap: 1rem;
    }

    .hero-v2-stat {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

/* =============================================================================
   FEATURES PAGE - Interactive Showcase Sections
   ============================================================================= */

.feature-showcase {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.feature-showcase.fs-light {
    background: var(--bg-primary);
}

.feature-showcase.fs-dark {
    background: #1e293b;
    color: white;
}

.feature-showcase.fs-dark .feature-showcase-content h2,
.feature-showcase.fs-dark .feature-showcase-content p,
.feature-showcase.fs-dark .feature-benefits li {
    color: white;
}

.feature-showcase.fs-dark .feature-benefits li {
    color: rgba(255, 255, 255, 0.85);
}

.feature-showcase.fs-accent {
    background: linear-gradient(135deg, #00397D 0%, #2B88CD 100%);
    color: white;
}

.feature-showcase.fs-accent .feature-showcase-content h2,
.feature-showcase.fs-accent .feature-showcase-content p,
.feature-showcase.fs-accent .feature-benefits li {
    color: white;
}

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

.feature-showcase-grid.reverse {
    direction: rtl;
}

.feature-showcase-grid.reverse > * {
    direction: ltr;
}

@media (max-width: 991px) {
    .feature-showcase-grid,
    .feature-showcase-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 3rem;
    }
}

/* Feature Content */
.feature-showcase-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-showcase-grid.reverse .feature-showcase-content {
    transform: translateX(30px);
}

.feature-showcase.in-view .feature-showcase-content {
    opacity: 1;
    transform: translateX(0);
}

.feature-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.fs-dark .feature-label,
.fs-accent .feature-label {
    color: var(--brand-yellow);
}

.feature-showcase-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-showcase-content h2 .highlight {
    color: var(--brand-blue);
}

.fs-dark .feature-showcase-content h2 .highlight {
    color: var(--brand-yellow);
}

.fs-accent .feature-showcase-content h2 .highlight {
    color: var(--brand-yellow);
}

.feature-showcase-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.feature-benefits li svg {
    width: 20px;
    height: 20px;
    color: var(--accent-success);
    flex-shrink: 0;
}

/* Code Snippets */
.code-snippet {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.code-snippet code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: #e2e8f0;
    line-height: 1.6;
}

.format-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.format-methods code {
    background: rgba(0, 57, 125, 0.1);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--brand-blue-dark);
}

.fs-dark .format-methods code {
    background: rgba(255, 255, 255, 0.1);
    color: #93c5fd;
}

/* Feature Visual */
.feature-showcase-visual {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.feature-showcase-grid.reverse .feature-showcase-visual {
    transform: translateX(-30px);
}

.feature-showcase.in-view .feature-showcase-visual {
    opacity: 1;
    transform: translateX(0);
}

/* =============================================================================
   Feature 1: Simplicity Demo
   ============================================================================= */

.simplicity-demo {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.line-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

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

.count-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
}

.count-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.line-arrow svg {
    width: 32px;
    height: 32px;
    color: var(--brand-orange);
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 0.7; }
}

.result-preview {
    display: flex;
    align-items: center;
}

.result-doc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--accent-success);
    border-radius: var(--radius-md);
    position: relative;
}

.result-doc .doc-icon svg {
    width: 40px;
    height: 40px;
    color: var(--brand-blue);
}

.result-doc span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.doc-checkmark {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--accent-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-checkmark svg {
    width: 14px;
    height: 14px;
    color: white;
}

.code-lines-visual {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.code-line-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    background: #1e293b;
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: translateX(-20px);
    animation: lineSlideIn 0.5s ease forwards;
    animation-delay: calc(var(--delay) * 0.15s + 0.5s);
}

.feature-showcase.in-view .code-line-item {
    animation-play-state: running;
}

@keyframes lineSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.line-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #64748b;
    min-width: 1.5rem;
}

.line-code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #e2e8f0;
}

/* =============================================================================
   Feature 2: Format Carousel
   ============================================================================= */

.format-carousel {
    background: #0f172a;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.format-cards {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 160px;
    align-items: center;
}

.format-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 120px;
}

.format-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--brand-orange);
    background: rgba(249, 102, 11, 0.1);
}

.format-card-icon {
    width: 48px;
    height: 48px;
}

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

.fc-pdf .format-card-icon { color: #ef4444; }
.fc-jpeg .format-card-icon { color: #3b82f6; }
.fc-tiff .format-card-icon { color: #10b981; }
.fc-png .format-card-icon { color: #8b5cf6; }

.format-card-name {
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.format-card-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
}

.format-selector {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.format-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.format-btn.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
}

/* =============================================================================
   Feature 3: Scanner Discovery Demo
   ============================================================================= */

.scanner-discovery-demo {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.discovery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.discovery-title {
    font-weight: 600;
    color: var(--text-primary);
}

.discovery-count {
    font-size: 0.8125rem;
    color: var(--accent-success);
    font-weight: 600;
}

.scanner-list {
    padding: 0.5rem;
}

.scanner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: scannerSlideIn 0.5s ease forwards;
    animation-delay: calc(var(--delay) * 0.15s + 0.3s);
}

.feature-showcase.in-view .scanner-item {
    animation-play-state: running;
}

@keyframes scannerSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scanner-item:hover {
    background: var(--bg-secondary);
}

.scanner-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4c94d4, #2B88CD);
    border-radius: var(--radius-md);
}

.scanner-item-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.scanner-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.scanner-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.scanner-type {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.scanner-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
}

.badge-default {
    background: var(--accent-success);
    color: white;
}

/* =============================================================================
   Feature 4: Control Panel Demo
   ============================================================================= */

.control-panel-demo {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-group label {
    display: block;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.control-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-input {
    flex: 1;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-blue);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(76, 148, 212, 0.4);
}

.slider-value {
    min-width: 48px;
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-align: center;
}

.control-options {
    display: flex;
    gap: 0.5rem;
}

.control-opt {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-opt:hover {
    background: var(--bg-tertiary);
}

.control-opt.active {
    background: rgba(76, 148, 212, 0.1);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.opt-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.color-icon {
    background: linear-gradient(135deg, #ef4444, #22c55e, #3b82f6);
}

.gray-icon {
    background: linear-gradient(135deg, #64748b, #cbd5e1);
}

.bw-icon {
    background: linear-gradient(135deg, #000, #fff);
}

.control-select select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--text-primary);
    cursor: pointer;
}

.control-toggles {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.control-group .toggle-item,
.toggle-item {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 0;
    font-weight: normal;
}

.toggle-item input {
    display: none;
}

.toggle-switch {
    width: 44px;
    min-width: 44px;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 1;
    display: inline-block;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.toggle-item input:checked + .toggle-switch {
    background: #22c55e;
}

.toggle-item input:checked + .toggle-switch::after {
    transform: translateX(20px);
}

.toggle-item span:last-child {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* =============================================================================
   Feature 5: Async Demo
   ============================================================================= */

.async-demo {
    position: relative;
    padding: 1rem;
}

.async-ui-mock {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border-bottom: 1px solid var(--border-light);
}

.mock-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mock-app-icon {
    width: 16px;
    height: 16px;
    color: var(--brand-blue);
}

.mock-header-left span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

.mock-controls {
    display: flex;
    gap: 0.25rem;
}

.mock-controls span {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-minimize {
    background: #e9ecef;
}

.control-minimize:hover {
    background: #dee2e6;
}

.control-maximize {
    background: #e9ecef;
}

.control-close {
    background: #e9ecef;
}

.control-close:hover {
    background: #ef4444;
}

/* Toolbar */
.mock-toolbar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.toolbar-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.5rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.toolbar-btn svg {
    width: 16px;
    height: 16px;
}

.toolbar-btn span {
    font-size: 0.75rem;
    font-weight: 500;
}

.toolbar-btn:hover {
    background: white;
    border-color: var(--border-light);
}

.toolbar-btn.active {
    background: white;
    border-color: var(--border-light);
    color: var(--brand-blue);
}

.toolbar-btn.scan-trigger {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
    margin-left: auto;
}

.toolbar-btn.scan-trigger:hover {
    background: #e55a0a;
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: var(--border-light);
    margin: 0 0.5rem;
}

/* Mock Body */
.mock-body {
    display: flex;
    min-height: 220px;
}

.mock-sidebar {
    width: 90px;
    background: #f1f3f4;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-right: 1px solid var(--border-light);
}

.sidebar-doc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-doc:hover {
    background: rgba(0, 0, 0, 0.05);
}

.sidebar-doc.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-doc span {
    font-size: 0.625rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.doc-thumb {
    width: 50px;
    height: 65px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.doc-thumb::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 6px;
    right: 6px;
    height: 3px;
    background: #e9ecef;
    border-radius: 1px;
}

.doc-thumb::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 6px;
    right: 10px;
    height: 2px;
    background: #e9ecef;
    border-radius: 1px;
}

.doc-thumb.scanning {
    background: linear-gradient(to bottom, #f8f9fa, #e3f2fd);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to bottom, transparent, var(--brand-blue), transparent);
    animation: scanLineMove 1.5s ease-in-out infinite;
}

@keyframes scanLineMove {
    0% { top: 0; }
    50% { top: calc(100% - 3px); }
    100% { top: 0; }
}

.scanning-doc span {
    color: var(--brand-blue);
}

/* Document Preview */
.mock-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #fafbfc;
}

.document-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-page {
    width: 180px;
    height: 240px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.preview-header {
    height: 12px;
    width: 60%;
    background: var(--text-primary);
    border-radius: 2px;
    margin-bottom: 1rem;
    opacity: 0.15;
}

.preview-line {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.preview-line.short {
    width: 45%;
}

.preview-line.medium {
    width: 75%;
}

.content-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.action-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn.primary {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: white;
}

/* Status Bar */
.mock-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0.75rem;
    background: #f1f3f4;
    border-top: 1px solid var(--border-light);
    font-size: 0.6875rem;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-indicator.scanning {
    background: #22c55e;
    animation: pulse 1s ease-in-out infinite;
}

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

.status-message {
    color: var(--text-secondary);
}

.status-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-bar {
    width: 80px;
    height: 4px;
    background: #dee2e6;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--brand-blue), #60a5fa);
    border-radius: 2px;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { width: 50%; }
    50% { width: 70%; }
}

.status-progress span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Async Indicators */
.async-indicator {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #22c55e;
    border-radius: 2rem;
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    z-index: 10;
}

.async-indicator svg {
    width: 16px;
    height: 16px;
}

.pulse-ring {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 2rem;
    border: 2px solid #22c55e;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.async-click-indicator {
    position: absolute;
    bottom: 30%;
    left: 35%;
    width: 32px;
    height: 32px;
    background: var(--brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(249, 102, 11, 0.4);
    animation: clickBounce 2s ease-in-out infinite;
}

.async-click-indicator svg {
    width: 16px;
    height: 16px;
}

.click-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--brand-orange);
    animation: clickRipple 2s ease-out infinite;
}

@keyframes clickBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes clickRipple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* =============================================================================
   Feature 6: Compatibility Grid
   ============================================================================= */

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.compat-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    opacity: 0;
    transform: scale(0.9);
    animation: brandPop 0.5s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s + 0.3s);
}

.feature-showcase.in-view .compat-brand {
    animation-play-state: running;
}

@keyframes brandPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.compat-brand span {
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.compat-brand.twain-badge {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--brand-orange), #cc5509);
    border: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
}

.compat-brand.twain-badge span {
    font-size: 1.5rem;
}

.compat-brand.twain-badge small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.compat-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.compat-stat {
    display: flex;
    flex-direction: column;
}

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

.compat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================================================
   Platform Support Card
   ============================================================================= */

.platform-support-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 2px solid var(--brand-blue);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 640px) {
    .platform-support-card {
        flex-direction: column;
        text-align: center;
    }
}

.platform-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4c94d4, #2B88CD);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.platform-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.platform-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.platform-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* =============================================================================
   Example Cards (AnyCPU Examples Page)
   ============================================================================= */

.example-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-bottom: 1px solid var(--border-light);
}

.example-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: white;
}

.example-icon svg {
    width: 24px;
    height: 24px;
}

.example-title h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.example-title p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.example-code {
    background: #1e293b;
    padding: 0;
}

.example-code pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    background: transparent !important;
}

.example-code code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Override Prism.js dark theme for consistency */
.example-code .token.comment,
.example-code .token.prolog,
.example-code .token.doctype,
.example-code .token.cdata {
    color: #6b7280;
}

.example-code .token.punctuation {
    color: #9ca3af;
}

.example-code .token.property,
.example-code .token.tag,
.example-code .token.boolean,
.example-code .token.number,
.example-code .token.constant,
.example-code .token.symbol {
    color: #f59e0b;
}

.example-code .token.selector,
.example-code .token.attr-name,
.example-code .token.string,
.example-code .token.char,
.example-code .token.builtin {
    color: #34d399;
}

.example-code .token.operator,
.example-code .token.entity,
.example-code .token.url,
.example-code .token.variable {
    color: #f472b6;
}

.example-code .token.atrule,
.example-code .token.attr-value,
.example-code .token.function,
.example-code .token.class-name {
    color: #60a5fa;
}

.example-code .token.keyword {
    color: #c084fc;
}

.example-code .token.regex,
.example-code .token.important {
    color: #fbbf24;
}

@media (max-width: 640px) {
    .example-header {
        flex-direction: column;
        text-align: center;
    }

    .example-code pre {
        padding: 1rem;
        font-size: 0.75rem;
    }
}

/* =============================================================================
   Responsive Adjustments
   ============================================================================= */

@media (max-width: 991px) {
    .feature-showcase {
        padding: 4rem 0;
    }

    .feature-showcase-visual {
        order: -1;
    }

    .format-cards {
        flex-wrap: wrap;
    }

    .async-indicator {
        position: static;
        transform: none;
        margin-top: 1rem;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .line-counter {
        flex-direction: column;
        gap: 1rem;
    }

    .line-arrow svg {
        transform: rotate(90deg);
    }

    .control-options {
        flex-direction: column;
    }

    .compatibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compat-brand.twain-badge {
        grid-column: span 2;
    }

    .compat-stats {
        flex-direction: column;
        gap: 1rem;
    }
}
