/* CRITICAL FIX: Keep header visible while making sections full width */

        /* Override WP plugin rule: .entry-content ul/ol { padding/margin: revert } */
        .entry-content ul,
        .entry-content ol {
            padding: 0 !important;
            margin: 0 !important;
            list-style: none !important;
        }

        /* Remove WP auto-generated <p> tags inside content wrapper */
        .entry-content.clear > p {
            display: none !important;
            margin: 0 !important;
            padding: 0 !important;
            height: 0 !important;
            line-height: 0 !important;
            font-size: 0 !important;
        }
        
        /* Hide WordPress site header completely */
        #masthead,
        .site-header,
        header.site-header,
        .ast-header-break-point .site-header {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            height: 0 !important;
            overflow: hidden !important;
        }

        /* Hide ALL WordPress/Astra mobile menu elements */
        .ast-mobile-popup-drawer,
        .ast-mobile-popup-overlay,
        .ast-mobile-header-wrap,
        .ast-mobile-popup-inner,
        .main-header-menu-toggle,
        .menu-toggle,
        .ast-button-wrap,
        .ast-mobile-menu-buttons,
        #ast-mobile-popup,
        .ast-header-break-point .main-navigation,
        .ast-header-break-point .ast-mobile-header-stack {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            height: 0 !important;
            width: 0 !important;
            overflow: hidden !important;
            pointer-events: none !important;
            position: absolute !important;
            z-index: -1 !important;
        }
        
        /* Only hide footer, keep everything else visible */
        #colophon,
        .site-footer,
        footer.site-footer {
            display: none !important;
        }
        
        /* Remove padding from content areas only - NOT from header */
        .entry-content,
        article.post,
        article.page,
        .site-main,
        main.site-main {
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        
        /* Force full width for page wrapper but preserve header */
        #page,
        #content,
        .site-content {
            width: 100% !important;
            max-width: 100% !important;
            overflow-x: hidden !important;
        }
        
        /* Keep WordPress site header hidden - our custom landing-header replaces it */
        
        /* Prevent body overflow issues */
        body,
        html {
            overflow-x: hidden !important;
            width: 100% !important;
        }
        
        :root {
            /* Brand Colors */
            --primary: #2235DD;
            --primary-dark: #1a2bc6;
            --secondary: #05060F;
            --accent: #3564e4;
            --light-bg: #f0f1fd;
            --dark-bg: #131739;
            --white: #FFFFFF;
            --gray-light: #E4E7FD;
            --success: #10b981;
            --warning: #f59e0b;
            
            /* Typography */
            --font-display: 'Cairo', sans-serif;
            --font-body: 'IBM Plex Sans Arabic', sans-serif;
            
            /* Spacing */
            --section-padding: clamp(60px, 10vw, 120px);
            --container-max: 1200px;
            
            /* Shadows */
            --shadow-sm: 0 2px 8px rgba(34, 53, 221, 0.08);
            --shadow-md: 0 4px 20px rgba(34, 53, 221, 0.12);
            --shadow-lg: 0 12px 40px rgba(34, 53, 221, 0.16);
            
            /* Animations */
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        * {
            box-sizing: border-box;
        }
        
        body {
            font-family: var(--font-body);
            color: var(--secondary);
            line-height: 1.7;
            background: var(--white);
            padding-top: 0; /* Remove padding - header floats over content */
        }
        
        /* Language-specific content visibility */
        html[lang="ar"] .lang-en,
        html[lang="en"] .lang-ar {
            display: none !important;
        }
        
        /* Dark theme */
        body.dark-theme {
            background: #0a0b14;
            color: #e4e7fd;
        }
        
        /* Dark Theme - Comprehensive Styles */
        body.dark-theme h1,
        body.dark-theme h2,
        body.dark-theme h3,
        body.dark-theme h4 {
            color: #e4e7fd;
        }
        
        body.dark-theme .landing-header.scrolled {
            background: rgba(15, 17, 23, 0.7);
            border-bottom: 1px solid rgba(91, 138, 245, 0.2);
        }
        
        body.dark-theme .landing-header-menu a {
            color: #e4e7fd;
        }
        
        body.dark-theme .landing-header-menu a:hover {
            color: #5b8af5;
        }
        
        body.dark-theme .landing-lang-switcher {
            background: rgba(42, 45, 62, 0.8);
            border-color: rgba(91, 138, 245, 0.2);
        }
        
        body.dark-theme .landing-lang-current {
            color: #e4e7fd;
        }
        
        body.dark-theme .landing-lang-icon svg {
            fill: #e4e7fd;
        }
        
        body.dark-theme .landing-lang-dropdown {
            background: #1a1d2e;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
        }
        
        body.dark-theme .landing-lang-link {
            color: #e4e7fd;
        }
        
        body.dark-theme .landing-lang-link:hover {
            background: rgba(91, 138, 245, 0.15);
            color: #5b8af5;
        }
        
        body.dark-theme .landing-lang-link.active {
            background: #5b8af5;
            color: #0a0b14;
        }
        
        body.dark-theme .landing-mobile-toggle span {
            background: #e4e7fd;
        }
        
        body.dark-theme .landing-hero {
            background: linear-gradient(135deg, #0f1117 0%, #1a1d2e 100%);
        }
        
        body.dark-theme .landing-hero::before {
            background: radial-gradient(circle, rgba(91, 138, 245, 0.15) 0%, transparent 70%);
        }
        
        body.dark-theme .landing-hero-badge {
            background: rgba(91, 138, 245, 0.15);
            color: #5b8af5;
            border-color: rgba(91, 138, 245, 0.3);
        }
        
        body.dark-theme .landing-hero-subtitle {
            color: #b8bbd5;
        }
        
        body.dark-theme .landing-stat-label {
            color: #b8bbd5;
        }
        
        body.dark-theme .landing-hero::after,
        body.dark-theme .landing-hero-object-cart,
        body.dark-theme .landing-hero-object-bot,
        body.dark-theme .landing-hero-object-check {
            opacity: 0.08;
        }
        
        body.dark-theme .landing-pain-section {
            background: linear-gradient(180deg, #0a0b14 0%, #1a1126 50%, #0a0b14 100%);
        }
        
        body.dark-theme .landing-pain-card {
            background: #1a1d2e;
            border-color: #4a1d1d;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }
        
        body.dark-theme .landing-pain-card:hover {
            border-color: #7a2d2d;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
        }
        
        body.dark-theme .landing-pain-card h3 {
            color: #ff6b6b;
        }
        
        body.dark-theme .landing-pain-card p {
            color: #b8bbd5;
        }
        
        body.dark-theme .landing-section-description {
            color: #b8bbd5;
        }
        
        body.dark-theme .landing-outcome-section {
            background: linear-gradient(180deg, #0a0b14 0%, #0f1a14 50%, #0a0b14 100%);
        }
        
        body.dark-theme .landing-outcome-card {
            background: #1a1d2e;
            border-color: #1d4a2d;
        }
        
        body.dark-theme .landing-outcome-card:hover {
            border-color: #2d7a4d;
        }
        
        body.dark-theme .landing-outcome-card h3 {
            color: #34d399;
        }
        
        body.dark-theme .landing-outcome-card p {
            color: #b8bbd5;
        }
        
        body.dark-theme .landing-solution-section {
            background: #0a0b14;
        }
        
        body.dark-theme .landing-solution-content p {
            color: #b8bbd5;
        }
        
        body.dark-theme .landing-solution-list li {
            color: #b8bbd5;
            border-bottom-color: rgba(91, 138, 245, 0.1);
        }
        
        body.dark-theme .landing-solution-list li::before {
            color: #5b8af5;
        }
        
        body.dark-theme .landing-process-section {
            background: linear-gradient(135deg, #0f1117 0%, #1a1d2e 100%);
        }
        
        body.dark-theme .landing-process-step {
            background: rgba(42, 45, 62, 0.5);
            border-color: rgba(91, 138, 245, 0.2);
        }
        
        body.dark-theme .landing-process-step:hover {
            background: rgba(42, 45, 62, 0.7);
        }
        
        body.dark-theme .landing-process-step h4 {
            color: #e4e7fd;
        }
        
        body.dark-theme .landing-process-step p {
            color: #b8bbd5;
        }
        
        body.dark-theme .landing-faq-item {
            background: #1a1d2e;
            border-color: rgba(91, 138, 245, 0.15);
        }
        
        body.dark-theme .landing-faq-item:hover {
            border-color: #5b8af5;
        }
        
        body.dark-theme .landing-faq-question {
            color: #e4e7fd;
        }
        
        body.dark-theme .landing-faq-question:hover {
            color: #5b8af5;
        }
        
        body.dark-theme .landing-faq-icon::before,
        body.dark-theme .landing-faq-icon::after {
            background: #5b8af5;
        }
        
        body.dark-theme .landing-faq-answer-content {
            color: #b8bbd5;
        }
        
        body.dark-theme .landing-section-badge {
            background: rgba(91, 138, 245, 0.15);
            color: #5b8af5;
        }
        
        body.dark-theme .landing-btn-primary {
            background: #5b8af5;
            color: #0a0b14;
        }
        
        body.dark-theme .landing-btn-primary:hover {
            background: #3564e4;
        }
        
        body.dark-theme .landing-btn-primary::after {
            background: #5b8af5;
        }
        
        body.dark-theme .landing-btn-primary:hover::after {
            background: #3564e4;
        }
        
        body.dark-theme .landing-btn-outline {
            border-color: #5b8af5;
            color: #5b8af5;
        }
        
        body.dark-theme .landing-btn-outline:hover {
            background: #5b8af5;
            color: #0a0b14;
        }
        
        body.dark-theme .landing-btn-white {
            background: #0a0b14;
            color: #5b8af5;
        }
        
        body.dark-theme .landing-btn-white:hover {
            background: #1a1d2e;
        }
        
        body.dark-theme .landing-hero-stats {
            border-top-color: rgba(91, 138, 245, 0.2);
        }
        
        /* Header Styles */
        .landing-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: transparent;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border-bottom: 1px solid transparent;
            padding-top: 10px;
        }
        
        .landing-header.scrolled {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border-bottom: 1px solid rgba(34, 53, 221, 0.1);
        }
        
        /* Remove white text color overrides on scroll */
        
        .landing-header-container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 clamp(20px, 4vw, 40px);
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 90px;
            gap: 30px;
        }
        
        .landing-header-logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: var(--transition);
            position: relative;
            flex-shrink: 0;
        }
        
        .landing-header-logo img {
            height: 55px;
            width: auto;
            transition: opacity 0.3s ease;
        }
        
        /* Light mode: show black logo, hide white logo */
        .logo-light {
            opacity: 1;
        }
        
        .logo-dark {
            opacity: 0;
            position: absolute;
            left: 0;
        }
        
        /* Dark mode: hide black logo, show white logo */
        body.dark-theme .logo-light {
            opacity: 0;
        }
        
        body.dark-theme .logo-dark {
            opacity: 1;
        }
        
        .landing-header-logo:hover {
            transform: scale(1.05);
        }
        
        .landing-header-nav {
            display: flex;
            align-items: center;
            gap: 25px;
        }
        
        .landing-header-menu {
            display: flex;
            align-items: center;
            gap: 25px;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        .landing-header-menu a {
            text-decoration: none;
            color: var(--secondary);
            font-weight: 600;
            font-size: 0.95rem;
            transition: var(--transition);
            position: relative;
            white-space: nowrap;
        }
        
        .landing-header-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .landing-header-menu a:hover {
            color: var(--primary);
        }
        
        .landing-header-menu a:hover::after {
            transform: scaleX(1);
        }
        
        .landing-header-actions {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-shrink: 0;
        }
        
        /* Header Social Media Icons */
        /* Theme Toggle Button */
        .theme-toggle-btn {
            background: var(--light-bg);
            border: 1px solid rgba(34, 53, 221, 0.15);
            border-radius: 50%;
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            padding: 0;
        }
        
        body.dark-theme .theme-toggle-btn {
            background: rgba(42, 45, 62, 0.8);
            border-color: rgba(91, 138, 245, 0.2);
        }
        
        .theme-toggle-btn:hover {
            background: rgba(34, 53, 221, 0.08);
            transform: scale(1.1);
            border-color: rgba(34, 53, 221, 0.25);
        }
        
        body.dark-theme .theme-toggle-btn:hover {
            background: rgba(91, 138, 245, 0.15);
            border-color: rgba(91, 138, 245, 0.4);
        }
        
        .theme-icon {
            font-size: 1.3rem;
            position: absolute;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Light mode: show sun, hide moon */
        .theme-icon-light {
            opacity: 1;
            transform: rotate(0deg) scale(1);
        }
        
        .theme-icon-dark {
            opacity: 0;
            transform: rotate(180deg) scale(0);
        }
        
        /* Dark mode: hide sun, show moon */
        body.dark-theme .theme-icon-light {
            opacity: 0;
            transform: rotate(-180deg) scale(0);
        }
        
        body.dark-theme .theme-icon-dark {
            opacity: 1;
            transform: rotate(0deg) scale(1);
        }
        
        .landing-lang-switcher {
            position: relative;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: var(--light-bg);
            border-radius: 50px;
            border: 1px solid rgba(34, 53, 221, 0.15);
            cursor: pointer;
            transition: var(--transition);
        }
        
        .landing-lang-switcher:hover {
            background: rgba(34, 53, 221, 0.08);
            border-color: rgba(34, 53, 221, 0.25);
        }
        
        .landing-lang-icon {
            font-size: 1.1rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Google Translate style icon */
        .landing-lang-icon svg {
            width: 18px;
            height: 18px;
            fill: var(--secondary);
        }
        
        .landing-lang-current {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--secondary);
            text-transform: uppercase;
        }
        
        .landing-lang-dropdown-arrow {
            font-size: 0.7rem;
            color: var(--secondary);
            transition: transform 0.3s ease;
        }
        
        .landing-lang-switcher.active .landing-lang-dropdown-arrow {
            transform: rotate(180deg);
        }
        
        .landing-lang-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: var(--white);
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            padding: 8px;
            min-width: 120px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 100;
        }
        
        .landing-lang-switcher.active .landing-lang-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .landing-lang-link {
            text-decoration: none;
            color: var(--secondary);
            font-weight: 600;
            font-size: 0.9rem;
            padding: 10px 14px;
            border-radius: 8px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .landing-lang-link:hover {
            background: var(--light-bg);
            color: var(--primary);
        }
        
        .landing-lang-link.active {
            background: var(--primary);
            color: var(--white);
        }
        
        /* Sized directly rather than downscaled. The old transform fought
           .landing-btn-primary:hover's scale(1.05), so hovering jumped the
           button from 0.85 to 1.05 in one step, and the downscale softened
           the label. The mobile rule below already sized it properly. */
        .landing-header-cta {
            padding: 9px 20px;
            font-size: 0.82rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        /* Scale down sparkles in header */
        .landing-header-cta .sparkles-icon {
            font-size: 0.8rem;
        }
        
        /* Animated sparkles icon */
        .sparkles-icon {
            display: inline-block;
            font-size: 1.1rem;
            animation: sparkleFloat 2s ease-in-out infinite;
        }

        @media (prefers-reduced-motion: reduce) {
            .sparkles-icon {
                animation: none;
            }
        }
        
        @keyframes sparkleFloat {
            0%, 100% {
                transform: translateY(0) rotate(0deg) scale(1);
            }
            25% {
                transform: translateY(-3px) rotate(10deg) scale(1.1);
            }
            50% {
                transform: translateY(0) rotate(-10deg) scale(1);
            }
            75% {
                transform: translateY(-2px) rotate(5deg) scale(1.05);
            }
        }
        
        /* Mobile Menu Toggle */
        .landing-mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 8px;
        }
        
        .landing-mobile-toggle span {
            width: 25px;
            height: 3px;
            background: var(--secondary);
            border-radius: 3px;
            transition: var(--transition);
        }
        
        .landing-mobile-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }
        
        .landing-mobile-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        
        .landing-mobile-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }
        
        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-display);
            font-weight: 800;
            line-height: 1.2;
            color: var(--secondary);
        }
        
        h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            letter-spacing: -0.02em;
        }
        
        h2 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            letter-spacing: -0.01em;
        }
        
        h3 {
            font-size: clamp(1.5rem, 3vw, 2rem);
        }
        
        /* Container */
        .landing-container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 clamp(20px, 4vw, 40px);
        }
        
        /* Buttons */
        .landing-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 18px 40px;
            font-family: var(--font-display);
            font-size: 1.1rem;
            font-weight: 700;
            text-decoration: none;
            border-radius: 50px;
            border: 2px solid transparent;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        
        .landing-btn-primary {
            background: var(--primary);
            color: var(--white);
            box-shadow: var(--shadow-md);
        }
        
        .landing-btn-primary:hover {
            background: var(--primary-dark);
            color: var(--white);
            transform: scale(1.05);
            box-shadow: var(--shadow-lg);
        }
        
        .landing-btn-outline {
            background: transparent;
            color: var(--primary);
            border-color: var(--primary);
        }
        
        .landing-btn-outline:hover {
            background: var(--primary);
            color: var(--white);
        }
        
        /* Hero Section - Above the Fold */
        .landing-hero {
            position: relative;
            min-height: 100vh;
            /* svh = viewport with the mobile browser chrome EXPANDED. Plain vh
               on a phone measures the chrome-collapsed height, so a 100vh hero
               is always taller than what you see on first paint. */
            min-height: 100svh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f0f1fd 0%, #ffffff 100%);
            overflow: hidden;
            padding: var(--section-padding) 0;
            padding-top: 100px;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
        }
        
        .landing-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 80%;
            height: 80%;
            background: radial-gradient(circle, rgba(34, 53, 221, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 20s ease-in-out infinite;
        }
        
        /* Floating business-related objects */
        .landing-hero::after {
            content: '🛡️';
            position: absolute;
            font-size: 4rem;
            opacity: 0.15;
            top: 15%;
            right: 8%;
            animation: floatObject1 15s ease-in-out infinite;
        }
        
        .landing-hero-object-cart {
            position: absolute;
            font-size: 3.5rem;
            opacity: 0.12;
            bottom: 20%;
            right: 12%;
            animation: floatObject2 18s ease-in-out infinite;
        }
        
        .landing-hero-object-bot {
            position: absolute;
            font-size: 3rem;
            opacity: 0.13;
            top: 25%;
            left: 10%;
            animation: floatObject3 20s ease-in-out infinite;
        }
        
        .landing-hero-object-check {
            position: absolute;
            font-size: 2.5rem;
            opacity: 0.1;
            bottom: 35%;
            left: 15%;
            animation: floatObject4 16s ease-in-out infinite;
        }
        
        @keyframes floatObject1 {
            0%, 100% { 
                transform: translate(0, 0) rotate(0deg);
            }
            33% { 
                transform: translate(30px, -40px) rotate(10deg);
            }
            66% { 
                transform: translate(-20px, 30px) rotate(-5deg);
            }
        }
        
        @keyframes floatObject2 {
            0%, 100% { 
                transform: translate(0, 0) rotate(0deg) scale(1);
            }
            33% { 
                transform: translate(-40px, 30px) rotate(-10deg) scale(1.1);
            }
            66% { 
                transform: translate(25px, -25px) rotate(8deg) scale(0.95);
            }
        }
        
        @keyframes floatObject3 {
            0%, 100% { 
                transform: translate(0, 0) rotate(0deg);
            }
            50% { 
                transform: translate(40px, 40px) rotate(15deg);
            }
        }
        
        @keyframes floatObject4 {
            0%, 100% { 
                transform: translate(0, 0) scale(1);
            }
            50% { 
                transform: translate(-30px, -30px) scale(1.2);
            }
        }
        
        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, 30px) scale(1.1); }
        }
        
        /* Hero text animations */
        .landing-hero h1 {
            margin-bottom: 25px;
            line-height: 1.1;
            animation: fadeInUp 1s ease-out;
        }
        
        .landing-hero-subtitle {
            animation: fadeInUp 1.2s ease-out;
        }
        
        .landing-hero-cta {
            animation: fadeInUp 1.4s ease-out;
        }
        
        .landing-hero-stats {
            animation: fadeInUp 1.6s ease-out;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* ===== Primary button animation =====
           One definition, not two. Explicit z-index on each layer so paint
           order is deterministic: ring (-2) sits behind the fill (-1), which
           sits behind the label. No blur — that was what smeared it. */
        .landing-btn-primary {
            position: relative;
            overflow: visible;
        }

        .landing-btn-primary::before {
            content: '';
            position: absolute;
            inset: -3px;
            border-radius: inherit;
            background: linear-gradient(
                115deg,
                var(--accent),
                #7c9ff7,
                var(--primary),
                #5b8af5,
                var(--accent)
            );
            background-size: 260% 260%;
            animation: btnGlow 6s linear infinite;
            opacity: 0.85;
            transition: opacity 0.3s ease;
            z-index: -2;
        }

        /* Masks the middle of the ring so only the rim shows. */
        .landing-btn-primary::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: var(--primary);
            z-index: -1;
        }

        @keyframes btnGlow {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }

        /* Speed up on hover rather than freezing mid-sweep. */
        .landing-btn-primary:hover::before {
            opacity: 1;
            animation-duration: 2.5s;
        }

        @media (prefers-reduced-motion: reduce) {
            .landing-btn-primary::before {
                animation: none;
            }
        }
        
        .landing-hero-content {
            position: relative;
            z-index: 2;
            max-width: 900px;
            text-align: center;
            margin: 0 auto;
        }
        
        .landing-hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            background: rgba(34, 53, 221, 0.1);
            color: var(--primary);
            font-weight: 700;
            border-radius: 50px;
            font-size: 0.9rem;
            margin-bottom: 20px;
            border: 2px solid rgba(34, 53, 221, 0.2);
        }
        
        .landing-hero h1 {
            margin-bottom: 18px;
            line-height: 1.1;
        }
        
        .landing-hero-subtitle {
            font-size: clamp(1.05rem, 2vw, 1.35rem);
            color: var(--dark-bg);
            margin-bottom: 0;
            line-height: 1.6;
            opacity: 0.9;
        }
        
        .landing-hero-cta {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 32px;
        }
        
        /* Trimmed hard so hero + logos + stats clear 100vh on a laptop.
           The old block spent 160px on margin/padding alone before any text. */
        .landing-hero-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 16px;
            margin-top: 28px;
            padding-top: 24px;
            border-top: 2px solid rgba(34, 53, 221, 0.1);
        }
        
        .landing-stat-item {
            text-align: center;
            padding: 4px 12px;
        }
        
        .landing-stat-number {
            font-size: 2.1rem;
            font-weight: 900;
            color: var(--primary);
            display: block;
            margin-bottom: 4px;
        }
        
        .landing-stat-label {
            font-size: 0.95rem;
            color: var(--dark-bg);
            opacity: 0.8;
            line-height: 1.35;
        }
        
        /* Section Styles */
        .landing-section {
            padding: var(--section-padding) 0;
            position: relative;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
        }
        
        .landing-section-header {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 60px;
        }
        
        .landing-section-badge {
            display: inline-block;
            padding: 8px 20px;
            background: var(--light-bg);
            color: var(--primary);
            font-weight: 700;
            border-radius: 50px;
            font-size: 0.9rem;
            margin-bottom: 25px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .landing-section-title {
            margin-bottom: 25px;
        }
        
        .landing-section-description {
            font-size: 1.25rem;
            color: var(--dark-bg);
            opacity: 0.85;
            line-height: 1.7;
        }
        
        /* Pain Points Section - "BEFORE" */
        .landing-pain-section {
            background: linear-gradient(180deg, #ffffff 0%, #fef2f2 50%, #ffffff 100%);
            padding-left: clamp(40px, 6vw, 100px) !important;
            padding-right: clamp(40px, 6vw, 100px) !important;
        }
        
        .landing-pain-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 35px;
            margin-top: 60px;
        }
        
        .landing-pain-card {
            background: var(--white);
            padding: 45px;
            border-radius: 24px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 2px solid #fee2e2;
            position: relative;
        }
        
        .landing-pain-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
            border-radius: 0 24px 0 100%;
        }
        
        .landing-pain-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: #fca5a5;
        }
        
        .landing-pain-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            font-size: 2rem;
        }
        
        .landing-pain-card h3 {
            margin-bottom: 18px;
            color: #991b1b;
            font-size: 1.4rem;
        }
        
        .landing-pain-card p {
            color: var(--dark-bg);
            opacity: 0.85;
            line-height: 1.8;
            font-size: 1.05rem;
        }
        
        /* Desired Outcome Section - "AFTER" */
        .landing-outcome-section {
            background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 50%, #ffffff 100%);
            padding-left: clamp(40px, 6vw, 100px) !important;
            padding-right: clamp(40px, 6vw, 100px) !important;
        }
        
        .landing-outcome-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 35px;
            margin-top: 60px;
        }
        
        .landing-outcome-card {
            background: var(--white);
            padding: 45px;
            border-radius: 24px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 2px solid #d1fae5;
        }
        
        .landing-outcome-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: #6ee7b7;
        }
        
        .landing-outcome-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            font-size: 2rem;
        }
        
        .landing-outcome-card h3 {
            margin-bottom: 18px;
            color: #065f46;
            font-size: 1.4rem;
        }
        
        .landing-outcome-card p {
            color: var(--dark-bg);
            opacity: 0.85;
            line-height: 1.8;
            font-size: 1.05rem;
        }
        
        /* Solution Section - "BRIDGE" */
        .landing-solution-section {
            background: var(--white);
            padding-left: clamp(40px, 6vw, 100px) !important;
            padding-right: clamp(40px, 6vw, 100px) !important;
        }
        
        .landing-solution-showcase {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            margin-bottom: 100px;
        }
        
        .landing-solution-showcase:nth-child(even) {
            direction: rtl;
        }
        
        .landing-solution-content h3 {
            margin-bottom: 20px;
            font-size: 2.2rem;
        }
        
        .landing-solution-content p {
            font-size: 1.2rem;
            color: var(--dark-bg);
            opacity: 0.85;
            margin-bottom: 35px;
            line-height: 1.8;
        }
        
        .landing-solution-list {
            list-style: none;
            margin-bottom: 35px;
            padding: 0;
        }
        
        .landing-solution-list li {
            padding: 15px 0;
            padding-right: 45px;
            position: relative;
            font-size: 1.08rem;
            color: var(--dark-bg);
            opacity: 0.9;
            border-bottom: 1px solid rgba(34, 53, 221, 0.08);
        }
        
        .landing-solution-list li:last-child {
            border-bottom: none;
        }
        
        .landing-solution-list li::before {
            content: '→';
            position: absolute;
            right: 0;
            color: var(--primary);
            font-weight: 900;
            font-size: 1.5rem;
        }
        
        .landing-solution-image {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
        }
        
        .landing-solution-image img,
        .landing-solution-image svg {
            width: 100%;
            height: auto;
            display: block;
            transition: var(--transition);
            border: none;
            box-shadow: none;
        }
        
        .landing-solution-image:hover img,
        .landing-solution-image:hover svg {
            transform: scale(1.05);
        }

        /* Respect users who ask the OS to stop motion. */
        @media (prefers-reduced-motion: reduce) {
            .landing-solution-image svg * {
                animation: none !important;
            }
        }
        
        /* Process Section */
        .landing-process-section {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--dark-bg) 100%);
            color: var(--white);
            padding-left: clamp(40px, 6vw, 100px) !important;
            padding-right: clamp(40px, 6vw, 100px) !important;
        }
        
        .landing-process-section .landing-section-badge {
            background: rgba(255, 255, 255, 0.15);
            color: var(--white);
        }
        
        .landing-process-section .landing-section-title,
        .landing-process-section .landing-section-description {
            color: var(--white);
        }
        
        .landing-process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }
        
        .landing-process-step {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            padding: 45px 35px;
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
            position: relative;
        }
        
        .landing-process-step:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-8px);
        }
        
        .landing-process-number {
            position: absolute;
            top: -20px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--white);
        }
        
        .landing-process-step h4 {
            color: var(--white);
            margin-bottom: 18px;
            font-size: 1.5rem;
            margin-top: 30px;
        }
        
        .landing-process-step p {
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.7;
            font-size: 1.05rem;
        }
        
        /* FAQ Section */
        .landing-faq-container {
            max-width: 900px;
            margin: 0 auto;
        }
        
        .landing-faq-item {
            background: var(--white);
            border: 2px solid var(--gray-light);
            border-radius: 20px;
            margin-bottom: 25px;
            overflow: hidden;
            transition: var(--transition);
        }
        
        .landing-faq-item:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-md);
        }
        
        .landing-faq-question {
            padding: 28px 35px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            font-weight: 700;
            font-size: 1.15rem;
            color: var(--secondary);
            transition: var(--transition);
        }
        
        .landing-faq-question:hover {
            color: var(--primary);
        }
        
        .landing-faq-question > span:first-child {
            flex: 1;
            text-align: right;
        }
        
        .landing-faq-icon {
            width: 28px;
            height: 28px;
            min-width: 28px;
            min-height: 28px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 2rem;
            font-weight: 300;
            line-height: 1;
            position: relative;
            transition: all 0.3s ease;
        }
        
        /* Create + symbol using pseudo elements */
        .landing-faq-icon::before,
        .landing-faq-icon::after {
            content: '';
            position: absolute;
            background: var(--primary);
            transition: all 0.3s ease;
        }
        
        /* Vertical line of + */
        .landing-faq-icon::before {
            width: 3px;
            height: 18px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        /* Horizontal line of + */
        .landing-faq-icon::after {
            width: 18px;
            height: 3px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        /* When active, hide vertical line to make it - */
        .landing-faq-item.active .landing-faq-icon::before {
            opacity: 0;
            transform: translate(-50%, -50%) rotate(90deg);
        }
        
        /* Keep horizontal line for - */
        .landing-faq-item.active .landing-faq-icon::after {
            background: var(--accent);
        }
        
        .landing-faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .landing-faq-item.active .landing-faq-answer {
            max-height: 600px;
        }
        
        .landing-faq-answer-content {
            padding: 0 35px 35px;
            color: var(--dark-bg);
            opacity: 0.85;
            line-height: 1.8;
            font-size: 1.05rem;
        }
        
        /* CTA Section */
        .landing-cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: var(--white);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .landing-cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
        }
        
        .landing-cta-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .landing-cta-content h2 {
            color: var(--white);
            margin-bottom: 25px;
        }
        
        .landing-cta-content p {
            font-size: 1.35rem;
            margin-bottom: 45px;
            opacity: 0.95;
            line-height: 1.7;
        }
        
        .landing-btn-white {
            background: var(--white);
            color: var(--primary);
        }
        
        .landing-btn-white:hover {
            background: var(--light-bg);
            color: var(--primary);
            transform: scale(1.05);
        }
        
        /* CTA Social Media */
        .landing-cta-social {
            margin-top: 50px;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .landing-cta-social h4 {
            font-size: 1.1rem;
            margin-bottom: 25px;
            color: var(--white);
            font-weight: 600;
        }
        
        .landing-social-links {
            display: flex;
            gap: 20px;
            justify-content: center;
            align-items: center;
        }
        
        .landing-social-links a {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }
        
        .landing-social-links a:hover {
            background: var(--white);
            border-color: var(--white);
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .landing-social-links a svg {
            fill: var(--white);
            transition: var(--transition);
        }
        
        .landing-social-links a:hover svg {
            fill: var(--primary);
        }
        
        /* Dark theme adjustments for CTA social */
        body.dark-theme .landing-cta-section {
            background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
        }
        
        body.dark-theme .landing-social-links a {
            background: rgba(91, 138, 245, 0.2);
            border-color: rgba(91, 138, 245, 0.4);
        }
        
        body.dark-theme .landing-social-links a:hover {
            background: #5b8af5;
            border-color: #5b8af5;
        }
        
        body.dark-theme .landing-social-links a:hover svg {
            fill: var(--white);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            body {
                padding-top: 0; /* Header floats over content on mobile too */
            }

            .landing-header-container {
                height: 75px;
            }

            .landing-header-logo img {
                height: 42px;
            }

            .landing-mobile-toggle {
                display: flex;
                z-index: 1002;
            }

            /* Full-screen mobile menu overlay */
            .landing-header-nav {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100vw;
                height: 100vh;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                padding: 100px 30px 40px;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 12px;
                opacity: 0;
                visibility: hidden;
                transform: scale(0.95);
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                z-index: 1001;
                overflow-y: auto;
            }

            /* Dark theme full-screen menu */
            body.dark-theme .landing-header-nav {
                background: rgba(10, 11, 20, 0.98);
            }

            .landing-header-nav.active {
                transform: scale(1);
                opacity: 1;
                visibility: visible;
            }

            .landing-header-menu {
                flex-direction: column;
                gap: 10px;
                width: 100%;
                max-width: 320px;
                align-items: center;
                padding: 0;
                margin: 0;
            }

            .landing-header-menu li {
                width: 100%;
                text-align: center;
                list-style: none;
            }

            .landing-header-menu a {
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 14px 20px;
                background: var(--light-bg);
                border-radius: 12px;
                color: var(--secondary);
                width: 100%;
                text-align: center;
                font-size: 1.05rem;
                font-weight: 600;
            }

            /* Dark theme mobile menu items */
            body.dark-theme .landing-header-menu a {
                background: rgba(42, 45, 62, 0.8);
                color: #e4e7fd;
            }

            body.dark-theme .landing-header-menu a:hover {
                background: rgba(91, 138, 245, 0.2);
                color: #5b8af5;
            }

            .landing-header-actions {
                flex-direction: column;
                width: 100%;
                max-width: 320px;
                align-items: center;
                gap: 12px;
                margin-top: 10px;
            }

            .landing-lang-switcher,
            .landing-header-cta {
                width: 100%;
                justify-content: center;
                text-align: center;
            }

            .landing-header-cta {
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 0.9rem;
                padding: 12px 24px;
            }
            
            .landing-pain-section,
            .landing-outcome-section,
            .landing-solution-section,
            .landing-process-section {
                padding-left: 20px !important;
                padding-right: 20px !important;
            }
            
            .landing-hero-stats {
                grid-template-columns: 1fr;
            }
            
            .landing-pain-grid,
            .landing-outcome-grid,
            .landing-process-steps {
                grid-template-columns: 1fr;
            }
            
            .landing-solution-showcase {
                grid-template-columns: 1fr;
                gap: 50px;
            }
            
            .landing-solution-showcase:nth-child(even) {
                direction: ltr;
            }
            
            .landing-hero-cta {
                flex-direction: column;
            }
            
            .landing-btn {
                width: 100%;
                justify-content: center;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            h2 {
                font-size: 1.9rem;
            }
            
            /* CTA Social Mobile */
            .landing-cta-social {
                margin-top: 40px;
                padding-top: 30px;
            }
            
            .landing-cta-social h4 {
                font-size: 1rem;
                margin-bottom: 20px;
            }
            
            .landing-social-links {
                gap: 15px;
            }
            
            .landing-social-links a {
                width: 45px;
                height: 45px;
            }
        }
        
        @media (max-width: 1024px) and (min-width: 769px) {
            .landing-pain-grid,
            .landing-outcome-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .landing-process-steps {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Video CTA: play badge with a ripple that never stops — same pulse
           language as the illustrations further down the page. */
        .landing-btn-video {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .landing-btn-play {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            flex-shrink: 0;
            border-radius: 50%;
            background: var(--primary);
            color: var(--white);
            transition: var(--transition);
        }

        .landing-btn-play svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
            /* a play glyph points the same way in RTL — it is a transport
               control, not a directional arrow */
        }

        .landing-btn-play::before,
        .landing-btn-play::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 2px solid var(--primary);
            animation: videoPulse 2.6s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
        }

        .landing-btn-play::after {
            animation-delay: 1.3s;
        }

        @keyframes videoPulse {
            0% {
                transform: scale(1);
                opacity: 0.65;
            }
            75%, 100% {
                transform: scale(2.2);
                opacity: 0;
            }
        }

        .landing-btn-video:hover .landing-btn-play {
            background: var(--white);
            color: var(--primary);
        }

        .landing-btn-video:hover .landing-btn-play::before,
        .landing-btn-video:hover .landing-btn-play::after {
            border-color: var(--white);
        }

        body.dark-theme .landing-btn-play {
            background: #5b8af5;
            color: #0a0b14;
        }

        body.dark-theme .landing-btn-play::before,
        body.dark-theme .landing-btn-play::after {
            border-color: #5b8af5;
        }

        body.dark-theme .landing-btn-video:hover .landing-btn-play {
            background: #0a0b14;
            color: #5b8af5;
        }

        body.dark-theme .landing-btn-video:hover .landing-btn-play::before,
        body.dark-theme .landing-btn-video:hover .landing-btn-play::after {
            border-color: #0a0b14;
        }

        @media (prefers-reduced-motion: reduce) {
            .landing-btn-play::before,
            .landing-btn-play::after {
                animation: none;
                opacity: 0;
            }
        }

                /* ===== Video Modal =====
           A floating panel, deliberately NOT full screen: the page stays visible
           and only lightly dimmed behind it, so it reads as something sitting on
           top of the site that you can dismiss and carry on. */
        .landing-video-modal {
            position: fixed;
            inset: 0;
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 32px 24px;
            /* The dim lives on the fixed element itself, so it is one flat
               layer over the whole viewport with no seams. */
            background-color: rgba(5, 6, 15, 0.72);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
        }

        .landing-video-modal.is-open,
        .landing-video-modal:target {
            opacity: 1;
            pointer-events: auto;
        }

        /* Light dim only — the content behind stays readable. */
        /* Transparent click-catcher only; the dim itself is on the parent. */
        .landing-video-backdrop {
            position: absolute;
            inset: 0;
            background: transparent;
            cursor: pointer;
        }

        .landing-video-inner {
            position: relative;
            width: min(760px, 92vw);
            /* visible so the close button can sit on the outside corner */
            overflow: visible;
            transform: translateY(18px) scale(0.96);
            transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1);
        }

        .landing-video-modal.is-open .landing-video-inner,
        .landing-video-modal:target .landing-video-inner {
            transform: translateY(0) scale(1);
        }

        .landing-video-inner video {
            display: block;
            width: 100%;
            height: auto;
            max-height: 68vh;
            border-radius: 18px;
            background: #000;
            border: 1px solid rgba(255, 255, 255, 0.14);
            box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
        }

        /* High-contrast, outside the panel corner so it never covers the video. */
        .landing-video-close {
            position: absolute;
            top: -18px;
            inset-inline-end: -18px;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            padding: 0;
            border: 0;
            border-radius: 50%;
            background: var(--white);
            color: var(--secondary);
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
            transition: var(--transition);
        }

        .landing-video-close svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .landing-video-close:hover,
        .landing-video-close:focus-visible {
            background: var(--primary);
            color: var(--white);
            transform: rotate(90deg);
        }

        /* On narrow screens the outside corner would fall off-viewport. */
        @media (max-width: 600px) {
            .landing-video-inner {
                width: 100%;
            }

            .landing-video-close {
                top: -14px;
                inset-inline-end: -6px;
                width: 42px;
                height: 42px;
            }
        }

        /* ===== Storylane Demo Section ===== */
        .landing-demo-section {
            padding: var(--section-padding) 0 0;
            background: var(--light-bg);
            scroll-margin-top: 80px;
            /* same full-bleed pattern the other sections use */
            width: 100vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
            overflow-x: hidden;
        }

        body.dark-theme .landing-demo-section {
            background: #0d1020;
        }

        /* Edge to edge at the demo's own ratio. The frame must keep 1000:557
           (Storylane's snippet asks for padding-bottom: 55.66%) — the previous
           max-height: 84vh cap broke that: a clamped box went 100vw x 84vh,
           i.e. ~2.5:1, and Storylane letterboxed its 16:9 demo inside it with
           bars down both sides. That reads as "not full width". No cap. */
        .landing-demo-frame {
            position: relative;
            width: 100%;
            max-width: none;
            margin: 0;
            aspect-ratio: 1000 / 557;
            overflow: hidden;
            background: var(--white);
            border: 0;
            border-radius: 0;
        }

        /* Neutralise the inline padding-bottom sizing from the embed snippet. */
        .landing-demo-frame .sl-embed {
            position: absolute !important;
            top: 0;
            left: 0;
            width: 100% !important;
            height: 100% !important;
            padding-bottom: 0 !important;
        }

        body.dark-theme .landing-demo-frame {
            background: #12162b;
        }

        .landing-demo-frame iframe {
            border: 0 !important;
            display: block;
            background: transparent;
        }

        /* Deliberately NOT overridden on mobile: any ratio other than the
           demo's own puts bars back, which is the thing being fixed. */

        /* ===== Customer logo marquee (lives in the hero) =====
           Two identical halves inside one flex track; the track slides exactly
           -50%, so half two lands where half one started and the loop is
           seamless with no jump. direction: ltr because transform is not
           direction-aware — under the page's RTL the halves would lay out
           right-to-left and the -50% shift would tear the loop. */
        .landing-hero-logos {
            position: relative;
            margin-top: 30px;
            /* break out of .landing-container's 1200px cap + side padding */
            width: 100vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
            overflow: hidden;
            direction: ltr;
            /* dissolve into the hero background instead of cutting off hard */
            -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
        }

        .landing-logo-track {
            display: flex;
            align-items: center;
            width: max-content;
            animation: logoMarquee 34s linear infinite;
        }

        /* Let someone stop it to actually click a logo. */
        .landing-hero-logos:hover .landing-logo-track,
        .landing-hero-logos:focus-within .landing-logo-track {
            animation-play-state: paused;
        }

        @keyframes logoMarquee {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(-50%);
            }
        }

        /* Fixed width, not auto. The loop is only seamless while one half of
           the track is at least as wide as the viewport — with auto widths a
           half measured ~1600px, so on a normal desktop the strip ran out and
           visibly snapped back to the start. 12 x 240px = 2880px per half. */
        .landing-logo-item {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 240px;
            height: 64px;
            padding: 0 30px;
            box-sizing: border-box;
        }

        /* Shown in full colour. These are not flat monochrome wordmarks — one
           is a gold-crown mascot, the other a pastel candle emblem — so the
           usual grayscale logo-wall treatment turned both into gray blobs. */
        .landing-logo-item img {
            max-height: 100%;
            max-width: 180px;
            width: auto;
            opacity: 0.9;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .landing-logo-item:hover img,
        .landing-logo-item:focus-visible img {
            opacity: 1;
            transform: scale(1.06);
        }

        /* Arwa's wordmark is near-black and vanishes on the dark hero, so it
           ships as two files and the theme picks one. Smash needs no variant —
           its artwork already carries a light outline. Never a background:
           this page defaults to dark, so any "dark mode only" plate is what
           almost everyone would actually see. */
        .landing-logo-d {
            display: none;
        }

        body.dark-theme .landing-logo-l {
            display: none;
        }

        body.dark-theme .landing-logo-d {
            display: block;
        }

        @media (max-width: 600px) {
            .landing-hero-logos {
                margin-top: 22px;
            }

            .landing-logo-item {
                flex: 0 0 160px;
                height: 50px;
                padding: 0 18px;
            }

            .landing-logo-item img {
                max-width: 124px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .landing-logo-track {
                animation: none;
            }
        }

        /* ===== Mobile hero: everything above the fold on first paint =====
           Last block in the sheet on purpose — it has to win over the earlier
           768px rules without an !important arms race. Budget on a 390x660
           screen is roughly: 76 chrome + 40 badge + 105 title + 115 subtitle +
           100 buttons + 62 logos + 91 stats + 40 padding = ~629px. */
        @media (max-width: 768px) {
            .landing-hero {
                padding-top: 76px;
                padding-bottom: 28px;
            }

            .landing-hero-badge {
                padding: 6px 14px;
                font-size: 0.78rem;
                margin-bottom: 12px;
                border-width: 1px;
            }

            .landing-hero h1 {
                font-size: 1.75rem;
                margin-bottom: 12px;
            }

            .landing-hero-subtitle {
                font-size: 0.92rem;
                line-height: 1.55;
            }

            .landing-hero-cta {
                gap: 12px;
                margin-top: 20px;
            }

            .landing-hero-cta .landing-btn {
                padding: 12px 20px;
                font-size: 0.92rem;
            }

            .landing-hero-logos {
                margin-top: 18px;
            }

            .landing-logo-item {
                flex: 0 0 150px;
                height: 44px;
                padding: 0 16px;
            }

            .landing-logo-item img {
                max-width: 116px;
            }

            /* Three across, not stacked. The earlier 768px block sets 1fr,
               which costs three full rows — on its own that blew the budget. */
            .landing-hero-stats {
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;
                margin-top: 18px;
                padding-top: 14px;
            }

            .landing-stat-item {
                padding: 0 2px;
            }

            .landing-stat-number {
                font-size: 1.3rem;
                margin-bottom: 2px;
            }

            .landing-stat-label {
                font-size: 0.68rem;
                line-height: 1.3;
            }
        }

        /* Very short phones (SE-class, ~570px of usable height). */
        @media (max-width: 768px) and (max-height: 700px) {
            .landing-hero h1 {
                font-size: 1.55rem;
            }

            .landing-hero-subtitle {
                font-size: 0.86rem;
            }

            .landing-hero-logos {
                margin-top: 12px;
            }

            .landing-logo-item {
                height: 38px;
            }

            .landing-hero-stats {
                margin-top: 12px;
                padding-top: 10px;
            }
        }
