/* ===========================
   CHARIK V2 - Table.ai Inspired
   =========================== */

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

:root {
    /* Colors - Premium palette (Dark Theme - Default) */
    --color-primary: #2B9FE8;
    --color-secondary: #5DD39E;
    --color-accent: #FF7F66;
    --color-dark: #0A0F1E;
    --color-darker: #050810;
    --color-text: #E8EAED;
    --color-text-secondary: #9CA3AF;
    --color-border: #1F2937;
    --color-bg: #0F1419;
    --color-bg-elevated: #1A1F2E;
    --color-white: #FFFFFF;
    --color-surface: #1A1F26;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5DD39E 0%, #2B9FE8 100%);
    --gradient-secondary: linear-gradient(135deg, #2B9FE8 0%, #5DD39E 100%);
    --gradient-accent: linear-gradient(135deg, #FF7F66 0%, #2B9FE8 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px rgba(93, 211, 158, 0.3);
}

/* ===========================
   LIGHT THEME
   =========================== */
body.theme-light {
    /* Improved contrast colors */
    --color-text: #0F172A;
    --color-text-secondary: #475569;
    --color-border: #CBD5E1;
    --color-bg: #FFFFFF;
    --color-bg-elevated: #F8FAFC;
    --color-surface: #F1F5F9;
    --color-surface-alt: #E2E8F0;
    --shadow-glow: 0 0 60px rgba(43, 159, 232, 0.15);
}

/* Light theme base */
body.theme-light {
    background: var(--color-bg);
}

body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4,
body.theme-light h5,
body.theme-light h6 {
    color: var(--color-text);
}

body.theme-light p {
    color: var(--color-text-secondary);
}

/* ========================================
   NAVBAR - Keep same dark style in both themes
   ======================================== */
/* Navbar stays dark - no changes needed */

/* Ensure nav links and buttons stay white in light mode */
body.theme-light .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

body.theme-light .nav-link:hover {
    color: #FFFFFF;
}

body.theme-light .btn-primary,
body.theme-light .btn-secondary,
body.theme-light .btn-link {
    color: var(--color-white);
}

body.theme-light .btn-link:hover {
    color: var(--color-white);
}

/* Mobile Navigation - Light mode optimization */
@media (max-width: 1024px) {
    body.theme-light .nav-wrapper {
        background: #FFFFFF;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        padding: 3rem 1.25rem 1.25rem;
        width: 300px;
    }

    body.theme-light .nav-menu {
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }

    body.theme-light .nav-link {
        color: var(--color-text);
        border-bottom: 1px solid var(--color-border);
        padding: 0.4rem 0;
    }

    body.theme-light .nav-link:hover {
        color: var(--color-primary);
    }

    body.theme-light .nav-actions {
        gap: 0.5rem;
        margin-top: auto;
        padding-top: 0.5rem;
        border-top: 1px solid var(--color-border);
    }

    body.theme-light .nav-actions .btn-link {
        color: var(--color-primary);
        border: 2px solid var(--color-primary);
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    body.theme-light .nav-actions .btn-link:hover {
        background: var(--color-primary);
        color: var(--color-white);
    }

    body.theme-light .nav-actions .btn-primary {
        background: var(--color-primary);
        color: var(--color-white);
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    body.theme-light .nav-action-toggle {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    body.theme-light .nav-action-dropdown-item a {
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
    }

    /* Mobile submenu styles */
    body.theme-light .nav-menu .dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.03);
        border: none;
        box-shadow: none;
        margin-top: 0.25rem;
        padding: 0.25rem;
    }

    body.theme-light .nav-actions-dropdown {
        position: static;
        background: rgba(0, 0, 0, 0.03);
        border: none;
        box-shadow: none;
        margin-top: 0.5rem;
        padding: 0.5rem;
    }

    /* Style dropdown parent links as headers in light mode */
    body.theme-light .nav-menu .has-dropdown > .nav-link {
        color: var(--color-text-secondary);
    }

    /* Keep first nav item as regular link in light mode */
    body.theme-light .nav-menu .nav-item:first-child > .nav-link {
        color: var(--color-text);
    }

    /* Compact dropdown links on mobile - light mode */
    body.theme-light .nav-menu .dropdown-link {
        border-bottom-color: var(--color-border);
    }

    body.theme-light .nav-menu .dropdown-link:hover {
        background: rgba(43, 159, 232, 0.1);
    }

    /* Mobile Connexion section - Redesign */
    body.theme-light .nav-actions .has-dropdown .nav-action-toggle {
        display: none; /* Hide the dropdown toggle button */
    }

    body.theme-light .nav-actions .has-dropdown {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        padding: 0.375rem 0 0;
        border-top: 1px solid var(--color-border);
        margin-top: 0.375rem;
    }

    body.theme-light .nav-actions .has-dropdown::before {
        content: 'Connexion';
        font-size: 0.5625rem;
        font-weight: 700;
        color: var(--color-text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0;
    }

    body.theme-light .nav-actions .nav-actions-dropdown {
        display: flex !important;
        flex-direction: row;
        gap: 0.375rem;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    body.theme-light .nav-actions .nav-action-dropdown-item {
        flex: 1;
    }

    body.theme-light .nav-actions .nav-action-dropdown-item a {
        display: block;
        padding: 0.5rem 0.875rem;
        text-align: center;
        border: 2px solid var(--color-primary);
        border-radius: var(--radius-md);
        color: var(--color-primary);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 0.8125rem;
    }

    body.theme-light .nav-actions .nav-action-dropdown-item:first-child a {
        background: transparent;
        color: var(--color-primary);
    }

    body.theme-light .nav-actions .nav-action-dropdown-item:last-child a {
        background: var(--color-primary);
        color: var(--color-white);
        border-color: var(--color-primary);
    }

    body.theme-light .nav-actions .nav-action-dropdown-item a:hover {
        background: var(--color-primary);
        color: var(--color-white);
    }

    body.theme-light .nav-actions .nav-action-dropdown-item:last-child a:hover {
        background: transparent;
        color: var(--color-primary);
    }

    /* Mobile dropdown link styles for Ressources menu - light mode */
    body.theme-light .nav-menu .dropdown-link-title {
        color: var(--color-text);
    }

    body.theme-light .nav-menu .dropdown-link-desc {
        color: var(--color-text-secondary);
    }
}

/* Desktop Navigation Dropdowns - Light mode (outside media query for desktop hover) */
@media (min-width: 1025px) {
    /* Navigation Dropdowns - Light mode desktop */
    body.theme-light .nav-actions-dropdown {
        background: #FFFFFF;
        border: 2px solid var(--color-border);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    body.theme-light .nav-action-dropdown-item a {
        color: var(--color-text);
    }

    body.theme-light .nav-action-dropdown-item a:hover {
        background: rgba(43, 159, 232, 0.1);
        color: var(--color-primary);
    }

    body.theme-light .nav-action-dropdown-item .dropdown-item-title {
        color: var(--color-text);
    }

    body.theme-light .nav-action-dropdown-item .dropdown-item-desc {
        color: var(--color-text-secondary);
    }

    body.theme-light .dropdown-menu {
        background: #FFFFFF;
        backdrop-filter: blur(12px);
        border: 2px solid var(--color-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    body.theme-light .dropdown-link {
        color: var(--color-text);
    }

    body.theme-light .dropdown-link:hover {
        background: rgba(43, 159, 232, 0.1);
        color: var(--color-primary);
    }

    body.theme-light .dropdown-link-title {
        color: var(--color-text);
    }

    body.theme-light .dropdown-link:hover .dropdown-link-title {
        color: var(--color-primary);
    }

    body.theme-light .dropdown-link-desc {
        color: var(--color-text-secondary);
    }
}

body.theme-light .dropdown-link:hover .dropdown-link-title {
    color: var(--color-primary);
}

/* Keep visual diagrams and flow elements with good contrast */
body.theme-light .flow-node {
    color: var(--color-white);
}

body.theme-light .source-node {
    background: linear-gradient(135deg, #2B9FE8 0%, #1e7dbf 100%);
    border: 2px solid #2B9FE8;
    color: var(--color-white);
}

body.theme-light .charik-node {
    background: linear-gradient(135deg, #5DD39E 0%, #2B9FE8 100%);
    color: var(--color-white);
}

body.theme-light .crm-node {
    background: linear-gradient(135deg, #5DD39E 0%, #3cb87a 100%);
    border: 2px solid #5DD39E;
    color: var(--color-white);
}

body.theme-light .flow-arrow {
    color: var(--color-primary);
}

body.theme-light .data-flow-diagram {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--color-border);
}

body.theme-light .visual-diagram,
body.theme-light .diagram-section {
    color: var(--color-text);
}

/* ========================================
   HERO SECTION - Light theme
   ======================================== */
body.theme-light .hero {
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--color-border);
}

body.theme-light .hero-title {
    color: var(--color-text);
}

body.theme-light .hero-subtitle {
    color: var(--color-text-secondary);
}

/* Hero form in light theme */
body.theme-light .hero-form-inline {
    background: #FFFFFF;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.theme-light .hero-form-inline input[type="email"] {
    background: #FFFFFF;
    color: var(--color-text);
}

body.theme-light .hero-form-inline input::placeholder {
    color: var(--color-text-secondary);
}

/* ========================================
   SECTION SEPARATIONS - Alternating backgrounds
   ======================================== */
body.theme-light section {
    border-bottom: 1px solid var(--color-border);
}

body.theme-light section:last-of-type {
    border-bottom: none;
}

/* Alternating section backgrounds for better separation */
body.theme-light .features-carousel,
body.theme-light .gdpr-section,
body.theme-light .integrations-section {
    background: var(--color-surface);
}

body.theme-light .ai-features,
body.theme-light .pricing-section {
    background: #FFFFFF;
}

body.theme-light .data-section {
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
}

/* ========================================
   CARDS - Better contrast and visibility
   ======================================== */
body.theme-light .section-label {
    background: rgba(93, 211, 158, 0.15);
    color: #047857;
    border: 1px solid rgba(93, 211, 158, 0.3);
    font-weight: 600;
}

body.theme-light .feature-card,
body.theme-light .ai-card,
body.theme-light .integration-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .feature-card:hover,
body.theme-light .ai-card:hover,
body.theme-light .integration-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(43, 159, 232, 0.15);
    transform: translateY(-2px);
}

body.theme-light .gdpr-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Card titles and text */
body.theme-light .feature-card h4,
body.theme-light .ai-card h4,
body.theme-light .integration-card h4,
body.theme-light .gdpr-card h3 {
    color: var(--color-text);
}

body.theme-light .feature-card p,
body.theme-light .ai-card p,
body.theme-light .integration-card p,
body.theme-light .gdpr-card p {
    color: var(--color-text-secondary);
}

/* ========================================
   PRICING CARDS - Light theme
   ======================================== */
body.theme-light .pricing-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .pricing-card .pricing-title,
body.theme-light .pricing-card .pricing-price {
    color: var(--color-text);
}

body.theme-light .pricing-card .pricing-features li {
    color: var(--color-text-secondary);
    border-bottom-color: var(--color-border);
}

/* Featured pricing card keeps gradient */
body.theme-light .pricing-card.featured {
    background: linear-gradient(135deg, #5DD39E 0%, #2B9FE8 100%);
    border: none;
}

body.theme-light .pricing-card.featured .pricing-title,
body.theme-light .pricing-card.featured .pricing-price,
body.theme-light .pricing-card.featured .pricing-features li {
    color: #FFFFFF;
}

/* ========================================
   DATA SECTION - Stats
   ======================================== */
body.theme-light .stat-number {
    color: var(--color-text);
}

body.theme-light .stat-label {
    color: var(--color-text-secondary);
}

/* ========================================
   FORMS - Better visibility
   ======================================== */
body.theme-light input[type="email"],
body.theme-light input[type="text"],
body.theme-light input[type="tel"],
body.theme-light textarea {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    color: var(--color-text);
}

body.theme-light input::placeholder {
    color: #94A3B8;
}

body.theme-light input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(43, 159, 232, 0.15);
}

/* ========================================
   FOOTER - Keep same dark style in both themes
   ======================================== */
/* Footer background stays dark - ensure all text is white/light for contrast */
body.theme-light .footer-links h4 {
    color: var(--color-white);
}

body.theme-light .footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

body.theme-light .footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

body.theme-light .footer-links a:hover {
    color: var(--color-white);
}

body.theme-light .footer-bottom {
    color: rgba(255, 255, 255, 0.6);
}

body.theme-light .footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

body.theme-light .footer-bottom a:hover {
    color: var(--color-white);
}

body.theme-light .footer-social img {
    /* Social icons have their own colors, keep them normal */
    filter: none;
}

/* ========================================
   SVG & IMAGES - Handle white SVGs in light mode
   ======================================== */

/* White SVGs/logos that need to be dark in light mode */
/* Note: data-visual is excluded because it contains colorful SVGs (French flag, etc.) */
body.theme-light .story-visual img,
body.theme-light .story-visual svg,
body.theme-light .team-visual img,
body.theme-light .team-visual svg {
    filter: invert(1) brightness(0.2) saturate(0);
}

/* Logo specifically - invert white to dark */
body.theme-light img[src*="logo-charik_only"],
body.theme-light img[src*="charik-logo"],
body.theme-light img[src*="logo charik"] {
    filter: invert(1) brightness(0.2) saturate(0);
}

/* ========================================
   TRUST LOGOS
   ======================================== */
body.theme-light .trust-logos img {
    filter: grayscale(100%) brightness(0.3);
    opacity: 0.6;
}

body.theme-light .trust-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

body.theme-light .trust-text {
    color: var(--color-text-secondary);
}

/* ========================================
   TABS / FEATURES CAROUSEL
   ======================================== */
body.theme-light .feature-tabs .tab-btn {
    color: var(--color-text-secondary);
    border: 2px solid transparent;
}

body.theme-light .feature-tabs .tab-btn:hover {
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.03);
}

body.theme-light .feature-tabs .tab-btn.active {
    color: var(--color-text);
    border-color: var(--color-primary);
    background: #FFFFFF;
}

body.theme-light .slide-content h3 {
    color: var(--color-text);
}

body.theme-light .slide-content p {
    color: var(--color-text-secondary);
}

/* ========================================
   COMING SOON BADGES
   ======================================== */
body.theme-light .coming-soon-badge {
    background: var(--color-surface-alt);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

/* ========================================
   HOMEPAGE SECTIONS - LIGHT MODE IMPROVEMENTS
   ======================================== */

/* Scroll Indicator */
body.theme-light .scroll-indicator {
    opacity: 1;
}

body.theme-light .scroll-arrow {
    background: rgba(93, 211, 158, 0.15);
    border-color: #059669;
}

body.theme-light .scroll-text {
    color: #059669;
    font-weight: 700;
}

body.theme-light .scroll-indicator:hover .scroll-arrow {
    background: rgba(93, 211, 158, 0.25);
}

/* Features Showcase Section */
body.theme-light .features-showcase {
    background: var(--color-bg-elevated);
}

body.theme-light .features-showcase .section-header h2 {
    color: var(--color-text);
}

body.theme-light .features-showcase .section-subtitle {
    color: var(--color-text-secondary);
}

/* Carousel Tabs - Vertical */
body.theme-light .carousel-tabs-vertical .tab-button {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    color: var(--color-text-secondary);
}

body.theme-light .carousel-tabs-vertical .tab-button:hover {
    background: var(--color-surface);
    border-color: rgba(93, 211, 158, 0.4);
    color: var(--color-text);
}

body.theme-light .carousel-tabs-vertical .tab-button.active {
    background: rgba(93, 211, 158, 0.12);
    border-color: #059669;
    color: var(--color-text);
}

body.theme-light .carousel-tabs-vertical .tab-button.active .tab-label {
    color: var(--color-text);
    font-weight: 700;
}

body.theme-light .carousel-tabs-vertical .tab-button.active .tab-desc {
    color: var(--color-text-secondary);
}

/* Carousel Content */
body.theme-light .carousel-content-vertical {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .slide-description h3 {
    color: var(--color-text);
}

body.theme-light .slide-description p {
    color: var(--color-text-secondary);
}

/* Horizontal Carousel Tabs */
body.theme-light .carousel-tabs {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
}

body.theme-light .tab-button {
    color: var(--color-text-secondary);
}

body.theme-light .tab-button:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--color-text);
}

body.theme-light .tab-button.active {
    background: #FFFFFF;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

/* AI Features Section */
body.theme-light .ai-features {
    background: #FFFFFF;
}

body.theme-light .ai-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .ai-card:hover {
    background: #FFFFFF;
    border-color: rgba(93, 211, 158, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.theme-light .ai-card h3 {
    color: var(--color-text);
}

body.theme-light .ai-card p {
    color: var(--color-text-secondary);
}

body.theme-light .ai-card.coming-soon {
    opacity: 0.7;
    background: var(--color-surface);
    border-style: dashed;
}

body.theme-light .ai-card .feature-list li {
    color: var(--color-text);
}

/* Data Section */
body.theme-light .data-section {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

body.theme-light .data-section h2 {
    color: var(--color-text);
}

body.theme-light .data-section p {
    color: var(--color-text-secondary);
}

body.theme-light .data-feature .feature-number {
    color: var(--color-text);
    font-weight: 800;
}

body.theme-light .data-feature .feature-label {
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* Pricing Simple Section */
body.theme-light .pricing-simple {
    background: var(--color-bg-elevated);
}

body.theme-light .pricing-simple .pricing-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .pricing-simple .pricing-card:hover {
    border-color: rgba(93, 211, 158, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.theme-light .pricing-simple .pricing-card h3 {
    color: var(--color-text);
}

body.theme-light .pricing-simple .pricing-card p {
    color: var(--color-text-secondary);
}

body.theme-light .pricing-simple .pricing-features li {
    color: var(--color-text);
}

body.theme-light .pricing-simple .pricing-features li::before {
    filter: brightness(0.8);
}

/* GDPR Section */
body.theme-light .gdpr-section {
    background: #FFFFFF;
}

body.theme-light .gdpr-grid {
    gap: 2rem;
}

body.theme-light .gdpr-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .gdpr-card h3 {
    color: var(--color-text);
}

body.theme-light .gdpr-card p {
    color: var(--color-text-secondary);
}

body.theme-light .gdpr-card ul {
    color: var(--color-text);
}

body.theme-light .gdpr-card li {
    color: var(--color-text);
}

body.theme-light .gdpr-card li::before {
    background: linear-gradient(135deg, #5DD39E 0%, #2B9FE8 100%);
}

/* Partner Badges */
body.theme-light .partner-badge {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
}

body.theme-light .partner-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 0.9;
}

/* Integrations Section */
body.theme-light .integrations {
    background: var(--color-bg-elevated);
}

body.theme-light .integrations-section {
    background: var(--color-bg-elevated);
}

body.theme-light .integration-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .integration-card:hover {
    background: #FFFFFF;
    border-color: rgba(93, 211, 158, 0.5);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

body.theme-light .integration-card.coming-soon {
    opacity: 0.65;
    background: var(--color-surface);
    border-style: dashed;
}

body.theme-light .integration-card h4 {
    color: var(--color-text);
}

body.theme-light .integration-card p {
    color: var(--color-text-secondary);
}

/* CTA Final Section - Keep same gradient in both modes */
body.theme-light .cta-final {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.1) 0%, rgba(43, 159, 232, 0.1) 100%);
}

body.theme-light .cta-final h2 {
    color: var(--color-text);
}

body.theme-light .cta-final p {
    color: var(--color-text-secondary);
}

body.theme-light .btn-cta-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

body.theme-light .btn-cta-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--color-text-secondary);
}

/* Hero Enhancements */
body.theme-light .hero-btn-submit {
    box-shadow: 0 4px 14px rgba(93, 211, 158, 0.4);
}

body.theme-light .hero-btn-submit:hover {
    box-shadow: 0 6px 20px rgba(93, 211, 158, 0.5);
}

body.theme-light .charik-rgpd-text {
    color: var(--color-text-secondary);
}

body.theme-light .charik-rgpd-text a {
    color: var(--color-text);
    font-weight: 600;
}

body.theme-light .charik-rgpd-text a:hover {
    color: var(--color-primary);
}

/* Section Headers */
body.theme-light .section-header.centered h2 {
    color: var(--color-text);
}

body.theme-light .section-header.centered .section-subtitle {
    color: var(--color-text-secondary);
}

/* Feature Lists - Beautiful redesign for light mode */
body.theme-light .feature-list li {
    color: var(--color-text);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

body.theme-light .feature-list li:hover {
    background: #FAFBFC;
    border-left-color: #059669;
    box-shadow: 0 4px 12px rgba(93, 211, 158, 0.15);
    transform: translateX(4px);
}

body.theme-light .feature-list li::before {
    background: linear-gradient(135deg, #5DD39E 0%, #2B9FE8 100%);
}

body.theme-light .feature-list li::after {
    color: white;
}

/* Mockup Window */
body.theme-light .mockup-window {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

body.theme-light .window-header {
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-border);
}

/* ========================================
   OTHER PAGE TEMPLATES - LIGHT MODE
   ======================================== */

/* About Page (A Propos) */
body.theme-light .about-hero,
body.theme-light .story-section,
body.theme-light .values-section,
body.theme-light .team-section {
    background: var(--color-bg);
}

body.theme-light .story-section,
body.theme-light .team-section {
    background: var(--color-bg-elevated);
}

body.theme-light .story-text h2,
body.theme-light .team-text h2,
body.theme-light .values-grid h3 {
    color: var(--color-text);
}

body.theme-light .story-text p,
body.theme-light .team-text p,
body.theme-light .values-grid p {
    color: var(--color-text-secondary);
}

body.theme-light .value-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .value-card:hover {
    border-color: rgba(93, 211, 158, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.theme-light .team-stats .stat-item {
    color: var(--color-text);
}

/* Mission card on About page - ensure white text on dark background */
body.theme-light .mission-card h2,
body.theme-light .mission-card p,
body.theme-light .mission-card .section-label {
    color: var(--color-white);
}

/* Contact Page */
body.theme-light .contact-hero,
body.theme-light .contact-section {
    background: var(--color-bg);
}

body.theme-light .contact-form-section {
    background: var(--color-bg-elevated);
}

body.theme-light .contact-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .contact-card h3 {
    color: var(--color-text);
}

body.theme-light .contact-card p {
    color: var(--color-text-secondary);
}

body.theme-light .contact-info-item {
    color: var(--color-text);
}

/* Features/Fonctionnalites Page */
body.theme-light .features-hero,
body.theme-light .feature-highlights {
    background: transparent;
}

body.theme-light .features-detailed {
    background: var(--color-bg-elevated);
}

body.theme-light .feature-detail-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .feature-detail-card:hover {
    border-color: rgba(93, 211, 158, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.theme-light .feature-detail-card h3 {
    color: var(--color-text);
}

body.theme-light .feature-detail-card p,
body.theme-light .feature-detail-card li {
    color: var(--color-text-secondary);
}

body.theme-light .feature-highlight {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
}

body.theme-light .feature-highlight h3 {
    color: var(--color-text);
}

/* Documentation Page */
body.theme-light .documentation-hero,
body.theme-light .documentation-grid {
    background: var(--color-bg);
}

body.theme-light .doc-category {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .doc-category:hover {
    border-color: rgba(93, 211, 158, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.theme-light .doc-category h3 {
    color: var(--color-text);
}

body.theme-light .doc-link {
    color: var(--color-text-secondary);
}

body.theme-light .doc-link:hover {
    color: var(--color-text);
}

/* Doc Help Section - Fix button contrast in light mode */
body.theme-light .doc-help-card {
    background: linear-gradient(135deg, #5DD39E 0%, #2B9FE8 100%);
}

body.theme-light .doc-help-content h3 {
    color: var(--color-white);
}

body.theme-light .doc-help-content p {
    color: rgba(255, 255, 255, 0.9);
}

body.theme-light .doc-help-actions .btn-primary {
    background: var(--color-white);
    color: #2B9FE8;
    border: none;
    font-weight: 600;
}

body.theme-light .doc-help-actions .btn-primary:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

body.theme-light .doc-help-actions .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

body.theme-light .doc-help-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Doc Results Section - Complete light mode styling */
body.theme-light .doc-results-section {
    background: var(--color-bg-elevated);
}

body.theme-light .doc-results-header h2 {
    color: var(--color-text);
}

body.theme-light .doc-results-header .btn-link {
    color: var(--color-primary);
}

body.theme-light .doc-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .doc-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(43, 159, 232, 0.15);
}

body.theme-light .doc-card-icon {
    color: var(--color-primary);
}

body.theme-light .doc-card-type {
    color: #059669;
    background: rgba(93, 211, 158, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

body.theme-light .doc-card h3 {
    color: var(--color-text);
}

body.theme-light .doc-card p {
    color: var(--color-text-secondary);
}

body.theme-light .doc-card-meta {
    color: var(--color-text-secondary);
}

body.theme-light .doc-meta-item {
    color: var(--color-text-secondary);
}

body.theme-light .doc-meta-item svg {
    color: var(--color-primary);
}

body.theme-light .doc-difficulty {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

body.theme-light .difficulty-beginner {
    background: rgba(93, 211, 158, 0.15);
    color: #059669;
}

body.theme-light .difficulty-intermediate {
    background: rgba(43, 159, 232, 0.15);
    color: #1e7dbf;
}

body.theme-light .difficulty-advanced {
    background: rgba(255, 127, 102, 0.15);
    color: #e6604a;
}

body.theme-light .doc-no-results {
    background: #FFFFFF;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
}

body.theme-light .doc-no-results svg {
    color: var(--color-text-secondary);
}

body.theme-light .doc-no-results h3 {
    color: var(--color-text);
}

body.theme-light .doc-no-results p {
    color: var(--color-text-secondary);
}

/* Enrichissement Pages */
body.theme-light .enrichment-hero,
body.theme-light .enrichment-benefits,
body.theme-light .enrichment-how {
    background: var(--color-bg);
}

body.theme-light .enrichment-features {
    background: var(--color-bg-elevated);
}

body.theme-light .enrichment-card,
body.theme-light .benefit-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .enrichment-card:hover,
body.theme-light .benefit-card:hover {
    border-color: rgba(93, 211, 158, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.theme-light .enrichment-card h3,
body.theme-light .benefit-card h4 {
    color: var(--color-text);
}

body.theme-light .enrichment-card p,
body.theme-light .benefit-card p {
    color: var(--color-text-secondary);
}

body.theme-light .benefit-check {
    color: #059669;
}

/* Nouveautes/Changelog Page */
body.theme-light .changelog-hero,
body.theme-light .changelog-section {
    background: var(--color-bg);
}

body.theme-light .changelog-timeline {
    background: var(--color-bg-elevated);
}

body.theme-light .changelog-entry {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .changelog-entry:hover {
    border-color: rgba(93, 211, 158, 0.4);
}

body.theme-light .changelog-entry h3 {
    color: var(--color-text);
}

body.theme-light .changelog-date {
    color: var(--color-text-secondary);
}

body.theme-light .changelog-content p,
body.theme-light .changelog-content li {
    color: var(--color-text);
}

body.theme-light .changelog-badge {
    background: rgba(93, 211, 158, 0.15);
    color: #059669;
    border: 1px solid rgba(93, 211, 158, 0.3);
}

/* Migration Pages */
body.theme-light .migration-hero,
body.theme-light .migration-process,
body.theme-light .migration-guarantee {
    background: var(--color-bg);
}

body.theme-light .migration-benefits {
    background: var(--color-bg-elevated);
}

body.theme-light .migration-step {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .migration-step h4 {
    color: var(--color-text);
}

body.theme-light .migration-step p {
    color: var(--color-text-secondary);
}

body.theme-light .migration-guarantee {
    background: rgba(93, 211, 158, 0.1);
    border: 2px solid rgba(93, 211, 158, 0.3);
}

body.theme-light .migration-guarantee h4 {
    color: var(--color-text);
}

/* Legal Pages (CGU, Privacy, Cookies, Mentions) */
body.theme-light .legal-hero,
body.theme-light .legal-content {
    background: var(--color-bg);
}

body.theme-light .legal-content h2,
body.theme-light .legal-content h3,
body.theme-light .legal-content h4 {
    color: var(--color-text);
}

body.theme-light .legal-content p,
body.theme-light .legal-content li {
    color: var(--color-text-secondary);
}

body.theme-light .legal-section {
    background: var(--color-bg-elevated);
    border: 2px solid var(--color-border);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

/* Comparison Tables */
body.theme-light .comparison-table {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
}

body.theme-light .comparison-header {
    background: var(--color-bg-elevated);
    border-bottom: 2px solid var(--color-border);
}

body.theme-light .comparison-row {
    border-bottom: 1px solid var(--color-border);
}

body.theme-light .comparison-feature {
    color: var(--color-text);
}

body.theme-light .comparison-column.highlight {
    background: rgba(93, 211, 158, 0.1);
}

/* Browser Instructions & Step Cards */
body.theme-light .browser-instructions,
body.theme-light .step-card {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.theme-light .step-card h4,
body.theme-light .browser-instructions h4 {
    color: var(--color-text);
}

body.theme-light .step-card p,
body.theme-light .browser-instructions p {
    color: var(--color-text-secondary);
}

body.theme-light .step-number {
    background: var(--gradient-primary);
    color: #FFFFFF;
}

/* Compliance & Trust Badges */
body.theme-light .compliance-badge {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
}

body.theme-light .compliance-badge:hover {
    border-color: rgba(93, 211, 158, 0.5);
}

/* Forms in all templates */
body.theme-light .charik-form {
    background: #FFFFFF;
}

body.theme-light .charik-label {
    color: var(--color-text);
}

body.theme-light .charik-input,
body.theme-light .charik-select,
body.theme-light .charik-textarea {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    color: var(--color-text);
}

body.theme-light .charik-input:focus,
body.theme-light .charik-select:focus,
body.theme-light .charik-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(43, 159, 232, 0.15);
}

body.theme-light .charik-message.success {
    background: rgba(93, 211, 158, 0.15);
    color: #059669;
    border: 1px solid rgba(93, 211, 158, 0.3);
}

body.theme-light .charik-message.error {
    background: rgba(255, 127, 102, 0.15);
    color: #DC2626;
    border: 1px solid rgba(255, 127, 102, 0.3);
}

/* ========================================
   PRICING PAGE - LIGHT MODE
   ======================================== */

/* Pricing Hero Section */
body.theme-light .pricing-hero {
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
}

body.theme-light .billing-option {
    color: var(--color-text-secondary);
}

body.theme-light .billing-option.active {
    color: var(--color-text);
    font-weight: 600;
}

/* Billing toggle - improve contrast for light mode */
body.theme-light .billing-option {
    color: var(--color-text);
    font-weight: 600;
}

body.theme-light .billing-option.active {
    color: var(--color-primary);
}

body.theme-light .billing-badge {
    background: rgba(93, 211, 158, 0.2);
    color: #059669;
    font-weight: 700;
}

body.theme-light .toggle-switch {
    background: var(--color-border);
    border: 2px solid var(--color-border);
}

body.theme-light .toggle-switch[aria-checked="true"] {
    background: linear-gradient(135deg, #5DD39E 0%, #2B9FE8 100%);
    border-color: transparent;
}

body.theme-light .toggle-slider {
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    top: 2px;
    left: 2px;
}

body.theme-light .trial-notice {
    background: rgba(93, 211, 158, 0.1);
    border: 1px solid rgba(93, 211, 158, 0.3);
}

body.theme-light .trial-notice p {
    color: var(--color-text);
}

body.theme-light .trial-notice svg {
    color: #059669;
}

/* Pricing Cards Section */
body.theme-light .pricing-cards-section {
    background: var(--color-bg-elevated);
}

body.theme-light .pricing-card-large {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .pricing-card-large:hover {
    background: #FFFFFF;
    border-color: rgba(93, 211, 158, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.theme-light .pricing-card-large.popular {
    border-color: #059669;
    background: rgba(93, 211, 158, 0.05);
}

body.theme-light .pricing-card-header h3 {
    color: var(--color-text);
}

body.theme-light .pricing-description {
    color: var(--color-text-secondary);
}

body.theme-light .price-period {
    color: var(--color-text-secondary);
}

body.theme-light .pricing-annual-note span {
    color: var(--color-text-secondary);
}

body.theme-light .pricing-features-list li {
    color: var(--color-text);
}

body.theme-light .btn-pricing-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

body.theme-light .btn-pricing-secondary:hover {
    background: var(--color-surface-alt);
    border-color: rgba(93, 211, 158, 0.4);
}

body.theme-light .btn-pricing-link {
    color: var(--color-text-secondary);
}

body.theme-light .btn-pricing-link:hover {
    color: var(--color-text);
}

/* Coming Soon Cards in Light Mode */
body.theme-light .pricing-card-large.coming-soon {
    opacity: 0.65;
    background: var(--color-surface);
    border-color: var(--color-border);
}

body.theme-light .pricing-card-large.coming-soon::after {
    background: rgba(255, 255, 255, 0.4);
}

/* Comparison Table Section */
body.theme-light .comparison-table-section {
    background: #FFFFFF;
}

body.theme-light .comparison-table {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
}

body.theme-light .comparison-table thead {
    background: var(--color-bg-elevated);
    border-bottom: 2px solid var(--color-border);
}

body.theme-light .comparison-table th {
    color: var(--color-text);
}

body.theme-light .comparison-table th.popular-column {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.2) 0%, rgba(93, 211, 158, 0.1) 100%);
    color: #059669;
    border-left: 2px solid #059669;
    border-right: 2px solid #059669;
}

body.theme-light .comparison-table th.popular-column::before {
    background: #059669;
    color: #FFFFFF;
}

body.theme-light .comparison-table tbody tr {
    border-bottom: 1px solid var(--color-border);
}

body.theme-light .comparison-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

body.theme-light .comparison-table td {
    color: var(--color-text);
}

body.theme-light .comparison-table td:first-child {
    color: var(--color-heading-light);
}

body.theme-light .comparison-table tbody td.popular-column {
    background: rgba(93, 211, 158, 0.05);
    border-left: 2px solid rgba(93, 211, 158, 0.3);
    border-right: 2px solid rgba(93, 211, 158, 0.3);
}

body.theme-light .category-row {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.2) 0%, rgba(43, 159, 232, 0.2) 100%);
    border-top: 2px solid rgba(93, 211, 158, 0.4);
    border-bottom: 2px solid rgba(43, 159, 232, 0.4);
}

body.theme-light .category-row td {
    color: var(--color-text);
    font-weight: 700;
}

body.theme-light .feature-name {
    color: var(--color-text) !important;
}

body.theme-light .check-icon {
    color: #059669;
}

body.theme-light .cross-icon {
    color: var(--color-text-secondary);
    opacity: 0.4;
}

body.theme-light .comparison-table th.coming-soon-column {
    background: var(--color-surface);
}

body.theme-light .comparison-table tbody tr .coming-soon-column {
    background: var(--color-surface);
}

/* FAQ Section */
body.theme-light .faq-section {
    background: var(--color-bg-elevated);
}

body.theme-light .faq-item {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .faq-item h4 {
    color: var(--color-text);
}

body.theme-light .faq-item p {
    color: var(--color-text-secondary);
}

body.theme-light .faq-quick {
    background: var(--color-bg-elevated);
}

body.theme-light .faq-more p {
    color: var(--color-text);
}

body.theme-light .faq-more .btn-secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
}

body.theme-light .faq-more .btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(43, 159, 232, 0.2);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

body.menu-open {
    overflow: hidden;
}

/* Container Utilities */
.container-large {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-medium {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

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

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

/* Gradient Link - No underline, gradient text on hover */
.gradient-link {
    text-decoration: none;
    color: var(--color-text);
    transition: opacity 0.2s;
}

.gradient-link:hover {
    opacity: 0.8;
}

.gradient-link .gradient-text {
    font-weight: 600;
}

/* Section Utilities */
section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header.centered {
    text-align: center;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl);
}

.section-title.centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(93, 211, 158, 0.1);
    color: var(--color-secondary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-label.gradient {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-top: 1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-link,
.btn-hero-primary,
.btn-hero-secondary,
.btn-cta-primary,
.btn-cta-secondary,
.btn-pricing {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary,
.btn-hero-primary,
.btn-cta-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(93, 211, 158, 0.3);
}

.btn-primary:hover,
.btn-hero-primary:hover,
.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(93, 211, 158, 0.4);
}

.btn-secondary,
.btn-hero-secondary,
.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover,
.btn-hero-secondary:hover,
.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-link {
    background: transparent;
    color: var(--color-text-secondary);
    padding: 0.75rem 1.25rem;
}

.btn-link:hover {
    color: var(--color-white);
}

.btn-pricing {
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo {
    width: 36px;
    height: 36px;
}

.logo-horizontal {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Makes the logo 100% white regardless of original colors */
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-link {
    display: inline-block;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after {
    width: 100%;
}

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

/* Nav Actions Menu Items */
.nav-action-item {
    position: relative;
}

.nav-action-item.has-dropdown {
    position: relative;
}

.nav-action-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-action-toggle svg {
    transition: transform 0.2s;
}

.nav-action-item.has-dropdown:hover .nav-action-toggle svg {
    transform: rotate(180deg);
}

/* Nav Actions Dropdown */
.nav-actions-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    padding-top: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    list-style: none;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

/* Bridge to prevent hover loss */
.nav-action-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.nav-action-item.has-dropdown:hover .nav-actions-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-action-dropdown-item {
    list-style: none;
}

.nav-action-dropdown-item a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-action-dropdown-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
}

.nav-action-dropdown-item .dropdown-item-title {
    display: block;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.nav-action-dropdown-item .dropdown-item-desc {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.has-dropdown > .nav-link::after {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    min-width: 280px;
    background: rgba(26, 31, 46, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    list-style: none;
}

.dropdown-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-link:hover {
    background: rgba(93, 211, 158, 0.1);
}

.dropdown-link-title {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9375rem;
}

.dropdown-link-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.dropdown-link:hover .dropdown-link-title {
    color: var(--color-secondary);
}

/* Mega Menu */
.mega-menu-wrapper {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 600px;
    max-width: 800px;
    background: rgba(26, 31, 46, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.has-dropdown.mega-menu:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem;
}

.mega-menu-item {
    display: block;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.mega-menu-link:hover {
    background: rgba(93, 211, 158, 0.1);
    color: var(--color-secondary);
}

/* Ensure mega menu text is visible on dark background - DARK THEME */
.mega-menu .dropdown-menu,
.mega-menu .mega-menu-wrapper {
    background: rgba(26, 31, 46, 0.98) !important;
}

.mega-menu .dropdown-link,
.mega-menu .dropdown-link-title,
.mega-menu .mega-menu-link {
    color: #FFFFFF !important;
}

.mega-menu .dropdown-link-desc {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mega-menu .dropdown-link:hover .dropdown-link-title,
.mega-menu .mega-menu-link:hover {
    color: var(--color-secondary) !important;
}

/* Mega menu for LIGHT THEME */
body.theme-light .mega-menu .dropdown-menu,
body.theme-light .mega-menu .mega-menu-wrapper {
    background: #FFFFFF !important;
    border: 2px solid var(--color-border) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

body.theme-light .mega-menu .dropdown-link,
body.theme-light .mega-menu .dropdown-link-title,
body.theme-light .mega-menu .mega-menu-link {
    color: var(--color-text) !important;
}

body.theme-light .mega-menu .dropdown-link-desc {
    color: var(--color-text-secondary) !important;
}

body.theme-light .mega-menu .dropdown-link:hover,
body.theme-light .mega-menu .mega-menu-link:hover {
    background: rgba(43, 159, 232, 0.1) !important;
}

body.theme-light .mega-menu .dropdown-link:hover .dropdown-link-title,
body.theme-light .mega-menu .mega-menu-link:hover {
    color: var(--color-primary) !important;
}

/* Mobile Menu Overlay - Hidden on desktop */
.mobile-menu-overlay {
    display: none;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 82px);
    max-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(93, 211, 158, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 5rem;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.badge-text {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: rgba(93, 211, 158, 0.1);
    border: 1px solid rgba(93, 211, 158, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.hero-title {
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-social-proof {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.proof-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.company-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-item {
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.logo-item:hover {
    opacity: 1;
}

/* Hero Form */
.hero-form-wrapper {
    max-width: 650px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Hero CTA Wrapper - centered with inline button */
.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-form-inline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-form-row {
    display: flex;
    gap: 0.75rem;
}

.charik-field-rgpd-below {
    text-align: center;
}

.charik-field-rgpd-below .charik-label-rgpd {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.hero-email-input {
    flex: 1;
    padding: 1.125rem 1.5rem;
    background: var(--color-bg-elevated);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.hero-email-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(43, 159, 232, 0.05);
    box-shadow: 0 0 0 3px rgba(43, 159, 232, 0.1);
}

.hero-email-input::placeholder {
    color: var(--color-text-secondary);
}

.hero-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.125rem 2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    width: auto;
}

.hero-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 211, 158, 0.4);
}

.hero-btn-submit svg {
    transition: transform 0.3s ease;
}

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

.hero-form-note {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* Hero Trust Logos */
.hero-trust {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.trust-text {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

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

.trust-logo-box {
    width: 140px;
    height: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.trust-logo-box:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-2px);
}

.trust-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-logo-box:hover .trust-logo-img {
    opacity: 1;
}

.logo-placeholder-text {
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.5;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInScroll 1s ease-out 3s forwards;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0 !important;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(93, 211, 158, 0.1);
    border: 2px solid var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    animation: bounceArrow 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.scroll-indicator:hover .scroll-arrow {
    background: rgba(93, 211, 158, 0.2);
    transform: translateY(4px);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }

    .hero-content {
        padding-bottom: 5rem;
    }

    .hero-form-row {
        flex-direction: column;
    }

    .hero-form-row .hero-btn-submit {
        justify-content: center;
        width: 100%;
    }

    .hero-cta-wrapper .hero-btn-submit {
        width: auto;
    }

    .trust-logos {
        gap: 1.5rem;
    }

    .trust-logo-box {
        width: 120px;
        height: 45px;
    }

    .scroll-indicator {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .trust-logos {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-logo-box {
        width: 100%;
        max-width: 200px;
    }
}

/* Hero Visual */
.hero-visual {
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual lottie-player {
    max-width: 900px;
    margin: 0 auto;
}

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

.mockup-window {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.window-header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--color-border);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
}

.window-dots span:nth-child(1) {
    background: #FF5F57;
}

.window-dots span:nth-child(2) {
    background: #FFBD2E;
}

.window-dots span:nth-child(3) {
    background: #28CA42;
}

.window-content {
    padding: 2rem;
    min-height: 400px;
}

.dashboard-preview {
    display: flex;
    gap: 1.5rem;
    height: 100%;
}

.preview-sidebar {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-item {
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: background 0.3s;
}

.sidebar-item.active {
    background: var(--gradient-primary);
}

.preview-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.preview-header {
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    flex: 1;
}

.preview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

/* Waitlist Section - Full Width Design */
.waitlist {
    padding: 0;
    background: linear-gradient(135deg, rgba(43, 159, 232, 0.05) 0%, rgba(93, 211, 158, 0.05) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.waitlist::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(93, 211, 158, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.waitlist-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.waitlist-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 500px;
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 1;
}

.waitlist-text h2 {
    margin: 1rem 0 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.waitlist-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.waitlist-logos {
    margin-top: 3rem;
}

.logos-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-row {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.logo-placeholder {
    width: 140px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
}

.waitlist-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.waitlist-form-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.waitlist-form-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.form-subtitle {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.email-input-large {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1.0625rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.email-input-large:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(43, 159, 232, 0.05);
}

.email-input-large::placeholder {
    color: var(--color-text-secondary);
}

.btn-waitlist-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.0625rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-waitlist-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 211, 158, 0.4);
}

.btn-waitlist-large svg {
    transition: transform 0.3s ease;
}

.btn-waitlist-large:hover svg {
    transform: translateX(4px);
}

.form-note-small {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Responsive Waitlist */
@media (max-width: 1024px) {
    .waitlist-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 0;
    }

    .waitlist-text {
        text-align: center;
    }

    .logos-row {
        justify-content: center;
    }

    .waitlist-form-card {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .waitlist-container {
        padding: 0 1.5rem;
    }

    .waitlist-form-card {
        padding: 2rem 1.5rem;
    }

    .logos-row {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo-placeholder {
        width: 120px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .logos-row {
        flex-direction: column;
    }

    .logo-placeholder {
        width: 100%;
        max-width: 200px;
    }
}

/* Features Showcase */
.features-showcase {
    background: var(--color-darker);
}

/* Vertical Carousel Layout */
.features-vertical {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.carousel-tabs-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
}

.carousel-tabs-vertical .tab-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    text-align: left;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-tabs-vertical .tab-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.2);
}

.carousel-tabs-vertical .tab-button.active {
    background: rgba(93, 211, 158, 0.1);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.carousel-tabs-vertical .tab-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.tab-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.tab-label {
    font-weight: 600;
    font-size: 1rem;
    color: inherit;
}

.tab-desc {
    font-size: 0.875rem;
    opacity: 0.7;
    font-weight: 400;
}

.carousel-content-vertical {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.carousel-content-vertical .carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-content-vertical .carousel-slide.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.5s ease-out;
}

/* Horizontal Carousel Layout (Default) */
.carousel-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-button.active {
    background: var(--color-white);
    color: var(--color-dark);
}

.carousel-content {
    position: relative;
    min-height: 400px;
}

.carousel-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.carousel-slide.active {
    display: grid;
    animation: fadeIn 0.5s ease-out;
}

.slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.feature-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: float 3s ease-in-out infinite;
}

.feature-icon-large svg {
    filter: drop-shadow(0 10px 30px rgba(93, 211, 158, 0.2));
}

.feature-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: float 3s ease-in-out infinite;
}

.feature-illustration-img {
    max-width: 250px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(93, 211, 158, 0.2));
    opacity: 0.9;
}

.feature-illustration-img svg,
.feature-illustration-img {
    color: var(--color-secondary);
}

/* Apply gradient colors to SVG illustrations */
.carousel-slide[data-content="auto"] .feature-illustration-img,
.carousel-slide[data-content="chrome"] .feature-illustration-img {
    filter:
        drop-shadow(0 10px 30px rgba(93, 211, 158, 0.2))
        hue-rotate(0deg)
        saturate(1.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.slide-description h3 {
    margin-bottom: 1rem;
}

/* Integrations */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.integration-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.integration-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
}

.integration-card.coming-soon {
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.02);
    border-style: dashed;
}

.integration-card.coming-soon:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.integration-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.integration-content {
    flex: 1;
    text-align: left;
}

.integration-card h4 {
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.integration-card p {
    font-size: 0.9375rem;
    margin: 0;
}

/* AI Features */
.ai-features {
    background: var(--color-bg);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ai-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.4s;
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Coming Soon Card */
.ai-card.coming-soon {
    position: relative;
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.02);
    border-style: dashed;
    padding-top: 4rem;
}

.ai-card.coming-soon:hover {
    opacity: 0.7;
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.coming-soon-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.4rem 0.875rem;
    background: rgba(43, 159, 232, 0.15);
    border: 1px solid rgba(43, 159, 232, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-icon svg {
    margin: 0 auto;
}

.ai-card h3 {
    margin-bottom: 1rem;
}

.ai-card > p {
    margin-bottom: 1.5rem;
}

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

.feature-list li {
    padding: 0.875rem 1rem 0.875rem 3rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--color-secondary);
    transform: translateX(4px);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list li::after {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
}

/* Data Section */
.data-section {
    background: var(--color-darker);
}

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

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

.data-feature {
    text-align: center;
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

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

.data-visual img {
    width: 100%;
    max-width: 400px;
}

/* Pricing */
.pricing-simple {
    background: var(--color-bg);
}

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

.pricing-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.4s;
    text-align: center;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-visual-inline {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card h3 {
    margin-bottom: 1rem;
}

.pricing-card > p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

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

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* GDPR Section */
.gdpr-section {
    background: var(--color-darker);
}

.gdpr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gdpr-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.gdpr-icon {
    margin-bottom: 2rem;
    text-align: center;
}

.gdpr-icon img {
    width: 120px;
    height: 120px;
}

.gdpr-card ul {
    list-style: none;
    margin: 1.5rem 0;
    display: inline-block;
    text-align: left;
}

.gdpr-card li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.gdpr-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.partner-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.partner-badge {
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 90px;
    transition: all 0.3s ease;
}

.partner-badge:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.1) 0%, rgba(43, 159, 232, 0.1) 100%);
    padding: 6rem 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

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

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

/* Footer */
.footer {
    background: var(--color-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

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

.footer-brand p {
    margin: 1rem 0 1.5rem;
    color: var(--color-text-secondary);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.brand-logo img {
    width: 32px;
}

.brand-logo .logo-horizontal {
    width: auto;
    height: 50px;
    filter: brightness(0) invert(1);
    /* Makes the footer logo 100% white */
}

.brand-logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-social img {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-white);
}

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

.footer-bottom p,
.footer-meta span {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

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

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

@keyframes fadeInScroll {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        background: var(--color-darker);
        flex-direction: column;
        padding: 4rem 1.25rem 1.5rem;
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease, visibility 0s 0.3s;
        overflow-y: auto;
        overflow-x: hidden;
        align-items: flex-start;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
        visibility: hidden;
    }

    .nav-wrapper.active {
        right: 0;
        visibility: visible;
        transition: right 0.3s ease, visibility 0s 0s;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-item {
        margin-bottom: 0;
    }

    /* Show all dropdowns on mobile by default */
    .nav-menu .dropdown-menu {
        display: block !important;
        margin-top: 0.25rem;
        margin-left: 0.75rem;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Hide mega menu dropdown completely on mobile */
    .mega-menu .dropdown-menu,
    .mega-menu-wrapper {
        display: none !important;
    }

    .mega-menu-grid {
        display: none !important;
    }

    .mega-menu-link {
        padding: 0.3rem 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.875rem;
    }

    /* Hide ONLY Fonctionnalités dropdown (if it exists) */
    .nav-menu .nav-item:first-child .dropdown-menu {
        display: none !important;
    }

    /* Style parent links with visible dropdowns as section headers */
    .nav-menu .has-dropdown > .nav-link {
        font-size: 0.6875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.4);
        padding: 0.25rem 0;
        border-bottom: none;
        pointer-events: none;
        margin-bottom: -0.125rem;
    }

    /* Keep first nav item (Fonctionnalités) as regular link */
    .nav-menu .nav-item:first-child > .nav-link {
        font-size: inherit;
        font-weight: 500;
        text-transform: none;
        letter-spacing: normal;
        color: inherit;
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: auto;
        margin-bottom: 0;
    }

    /* Keep mega-menu parent links clickable on mobile (e.g., CRM) */
    .nav-menu .has-dropdown.mega-menu > .nav-link {
        font-size: inherit;
        font-weight: 500;
        text-transform: none;
        letter-spacing: normal;
        color: inherit;
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: auto;
        margin-bottom: 0;
    }

    /* Compact dropdown links on mobile */
    .nav-menu .dropdown-link {
        padding: 0.3rem 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu .dropdown-link:last-child {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .nav-menu .dropdown-link-title {
        font-size: 0.875rem;
        font-weight: 500;
    }

    .nav-menu .dropdown-link-desc {
        font-size: 0.6875rem;
        line-height: 1.2;
        margin-top: 0.125rem;
        opacity: 0.65;
    }

    .nav-link {
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: auto;
        padding-top: 1rem;
        padding-bottom: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-shrink: 0;
    }

    .nav-actions .btn-primary,
    .nav-actions .btn-link {
        width: 100%;
        justify-content: center;
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    .nav-action-item {
        width: 100%;
    }

    .nav-action-item.has-dropdown {
        width: 100%;
    }

    .nav-action-toggle {
        width: 100%;
        justify-content: center;
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    .nav-actions-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0.375rem;
        padding: 0.375rem;
        border: none;
        box-shadow: none;
    }

    .nav-action-dropdown-item a {
        text-align: center;
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
    }

    .carousel-slide {
        grid-template-columns: 1fr;
    }

    /* Vertical carousel on tablet */
    .features-vertical {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .carousel-tabs-vertical {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .carousel-tabs-vertical .tab-button {
        min-width: 220px;
        flex-shrink: 0;
    }

    .carousel-content-vertical {
        min-height: 350px;
        padding: 2rem;
    }

    .carousel-content-vertical .carousel-slide {
        flex-direction: column;
        text-align: center;
    }

    .slide-visual {
        order: 2;
    }

    .slide-description {
        order: 1;
    }

    .data-content {
        grid-template-columns: 1fr;
    }

    .data-text {
        text-align: center;
    }

    .data-visual {
        display: flex;
        justify-content: center;
    }

    .data-features {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-brand .brand-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-xl) 0;
    }

    .hero {
        min-height: calc(100vh - 82px);
        max-height: calc(100vh - 82px);
        padding: 2rem 0;
    }

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

    .hero-cta .btn-hero-primary,
    .hero-cta .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .preview-cards {
        grid-template-columns: 1fr;
    }

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

    .data-features {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons .btn-cta-primary,
    .cta-buttons .btn-cta-secondary {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .footer-brand .brand-logo {
        justify-content: center;
    }

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

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container-large,
    .container-medium {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .company-logos {
        flex-direction: column;
        gap: 1rem;
    }

    .carousel-tabs {
        flex-wrap: nowrap;
    }

    .tab-button {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    /* Vertical carousel on mobile */
    .carousel-tabs-vertical .tab-button {
        min-width: 180px;
        padding: 1rem;
    }

    .tab-label {
        font-size: 0.9375rem;
    }

    .tab-desc {
        font-size: 0.8125rem;
    }

    .carousel-content-vertical {
        min-height: 300px;
        padding: 1.5rem 1rem;
    }

    .feature-icon-large svg {
        width: 180px;
        height: 180px;
    }

    .slide-description h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .slide-description p {
        font-size: 0.9375rem;
    }

    /* Coming soon badge on mobile */
    .coming-soon-badge {
        font-size: 0.6875rem;
        padding: 0.3rem 0.625rem;
        top: 1rem;
        right: 1rem;
    }

    .ai-card.coming-soon {
        padding-top: 3.5rem;
    }

    /* Partner badges mobile responsive */
    .partner-badges {
        gap: 1rem;
        max-width: 100%;
    }

    .partner-badge {
        padding: 1rem;
        min-width: 100px;
        height: 70px;
    }
}

/* ===========================
   PRICING PAGE STYLES
   =========================== */

/* Pricing Hero */
.pricing-hero {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.billing-option {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.billing-option.active {
    color: var(--color-white);
}

.billing-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(93, 211, 158, 0.15);
    color: var(--color-secondary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch[aria-checked="true"] {
    background: var(--gradient-primary);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch[aria-checked="true"] .toggle-slider {
    transform: translateX(24px);
}

.trial-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(93, 211, 158, 0.1);
    border: 1px solid rgba(93, 211, 158, 0.2);
    border-radius: var(--radius-lg);
    color: var(--color-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trial-notice svg {
    flex-shrink: 0;
}

.trial-notice p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.trial-notice a {
    text-decoration: none;
    transition: opacity 0.2s;
}

.trial-notice a:hover {
    opacity: 0.8;
}

.trial-notice a .gradient-text {
    font-weight: 600;
}

/* Pricing Cards */
.pricing-cards-section {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
    background: var(--color-darker);
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card-large {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
}

.pricing-card-large:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card-large.popular {
    border-color: var(--color-secondary);
    background: rgba(93, 211, 158, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Coming Soon Card Styling */
.pricing-card-large.coming-soon {
    opacity: 0.6;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.pricing-card-large.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.pricing-card-large.coming-soon .pricing-price,
.pricing-card-large.coming-soon .pricing-features-list,
.pricing-card-large.coming-soon .pricing-cta {
    opacity: 0.5;
}

.pricing-card-large.coming-soon .btn-pricing-primary,
.pricing-card-large.coming-soon .btn-pricing-secondary {
    pointer-events: none;
    cursor: not-allowed;
}

.pricing-card-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin: 2rem 0 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-left: 0.5rem;
}

.pricing-annual-note {
    min-height: 24px;
    margin-bottom: 1.5rem;
}

.pricing-annual-note span {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.pricing-features-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    flex: 1;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--color-text);
    font-size: 0.9375rem;
    position: relative;
    padding-left: 2rem;
}

.pricing-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.875rem;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10L9 12L13 8M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10Z' stroke='%235DD39E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Keep for backward compatibility if any SVGs remain */
.pricing-features-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-secondary);
}

.feature-included svg {
    color: var(--color-secondary);
}

.pricing-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.btn-pricing-primary,
.btn-pricing-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-pricing-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(93, 211, 158, 0.3);
}

.btn-pricing-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(93, 211, 158, 0.4);
}

.btn-pricing-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-pricing-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-pricing-link {
    text-align: center;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

.btn-pricing-link:hover {
    color: var(--color-white);
}

/* Comparison Table */
.comparison-table-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg);
}

.comparison-table-wrapper {
    margin-top: 3rem;
    overflow-x: auto;
    border-radius: var(--radius-xl);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table thead {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid var(--color-border);
}

.comparison-table th {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--color-white);
    font-size: 1.125rem;
}

.comparison-table th.feature-column {
    width: 35%;
    text-align: left;
}

.comparison-table th.plan-column {
    width: 32.5%;
}

.comparison-table th.popular-column {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.15) 0%, rgba(93, 211, 158, 0.05) 100%);
    color: var(--color-secondary);
    position: relative;
    border-left: 2px solid var(--color-secondary);
    border-right: 2px solid var(--color-secondary);
}

.comparison-table th.popular-column::before {
    content: '⭐ Recommandé';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-secondary);
    color: var(--color-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 1rem 1.5rem;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--color-white);
}

.comparison-table tbody td.popular-column {
    background: rgba(93, 211, 158, 0.03);
    border-left: 2px solid rgba(93, 211, 158, 0.2);
    border-right: 2px solid rgba(93, 211, 158, 0.2);
}

/* Color-coded comparison text */
.comparison-before {
    color: #ef4444 !important;
    font-weight: 500;
}

.comparison-after {
    color: var(--color-secondary) !important;
    font-weight: 500;
}

body.theme-light .comparison-before {
    color: #dc2626 !important;
}

body.theme-light .comparison-after {
    color: #059669 !important;
}

.category-row {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.15) 0%, rgba(43, 159, 232, 0.15) 100%);
    border-top: 2px solid rgba(93, 211, 158, 0.3);
    border-bottom: 2px solid rgba(43, 159, 232, 0.3);
}

.category-row td {
    padding: 1rem 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
}

.feature-name {
    font-weight: 500;
    color: var(--color-text) !important;
}

.check-icon {
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.cross-icon {
    color: var(--color-text-secondary);
    opacity: 0.3;
    font-size: 1.25rem;
}

.badge-soon {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(43, 159, 232, 0.15);
    border: 1px solid rgba(43, 159, 232, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
}

/* Coming Soon Column - Greyed out */
.comparison-table th.coming-soon-column,
.comparison-table td.coming-soon-column {
    opacity: 0.4;
    position: relative;
}

.comparison-table th.coming-soon-column {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr .coming-soon-column {
    background: rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-darker);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.faq-item h4 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

.faq-item p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Responsive Pricing Page */
@media (max-width: 1024px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

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

@media (max-width: 768px) {
    .pricing-hero {
        padding: var(--spacing-xl) 0;
    }

    .billing-toggle {
        flex-direction: column;
        gap: 1.5rem;
    }

    .trial-notice {
        flex-direction: column;
        text-align: center;
    }

    .comparison-table-wrapper {
        border-radius: var(--radius-md);
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .comparison-table th.feature-column {
        width: 45%;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .pricing-card-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.8125rem;
    }

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

/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */

/* About Hero */
.about-hero {
    padding: calc(var(--spacing-xxl) + 2rem) 0 var(--spacing-xxl);
}

.about-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero .section-label {
    margin-bottom: 1.5rem;
}

/* Story Section */
.story-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-darker);
}

.story-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-text .section-label {
    align-self: flex-start;
}

.story-text h2 {
    margin: 1rem 0 1.5rem;
}

.story-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

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

.story-visual svg {
    max-width: 100%;
    height: auto;
}

/* Values Section */
.values-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

/* Team Section */
.team-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-darker);
}

.team-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

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

.team-visual svg {
    max-width: 100%;
    height: auto;
}

.team-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-text h2 {
    margin: 1rem 0 1.5rem;
}

.team-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

/* French Tech Section */
.french-tech-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg);
}

.french-tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.tech-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.tech-info p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--color-text);
}

.tech-list li::before {
    content: "✓";
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

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

.partner-badge-large {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.partner-badge-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.partner-logo-large {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
}

/* Mission Section */
.mission-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-darker);
}

.mission-card {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.mission-card .section-label {
    margin-bottom: 1.5rem;
}

.mission-card h2 {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.mission-statement {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.mission-statement:last-child {
    margin-bottom: 0;
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .story-content,
    .team-content,
    .french-tech-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-content {
        /* Reverse order on tablet/mobile */
        direction: ltr;
    }

    .team-visual {
        order: -1;
    }

    .story-visual,
    .team-visual {
        justify-content: center;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-showcase {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: calc(var(--spacing-xl) + 2rem) 0 var(--spacing-xl);
    }

    .story-section,
    .values-section,
    .team-section,
    .french-tech-section,
    .mission-section {
        padding: var(--spacing-xl) 0;
    }

    .story-content,
    .team-content,
    .french-tech-content {
        gap: 2rem;
    }

    .mission-card {
        padding: 2rem 1.5rem;
    }

    .mission-statement {
        font-size: 1rem;
    }

    .team-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .value-card {
        padding: 2rem;
    }

    .value-card h3 {
        font-size: 1.25rem;
    }

    .partner-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero .hero-subtitle {
        font-size: 1rem;
    }

    .story-text p,
    .team-text p,
    .tech-info p {
        font-size: 1rem;
    }

    .value-icon svg {
        width: 48px;
        height: 48px;
    }

    .mission-card {
        padding: 1.5rem;
    }

    .tech-info h3 {
        font-size: 1.5rem;
    }
}

/* ===========================
   FEATURES PAGE STYLES
   =========================== */

/* Features Hero */
.features-hero {
    padding: calc(var(--spacing-xxl) + 2rem) 0 var(--spacing-xl);
}

.features-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Overview */
.features-overview {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

/* 1 Column Layout */
.features-grid-1-col {
    grid-template-columns: 1fr;
}

/* 2 Column Layout (default) */
.features-grid-2-col {
    grid-template-columns: 1fr;
}

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

/* 3 Column Layout */
.features-grid-3-col {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .features-grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 3-column layout: vertical card with icon on top */
    .features-grid-3-col .feature-card-large {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
        gap: 1.5rem;
    }

    .features-grid-3-col .feature-icon-large {
        margin: 0 auto;
    }

    .features-grid-3-col .feature-highlights {
        justify-content: center;
    }

    .features-grid-3-col .feature-arrow {
        margin: 0 auto;
    }
}

.feature-card-large {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.feature-card-large:hover {
    border-color: rgba(93, 211, 158, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-card-large:hover::before {
    opacity: 0.05;
}

.feature-icon-large {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

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

.feature-content h3 {
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.feature-card-large:hover .feature-content h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.highlight-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(43, 159, 232, 0.15) !important;
    border: 1px solid rgba(43, 159, 232, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.feature-card-large:hover .highlight-badge {
    background: rgba(43, 159, 232, 0.3) !important;
    border-color: rgba(43, 159, 232, 0.6);
    color: #2B9FE8;
}

.feature-arrow {
    position: relative;
    z-index: 1;
    color: var(--color-text-secondary);
    transition: all 0.3s;
}

.feature-card-large:hover .feature-arrow {
    color: var(--color-primary);
    transform: translateX(8px);
}

/* Coming Soon Features */
.coming-soon-features {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.features-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Features grid - 3 colonnes max */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

@media (min-width: 1024px) {
    .features-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card-small {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-card-small:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.2);
    transform: translateY(-4px);
}

.feature-icon-small {
    margin: 0 auto 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-small h4 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card-small p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.coming-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(43, 159, 232, 0.15);
    border: 1px solid rgba(43, 159, 232, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Cards Section - Unified module for features/use cases/pain points/solutions/sources */
.cards-section {
    padding: var(--spacing-xxl) 0;
}

.cards-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

/* 1 column layout */
.cards-grid-1 {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 2 columns layout */
.cards-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 768px) {
    .cards-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3 columns layout */
.cards-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 768px) {
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.2);
    transform: translateY(-4px);
}

/* Clickable card styling */
.card-clickable {
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.card-clickable:hover {
    border-color: rgba(93, 211, 158, 0.4);
}

.card-icon {
    margin: 0 auto 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
}

.card-item h3,
.card-item h4 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-item p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.card-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.card-clickable:hover .card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Why CHARIK Section */
.why-charik {
    padding: var(--spacing-xxl) 0;
}

.why-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.why-text h2 {
    margin-bottom: 1.5rem;
}

.why-text p {
    margin-bottom: 2rem;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--color-text);
    font-size: 1.0625rem;
}

.why-list li svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

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

/* Responsive - Features Page */
@media (max-width: 1024px) {
    .feature-card-large {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }

    .feature-arrow {
        display: none;
    }

    .why-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: calc(var(--spacing-xl) + 2rem) 0 var(--spacing-xl);
    }

    .features-overview,
    .coming-soon-features,
    .why-charik {
        padding: var(--spacing-xl) 0;
    }

    .feature-card-large {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }

    .feature-icon-large {
        margin: 0 auto;
    }

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

    .feature-highlights {
        justify-content: center;
    }

    .features-grid-small {
        grid-template-columns: 1fr;
    }

    .why-list li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .feature-card-large {
        padding: 1.5rem;
    }

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

    .feature-content p {
        font-size: 1rem;
    }

    .feature-card-small {
        padding: 1.5rem;
    }

    .highlight-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.625rem;
    }
}

/* ===========================
   FEATURE DETAIL PAGE STYLES
   =========================== */

/* Feature Detail Hero */
.feature-detail-hero {
    padding: calc(var(--spacing-xxl) + 2rem) 0 var(--spacing-xl);
}

.feature-detail-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.back-link:hover {
    color: var(--color-secondary);
    transform: translateX(-4px);
}

/* Value Proposition */
.value-prop {
    padding: var(--spacing-xl) 0;
    background: rgba(255, 255, 255, 0.02);
}

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

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

.value-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.value-label {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

/* How It Works */
.how-it-works {
    padding: var(--spacing-xxl) 0;
}

.steps-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    flex: 0 1 280px;
    min-width: 250px;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.step-icon {
    margin: 0 auto 1.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.step-arrow {
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Data Enriched Section */
.data-enriched {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.data-category {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.data-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.2);
}

.data-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.data-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.data-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    padding-left: 1.5rem;
    position: relative;
}

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

/* Use Cases */
.use-cases {
    padding: var(--spacing-xxl) 0;
}

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

.use-case-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

.use-case-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.2);
    transform: translateY(-4px);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.use-case-card h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.use-case-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Sources Section */
.sources-section {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.sources-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
}

.sources-text h2 {
    margin-bottom: 1.5rem;
}

.sources-text p {
    margin-bottom: 2.5rem;
}

.sources-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.source-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.source-icon {
    flex-shrink: 0;
}

.source-details h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.source-details p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Data Flow Diagram */
.data-flow-diagram {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.flow-node {
    padding: 1.5rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    min-width: 180px;
}

.source-node {
    background: rgba(43, 159, 232, 0.2);
    border: 2px solid rgba(43, 159, 232, 0.4);
}

.charik-node {
    background: var(--gradient-primary);
}

.crm-node {
    background: rgba(93, 211, 158, 0.2);
    border: 2px solid rgba(93, 211, 158, 0.4);
}

.flow-arrow {
    color: var(--color-secondary);
    font-size: 2rem;
    font-weight: 300;
}

/* Features Highlight */
.features-highlight {
    padding: var(--spacing-xxl) 0;
}

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

.highlight-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

.highlight-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.2);
    transform: translateY(-4px);
}

.highlight-icon {
    margin: 0 auto 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-card h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.highlight-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Simple Text Section (replaces Compliance) */
.simple-text-section {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.simple-text-content {
    margin-top: 3rem;
}

.simple-text-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.simple-text-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
}

.simple-text-text {
    font-size: 1.0625rem;
    color: var(--color-text);
    line-height: 1.8;
}

.simple-text-text p {
    margin-bottom: 1rem;
}

.simple-text-text p:last-child {
    margin-bottom: 0;
}

/* Legacy compliance class compatibility */
.compliance-section {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.compliance-content {
    margin-top: 3rem;
}

.compliance-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.compliance-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
}

.compliance-text {
    font-size: 1.0625rem;
    color: var(--color-text);
    line-height: 1.8;
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.compliance-badge {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: rgba(93, 211, 158, 0.15);
    border: 1px solid rgba(93, 211, 158, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-secondary);
}

/* Responsive - Feature Detail Pages */
@media (max-width: 1024px) {
    .step-arrow {
        display: none; /* Hide arrows on mobile */
    }

    .sources-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .data-flow-diagram {
        order: -1;
    }

    .value-grid {
        gap: 2rem;
    }

    .data-grid,
    .use-cases-grid,
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-detail-hero {
        padding: calc(var(--spacing-xl) + 2rem) 0 var(--spacing-xl);
    }

    .value-prop,
    .how-it-works,
    .data-enriched,
    .cards-section,
    .simple-text-section,
    .compliance-section {
        padding: var(--spacing-xl) 0;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .value-number {
        font-size: 2.5rem;
    }

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

    .use-cases-grid,
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 1.5rem;
    }

    .compliance-content h3 {
        font-size: 1.5rem;
    }
}

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

    .value-label {
        font-size: 0.875rem;
    }

    .step-card {
        padding: 1.25rem;
    }

    .step-card h3 {
        font-size: 1.125rem;
    }

    .data-category,
    .use-case-card,
    .highlight-card {
        padding: 1.5rem;
    }

    .compliance-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ===========================
   MIGRATION PAGES STYLES
   =========================== */

/* Migration Hero */
.migration-hero {
    padding: calc(var(--spacing-xxl) + 2rem) 0 var(--spacing-xl);
}

.migration-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Pain Points */
.pain-points {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.pain-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

.pain-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 127, 102, 0.3);
    transform: translateY(-4px);
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pain-card h3 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.pain-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Solution Section */
.solution-section {
    padding: var(--spacing-xxl) 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.solution-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

.solution-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
}

.solution-icon {
    margin: 0 auto 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-item h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.solution-item p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Migration Process */
.migration-process {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.process-step {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.process-step h3 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.process-duration {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(93, 211, 158, 0.15);
    border: 1px solid rgba(93, 211, 158, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.process-arrow {
    color: var(--color-text-secondary);
    font-size: 2rem;
    font-weight: 300;
}

.migration-guarantee {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(93, 211, 158, 0.1);
    border: 1px solid rgba(93, 211, 158, 0.3);
    border-radius: var(--radius-lg);
    text-align: center;
}

.migration-guarantee h4 {
    color: var(--color-secondary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.migration-guarantee p {
    color: var(--color-text);
    font-size: 1rem;
}

/* Comparison Table */
.comparison-table-section {
    padding: var(--spacing-xxl) 0;
}

.comparison-table {
    margin-top: 3rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--color-border);
}

.comparison-header {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

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

.comparison-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-feature,
.comparison-column {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comparison-feature {
    justify-content: flex-start;
    text-align: left;
    color: var(--color-text);
    font-weight: 500;
}

.comparison-column {
    color: var(--color-text-secondary);
    border-left: 1px solid var(--color-border);
}

.comparison-column.highlight {
    background: rgba(93, 211, 158, 0.05);
    color: var(--color-white);
    font-weight: 600;
}

/* Responsive - Migration Pages */
@media (max-width: 1024px) {
    .pain-grid,
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        transform: rotate(90deg);
    }
}

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

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-feature,
    .comparison-column {
        padding: 1rem;
    }
}

/* ===========================
   SIMPLE PAGE STYLES (Legal pages)
   =========================== */

.simple-page {
    min-height: 70vh;
}

/* Hero Section */
.simple-hero {
    padding: calc(var(--spacing-xxl) + 4rem) 0 var(--spacing-xl);
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.simple-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.simple-date {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Content Section */
.simple-content-section {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
}

.simple-article {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* Table of Contents */
.simple-article .legal-toc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
}

.simple-article .legal-toc h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin: 0 0 1.5rem;
}

.simple-article .legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-article .legal-toc li {
    margin-bottom: 0.75rem;
}

.simple-article .legal-toc a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.simple-article .legal-toc a:hover {
    color: var(--color-secondary);
}

/* Content Sections */
.simple-article .legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.simple-article .legal-section:last-child {
    border-bottom: none;
}

.simple-article h2 {
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem;
    scroll-margin-top: 100px;
}

.simple-article h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.simple-article h4 {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.simple-article p {
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

.simple-article ul,
.simple-article ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.simple-article ul {
    list-style-type: disc;
}

.simple-article li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    color: var(--color-text);
    line-height: 1.7;
}

.simple-article li::marker {
    color: var(--color-secondary);
}

.simple-article li strong {
    color: var(--color-white);
    font-weight: 600;
}

.simple-article a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.3s;
}

.simple-article a:hover {
    color: var(--color-secondary);
}

.simple-article strong {
    color: var(--color-white);
    font-weight: 600;
}

.simple-article code {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
}

.simple-article blockquote {
    border-left: 4px solid var(--color-secondary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-secondary);
}

/* ==========================================
   MAILPOET PAGES
   ========================================== */

.mailpoet-page {
    min-height: 70vh;
}

.mailpoet-hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(93, 211, 158, 0.05) 0%, transparent 100%);
}

.mailpoet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #4ade80 100%);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(93, 211, 158, 0.3);
}

.mailpoet-icon i {
    color: var(--color-dark);
}

.mailpoet-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mailpoet-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.mailpoet-content-section {
    padding: 3rem 0 5rem;
}

.mailpoet-content {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mailpoet-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.mailpoet-content ul, .mailpoet-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.mailpoet-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.mailpoet-content li::marker {
    color: var(--color-secondary);
}

.mailpoet-content strong {
    color: var(--color-text);
    font-weight: 600;
}

/* MailPoet form styling */
.mailpoet-content .mailpoet_form {
    margin: 2rem 0;
}

.mailpoet-content .mailpoet_paragraph {
    margin-bottom: 1.5rem;
}

.mailpoet-content .mailpoet_form input[type="text"],
.mailpoet-content .mailpoet_form input[type="email"] {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--color-input-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mailpoet-content .mailpoet_form input[type="text"]:focus,
.mailpoet-content .mailpoet_form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(93, 211, 158, 0.1);
}

.mailpoet-content .mailpoet_form input[type="submit"] {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #4ade80 100%);
    color: var(--color-dark);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mailpoet-content .mailpoet_form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(93, 211, 158, 0.3);
}

.mailpoet-content .mailpoet_validate_success {
    background: rgba(93, 211, 158, 0.1);
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.mailpoet-content .mailpoet_validate_error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.mailpoet-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.mailpoet-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mailpoet-actions .btn-secondary:hover {
    background: var(--color-card-bg);
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .mailpoet-title {
        font-size: 2rem;
    }

    .mailpoet-subtitle {
        font-size: 1.125rem;
    }

    .mailpoet-content {
        padding: 1.5rem;
    }
}

/* Light mode adjustments */
body.theme-light .simple-title {
    color: var(--color-text);
}

body.theme-light .simple-article h2,
body.theme-light .simple-article h3,
body.theme-light .simple-article h4,
body.theme-light .simple-article strong,
body.theme-light .simple-article li strong {
    color: var(--color-text);
}

body.theme-light .simple-article .legal-toc {
    background: var(--color-bg-elevated);
}

/* Responsive */
@media (max-width: 768px) {
    .simple-hero {
        padding: calc(var(--spacing-xl) + 2rem) 0 var(--spacing-lg);
    }

    .simple-title {
        font-size: 2rem;
    }

    .simple-article {
        font-size: 0.9375rem;
    }

    .simple-article h2 {
        font-size: 1.5rem;
    }

    .simple-article h3 {
        font-size: 1.25rem;
    }

    .simple-article .legal-toc {
        padding: 1.5rem;
    }
}

/* Tables in legal pages */
.simple-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.simple-article table th,
.simple-article table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.simple-article table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-weight: 600;
    border-right: 1px solid var(--color-border);
}

.simple-article table td {
    color: var(--color-text);
    border-right: 1px solid var(--color-border);
}

.simple-article table th:last-child,
.simple-article table td:last-child {
    border-right: none;
}

.simple-article table tr:last-child td {
    border-bottom: none;
}

.simple-article table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

body.theme-light .simple-article table {
    background: rgba(0, 0, 0, 0.02);
    border-color: #e5e7eb;
}

body.theme-light .simple-article table th {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-heading-light);
    border-color: #e5e7eb;
}

body.theme-light .simple-article table td {
    color: var(--color-text-light);
    border-color: #e5e7eb;
}

body.theme-light .simple-article table tr:hover {
    background: rgba(0, 0, 0, 0.03);
}

/* ===========================
   CHANGELOG PAGE STYLES
   =========================== */

.changelog-hero {
    padding: calc(var(--spacing-xxl) + 2rem) 0 var(--spacing-xl);
}

.changelog-section {
    padding: var(--spacing-xxl) 0;
}

.changelog-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-entry {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--color-border);
}

.changelog-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.changelog-date {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.date-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
}

.version-badge {
    padding: 0.5rem 1rem;
    background: rgba(43, 159, 232, 0.15);
    border: 1px solid rgba(43, 159, 232, 0.3);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
}

.version-badge.new {
    background: rgba(93, 211, 158, 0.15);
    border-color: rgba(93, 211, 158, 0.3);
    color: var(--color-secondary);
}

.changelog-content h2 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.changelog-content > p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.changelog-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.changelog-category h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.changelog-category ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.changelog-category li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.changelog-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
}

.subscribe-updates {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.subscribe-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.subscribe-card h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.subscribe-card p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: 1rem;
}

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

/* Responsive - Changelog */
@media (max-width: 768px) {
    .changelog-entry {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .subscribe-form {
        flex-direction: column;
    }
}

/* ===========================
   CONTACT PAGE STYLES
   =========================== */

.contact-hero {
    padding: calc(var(--spacing-xxl) + 2rem) 0 var(--spacing-xl);
}

.contact-options {
    padding: var(--spacing-xl) 0;
}

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

.contact-option {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

.contact-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
}

.contact-icon {
    margin: 0 auto 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-option h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-option p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--color-primary);
}

/* Contact Form */
.contact-form-section {
    padding: var(--spacing-xxl) 0;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

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

.form-header h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--color-text-secondary);
}

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

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

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

.form-group label {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.form-checkbox label {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-checkbox a {
    color: var(--color-secondary);
    text-decoration: none;
}

/* RGPD Checkbox - Theme Integration */
.charik-field-rgpd-inline {
    width: 100%;
    margin-top: 0.75rem;
}

.charik-field-rgpd-inline .charik-label-rgpd {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.charik-field-rgpd-inline .charik-rgpd-checkbox {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--color-secondary);
    cursor: pointer;
}

.charik-field-rgpd-inline .charik-rgpd-text {
    flex: 1;
}

.charik-field-rgpd-inline .charik-rgpd-text a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.charik-field-rgpd-inline .charik-rgpd-text a:hover {
    color: var(--color-primary);
}

.charik-field-rgpd-inline.charik-field-error .charik-rgpd-text {
    color: #ef4444;
}

/* Global RGPD link styles - applies to all forms */
.charik-rgpd-text a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.charik-rgpd-text a:hover {
    color: var(--color-primary);
}

/* RGPD below form (homepage style) */
.charik-field-rgpd-below {
    margin-top: 0.5rem;
}

.charik-field-rgpd-below .charik-label-rgpd {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.charik-field-rgpd-below .charik-rgpd-checkbox {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--color-secondary);
    cursor: pointer;
}

/* Contact form RGPD checkbox */
.contact-form .form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.contact-form .charik-rgpd-checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-secondary);
}

.contact-form .charik-rgpd-text a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(93, 211, 158, 0.1);
    border: 1px solid rgba(93, 211, 158, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-secondary);
    margin-top: 1.5rem;
}

/* FAQ Quick */
.faq-quick {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.faq-item h4 {
    color: var(--color-white);
    font-size: 1.0625rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.faq-more {
    margin-top: 3rem;
    text-align: center;
}

.faq-more p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive - Contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

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

/* ===========================
   DOCUMENTATION PAGE STYLES
   =========================== */

.docs-hero {
    padding: calc(var(--spacing-xxl) + 2rem) 0 var(--spacing-xl);
}

.docs-search {
    position: relative;
    max-width: 600px;
    margin: 2rem auto 0;
}

.docs-search input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: 1rem;
}

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

.docs-search svg {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
}

/* Quick Start */
.quick-start {
    padding: var(--spacing-xxl) 0;
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.quick-start-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
}

.quick-start-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
}

.quick-start-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.quick-start-card h4 {
    color: var(--color-white);
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.quick-start-card p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* Video Tutorials */
.video-tutorials {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.video-card:hover {
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    color: var(--color-white);
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.video-duration {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.view-more {
    text-align: center;
    margin-top: 3rem;
}

.view-more .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Documentation Links */
.docs-links {
    padding: var(--spacing-xxl) 0;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.doc-link-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.doc-link-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
}

.doc-icon {
    flex-shrink: 0;
}

.doc-link-card h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.doc-link-card p {
    color: var(--color-text-secondary);
}

.external-link {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: 300;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.faq-accordion {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-accordion summary {
    padding: 1.5rem 2rem;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.0625rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

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

.faq-accordion summary::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-secondary);
}

.faq-accordion[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Responsive - Documentation */
@media (max-width: 1024px) {
    .quick-start-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-start-grid,
    .videos-grid,
    .docs-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   BLOG PAGES STYLES
   =========================== */

.blog-hero {
    padding: calc(var(--spacing-xxl) + 2rem) 0 var(--spacing-xl);
}

/* Category Header */
.category-header {
    padding: calc(var(--spacing-xxl) + 1rem) 0 2rem;
    text-align: center;
}

.category-header h1 {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-description {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Article */
.featured-article {
    padding: var(--spacing-xl) 0;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.3s;
    overflow: hidden;
}

.featured-card:hover {
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
}

.featured-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.featured-content h2 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-category {
    padding: 0.375rem 0.875rem;
    background: rgba(93, 211, 158, 0.15);
    border: 1px solid rgba(93, 211, 158, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.article-date,
.article-reading-time {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.article-author span {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

/* Blog Articles Grid */
.blog-articles {
    padding: var(--spacing-xxl) 0;
}

.blog-filters {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.article-card:hover {
    border-color: rgba(93, 211, 158, 0.3);
    transform: translateY(-4px);
}

.article-card a {
    text-decoration: none;
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-body {
    padding: 1.5rem;
}

.article-body h3 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-body p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-author-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-author-small img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.article-author-small span {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.load-more {
    text-align: center;
    margin-top: 3rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.newsletter-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.newsletter-card h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter-card p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: 1rem;
}

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

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

/* ==========================================
   BLOG ARTICLE - MODERN DESIGN
   ========================================== */

.blog-article {
    --color-dark: #FFFFFF;
    --color-text: #1E293B;
    --color-text-secondary: #64748B;
    --color-border: #E2E8F0;
    --color-white: #0F172A;
    background: #FFFFFF;
}

/* Article Hero */
.article-hero {
    position: relative;
    margin-bottom: 2rem;
}

.article-hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.95) 100%);
}

.article-hero-content {
    position: relative;
    padding: 2rem 0 3rem;
    margin-top: -200px;
    z-index: 2;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.back-link:hover {
    color: var(--color-primary);
    background: rgba(93, 211, 158, 0.1);
}

.back-link svg {
    width: 18px;
    height: 18px;
}

/* Article Meta Top */
.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.article-badge {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.2) 0%, rgba(43, 159, 232, 0.2) 100%);
    border: 1px solid rgba(93, 211, 158, 0.4);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.meta-date,
.meta-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.meta-date svg,
.meta-reading-time svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.meta-separator {
    color: var(--color-border);
}

/* Article Title */
.article-hero h1 {
    color: #0F172A;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.article-excerpt {
    font-size: 1.25rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

/* Author Info */
.article-author-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-lg);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    flex-shrink: 0;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.author-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.author-name {
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name strong {
    color: #0F172A;
    font-weight: 600;
}

.author-role {
    color: var(--color-text-secondary);
    font-size: 0.8125rem;
    font-weight: 400;
}

.author-bio {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.author-link {
    color: var(--color-primary);
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.author-link:hover {
    color: #4BA885;
    text-decoration: underline;
}

.author-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #0077B5;
    color: white;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.author-linkedin:hover {
    background: #005582;
    transform: scale(1.1);
}

/* Article Content */
.blog-article .container-small {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-content h2 {
    color: #0F172A;
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.article-content h3 {
    color: #0F172A;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    line-height: 1.4;
}

.article-content h4 {
    color: #0F172A;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.article-content p {
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-content strong {
    color: #0F172A;
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    color: var(--color-text);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: all 0.3s;
}

.article-content a:hover {
    color: var(--color-secondary);
    text-decoration-thickness: 2px;
}

.article-content blockquote {
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: #F8FAFC;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
}

.article-content blockquote p {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.article-content code {
    padding: 0.25rem 0.5rem;
    background: #F1F5F9;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #1E293B;
}

.article-content pre {
    padding: 1.5rem;
    background: #1E293B;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 2rem 0;
    color: #E2E8F0;
}

.article-content pre code {
    padding: 0;
    background: none;
    border: none;
    color: var(--color-text);
}

/* Article Footer */
.article-footer {
    padding: 4rem 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}

.article-footer h4 {
    color: #0F172A;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Tags */
.article-tags {
    margin-bottom: 3rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-full);
    color: #475569;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: rgba(93, 211, 158, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Share */
.article-share {
    margin-bottom: 3rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #475569;
    transition: all 0.3s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
    color: white;
}

.share-twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: white;
}

.share-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: white;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.nav-post {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s;
}

.nav-post:hover {
    background: #F8FAFC;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.nav-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.nav-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--color-white);
    font-weight: 600;
}

.nav-next .nav-title {
    flex-direction: row-reverse;
}

.nav-title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Related Articles */
.related-articles {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.related-articles h2 {
    color: #0F172A;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 480px));
    gap: 2rem;
    justify-content: center;
}

.article-card-related {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.article-card-related:hover {
    transform: translateY(-4px);
    border-color: rgba(93, 211, 158, 0.3);
}

.article-card-image {
    height: 200px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card-related:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-content h3 {
    margin-bottom: 0.75rem;
}

.article-card-content h3 a {
    color: #0F172A;
    text-decoration: none;
    font-size: 1.125rem;
    line-height: 1.4;
}

.article-card-content h3 a:hover {
    color: var(--color-primary);
}

.article-card-content p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-card-content .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: gap 0.3s;
}

.article-card-content .read-more:hover {
    gap: 0.75rem;
}

.article-card-content .read-more svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .article-hero-image {
        height: 350px;
    }

    .article-hero-content {
        margin-top: -150px;
    }

    .article-hero h1 {
        font-size: 2rem;
    }

    .article-excerpt {
        font-size: 1.125rem;
    }

    .article-author-info {
        flex-direction: column;
        text-align: center;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .article-content p {
        font-size: 1rem;
    }

    .share-buttons {
        justify-content: center;
    }

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

/* ===========================
   AUTHOR PAGE STYLES
   =========================== */

.author-header {
    padding: calc(var(--spacing-xxl) + 1rem) 0 3rem;
    background: var(--color-bg);
}

.author-header-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.author-header-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    flex-shrink: 0;
}

.author-header-info {
    flex: 1;
}

.author-header-info h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.author-header-role {
    font-size: 1.125rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-header-bio {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.author-header-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.author-articles-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.author-articles-count svg {
    color: var(--color-text-secondary);
}

.author-linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #0077B5;
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.author-linkedin-btn:hover {
    background: #005582;
    transform: translateY(-2px);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2rem;
}

/* Responsive Author Header */
@media (max-width: 768px) {
    .author-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-header-avatar {
        width: 100px;
        height: 100px;
    }

    .author-header-info h1 {
        font-size: 1.75rem;
    }

    .author-header-meta {
        justify-content: center;
    }

    .article-author-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-name-row {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================
   DOCUMENTATION STYLES
   =========================== */

/* Documentation Hero */
.doc-hero {
    padding-bottom: 2rem;
}

.doc-search-form {
    margin-top: 2rem;
    max-width: 600px;
}

.doc-search-wrapper {
    display: flex;
    align-items: center;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    gap: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.doc-search-wrapper:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(43, 159, 232, 0.1);
}

.search-icon {
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.doc-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1rem;
    outline: none;
}

.doc-search-input::placeholder {
    color: var(--color-text-secondary);
}

.doc-search-btn {
    flex-shrink: 0;
}

/* Doc Types Section */
.doc-types-section {
    padding: 2rem 0 4rem;
}

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

.doc-type-card {
    display: block;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.doc-type-card:hover,
.doc-type-card.active {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.doc-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
}

.doc-type-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.doc-type-card p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.doc-count {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(43, 159, 232, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Doc Results Section */
.doc-results-section {
    padding: 4rem 0;
    background: var(--color-darker);
}

.doc-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.doc-results-header h2 {
    font-size: 1.5rem;
}

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

.doc-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.doc-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.doc-card a {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
}

.doc-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.doc-card-icon {
    color: var(--color-primary);
}

.doc-card-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.doc-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.doc-card p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.doc-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.doc-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.doc-meta-item.has-video {
    color: var(--color-primary);
}

.doc-difficulty {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
}

.badge-success {
    background: rgba(93, 211, 158, 0.15);
    color: var(--color-secondary);
}

.badge-warning {
    background: rgba(251, 191, 36, 0.15);
    color: #FCD34D;
}

.badge-danger {
    background: rgba(255, 127, 102, 0.15);
    color: var(--color-accent);
}

.doc-no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.doc-no-results svg {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.doc-no-results h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.doc-no-results p {
    color: var(--color-text-secondary);
}

/* Doc Categories Section */
.doc-categories-section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-text-secondary);
}

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

.doc-category-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.doc-category-card:hover,
.doc-category-card.active {
    border-color: var(--color-primary);
}

.doc-category-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.doc-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(43, 159, 232, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
}

.doc-category-title h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.doc-category-list {
    list-style: none;
    margin-bottom: 1rem;
}

.doc-category-list li {
    border-bottom: 1px solid var(--color-border);
}

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

.doc-category-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.doc-category-list a:hover {
    color: var(--color-primary);
}

.doc-category-list svg {
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.doc-category-empty {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-style: italic;
}

.doc-category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.doc-category-link:hover {
    text-decoration: underline;
}

/* Doc Popular Section */
.doc-popular-section {
    padding: 4rem 0;
    background: var(--color-darker);
}

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

.doc-popular-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.doc-popular-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.doc-popular-card a {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
}

.doc-popular-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.doc-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(43, 159, 232, 0.1);
    color: var(--color-primary);
}

.doc-type-guide {
    background: rgba(93, 211, 158, 0.1);
    color: var(--color-secondary);
}

.doc-type-video {
    background: rgba(255, 127, 102, 0.1);
    color: var(--color-accent);
}

.doc-type-faq {
    background: rgba(155, 89, 182, 0.1);
    color: #A78BFA;
}

.doc-has-video {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
}

.doc-popular-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

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

.doc-popular-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doc-category-tag {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    padding: 0.25rem 0.5rem;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

.doc-reading-time {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Doc Help Section */
.doc-help-section {
    padding: 4rem 0;
}

.doc-help-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem 3rem;
}

.doc-help-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.doc-help-content p {
    color: rgba(255, 255, 255, 0.85);
}

.doc-help-actions {
    display: flex;
    gap: 1rem;
}

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

.doc-help-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.doc-help-actions .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
}

/* ===========================
   SINGLE DOCUMENTATION STYLES
   =========================== */

/* Breadcrumb */
.doc-breadcrumb {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--color-primary);
}

.breadcrumb-sep {
    color: var(--color-text-secondary);
}

.breadcrumb-current {
    color: var(--color-text);
}

/* Doc Layout */
.doc-layout {
    padding: 2rem 0 4rem;
}

.doc-layout-grid {
    display: grid;
    grid-template-columns: 250px 1fr 200px;
    gap: 3rem;
}

/* Doc Sidebar */
.doc-sidebar {
    position: relative;
}

.doc-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.doc-sidebar-search {
    margin-bottom: 1.5rem;
}

.doc-sidebar-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.875rem;
}

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

.doc-sidebar-section {
    margin-bottom: 2rem;
}

.doc-sidebar-section h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.doc-sidebar-list {
    list-style: none;
}

.doc-sidebar-list li {
    margin-bottom: 0.25rem;
}

.doc-sidebar-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.doc-sidebar-list a:hover {
    color: var(--color-text);
    background: var(--color-bg-elevated);
}

.doc-sidebar-list li.current a {
    color: var(--color-primary);
    background: rgba(43, 159, 232, 0.1);
    font-weight: 500;
}

.doc-sidebar-list svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.doc-sidebar-categories {
    list-style: none;
}

.doc-sidebar-categories li {
    margin-bottom: 0.25rem;
}

.doc-sidebar-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.doc-sidebar-categories a:hover {
    color: var(--color-text);
    background: var(--color-bg-elevated);
}

.doc-sidebar-categories .count {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.doc-sidebar-categories li.current a {
    color: var(--color-primary);
    background: rgba(43, 159, 232, 0.1);
}

/* Doc Main Content */
.doc-main {
    min-width: 0;
}

.doc-article {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.doc-article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.doc-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.doc-article-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.doc-article-excerpt {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.doc-article-info {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.doc-video-section {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.doc-article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.doc-article-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.doc-article-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.doc-article-content p {
    margin-bottom: 1rem;
}

.doc-article-content ul,
.doc-article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.doc-article-content li {
    margin-bottom: 0.5rem;
}

.doc-article-content code {
    background: var(--color-bg);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-size: 0.875em;
    color: var(--color-secondary);
}

.doc-article-content pre {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 1rem;
}

.doc-article-content pre code {
    background: none;
    padding: 0;
}

.doc-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.doc-article-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--color-text-secondary);
    font-style: italic;
}

.doc-article-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Doc Article Footer */
.doc-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.doc-feedback {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.doc-feedback p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.doc-feedback-buttons {
    display: flex;
    gap: 0.5rem;
}

.doc-feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.doc-feedback-btn:hover {
    border-color: var(--color-text-secondary);
    color: var(--color-text);
}

.doc-feedback-btn.doc-feedback-yes:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background: rgba(93, 211, 158, 0.1);
}

.doc-feedback-btn.doc-feedback-no:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(255, 127, 102, 0.1);
}

.doc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.doc-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--color-bg);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
}

.doc-tag:hover {
    color: var(--color-primary);
    background: rgba(43, 159, 232, 0.1);
}

/* Doc Navigation */
.doc-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.doc-nav-link {
    display: block;
    padding: 1.25rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
}

.doc-nav-link:hover {
    border-color: var(--color-primary);
}

.doc-nav-next {
    text-align: right;
}

.doc-nav-direction {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.35rem;
}

.doc-nav-next .doc-nav-direction {
    justify-content: flex-end;
}

.doc-nav-title {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Doc Related */
.doc-related {
    margin-top: 3rem;
}

.doc-related h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.doc-related-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
}

.doc-related-card:hover {
    border-color: var(--color-primary);
}

.doc-related-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    flex-shrink: 0;
}

.doc-related-content h4 {
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.doc-related-type {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Doc TOC (Table of Contents) */
.doc-toc {
    position: relative;
}

.doc-toc-sticky {
    position: sticky;
    top: 100px;
}

.doc-toc h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.doc-toc-nav ul {
    list-style: none;
}

.doc-toc-nav li {
    margin-bottom: 0.35rem;
}

.doc-toc-nav li.toc-sub {
    margin-left: 1rem;
}

.doc-toc-nav a {
    display: block;
    padding: 0.35rem 0;
    color: var(--color-text-secondary);
    font-size: 0.8125rem;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}

.doc-toc-nav a:hover,
.doc-toc-nav a.active {
    color: var(--color-primary);
}

.doc-toc-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.doc-toc-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.2s;
}

.doc-toc-action:hover {
    color: var(--color-primary);
}

.doc-help-bottom {
    background: var(--color-bg);
}

/* ===========================
   BLOG ARCHIVE STYLES
   =========================== */

/* Blog Hero */
.blog-hero {
    padding-bottom: 2rem;
}

/* Blog Categories Filter */
.blog-categories-filter {
    padding: 1rem 0 2rem;
    border-bottom: 1px solid var(--color-border);
}

.blog-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-filter-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-filter-item:hover {
    border-color: var(--color-text-secondary);
    color: var(--color-text);
}

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

.blog-filter-item .count {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Blog Featured Post */
.blog-featured {
    padding: 3rem 0;
}

.featured-post-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-post-card:hover {
    border-color: var(--color-primary);
}

.featured-post-card a {
    text-decoration: none;
}

.featured-post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.featured-post-image {
    position: relative;
    min-height: 350px;
}

.featured-post-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.featured-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

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

.featured-post-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

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

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Blog Posts Grid */
.blog-posts-section {
    padding: 3rem 0;
}

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

.blog-post-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.blog-post-card a {
    display: block;
    text-decoration: none;
}

.post-card-image {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.post-card-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-card-image img {
    transform: scale(1.05);
}

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

.post-card-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.post-card-content p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-date,
.post-reading-time {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.blog-pagination .page-numbers:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.blog-pagination .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.blog-pagination .prev,
.blog-pagination .next {
    gap: 0.35rem;
}

.blog-no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.blog-no-posts svg {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.blog-no-posts h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-no-posts p {
    color: var(--color-text-secondary);
}

/* Blog Newsletter */
.blog-newsletter {
    padding: 4rem 0;
    background: var(--color-darker);
}

.newsletter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 3rem;
    gap: 2rem;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: var(--color-text-secondary);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.newsletter-form .charik-input {
    width: 280px;
    padding: 0.75rem 1.25rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text);
}

.newsletter-form .charik-field-rgpd-inline {
    width: 100%;
    margin-top: 0.5rem;
}

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

    .doc-sidebar,
    .doc-toc {
        display: none;
    }

    .doc-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doc-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doc-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-post-grid {
        grid-template-columns: 1fr;
    }

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

    .newsletter-card {
        flex-direction: column;
        text-align: center;
    }

    .doc-help-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .doc-types-grid,
    .doc-results-grid,
    .doc-categories-grid,
    .doc-popular-grid,
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .doc-search-wrapper {
        flex-direction: column;
        padding: 1rem;
        border-radius: var(--radius-lg);
    }

    .doc-search-input {
        width: 100%;
        text-align: center;
    }

    .doc-search-btn {
        width: 100%;
    }

    .doc-article {
        padding: 1.5rem;
    }

    .doc-article-header h1 {
        font-size: 1.5rem;
    }

    .doc-navigation {
        grid-template-columns: 1fr;
    }

    .doc-nav-next {
        text-align: left;
    }

    .doc-nav-next .doc-nav-direction {
        justify-content: flex-start;
    }

    .doc-help-card,
    .newsletter-card {
        padding: 1.5rem;
    }

    .doc-help-actions {
        flex-direction: column;
        width: 100%;
    }

    .doc-help-actions .btn-primary,
    .doc-help-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .blog-filter-wrapper {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .blog-filter-item {
        flex-shrink: 0;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form .charik-input {
        width: 100%;
    }

    .newsletter-form .btn-primary {
        width: 100%;
    }
}

/* ===========================
   MAILPOET NEWSLETTER FORMS
   =========================== */

.newsletter-message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9375rem;
    animation: fadeIn 0.3s ease;
}

.newsletter-message.success {
    background: rgba(93, 211, 158, 0.1);
    color: var(--color-secondary);
    border: 1px solid rgba(93, 211, 158, 0.3);
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.newsletter-gdpr {
    margin-top: 1rem;
}

.newsletter-gdpr label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    line-height: 1.5;
}

.newsletter-gdpr input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: var(--color-secondary);
}

.newsletter-gdpr a {
    color: var(--color-secondary);
    text-decoration: none;
}

.newsletter-gdpr a:hover {
    text-decoration: underline;
}

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

/* ===========================
   MAILPOET FORM STYLING - ENHANCED
   =========================== */

/* Reset MailPoet default styles */
.mailpoet_form {
    font-family: var(--font-primary) !important;
}

.mailpoet_form * {
    box-sizing: border-box;
}

/* Hide MailPoet branding and loading states */
.mailpoet_form_sending,
.mailpoet_form_loading,
.mailpoet_form_image {
    display: none !important;
}

/* ===========================
   WAITING LIST / LANDING PAGE FORMS
   =========================== */

.mailpoet-form-wrapper .mailpoet_form {
    width: 100% !important;
    display: block !important;
}

/* Form fields - compact spacing */
.mailpoet-form-wrapper .mailpoet_paragraph {
    margin-bottom: 0.75rem !important;
    width: 100% !important;
    display: block !important;
}

/* Labels */
.mailpoet-form-wrapper .mailpoet_text_label,
.mailpoet-form-wrapper .mailpoet_select_label,
.mailpoet-form-wrapper .mailpoet_textarea_label,
.mailpoet-form-wrapper .mailpoet_checkbox_label {
    display: block !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    color: var(--color-text) !important;
    font-family: var(--font-primary) !important;
}

/* Input fields */
.mailpoet-form-wrapper input[type="text"],
.mailpoet-form-wrapper input[type="email"],
.mailpoet-form-wrapper input[type="tel"],
.mailpoet-form-wrapper input[type="url"],
.mailpoet-form-wrapper input[type="number"],
.mailpoet-form-wrapper select,
.mailpoet-form-wrapper textarea {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--color-surface) !important;
    color: var(--color-text) !important;
    font-size: 1rem !important;
    font-family: var(--font-primary) !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    box-sizing: border-box !important;
}

.mailpoet-form-wrapper input::placeholder,
.mailpoet-form-wrapper textarea::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.7;
}

/* Focus states with gradient border effect */
.mailpoet-form-wrapper input:focus,
.mailpoet-form-wrapper select:focus,
.mailpoet-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(93, 211, 158, 0.15);
    background: var(--color-bg-elevated);
}

/* Select dropdown styling */
.mailpoet-form-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239CA3AF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Textarea */
.mailpoet-form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Checkbox styling (GDPR consent) */
.mailpoet-form-wrapper .mailpoet_checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.mailpoet-form-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: var(--color-secondary);
}

.mailpoet-form-wrapper .mailpoet_checkbox_label {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.mailpoet-form-wrapper .mailpoet_checkbox_label a {
    color: var(--color-secondary);
    text-decoration: underline;
    transition: color 0.2s;
}

.mailpoet-form-wrapper .mailpoet_checkbox_label a:hover {
    color: var(--color-primary);
}

/* Submit button */
.mailpoet-form-wrapper .mailpoet_submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(93, 211, 158, 0.2);
}

.mailpoet-form-wrapper .mailpoet_submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mailpoet-form-wrapper .mailpoet_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 211, 158, 0.4);
}

.mailpoet-form-wrapper .mailpoet_submit:hover::before {
    opacity: 1;
}

.mailpoet-form-wrapper .mailpoet_submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(93, 211, 158, 0.3);
}

/* Success and error messages - IMPROVED CONTRAST */
.mailpoet-form-wrapper .mailpoet_validate_success,
.mailpoet-form-wrapper .mailpoet_validate_error,
.mailpoet-form-wrapper .mailpoet_message {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    animation: slideDown 0.3s ease;
}

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

/* Success message - High contrast */
.mailpoet-form-wrapper .mailpoet_validate_success,
.mailpoet-form-wrapper .mailpoet_message.mailpoet_success {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.15) 0%, rgba(43, 159, 232, 0.15) 100%);
    color: #fff;
    border: 2px solid var(--color-secondary);
    box-shadow: 0 4px 20px rgba(93, 211, 158, 0.3);
}

/* Alternative success for light theme */
body.theme-light .mailpoet-form-wrapper .mailpoet_validate_success,
body.theme-light .mailpoet-form-wrapper .mailpoet_message.mailpoet_success {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.2) 0%, rgba(43, 159, 232, 0.1) 100%);
    color: #047857;
    border: 2px solid #5DD39E;
}

/* Error message - High contrast */
.mailpoet-form-wrapper .mailpoet_validate_error,
.mailpoet-form-wrapper .mailpoet_error {
    background: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border: 2px solid #EF4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

body.theme-light .mailpoet-form-wrapper .mailpoet_validate_error,
body.theme-light .mailpoet-form-wrapper .mailpoet_error {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    border: 2px solid #EF4444;
}

/* ===========================
   NEWSLETTER FORMS (Inline/Horizontal)
   =========================== */

.mailpoet-newsletter-wrapper .mailpoet_form {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mailpoet-newsletter-wrapper .mailpoet_paragraph {
    flex: 1;
    min-width: 250px;
    margin-bottom: 0;
}

.mailpoet-newsletter-wrapper .mailpoet_text_label,
.mailpoet-newsletter-wrapper .mailpoet_checkbox_label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-family: var(--font-primary);
}

.mailpoet-newsletter-wrapper input[type="text"],
.mailpoet-newsletter-wrapper input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.mailpoet-newsletter-wrapper input::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.7;
}

.mailpoet-newsletter-wrapper input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(93, 211, 158, 0.15);
    background: var(--color-bg-elevated);
}

.mailpoet-newsletter-wrapper .mailpoet_submit {
    padding: 0.875rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(93, 211, 158, 0.2);
}

.mailpoet-newsletter-wrapper .mailpoet_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(93, 211, 158, 0.4);
}

.mailpoet-newsletter-wrapper .mailpoet_submit:active {
    transform: translateY(0);
}

/* Newsletter GDPR checkbox */
.mailpoet-newsletter-wrapper .mailpoet_checkbox {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.mailpoet-newsletter-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--color-secondary);
}

.mailpoet-newsletter-wrapper .mailpoet_checkbox_label {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin-bottom: 0;
}

.mailpoet-newsletter-wrapper .mailpoet_checkbox_label a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Newsletter success/error messages */
.mailpoet-newsletter-wrapper .mailpoet_validate_success,
.mailpoet-newsletter-wrapper .mailpoet_validate_error,
.mailpoet-newsletter-wrapper .mailpoet_message {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    font-size: 0.9375rem;
    animation: slideDown 0.3s ease;
}

.mailpoet-newsletter-wrapper .mailpoet_validate_success {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.15) 0%, rgba(43, 159, 232, 0.15) 100%);
    color: #fff;
    border: 2px solid var(--color-secondary);
    box-shadow: 0 4px 20px rgba(93, 211, 158, 0.3);
}

body.theme-light .mailpoet-newsletter-wrapper .mailpoet_validate_success {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.2) 0%, rgba(43, 159, 232, 0.1) 100%);
    color: #047857;
    border: 2px solid #5DD39E;
}

.mailpoet-newsletter-wrapper .mailpoet_validate_error {
    background: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border: 2px solid #EF4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

body.theme-light .mailpoet-newsletter-wrapper .mailpoet_validate_error {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    border: 2px solid #EF4444;
}

/* Responsive newsletter forms */
@media (max-width: 768px) {
    .mailpoet-newsletter-wrapper .mailpoet_form {
        flex-direction: column;
    }

    .mailpoet-newsletter-wrapper .mailpoet_paragraph {
        width: 100%;
    }

    .mailpoet-newsletter-wrapper .mailpoet_submit {
        width: 100%;
    }
}

/* ===========================
   MAILPOET FORM VALIDATION STATES
   =========================== */

/* Field error state */
.mailpoet_form input.parsley-error,
.mailpoet_form select.parsley-error,
.mailpoet_form textarea.parsley-error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* Field error message */
.mailpoet_form .parsley-errors-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.mailpoet_form .parsley-errors-list li {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

body.theme-light .mailpoet_form .parsley-errors-list li {
    color: #DC2626;
}

/* ===========================
   LOADING STATE
   =========================== */

.mailpoet_form.mailpoet_form_sending .mailpoet_submit {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.mailpoet_form.mailpoet_form_sending .mailpoet_submit::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===========================
   MAILPOET FORM PREMIUM OVERRIDES
   Make MailPoet forms look beautiful like our custom design
   =========================== */

/* Override MailPoet default ugly styles */
.mailpoet_form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Hide MailPoet icons/validation icons in inputs */
.mailpoet_form input[type="text"] + .mailpoet_icon,
.mailpoet_form input[type="email"] + .mailpoet_icon,
.mailpoet_form input[type="tel"] + .mailpoet_icon,
.mailpoet_form .mailpoet_input_icon {
    display: none !important;
}

/* Premium input styling - match landing page design */
.mailpoet-form-wrapper input[type="text"],
.mailpoet-form-wrapper input[type="email"],
.mailpoet-form-wrapper input[type="tel"],
.mailpoet-form-wrapper input[type="url"],
.mailpoet-form-wrapper input[type="number"],
.mailpoet-form-wrapper select,
.mailpoet-form-wrapper textarea {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--color-text) !important;
    font-family: var(--font-primary) !important;
    font-size: 1rem !important;
    padding: 0.875rem 1rem !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.mailpoet-form-wrapper input::placeholder,
.mailpoet-form-wrapper textarea::placeholder {
    color: var(--color-text-secondary) !important;
    opacity: 0.7 !important;
}

/* Beautiful focus state with gradient effect */
.mailpoet-form-wrapper input:focus,
.mailpoet-form-wrapper select:focus,
.mailpoet-form-wrapper textarea:focus {
    outline: none !important;
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0 3px rgba(93, 211, 158, 0.15) !important;
    background: var(--color-bg-elevated) !important;
}

/* Labels - clean and professional */
.mailpoet-form-wrapper label {
    color: var(--color-text) !important;
    font-family: var(--font-primary) !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

/* Submit button - premium gradient style */
.mailpoet-form-wrapper .mailpoet_submit,
.mailpoet-form-wrapper button[type="submit"],
.mailpoet-form-wrapper input[type="submit"] {
    width: 100% !important;
    padding: 1rem 2rem !important;
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    font-family: var(--font-primary) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(93, 211, 158, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.mailpoet-form-wrapper .mailpoet_submit::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.mailpoet-form-wrapper .mailpoet_submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(93, 211, 158, 0.4) !important;
}

.mailpoet-form-wrapper .mailpoet_submit:hover::before {
    opacity: 1 !important;
}

.mailpoet-form-wrapper .mailpoet_submit:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 12px rgba(93, 211, 158, 0.3) !important;
}

/* Hide "Retour au site" link */
.mailpoet-form-wrapper a[href*="retour"],
.mailpoet-form-wrapper .form-footer a,
.mailpoet-form-wrapper a[href*="Retour"] {
    display: none !important;
}

.mailpoet-form-wrapper .form-footer {
    display: none !important;
}

/* Premium styling for form wrapper */
.mailpoet-form-wrapper {
    background: var(--color-bg-elevated) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 2.5rem !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

body.theme-light .mailpoet-form-wrapper {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
}

/* Form header styling */
.mailpoet-form-wrapper h2,
.mailpoet-form-wrapper h3 {
    text-align: center !important;
    margin-bottom: 1rem !important;
}

.mailpoet-form-wrapper h2 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--color-text) !important;
    margin-bottom: 0.5rem !important;
}

.mailpoet-form-wrapper h3,
.mailpoet-form-wrapper p {
    font-size: 1rem !important;
    color: var(--color-text-secondary) !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
}

/* Form fields spacing */
.mailpoet-form-wrapper .mailpoet_paragraph {
    margin-bottom: 1.5rem !important;
}

/* GDPR checkbox - premium style */
.mailpoet-form-wrapper .mailpoet_checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-sm) !important;
    transition: all 0.3s ease !important;
}

.mailpoet-form-wrapper .mailpoet_checkbox:hover {
    border-color: var(--color-secondary) !important;
    background: var(--color-bg-elevated) !important;
}

.mailpoet-form-wrapper input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border: 2px solid var(--color-border) !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    margin-top: 2px !important;
    accent-color: var(--color-secondary) !important;
}

.mailpoet-form-wrapper .mailpoet_checkbox_label {
    margin-bottom: 0 !important;
    font-size: 0.875rem !important;
    color: var(--color-text-secondary) !important;
    line-height: 1.5 !important;
}

.mailpoet-form-wrapper .mailpoet_checkbox_label a {
    color: var(--color-secondary) !important;
    text-decoration: underline !important;
    transition: color 0.2s !important;
}

.mailpoet-form-wrapper .mailpoet_checkbox_label a:hover {
    color: var(--color-primary) !important;
}

/* Success message - beautiful design */
.mailpoet-form-wrapper .mailpoet_validate_success,
.mailpoet-form-wrapper .mailpoet_message.mailpoet_success {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.15) 0%, rgba(43, 159, 232, 0.15) 100%) !important;
    color: #fff !important;
    border: 2px solid var(--color-secondary) !important;
    box-shadow: 0 4px 20px rgba(93, 211, 158, 0.3) !important;
    padding: 1.5rem !important;
    border-radius: var(--radius-sm) !important;
    text-align: center !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    animation: slideDown 0.3s ease !important;
    margin-top: 1.5rem !important;
}

body.theme-light .mailpoet-form-wrapper .mailpoet_validate_success,
body.theme-light .mailpoet-form-wrapper .mailpoet_message.mailpoet_success {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.2) 0%, rgba(43, 159, 232, 0.1) 100%) !important;
    color: #047857 !important;
    border: 2px solid #5DD39E !important;
}

/* Error message styling */
.mailpoet-form-wrapper .mailpoet_validate_error,
.mailpoet-form-wrapper .mailpoet_error {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #FCA5A5 !important;
    border: 2px solid #EF4444 !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2) !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: var(--radius-sm) !important;
    text-align: center !important;
    font-weight: 500 !important;
    margin-top: 1.5rem !important;
}

body.theme-light .mailpoet-form-wrapper .mailpoet_validate_error,
body.theme-light .mailpoet-form-wrapper .mailpoet_error {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #DC2626 !important;
}

/* Remove MailPoet branding and ugly elements */
.mailpoet_form_image,
.mailpoet_form_sending,
.mailpoet_form_loading,
.mailpoet_form_powered_by {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mailpoet-form-wrapper {
        padding: 2rem 1.5rem !important;
    }

    .mailpoet-form-wrapper h2 {
        font-size: 1.5rem !important;
    }
}

/* ===========================
   CUSTOM SUBSCRIPTION MANAGEMENT PAGE
   =========================== */

.subscription-management-page {
    padding: var(--spacing-xxl) 0;
    min-height: 70vh;
    background: var(--color-bg);
}

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

/* Subscription Card */
.subscription-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.theme-light .subscription-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Header */
.subscription-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.subscription-title {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.subscription-subtitle {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.subscription-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Subscriber Info */
.subscriber-info {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.subscriber-email {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    font-weight: 500;
}

.subscriber-email svg {
    color: var(--color-secondary);
    flex-shrink: 0;
}

/* Subscription Lists */
.subscription-lists h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.subscription-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.subscription-list-item:hover {
    border-color: var(--color-secondary);
    background: var(--color-bg-elevated);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(93, 211, 158, 0.15);
}

.subscription-list-item.subscribed {
    border-color: var(--color-secondary);
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.05) 0%, rgba(43, 159, 232, 0.05) 100%);
}

.subscription-list-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--color-secondary);
    transition: all 0.2s ease;
}

.subscription-list-item.subscribed input[type="checkbox"] {
    border-color: var(--color-secondary);
}

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

.list-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
}

.list-description {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.list-checkmark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.list-checkmark svg {
    color: white;
}

.subscription-list-item.subscribed .list-checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Action Buttons */
.subscription-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-save-preferences,
.btn-unsubscribe-all {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.btn-save-preferences {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(93, 211, 158, 0.2);
}

.btn-save-preferences:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 211, 158, 0.4);
}

.btn-save-preferences:active:not(:disabled) {
    transform: translateY(0);
}

.btn-save-preferences:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-unsubscribe-all {
    background: var(--color-surface);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.btn-unsubscribe-all:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-color: #EF4444;
}

.btn-unsubscribe-all:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Messages */
.subscription-message {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    margin-top: 1.5rem;
    animation: slideDown 0.3s ease;
}

.subscription-success {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.15) 0%, rgba(43, 159, 232, 0.15) 100%);
    color: #fff;
    border: 2px solid var(--color-secondary);
    box-shadow: 0 4px 20px rgba(93, 211, 158, 0.3);
}

body.theme-light .subscription-success {
    background: linear-gradient(135deg, rgba(93, 211, 158, 0.2) 0%, rgba(43, 159, 232, 0.1) 100%);
    color: #047857;
}

.subscription-error {
    background: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border: 2px solid #EF4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

body.theme-light .subscription-error {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

/* Invalid State */
.subscription-invalid {
    text-align: center;
    padding: 3rem 2rem;
}

.subscription-invalid svg {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.subscription-invalid h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.subscription-invalid p {
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.subscription-invalid .btn-primary {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.subscription-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.subscription-footer p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.subscription-footer a {
    color: var(--color-secondary);
    text-decoration: underline;
    transition: color 0.2s;
}

.subscription-footer a:hover {
    color: var(--color-primary);
}

/* Preview Mode */
.subscription-preview {
    position: relative;
}

.preview-notice {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(93, 211, 158, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .subscription-card {
        padding: 2rem 1.5rem;
    }

    .subscription-title {
        font-size: 1.75rem;
    }

    .subscription-subtitle {
        font-size: 1rem;
    }

    .subscription-list-item {
        padding: 1rem;
    }

    .subscription-actions {
        gap: 0.75rem;
    }
}

/* ==========================================
   SCROLL INDICATOR - "Voir la suite"
   ========================================== */

.scroll-indicator {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.scroll-indicator.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.scroll-indicator-link {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator:hover .scroll-indicator-link {
    color: var(--color-primary);
    transform: translateY(-2px);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 2rem;
    }

    .scroll-indicator-link {
        font-size: 0.9375rem;
    }
}

/* ==========================================
   TARGET AUDIENCE PAGE - CRM pour...
   ========================================== */

/* Logos Section */
.logos-section {
    padding: var(--spacing-xl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.logos-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.logo-item img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s;
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Features with Illustrations */
.features-illustrated {
    padding: var(--spacing-xxl) 0;
}

.features-illustrated-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
    margin-top: var(--spacing-xl);
}

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

.feature-illustrated-item.reverse {
    direction: rtl;
}

.feature-illustrated-item.reverse > * {
    direction: ltr;
}

.feature-illustrated-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.feature-illustrated-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.feature-illustrated-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-illustrated-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

.placeholder-visual {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

/* Vision Section */
.vision-section {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.02);
}

.vision-content-wrapper {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xl);
}

.placeholder-image {
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.vision-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.vision-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.vision-description p {
    margin-bottom: 1.5rem;
}

/* Use Case CTA Section */
.use-case-cta-section {
    padding: var(--spacing-xxl) 0;
}

.use-case-cta-card {
    text-align: center;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 0 auto;
}

.use-case-cta-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
}

.use-case-cta-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.use-case-cta-card p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.use-case-cta-card .btn-primary {
    margin-top: 1rem;
}

/* Responsive - Target Audience */
@media (max-width: 1024px) {
    .feature-illustrated-item,
    .vision-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-illustrated-item.reverse {
        direction: ltr;
    }

    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .feature-illustrated-content h3 {
        font-size: 1.5rem;
    }

    .vision-text h2 {
        font-size: 1.75rem;
    }

    .use-case-cta-card {
        padding: 3rem 2rem;
    }

    .use-case-cta-card h2 {
        font-size: 1.5rem;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   LUCIDE ICONS
   Styles pour les icônes Lucide
   =========================== */

/* Classe de base pour les icônes Lucide */
.lucide-icon {
    width: 64px;
    height: 64px;
    display: inline-block;
    position: relative;
}

/* Icônes Lucide générées automatiquement (SVG) */
.lucide-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-text-secondary);
    stroke-width: 2;
    fill: none;
}

/* Effet de gradient sur les icônes via mask */
.feature-icon-large .lucide-icon,
.feature-icon-small .lucide-icon {
    position: relative;
}

.feature-icon-large .lucide-icon::before,
.feature-icon-small .lucide-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(20px);
    z-index: -1;
}

.feature-icon-large .lucide-icon,
.feature-icon-small .lucide-icon {
    color: var(--color-secondary);
}

.feature-icon-large .lucide-icon svg,
.feature-icon-small .lucide-icon svg {
    filter: drop-shadow(0 4px 12px rgba(93, 211, 158, 0.3));
}

/* Animation sur hover */
.feature-card-large:hover .lucide-icon,
.feature-card-small:hover .lucide-icon {
    color: var(--color-primary);
}

.feature-card-large:hover .lucide-icon svg,
.feature-card-small:hover .lucide-icon svg {
    filter: drop-shadow(0 6px 20px rgba(43, 159, 232, 0.4));
    transition: all 0.3s ease;
}

/* Petites icônes */
.feature-icon-small .lucide-icon {
    width: 48px;
    height: 48px;
}

/* Icônes dans le mega menu */
.mega-menu-item-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 0.75rem;
    vertical-align: middle;
    flex-shrink: 0;
}

.mega-menu-item-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-text-secondary);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.mega-menu-link:hover .mega-menu-item-icon svg {
    stroke: var(--color-primary);
}

body.theme-light .mega-menu-item-icon svg {
    stroke: var(--color-text-secondary);
}

body.theme-light .mega-menu-link:hover .mega-menu-item-icon svg {
    stroke: var(--color-primary);
}
