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

/* Ensure proper scrolling and fixed positioning */
html, body {
    height: 100%;
    overflow-x: hidden;
}

/* Force navbar to stay fixed */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transform: none !important;
    will-change: transform !important;
    /* contain removed to allow fixed children to overlay viewport */
}

body {
    -webkit-overflow-scrolling: touch;
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    /* Aggressive performance optimizations for better mobile scores */
    * {
        /* Reduce transitions for better performance */
        transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease !important;
        animation-duration: 0.3s !important;
    }
    
    /* Disable heavy animations but keep essential ones */
    .hero-illustration,
    .ai-brain,
    .neural-node,
    .icon-bg::before {
        animation: none !important;
    }
    
    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
        will-change: auto;
        /* loading/decoding are HTML attributes; removed from CSS */
        /* aspect-ratio via attr() is invalid; rely on width/height attrs */
        contain: layout style paint;
    }
    
    /* Prevent layout shifts */
    .hero-illustration,
    .ai-brain,
    .neural-node,
    .card,
    .scaling-card {
        contain: layout style paint;
        will-change: auto;
    }
    
    /* Selective shadow and filter optimizations for mobile */
    .hero-illustration,
    .ai-brain,
    .neural-node {
        box-shadow: none !important;
        filter: none !important;
    }
    
    /* Keep essential backdrop filters for better UX */
    .language-toggle,
    .scaling-card,
    .card-back {
        backdrop-filter: blur(10px) !important;
        contain: layout style paint;
        will-change: auto;
    }
    /* Remove costly blur on mobile navbar */
    .navbar { backdrop-filter: none !important; }
    
    /* Prevent navbar layout shifts */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        /* contain removed on mobile too */
    }
    
    .language-toggle {
        position: fixed !important;
        top: 110px !important;
        right: 24px !important;
        z-index: 10001 !important;
        contain: layout style paint;
    }
    
    /* Use solid colors instead of gradients on mobile */
    .hero, .home-hero {
        background: #0A0F1E !important;
        background-image: none !important;
    }
    
    /* Optimize hero content for faster LCP */
    .hero-content {
        contain: layout style paint;
        will-change: auto;
    }
    
    .hero-content h1 {
        contain: layout style paint;
        will-change: auto;
    }
    
    /* Show visuals on mobile with smaller footprint */
    .ai-training-visual, .business-transformation-visual {
        display: block !important;
    }
    .ai-training-visual, .business-transformation-visual {
        margin: 0 auto !important;
        max-width: 320px !important;
    }
    
    /* Optimize all images for mobile */
    img[loading="lazy"] {
        loading: lazy;
        decoding: async;
    }
    
    /* Critical images should load immediately */
    .hero img,
    .navbar img {
        /* use HTML attributes for loading/decoding, not CSS */
    }
    
    /* Optimize font rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeSpeed;
    }
    
    /* Preload critical fonts */
    @font-face {
        font-family: 'Sora';
        font-display: swap;
        font-display: optional;
    }
    
    /* Reduce font sizes on mobile */
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Mobile optimizations for new hero visuals */
    .training-hero .hero-content,
    .contact-hero .hero-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
        padding: 0 15px !important;
        contain: layout style paint;
    }
    
    /* Optimize hero for faster FCP and LCP */
    .hero {
        contain: layout style paint;
        will-change: auto;
        min-height: auto;
        display: flex;
        align-items: center;
        padding: 140px 0 80px;
    }
    
    .hero-content {
        contain: layout style paint;
        will-change: auto;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .training-hero .hero-text,
    .contact-hero .hero-text {
        text-align: center !important;
    }
    
    /* Fix AI training page mobile spacing */
    .training-hero {
        padding: 120px 0 80px !important;
    }
    
    .training-hero .hero-cta {
        justify-content: center !important;
        gap: 1rem !important;
    }
    
    .training-hero .hero-stats {
        justify-content: center !important;
        gap: 1.5rem !important;
    }
    
    .ai-training-visual {
        padding: 1rem !important;
        gap: 1.5rem !important;
    }
    
    .ai-brain {
        width: 200px !important;
        height: 200px !important;
    }
    
    .training-indicators {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .ai-brain {
        width: 250px !important;
        height: 250px !important;
    }
    
    .neural-node {
        width: 10px !important;
        height: 10px !important;
    }
    
    .training-indicators {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .transformation-flow {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .flow-arrow {
        transform: rotate(90deg) !important;
    }
    
    /* Fix contact page mobile spacing */
    .contact-hero {
        padding: 100px 0 60px !important;
    }
    
    .contact-hero .hero-cta {
        justify-content: center !important;
        gap: 1rem !important;
    }
    
    .business-transformation-visual {
        padding: 1rem !important;
        gap: 1.5rem !important;
    }
    
    .transformation-metrics {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .transformation-metrics {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .step-icon {
        font-size: 1.5rem !important;
    }
    
    .step-label {
        font-size: 0.8rem !important;
    }
    
    .metric-value {
        font-size: 1.2rem !important;
    }
}

/* Force specific styles for problematic sections - v1.7 (CLS optimized + animations) */
section.partners {
    padding: 80px 0 0 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

section.urgency-cta {
    padding: 80px 0 !important;
    margin: 0 !important;
}

p.section-subtitle {
    text-align: center !important;
    font-size: 1.2rem !important;
    margin: 0 auto 3rem auto !important;
    max-width: 600px !important;
    padding: 0 20px !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: #0A0F1E;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Optimize for mobile */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Language Toggle */
.language-toggle {
    position: fixed !important;
    top: 100px !important;
    right: max(20px, calc((100vw - 1200px)/2 + 20px)) !important;
    z-index: 10001 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 25px !important;
    padding: 0.5rem !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    gap: 0.2rem !important;
    width: auto !important;
    height: auto !important;
    min-width: 120px !important;
    min-height: 40px !important;
    contain: layout !important;
    will-change: transform !important;
}

.lang-btn {
    background: transparent;
    color: #B8C5D6;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
    width: auto !important;
    height: auto !important;
    contain: layout !important;
}

.lang-btn.active {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: #FFFFFF;
}

.lang-btn:hover:not(.active) {
    color: #FFFFFF;
    background: rgba(139, 92, 246, 0.2);
}

/* Language content visibility */
.hidden {
    display: none !important;
}

.en, .et, .ru {
    display: inline;
}

/* Ensure language elements are properly styled */
span.en, span.et, span.ru {
    display: inline;
}

/* Force hidden elements to stay hidden */
span.en.hidden, span.et.hidden, span.ru.hidden {
    display: none !important;
}

.lang-btn {
    background: transparent;
    color: #B8C5D6;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn.active {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: #FFFFFF;
}

.lang-btn:hover:not(.active) {
    color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Layout shift prevention - Enhanced CLS fixes */
img {
    max-width: 100%;
    height: auto;
}

/* Force aspect ratios for all images to prevent CLS */
.hero-visual img,
.team-card img,
.testimonial-author img,
.partner-logo img,
.team-image {
    object-fit: cover;
}

/* Ensure team images don't shift */
.team-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    contain: layout;
}

/* Ensure all containers have minimum heights */
.hero,
.hero-content,
.hero-visual,
.section,
.container,
.partners,
.urgency-cta,
.problems-section,
.how-it-works,
.testimonials {
    min-height: 0;
}

/* Prevent font loading shifts */
body {
    font-size-adjust: 0.5;
    /* Reserve space for fonts */
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Mobile optimization */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent font loading shifts for all text elements */
h1, h2, h3, h4, h5, h6, p, span, div, a, button {
}

/* Ensure buttons don't shift */
.btn {
    min-height: 48px;
    min-width: 120px;
    contain: layout;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Prevent language toggle shifts */
.language-toggle {
    contain: layout;
    min-width: 120px;
    min-height: 40px;
}

/* Hide language toggle on legal pages */
body:has(.legal-page) .language-toggle,
.legal-page .language-toggle {
    display: none !important;
}

/* Prevent stats shifts */
.stat-number,
.urgency-number {
    min-width: 60px;
    contain: layout;
    display: inline-block;
}

/* Prevent partner logo shifts */
.partner-logo {
    flex: 0 0 200px;
    height: 80px;
    min-height: 80px;
    contain: layout;
    aspect-ratio: 2.5/1;
}

/* Prevent testimonial shifts */
.testimonial-card {
    min-height: 200px;
    contain: layout;
}

/* Prevent step shifts */
.step {
    min-height: 300px;
    contain: layout;
}

/* Prevent problem card shifts */
.problem-card {
    min-height: 250px;
    contain: layout;
}

/* Prevent language content shifts */
.en, .et, .ru {
    display: inline;
    min-height: 1.2em;
    contain: layout;
}

/* Ensure language toggle consistency across all pages */
.language-toggle {
    contain: layout style paint !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Ensure language buttons don't change size */
.lang-btn {
    contain: layout style paint !important;
    transform: none !important;
    transition: color 0.3s ease, background 0.3s ease !important;
    animation: none !important;
}

    /* Prevent urgency stats shifts */
    .urgency-stats {
        display: flex;
        justify-content: center;
        gap: 3rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
        contain: layout;
    }
    
    .urgency-stat {
        text-align: center;
        min-width: 120px;
        contain: layout;
    }
    
    /* Mobile urgency stats improvements */
    @media (max-width: 768px) {
        .urgency-stats {
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .urgency-stat {
            min-width: 100px;
        }
        
        .urgency-content h2 {
            font-size: 2rem !important;
        }
        
        .urgency-content p {
            font-size: 1rem !important;
            line-height: 1.5 !important;
        }
    }

/* Prevent testimonials carousel shifts */
.testimonials-carousel {
    overflow: hidden;
    position: relative;
    contain: layout;
}

.testimonials-track {
    display: flex;
    animation: scroll-testimonials 60s linear infinite;
    contain: layout;
}

/* Prevent steps grid shifts */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    contain: layout;
}

/* Prevent problems grid shifts */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    contain: layout;
}

/* Aggressive CLS prevention - v1.7 */
* {
    contain: layout;
}

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

/* Add scroll-triggered animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for grid items */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.stagger-animation.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-animation.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Force stable dimensions for all interactive elements */
.btn, .btn-primary, .btn-secondary, .btn-large {
    min-height: 48px;
    min-width: 120px;
    contain: layout;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Prevent all text shifts */
h1, h2, h3, h4, h5, h6, p, span, div {
    contain: layout;
    min-height: 1.2em;
}

/* Prevent image shifts */
img {
    max-width: 100%;
    height: auto;
    contain: layout;
}

/* Force partner logos to maintain dimensions */
.partner-logo img {
    width: 120px !important;
    height: 40px !important;
    aspect-ratio: 3/1 !important;
    contain: layout !important;
    object-fit: contain !important;
}

/* Force team images to maintain dimensions */
.team-image {
    width: 100% !important;
    height: 300px !important;
    aspect-ratio: 3/4 !important;
    contain: layout !important;
    object-fit: cover !important;
}

/* Prevent navigation shifts */
.navbar, .nav-container, .language-toggle {
    /* contain removed to prevent creating fixed containing block */
    min-height: 70px;
}

/* Prevent footer shifts */
.footer, .footer-content, .footer-section {
    contain: layout;
    min-height: 200px;
}

/* Prevent carousel shifts */
.partners-carousel, .testimonials-carousel {
    contain: layout;
    min-height: 100px;
}

/* Force partners animation to work */
section.partners .partners-carousel {
    overflow: hidden !important;
}

section.partners .partners-track {
    animation: scroll 30s linear infinite !important;
    will-change: transform;
}

/* Prevent grid shifts */
.steps-grid, .problems-grid, .team-grid {
    contain: layout;
    min-height: 400px;
}

/* Reserve space for images */
.hero-visual {
    min-height: 300px;
    contain: layout;
}

/* Prevent text layout shift */
.hero-title, .hero-subtitle {
    contain: layout;
}

/* Prevent button layout shift */
.btn {
    contain: layout;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #B8C5D6;
}

a {
    color: #00FFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFFFFF;
}

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(10, 15, 30, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 9999 !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1) !important;
    will-change: transform !important;
    /* contain removed */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    min-height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B5CF6;
    margin-left: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #B8C5D6;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #FFFFFF;
}

.cta-button {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: #FFFFFF !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    color: #FFFFFF !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.hamburger:hover { background: rgba(255, 255, 255, 0.12); }
.hamburger:focus-visible { outline: 2px solid #A855F7; outline-offset: 2px; }

.hamburger span {
    width: 22px;
    height: 2.5px;
    background: #FFFFFF;
    margin: 4px 0;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
    transform-origin: center;
}

/* Mobile hamburger styles */
@media (max-width: 768px) {
    .hamburger { display: flex !important; cursor: pointer !important; z-index: 10001 !important; }
    .hamburger span { background: #FFFFFF !important; }
    .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); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* General button styles */
.btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: #FFFFFF;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    color: #8B5CF6;
    border: 2px solid #8B5CF6;
}

.btn-secondary:hover {
    background: #8B5CF6;
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section - Professional for all pages */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0A0F1E 0%, #1E1B4B 25%, #312E81 50%, #3730A3 75%, #4338CA 100%);
    position: relative;
    overflow: hidden;
}

/* Professional Hero Content for non-home pages */
.hero:not(.home-hero) .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero:not(.home-hero) .hero-text {
    text-align: left;
}

.hero:not(.home-hero) .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    line-height: 1.2;
}

.hero:not(.home-hero) .hero-title .highlight {
    color: #8B5CF6;
    font-weight: 800;
}

.hero:not(.home-hero) .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #B8C5D6;
}

.hero:not(.home-hero) .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.hero:not(.home-hero) .btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero:not(.home-hero) .btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.hero:not(.home-hero) .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #A855F7, #C084FC);
}

.hero:not(.home-hero) .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero:not(.home-hero) .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero:not(.home-hero) .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero:not(.home-hero) .hero-illustration {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
}

/* Home Page Hero with Beautiful Gradient */
.home-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #8b5cf6 50%, #a855f7 75%, #c084fc 100%);
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 50%, rgba(192, 132, 252, 0.1) 100%);
    z-index: 0;
    pointer-events: none;
}

.home-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

/* Professional Home Page Hero Styling */
.home-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Home hero spacing to center content with breathing room */
.home-hero { min-height: auto; padding: 180px 0 120px; }
.home-hero .hero-content { min-height: auto; }

/* RU heading: keep to two lines without changing font size */
@media (min-width: 1024px) {
  html[lang="ru"] .home-hero .hero-title { max-width: 720px !important; line-height: 1.2 !important; }
  html[lang="ru"] .home-hero .hero-title .highlight { white-space: nowrap; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  html[lang="ru"] .home-hero .hero-title { max-width: 680px !important; }
  html[lang="ru"] .home-hero .hero-title .highlight { white-space: nowrap; }
}

.home-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.home-hero .hero-title:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
}

.home-hero .hero-title .highlight {
    color: #8B5CF6;
    font-weight: 800;
}

.home-hero .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #B8C5D6;
    transition: all 0.3s ease;
}

.home-hero .hero-subtitle:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Professional CTA Buttons - HOME PAGE */
.home-hero .hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.home-hero .hero-cta .btn {
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    display: inline-block !important;
    cursor: pointer !important;
    animation: none !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 20 !important;
}

.home-hero .hero-cta .btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #A855F7) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3) !important;
    animation: none !important;
}

.home-hero .hero-cta .btn-primary:hover {
    transform: translateY(-15px) scale(1.1) !important;
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.8) !important;
    background: linear-gradient(135deg, #A855F7, #C084FC) !important;
    color: white !important;
    border: 4px solid #C084FC !important;
    animation: none !important;
    z-index: 10 !important;
}

.home-hero .hero-cta .btn-secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.home-hero .hero-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    transform: translateY(-15px) scale(1.1) !important;
    color: white !important;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.4) !important;
    z-index: 10 !important;
}

/* Professional Stats Section - HOME PAGE */
.home-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.home-hero .hero-stats .stat {
    text-align: center;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.home-hero .hero-stats .stat:hover {
    transform: translateY(-3px) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2) !important;
}

.home-hero .hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #8B5CF6;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    display: block;
}

.home-hero .hero-stats .stat:hover .stat-number {
    color: #A855F7 !important;
    transform: scale(1.05) !important;
}

.home-hero .hero-stats .stat-label {
    font-size: 0.9rem;
    color: #B8C5D6;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.home-hero .hero-stats .stat:hover .stat-label {
    color: #FFFFFF !important;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #B8C5D6;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}



.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #8B5CF6;
}

.stat-label {
    font-size: 0.9rem;
    color: #B8C5D6;
}

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

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease;
}

.hero-illustration:hover {
    transform: translateY(-10px);
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.95) 0%, rgba(15, 20, 36, 0.95) 100%);
    position: relative;
}

/* Scaling Wall Section */
.scaling-wall {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.95) 0%, rgba(15, 20, 36, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.scaling-wall::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.scaling-header {
    text-align: center;
    margin-bottom: 4rem;
}

.scaling-header .section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF, #B8C5D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scaling-header .section-subtitle {
    font-size: 1.2rem;
    color: #B8C5D6;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.scaling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.scaling-card {
    position: relative;
    height: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: cardEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.scaling-card[data-delay="0"] { animation-delay: 0.1s; }
.scaling-card[data-delay="200"] { animation-delay: 0.3s; }
.scaling-card[data-delay="400"] { animation-delay: 0.5s; }

.scaling-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3) !important;
}

.card-front {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    backdrop-filter: blur(15px);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 1;
}

.scaling-card:hover .card-back {
    opacity: 1;
    transform: translateY(0);
}

.scaling-card:hover .card-front {
    opacity: 0;
    transform: translateY(-100%);
}

.card-icon {
    margin-bottom: 1.5rem;
    position: relative;
}

.icon-bg {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    animation: iconPulse 2s ease-in-out infinite;
}

.icon-bg::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.3));
    border-radius: 50%;
    z-index: -1;
    animation: iconGlow 3s ease-in-out infinite;
}

.card-front h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.pain-metric {
    margin-bottom: 1.5rem;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6B6B;
    margin-bottom: 0.5rem;
    animation: numberPulse 2s ease-in-out infinite;
}

.metric-label {
    font-size: 0.9rem;
    color: #B8C5D6;
    font-weight: 500;
}

.hover-hint {
    font-size: 0.8rem;
    color: #8B5CF6;
    opacity: 0.7;
    font-style: italic;
    animation: hintFade 2s ease-in-out infinite;
}

/* Card Back Styles */
.solution-preview h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.solution-benefit {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    animation: benefitGlow 2s ease-in-out infinite;
}

.solution-cta {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.solution-cta:hover::before {
    left: 100%;
}

.solution-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* Animations */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes iconGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes benefitGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.6); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Professional hero mobile layout */
    .hero:not(.home-hero) .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero:not(.home-hero) .hero-text {
        text-align: center;
    }
    
    .hero:not(.home-hero) .hero-title {
        font-size: 2.5rem;
    }
    
    .hero:not(.home-hero) .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero:not(.home-hero) .hero-cta {
        justify-content: center;
    }
    
    .hero:not(.home-hero) .hero-visual {
        min-height: 300px;
    }
    
    .scaling-wall {
        padding: 60px 0;
    }
    
    .scaling-header .section-title {
        font-size: 2rem;
    }
    
    .scaling-header .section-subtitle {
        font-size: 1rem;
    }
    
    .scaling-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .scaling-card {
        height: 350px;
    }
    
    .card-front,
    .card-back {
        padding: 1.5rem;
    }
    
    .card-front h3 {
        font-size: 1.2rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .icon-bg {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Mobile tap effect - improved for touch devices */
    .scaling-card {
        cursor: pointer;
    }
    
    .scaling-card:hover,
    .scaling-card:active {
        transform: translateY(-5px);
    }
    
    .scaling-card.active .card-front {
        opacity: 0;
        transform: translateY(-100%);
    }
    
    .scaling-card.active .card-back {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Ensure cards are visible and properly sized on mobile */
    .scaling-card {
        min-height: 300px;
        margin-bottom: 1rem;
    }
    
    .card-front,
    .card-back {
        min-height: 300px;
    }
}



/* Partners Section - Updated spacing */
.partners {
    padding: 80px 0 0 0 !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    text-align: center !important;
}



/* Urgency CTA Section */
.urgency-cta {
    padding: 80px 0 !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%) !important;
    position: relative !important;
    border-top: 1px solid rgba(139, 92, 246, 0.2) !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2) !important;
    margin: 0 !important;
}

.urgency-content {
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.urgency-content h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    background: linear-gradient(135deg, #FFFFFF, #B8C5D6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center !important;
}

.urgency-content p {
    font-size: 1.2rem !important;
    color: #B8C5D6 !important;
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

.urgency-stats {
    display: flex !important;
    justify-content: center !important;
    gap: 3rem !important;
    margin-bottom: 2.5rem !important;
    flex-wrap: wrap !important;
}

.urgency-stat {
    text-align: center !important;
    animation: fadeInUp 0.8s ease-out;
}

.urgency-stat:nth-child(1) { animation-delay: 0.2s; }
.urgency-stat:nth-child(2) { animation-delay: 0.4s; }
.urgency-stat:nth-child(3) { animation-delay: 0.6s; }

.urgency-number {
    display: block !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #8B5CF6 !important;
    margin-bottom: 0.5rem !important;
}

.urgency-label {
    font-size: 0.9rem !important;
    color: #B8C5D6 !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center !important;
    margin-bottom: 3rem !important;
    font-size: 1.2rem !important;
    color: #B8C5D6 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
}

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

.problem-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    min-height: 320px;
    animation: fadeInUp 0.6s ease-out;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }

.problem-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
}

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

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #8B5CF6;
}

.problem-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.problem-cost {
    font-size: 1rem;
    color: #FF6B6B;
    font-weight: 600;
    background: rgba(255, 107, 107, 0.15);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.problem-fix {
    font-size: 1rem;
    color: #51CF66;
    font-weight: 600;
    background: rgba(81, 207, 102, 0.15);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(81, 207, 102, 0.2);
}

.proof-badge {
    font-size: 0.9rem;
    color: #8B5CF6;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.15);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.problem-link {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.problem-link:hover {
    color: #A855F7;
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* Mobile responsive for problems section */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .problem-card {
        padding: 1.5rem;
    }
    
    .urgency-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B5CF6, #A855F7);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px 16px 0 0;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #8B5CF6;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
    transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(139, 92, 246, 0.4));
}



/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(15, 20, 36, 0.9) 100%);
    position: relative;
}

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

.solution-subtitle {
    font-size: 1.25rem;
    color: #B8C5D6;
    margin-bottom: 2rem;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    margin-bottom: 0.5rem;
}

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

.solution-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(15, 20, 36, 0.9) 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 120px;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

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

/* Steps responsive breakpoints */
@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .steps-grid { grid-template-columns: 1fr; }
}

.step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.step:hover::before {
    left: 100%;
}

.step:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.step:nth-child(1):hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.2);
}

.step:nth-child(2):hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
}

.step:nth-child(3):hover {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.2);
}

.step:nth-child(4):hover {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 25px 50px rgba(236, 72, 153, 0.2);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
}

.step:nth-child(1):hover .step-number {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.5);
}

.step:nth-child(2):hover .step-number {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
}

.step:nth-child(3):hover .step-number {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

.step:nth-child(4):hover .step-number {
    background: linear-gradient(135deg, #EC4899, #DB2777);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.5);
}

.step h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.step:hover h3 {
    color: #8B5CF6;
    transform: translateY(-2px);
}

.step p {
    color: #B8C5D6;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.step:hover p {
    color: #FFFFFF;
}

.step-duration {
    background: rgba(139, 92, 246, 0.15);
    color: #8B5CF6;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.step:hover .step-duration {
    background: rgba(139, 92, 246, 0.25);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Step entrance animations */
@keyframes stepFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step {
    animation: stepFadeInUp 0.6s ease forwards;
    opacity: 0;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

/* Floating animation for step numbers */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.step-number {
    animation: float 3s ease-in-out infinite;
}

.step:nth-child(1) .step-number { animation-delay: 0s; }
.step:nth-child(2) .step-number { animation-delay: 0.5s; }
.step:nth-child(3) .step-number { animation-delay: 1s; }
.step:nth-child(4) .step-number { animation-delay: 1.5s; }

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 20, 36, 0.9) 0%, rgba(10, 15, 30, 0.9) 100%);
    position: relative;
}

.testimonials-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
}

.testimonials-track {
    display: flex;
    animation: scroll-testimonials 40s linear infinite;
    width: calc(400px * 12); /* 6 testimonials × 2 (duplicated for seamless loop) */
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    flex: 0 0 400px;
    margin: 0 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.testimonial-logo img {
    max-width: 120px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-logo img {
    opacity: 1;
}

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

.author-info h4 {
    color: #8B5CF6;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #B8C5D6;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 20, 36, 0.9) 0%, rgba(26, 31, 46, 0.9) 100%);
    position: relative;
    text-align: center;
}

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

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

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-note {
    color: #B8C5D6;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(15, 20, 36, 0.9) 100%);
    position: relative;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #8B5CF6;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #B8C5D6;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8B5CF6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    color: #B8C5D6;
}

/* AI Agents Page Specific Styles */

.agents-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(15, 20, 36, 0.9) 100%);
    position: relative;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.agent-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.agent-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.agent-card:hover::before {
    transform: scaleX(1);
}

.agent-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.agent-image {
    width: 160px;
    height: 240px;
    margin: 0 auto 1rem;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.agent-card:hover .agent-image {
    transform: scale(1.1);
    background: rgba(139, 92, 246, 0.2);
}

.agent-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.agent-description {
    color: #B8C5D6;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.agent-benefits {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.benefit {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.agent-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Content Section for Legal Pages */
.content-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A0F1E 0%, #1E1B4B 50%, #312E81 100%);
    min-height: 100vh;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper h2 {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #8B5CF6;
    padding-bottom: 0.5rem;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper p {
    color: #B8C5D6;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    color: #B8C5D6;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

.content-wrapper a {
    color: #8B5CF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-wrapper a:hover {
    color: #A855F7;
    text-decoration: underline;
}

/* Enhanced Styling for Legal Pages */
.content-wrapper .policy-intro {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid #8B5CF6;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.content-wrapper h3 {
    color: #8B5CF6;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.content-wrapper strong {
    color: #FFFFFF;
    font-weight: 600;
}

.content-wrapper .contact-info {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.content-wrapper .contact-info p {
    margin-bottom: 0.5rem;
}

.content-wrapper .contact-info a {
    color: #8B5CF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-wrapper .contact-info a:hover {
    color: #A855F7;
    text-decoration: underline;
}

.hero-description {
    color: #B8C5D6;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 768px) {
    .content-section {
        padding: 60px 0;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    .content-wrapper h2 {
        font-size: 1.5rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .content-wrapper h3 {
        font-size: 1.2rem;
    }
    
    .content-wrapper p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .content-wrapper ul {
        font-size: 1rem;
        line-height: 1.6;
        padding-left: 1.5rem;
    }
    
    .content-wrapper .policy-intro {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .content-wrapper .contact-info {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

.custom-solutions {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 20, 36, 0.9) 0%, rgba(10, 15, 30, 0.9) 100%);
    position: relative;
}

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

.custom-benefits {
    list-style: none;
    margin: 2rem 0;
}

.custom-benefits li {
    margin-bottom: 0.75rem;
    color: #B8C5D6;
}

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

.custom-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* AI Training Page Specific Styles */
.training-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.95) 0%, rgba(26, 31, 46, 0.95) 50%, rgba(139, 92, 246, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.training-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.training-hero .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: 2rem;
}

.training-hero .hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* AI Training Visual Elements */
.ai-training-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.visual-element {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.ai-brain {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 70%, transparent 100%);
    border: 2px solid rgba(139, 92, 246, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

.neural-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite alternate;
}

.neural-node:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.neural-node:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.2s; }
.neural-node:nth-child(3) { top: 50%; left: 10%; animation-delay: 0.4s; }
.neural-node:nth-child(4) { top: 50%; right: 10%; animation-delay: 0.6s; }
.neural-node:nth-child(5) { bottom: 20%; left: 20%; animation-delay: 0.8s; }
.neural-node:nth-child(6) { bottom: 20%; right: 20%; animation-delay: 1s; }
.neural-node:nth-child(7) { top: 35%; left: 35%; animation-delay: 1.2s; }
.neural-node:nth-child(8) { top: 35%; right: 35%; animation-delay: 1.4s; }
.neural-node:nth-child(9) { bottom: 35%; left: 35%; animation-delay: 1.6s; }
.neural-node:nth-child(10) { bottom: 35%; right: 35%; animation-delay: 1.8s; }
.neural-node:nth-child(11) { top: 15%; left: 50%; animation-delay: 2s; }
.neural-node:nth-child(12) { bottom: 15%; left: 50%; animation-delay: 2.2s; }

.training-indicators {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 2rem;
}

.indicator {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    color: #8B5CF6;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

.indicator:nth-child(1) { animation-delay: 0.2s; }
.indicator:nth-child(2) { animation-delay: 0.4s; }
.indicator:nth-child(3) { animation-delay: 0.6s; }

.indicator:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
}

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

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(139, 92, 246, 0.5); }
    100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.8), 0 0 25px rgba(139, 92, 246, 0.4); }
}

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

.workshop-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 20, 36, 0.9) 0%, rgba(10, 15, 30, 0.9) 100%);
    position: relative;
}

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

.overview-subtitle {
    font-size: 1.25rem;
    color: #B8C5D6;
    margin-bottom: 2rem;
}

.overview-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.overview-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.overview-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.agenda-section {
    padding: 80px 0;
    background: #0A0F1E;
}

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

.agenda-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.agenda-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
}

.agenda-time {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.agenda-points {
    list-style: none;
    margin-top: 1rem;
}

.agenda-points li {
    margin-bottom: 0.5rem;
    color: #B8C5D6;
    position: relative;
    padding-left: 1.5rem;
}

.agenda-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-weight: bold;
}

.audience-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(15, 20, 36, 0.9) 100%);
    position: relative;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.audience-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(15, 20, 36, 0.9) 100%);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: #8B5CF6;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #8B5CF6;
    margin: 1rem 0;
}

.price-note {
    color: #B8C5D6;
    font-size: 0.9rem;
}

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

.pricing-features li {
    margin-bottom: 0.75rem;
    color: #B8C5D6;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Performance Optimizations */
    body {
        /* Optimize scrolling */
        -webkit-overflow-scrolling: touch;
    }
    
    /* Language Toggle Mobile - Fixed Position */
    .language-toggle {
        position: fixed !important;
        top: 120px !important;
        right: 24px !important;
        padding: 0.3rem !important;
        background: rgba(10, 15, 30, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(15px) !important;
        z-index: 10001 !important;
        width: auto !important;
        height: auto !important;
        min-width: 100px !important;
        min-height: 35px !important;
        display: flex !important;
        gap: 0.2rem !important;
        border-radius: 25px !important;
        transform: none !important;
        transition: none !important;
        contain: layout style paint !important;
        will-change: transform !important;
        pointer-events: auto !important;
        /* Ensure it stays on top */
        position: fixed !important;
        top: 120px !important;
        right: 15px !important;
    }
    
    .lang-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
        min-width: 35px;
    }
    
    /* Ensure content doesn't overlap with fixed navigation and language toggle */
    .hero {
        padding-top: 160px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        margin-top: 20px;
    }
    
    /* Remove previous hard-coded hero spacing; use per-page rules above */
    
    /* Extra small mobile devices */
    @media (max-width: 480px) {
    .language-toggle {
        top: 110px;
        right: 16px;
        padding: 0.25rem;
    }
        
        .lang-btn {
            padding: 0.25rem 0.6rem;
            font-size: 0.75rem;
            min-width: 30px;
        }
        
        .hero {
            padding-top: 130px;
        }
    }
    
    /* Navigation Mobile - Fixed Header */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        background: rgba(10, 15, 30, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        z-index: 9999 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 1rem 0 !important;
        transform: none !important;
        transition: none !important;
        will-change: transform !important;
        /* contain removed */
    }
    
    .hamburger {
        display: flex !important;
        cursor: pointer !important;
        z-index: 10001 !important;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
        margin-left: 8px;
    }
    
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        flex-direction: column !important;
        background-color: rgba(10, 15, 30, 0.98) !important; /* nearly opaque */
        width: 100% !important;
        height: 100vh !important;
        text-align: center !important;
        transition: left 0.3s ease !important;
        backdrop-filter: blur(15px) !important;
        padding: 80px 0 2rem 0 !important; /* leave space for fixed navbar */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        z-index: 10002 !important;
        overflow-y: auto !important;
        pointer-events: none;
    }

    .nav-menu.active {
        left: 0 !important;
        pointer-events: auto;
    }

    /* Ensure links are clearly visible and easy to tap */
    .nav-menu .nav-link {
        color: #FFFFFF !important;
        font-size: 1.25rem !important;
        padding: 1.1rem 0 !important;
        display: block !important;
    }
    .nav-menu li { list-style: none !important; }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    
    .nav-menu .cta-button {
        display: inline-block !important;
        margin: 2rem auto 0 auto !important;
        padding: 0.9rem 1.6rem !important;
        background: linear-gradient(135deg, #8B5CF6, #A855F7) !important;
        color: #fff !important;
        border-radius: 28px !important;
        border: none !important;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    /* Social Proof Mobile */
    .social-proof {
        padding: 40px 0;
    }
    
    .proof-stats {
        gap: 2rem;
    }
    
    .proof-number {
        font-size: 2rem;
    }
    
    .proof-title {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat {
        min-width: 120px;
    }

    /* Partners Carousel Mobile */
    .partners-track {
        animation: scroll 20s linear infinite; /* Slower animation on mobile */
        width: calc(140px * 15); /* Adjusted for mobile logo size */
    }
    
    .partner-logo {
        flex: 0 0 140px;
        height: 60px;
        margin: 0 10px;
    }
    
    .partner-logo img {
        width: 120px;
        height: 40px;
        min-width: 120px;
        min-height: 40px;
        object-fit: contain;
    }
    
    /* Progressive loading - show logos as they become visible */
    .partner-logo.additional-logo {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .partner-logo.additional-logo.loaded {
        opacity: 1;
    }
    
    /* Hide partners section on mobile initially for better performance */
    .partners {
        display: none !important;
    }
    
    /* Show partners section only after page load on mobile */
    .partners.loaded {
        display: block !important;
    }

    /* Content Grids Mobile */
    .solution-content,
    .custom-content,
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Fix 4 steps layout on mobile */
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-top: 2rem !important;
    }
    
    .step {
        padding: 2rem 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .step-number {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .step h3 {
        font-size: 1.3rem !important;
    }
    
    .step p {
        font-size: 0.95rem !important;
    }
    
    .step-duration {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
    }

    .section-title {
        font-size: 2rem;
    }



    .agents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .agent-card {
        padding: 1.5rem;
    }
    
    .agent-image {
        width: 120px;
        height: 180px;
    }

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

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* FAQ Mobile */
    .faq-grid {
        gap: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    /* Contact Info Mobile */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    /* Mobile performance optimizations */
    .partners-carousel {
        animation-duration: 30s !important;
    }
    
    .partners-track {
        animation-duration: 30s !important;
    }
    
    /* Reduce animation complexity on mobile */
    .step {
        animation: none !important;
        opacity: 1 !important;
    }
    
    .step-number {
        animation: none !important;
    }
    
    /* Optimize partner logos for mobile */
    .partner-logo img {
        width: 80px !important;
        height: auto !important;
        max-height: 30px !important;
    }
}

@media (max-width: 480px) {
    /* Container and spacing */
    .container {
        padding: 0 15px;
    }
    
    /* Language Toggle Small Mobile */
    .language-toggle {
        position: fixed;
        top: 90px;
        right: 10px;
        padding: 0.2rem;
        z-index: 1000;
    }
    
    .lang-btn {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }

    /* Typography Small Mobile */
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    /* Buttons Small Mobile */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Hero Section Small Mobile */
    .hero {
        padding: 120px 0 50px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-cta .btn {
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Navigation Small Mobile */
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 1.1rem;
        margin-left: 6px;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    /* Cards Small Mobile */
    .problem-card,
    .solution-card,
    .agent-card,
    .pricing-card,
    .testimonial-card,
    .team-card,
    .value-card,
    .info-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    /* Agent Images Small Mobile */
    .agent-image {
        width: 100px;
        height: 150px;
    }
    
    /* Partners Small Mobile */
    .partner-logo {
        flex: 0 0 120px;
        height: 50px;
        margin: 0 10px;
    }
    
    /* FAQ Small Mobile */
    .faq-question {
        padding: 0.8rem;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 0 0.8rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Tablet Breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .card:hover,
    .nav-link:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn:active,
    .card:active,
    .nav-link:active {
        transform: scale(0.98);
    }
    
    .hamburger:active span {
        background: #A855F7;
    }
    
    .lang-btn:active {
        background: rgba(139, 92, 246, 0.2);
    }
}

/* Mobile menu backdrop */
.nav-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9000; /* sit below navbar/menu */
    pointer-events: none;
}
.nav-backdrop.active { opacity: 1; pointer-events: auto; }

/* Consistent fixed placement for header and language toggle */
.navbar { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 10010 !important; }
.language-toggle { position: fixed !important; top: 96px !important; right: 16px !important; z-index: 10011 !important; }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.bounce-in {
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hover animations */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* Pulse animation for CTAs */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Partners & Clients Carousel */
.partners-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(15, 20, 36, 0.9) 0%, rgba(10, 15, 30, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 2rem;
    /* Ensure carousel is visible */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 15); /* 15 logos total */
    animation-fill-mode: none;
    /* Ensure track is visible */
    opacity: 1 !important;
    visibility: visible !important;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex: 0 0 200px;
    height: 80px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    /* Prevent layout shift */
    aspect-ratio: 2.5/1;
    contain: layout;
    /* Ensure containers are visible */
    opacity: 1 !important;
    visibility: visible !important;
    /* Center logos properly */
    min-width: 200px;
    min-height: 80px;
}

.partner-logo:hover {
    transform: scale(1.15);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

/* Add smooth animations for partner logos - but don't interfere with scroll */
.partner-logo {
    animation: fadeInScale 0.8s ease-out;
    animation-fill-mode: both;
    animation-delay: 0s;
}

.partner-logo:nth-child(1) { animation-delay: 0.1s; }
.partner-logo:nth-child(2) { animation-delay: 0.2s; }
.partner-logo:nth-child(3) { animation-delay: 0.3s; }
.partner-logo:nth-child(4) { animation-delay: 0.4s; }
.partner-logo:nth-child(5) { animation-delay: 0.5s; }
.partner-logo:nth-child(6) { animation-delay: 0.6s; }
.partner-logo:nth-child(7) { animation-delay: 0.7s; }
.partner-logo:nth-child(8) { animation-delay: 0.8s; }
.partner-logo:nth-child(9) { animation-delay: 0.9s; }
.partner-logo:nth-child(10) { animation-delay: 1.0s; }
.partner-logo:nth-child(11) { animation-delay: 1.1s; }
.partner-logo:nth-child(12) { animation-delay: 1.2s; }
.partner-logo:nth-child(13) { animation-delay: 1.3s; }
.partner-logo:nth-child(14) { animation-delay: 1.4s; }
.partner-logo:nth-child(15) { animation-delay: 1.5s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.partner-logo img {
    max-width: 90%;
    max-height: 70%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.3);
    transition: all 0.3s ease;
    width: 120px;
    height: 40px;
    /* Ensure logos are visible */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    /* Hosting compatibility */
    min-width: 120px;
    min-height: 40px;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

.partner-logo img[src*="Meerhof"] {
    max-width: 95% !important;
    max-height: 80% !important;
}

.partner-logo img[src*="Paide"] {
    max-width: 95% !important;
    max-height: 80% !important;
}

.partner-logo img[src*="Naturka"] {
    max-width: 95% !important;
    max-height: 80% !important;
}

.partner-logo img[src*="Memorium"] {
    max-width: 95% !important;
    max-height: 80% !important;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 15)); /* Move by half the total width for seamless loop */
    }
}

/* Ensure partners animation works */
.partners-carousel {
    overflow: hidden !important;
}

.partners-track {
    animation: scroll 30s linear infinite !important;
    will-change: transform;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 6)); /* Move by half the total width */
    }
}

/* About Us Page Styles */
.about-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.95) 0%, rgba(26, 31, 46, 0.95) 50%, rgba(139, 92, 246, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 20, 36, 0.9) 0%, rgba(10, 15, 30, 0.9) 100%);
    position: relative;
}

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

.team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-photo {
    width: 200px;
    height: 250px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.team-card:hover .team-photo {
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.05);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #8B5CF6;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.team-description {
    color: #B8C5D6;
    line-height: 1.6;
    font-size: 0.95rem;
}

.values-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(15, 20, 36, 0.9) 100%);
    position: relative;
}

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

.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #8B5CF6;
    margin-bottom: 1rem;
}

.value-card p {
    color: #B8C5D6;
    line-height: 1.6;
}



/* Contact Page Styles */
.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.95) 0%, rgba(26, 31, 46, 0.95) 50%, rgba(139, 92, 246, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.contact-hero .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: 2rem;
}

/* Contact Page Visual Elements */
.business-transformation-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.transformation-flow {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    animation: fadeInScale 0.6s ease-out;
}

.flow-step.current {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.flow-step.transformation {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    transform: scale(1.05);
}

.flow-step.future {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.5);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8B5CF6;
    text-align: center;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #8B5CF6;
    animation: pulse 2s ease-in-out infinite;
}

.transformation-metrics {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

.metric:nth-child(1) { animation-delay: 0.3s; }
.metric:nth-child(2) { animation-delay: 0.6s; }

.metric:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B5CF6;
}

.metric-label {
    font-size: 0.8rem;
    color: #B8C5D6;
    text-align: center;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-options {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 20, 36, 0.9) 0%, rgba(10, 15, 30, 0.9) 100%);
    position: relative;
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.strategy-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 20, 36, 0.9) 0%, rgba(10, 15, 30, 0.9) 100%);
    position: relative;
    text-align: center;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.benefit-item {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.contact-info {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(15, 20, 36, 0.9) 100%);
    position: relative;
}

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

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}



/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A0F1E 0%, #1A1F2E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top: 3px solid #8B5CF6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.95) 0%, rgba(15, 20, 36, 0.95) 100%);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B5CF6;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
    color: #A855F7;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    visibility: hidden;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: #B8C5D6;
    line-height: 1.6;
}

.faq-question.active + .faq-answer {
    max-height: 200px;
    opacity: 1;
    visibility: visible;
}
/* Inverted brand logos used on dark background */
.brand-invert {
    height: 40px;
    filter: brightness(0) invert(1);
}
/* Converter tools default hidden sections; JS will unhide */
.converter .progress, .converter .stats { display: none; }

/* 404 error note */
.error-note { margin-top: 2rem; font-size: 0.9rem; color: #8B5CF6; }
/* Utility */
.text-center { text-align: center; }
/* Contact page transformation flow */
.business-transformation-visual { text-align: center; padding: 2rem 0; }
.transformation-flow { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.6s ease forwards; width: 120px; flex-shrink: 0; }
.flow-step:nth-child(1) { animation-delay: 0.2s; }
.flow-step:nth-child(3) { animation-delay: 0.4s; }
.flow-step:nth-child(5) { animation-delay: 0.6s; }
.step-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #8B5CF6, #A855F7); border-radius: 12px; color: white; margin-bottom: 0.5rem; transition: transform 0.3s ease; }
.flow-step:hover .step-icon { transform: scale(1.1) rotate(5deg); }
.flow-arrow { color: #8B5CF6; font-size: 1.2rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.1)} }
.step-label { font-weight: 600; color: #FFFFFF; }
/* Defer painting of below-the-fold sections where supported */
.scaling-wall, .how-it-works, .testimonials, .cta-section, .problems-section {
    content-visibility: auto;
}
