/* 
 * Webbfabriken - Main Stylesheet
 * Premium design with elegant colors
 */

/* ===========================
   Variables & Reset
   =========================== */
:root {
    /* Premium Colors - Webbfabriken Brand */
    --wf-blue: #0066CC;           /* Webbfabriken huvudblå */
    --wf-blue-light: #0080FF;     /* Ljusare blå för hover */
    --wf-blue-dark: #004C99;      /* Mörkare blå för skuggor */
    --wf-blue-pale: #E6F0FF;      /* Mycket ljus blå bakgrund */
    
    /* Premium Black & White */
    --premium-black: #0A0A0A;     /* Nästan svart */
    --premium-dark: #141414;      /* Mörk bakgrund */
    --premium-gray-dark: #1F1F1F; /* Mörk grå */
    --premium-white: #FFFFFF;     /* Ren vit */
    --premium-light: #FAFAFA;     /* Off-white */
    
    /* Accent Colors - Subtle */
    --accent-blue: #0066CC;       /* Huvudaccent */
    --accent-green: #00A86B;      /* Success grön */
    --accent-orange: #FF6B35;     /* Varning orange */
    --accent-red: #DC2626;        /* Danger röd */
    
    /* Gray Scale - Premium */
    --gray-900: #111111;
    --gray-800: #1F1F1F;
    --gray-700: #2D2D2D;
    --gray-600: #4A4A4A;
    --gray-500: #6B6B6B;
    --gray-400: #8C8C8C;
    --gray-300: #B3B3B3;
    --gray-200: #D4D4D4;
    --gray-100: #EBEBEB;
    --gray-50: #F7F7F7;
    
    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    --gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #141414 100%);
    --gradient-light: linear-gradient(135deg, #FFFFFF 0%, #F7F7F7 100%);
    --gradient-premium: linear-gradient(135deg, #0066CC 0%, #0080FF 50%, #004C99 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(0,102,204,0.03) 0%, rgba(0,102,204,0) 100%);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows - Subtle & Premium */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 10px 40px rgba(0, 102, 204, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   Dark Theme
   =========================== */
html[data-theme="dark"] {
    /* Inverted backgrounds */
    --premium-white: #0A0A0A;
    --premium-light: #141414;
    --premium-black: #F7F7F7;
    --premium-dark: #0D0D0D;
    --premium-gray-dark: #1A1A1A;

    /* Inverted gray scale */
    --gray-900: #F7F7F7;
    --gray-800: #E0E0E0;
    --gray-700: #CDCDCD;
    --gray-600: #ADADAD;
    --gray-500: #8D8D8D;
    --gray-400: #6D6D6D;
    --gray-300: #4D4D4D;
    --gray-200: #3D3D3D;
    --gray-100: #2D2D2D;
    --gray-50: #1A1A1A;

    /* Adjusted blue for dark backgrounds */
    --wf-blue: #4D9FFF;
    --wf-blue-light: #6BB3FF;
    --wf-blue-dark: #3385E6;
    --wf-blue-pale: #1A2A3D;

    /* Accent colors - slightly brighter for dark mode */
    --accent-blue: #4D9FFF;
    --accent-green: #22C55E;
    --accent-orange: #FF8F5A;
    --accent-red: #EF4444;

    /* Dark gradients */
    --gradient-primary: linear-gradient(135deg, #4D9FFF 0%, #3385E6 100%);
    --gradient-dark: linear-gradient(180deg, #0D0D0D 0%, #1A1A1A 100%);
    --gradient-light: linear-gradient(135deg, #141414 0%, #1A1A1A 100%);
    --gradient-premium: linear-gradient(135deg, #4D9FFF 0%, #6BB3FF 50%, #3385E6 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(77,159,255,0.05) 0%, rgba(77,159,255,0) 100%);

    /* Adjusted shadows for dark mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-blue: 0 10px 40px rgba(77, 159, 255, 0.2);
}

/* Respect system preference when no explicit theme is set */
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) {
        /* Inverted backgrounds */
        --premium-white: #0A0A0A;
        --premium-light: #141414;
        --premium-black: #F7F7F7;
        --premium-dark: #0D0D0D;
        --premium-gray-dark: #1A1A1A;

        /* Inverted gray scale */
        --gray-900: #F7F7F7;
        --gray-800: #E0E0E0;
        --gray-700: #CDCDCD;
        --gray-600: #ADADAD;
        --gray-500: #8D8D8D;
        --gray-400: #6D6D6D;
        --gray-300: #4D4D4D;
        --gray-200: #3D3D3D;
        --gray-100: #2D2D2D;
        --gray-50: #1A1A1A;

        /* Adjusted blue for dark backgrounds */
        --wf-blue: #4D9FFF;
        --wf-blue-light: #6BB3FF;
        --wf-blue-dark: #3385E6;
        --wf-blue-pale: #1A2A3D;

        /* Accent colors */
        --accent-blue: #4D9FFF;
        --accent-green: #22C55E;
        --accent-orange: #FF8F5A;
        --accent-red: #EF4444;

        /* Dark gradients */
        --gradient-primary: linear-gradient(135deg, #4D9FFF 0%, #3385E6 100%);
        --gradient-dark: linear-gradient(180deg, #0D0D0D 0%, #1A1A1A 100%);
        --gradient-light: linear-gradient(135deg, #141414 0%, #1A1A1A 100%);
        --gradient-premium: linear-gradient(135deg, #4D9FFF 0%, #6BB3FF 50%, #3385E6 100%);
        --gradient-subtle: linear-gradient(180deg, rgba(77,159,255,0.05) 0%, rgba(77,159,255,0) 100%);

        /* Adjusted shadows */
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
        --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
        --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.4);
        --shadow-blue: 0 10px 40px rgba(77, 159, 255, 0.2);
    }
}

/* Theme-aware images: show/hide based on light/dark mode */
.theme-dark-img { display: none; }
.theme-light-img { display: inline; }

html[data-theme="dark"] .theme-dark-img { display: inline; }
html[data-theme="dark"] .theme-light-img { display: none; }

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .theme-dark-img { display: inline; }
    html:not([data-theme="light"]) .theme-light-img { display: none; }
}

/* Theme transition for smooth switching */
html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===========================
   Dark Mode Section Overrides
   =========================== */

/* Stats Section - dark theme */
html[data-theme="dark"] body:not(.page-home) .stats-section {
    background: var(--gray-50);
}

html[data-theme="dark"] body:not(.page-home) .stat-box {
    color: var(--gray-800);
}

html[data-theme="dark"] body:not(.page-home) .stat-label {
    color: var(--gray-600);
}

/* Customer Logos Banner - dark theme */
html[data-theme="dark"] body:not(.page-home) .customer-logos-banner {
    background: var(--gray-50);
}

html[data-theme="dark"] body:not(.page-home) .logo-item img {
    filter: grayscale(100%) brightness(0.8) invert(1);
    opacity: 0.6;
}

html[data-theme="dark"] body:not(.page-home) .logo-item:hover img {
    filter: grayscale(0%) brightness(1) invert(0);
    opacity: 0.9;
}

/* Blog Showcase - dark theme */
html[data-theme="dark"] body:not(.page-home) .blog-showcase {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--premium-white) 100%);
}

html[data-theme="dark"] body:not(.page-home) .blog-showcase::before {
    background: radial-gradient(circle, rgba(229, 199, 56, 0.05) 0%, transparent 70%);
}

html[data-theme="dark"] body:not(.page-home) .blog-showcase::after {
    background: radial-gradient(circle, rgba(77, 159, 255, 0.05) 0%, transparent 70%);
}

html[data-theme="dark"] body:not(.page-home) .section-title-modern {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] body:not(.page-home) .section-subtitle-modern {
    color: var(--gray-500);
}

/* FAQ Section Home - dark theme */
html[data-theme="dark"] body:not(.page-home) .faq-section-home {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--premium-white) 100%);
}

html[data-theme="dark"] body:not(.page-home) .faq-card {
    background: var(--gray-50);
    border-color: var(--gray-100);
}

html[data-theme="dark"] body:not(.page-home) .faq-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--wf-gold);
}

html[data-theme="dark"] body:not(.page-home) .faq-question {
    color: var(--gray-800);
}

html[data-theme="dark"] body:not(.page-home) .faq-answer {
    color: var(--gray-500);
}

html[data-theme="dark"] body:not(.page-home) .faq-cta-wrapper .btn-outline {
    color: var(--gray-800);
}

html[data-theme="dark"] body:not(.page-home) .faq-cta-wrapper .btn-outline:hover {
    color: var(--premium-white);
}

/* Made in Sweden Section - dark theme */
html[data-theme="dark"] body:not(.page-home) .made-in-sweden-section {
    background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)),
                url('../images/stockholm-panoramavy-neutral_optimized-1980w600h-middle-q40.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

html[data-theme="dark"] body:not(.page-home) .made-in-sweden-text {
    color: var(--gray-600);
}

html[data-theme="dark"] body:not(.page-home) .made-in-sweden-logo img {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3)) brightness(1.1);
}

/* Main Footer - dark theme (keep original dark footer styling) */
html[data-theme="dark"] .main-footer {
    background: #0a0a0a;
    color: #9CA3AF;
}

html[data-theme="dark"] .footer-top {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .footer-column h4 {
    color: #FFFFFF !important;
}

html[data-theme="dark"] .footer-description {
    color: #9CA3AF;
}

html[data-theme="dark"] .footer-links a {
    color: #9CA3AF;
}

html[data-theme="dark"] .footer-links a:hover {
    color: #60A5FA;
}

html[data-theme="dark"] .footer-social a {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
}

html[data-theme="dark"] .footer-badges {
    border-top-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .footer-bottom {
    color: #9CA3AF;
}

html[data-theme="dark"] .footer-bottom a {
    color: #D1D5DB;
}

html[data-theme="dark"] .privacy-badge-text {
    color: #9CA3AF;
}

html[data-theme="dark"] .privacy-badge-text strong {
    color: #FFFFFF;
}

html[data-theme="dark"] .contact-item a {
    color: #9CA3AF;
}

html[data-theme="dark"] .contact-item a:hover {
    color: #60A5FA;
}

html[data-theme="dark"] .contact-item address {
    color: #9CA3AF;
}

html[data-theme="dark"] .product-badge-text {
    color: #9CA3AF;
}

html[data-theme="dark"] .product-badge-text strong {
    color: #FFFFFF;
}

html[data-theme="dark"] .product-badge-simple {
    color: #9CA3AF;
}

/* System preference dark mode - section overrides */
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) body:not(.page-home) .stats-section {
        background: var(--gray-50);
    }

    html:not([data-theme="light"]) body:not(.page-home) .stat-box {
        color: var(--gray-800);
    }

    html:not([data-theme="light"]) body:not(.page-home) .stat-label {
        color: var(--gray-600);
    }

    html:not([data-theme="light"]) body:not(.page-home) .customer-logos-banner {
        background: var(--gray-50);
    }

    html:not([data-theme="light"]) body:not(.page-home) .logo-item img {
        filter: grayscale(100%) brightness(0.8) invert(1);
        opacity: 0.6;
    }

    html:not([data-theme="light"]) body:not(.page-home) .logo-item:hover img {
        filter: grayscale(0%) brightness(1) invert(0);
        opacity: 0.9;
    }

    html:not([data-theme="light"]) body:not(.page-home) .blog-showcase {
        background: linear-gradient(180deg, var(--gray-50) 0%, var(--premium-white) 100%);
    }

    html:not([data-theme="light"]) body:not(.page-home) .blog-showcase::before {
        background: radial-gradient(circle, rgba(229, 199, 56, 0.05) 0%, transparent 70%);
    }

    html:not([data-theme="light"]) body:not(.page-home) .blog-showcase::after {
        background: radial-gradient(circle, rgba(77, 159, 255, 0.05) 0%, transparent 70%);
    }

    html:not([data-theme="light"]) body:not(.page-home) .section-title-modern {
        background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    html:not([data-theme="light"]) body:not(.page-home) .section-subtitle-modern {
        color: var(--gray-500);
    }

    html:not([data-theme="light"]) body:not(.page-home) .faq-section-home {
        background: linear-gradient(180deg, var(--gray-50) 0%, var(--premium-white) 100%);
    }

    html:not([data-theme="light"]) body:not(.page-home) .faq-card {
        background: var(--gray-50);
        border-color: var(--gray-100);
    }

    html:not([data-theme="light"]) body:not(.page-home) .faq-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        border-color: var(--wf-gold);
    }

    html:not([data-theme="light"]) body:not(.page-home) .faq-question {
        color: var(--gray-800);
    }

    html:not([data-theme="light"]) body:not(.page-home) .faq-answer {
        color: var(--gray-500);
    }

    html:not([data-theme="light"]) body:not(.page-home) .faq-cta-wrapper .btn-outline {
        color: var(--gray-800);
    }

    html:not([data-theme="light"]) body:not(.page-home) .faq-cta-wrapper .btn-outline:hover {
        color: var(--premium-white);
    }

    html:not([data-theme="light"]) body:not(.page-home) .made-in-sweden-section {
        background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)),
                    url('../images/stockholm-panoramavy-neutral_optimized-1980w600h-middle-q40.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    html:not([data-theme="light"]) body:not(.page-home) .made-in-sweden-text {
        color: var(--gray-600);
    }

    html:not([data-theme="light"]) body:not(.page-home) .made-in-sweden-logo img {
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3)) brightness(1.1);
    }

    html:not([data-theme="light"]) .main-footer {
        background: #0a0a0a;
        color: #9CA3AF;
    }

    html:not([data-theme="light"]) .footer-top {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    html:not([data-theme="light"]) .footer-column h4 {
        color: #FFFFFF !important;
    }

    html:not([data-theme="light"]) .footer-description {
        color: #9CA3AF;
    }

    html:not([data-theme="light"]) .footer-links a {
        color: #9CA3AF;
    }

    html:not([data-theme="light"]) .footer-links a:hover {
        color: #60A5FA;
    }

    html:not([data-theme="light"]) .footer-social a {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: #9CA3AF;
    }

    html:not([data-theme="light"]) .footer-badges {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    html:not([data-theme="light"]) .footer-bottom {
        color: #9CA3AF;
    }

    html:not([data-theme="light"]) .footer-bottom a {
        color: #D1D5DB;
    }

    html:not([data-theme="light"]) body:not(.page-home) .stats-header h2 {
        color: var(--gray-800);
    }

    html:not([data-theme="light"]) body:not(.page-home) .stats-intro {
        color: var(--wf-blue);
    }
}

/* Stats Section h2 - dark theme */
html[data-theme="dark"] body:not(.page-home) .stats-header h2 {
    color: var(--gray-800);
}

html[data-theme="dark"] body:not(.page-home) .stats-intro {
    color: var(--wf-blue);
}

/* Hero Mesh - dark theme */
html[data-theme="dark"] .hero-mesh.hero-webbdrift {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .hero-mesh.hero-webbdrift {
        background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    }
}

/* ===========================
   Light Theme Overrides
   =========================== */

/* Footer stays dark in both themes - no overrides needed */

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--premium-white);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: var(--wf-blue);
    color: var(--premium-white);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--wf-blue);
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--wf-blue-dark);
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* Prevent deprecated text autosizing on headings */
h1, h2, h3, h4, h5, h6 {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ===========================
   Layout
   =========================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.625rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--wf-blue) 0%, var(--wf-blue) 50%, var(--wf-blue-dark) 50%, var(--wf-blue-dark) 100%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    color: var(--premium-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
    color: var(--premium-white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--premium-white) 0%, var(--premium-white) 50%, var(--wf-blue) 50%, var(--wf-blue) 100%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    color: var(--wf-blue);
    border-color: var(--wf-blue);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background-position: 100% 100%;
    color: var(--premium-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--wf-blue);
}

.btn-dark {
    background: linear-gradient(135deg, var(--premium-black) 0%, var(--premium-black) 50%, var(--gray-900) 50%, var(--gray-900) 100%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    color: var(--premium-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dark:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-large {
    padding: 0.875rem 2.25rem;
    font-size: 1.1rem;
}

/* ===========================
   Hero Section - Premium
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, var(--wf-blue) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, var(--wf-blue-dark) 0%, transparent 50%);
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--premium-white);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #0080FF 0%, #0066CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Animated particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--wf-blue);
    border-radius: 50%;
    opacity: 0.1;
}

/* ===========================
   Services Section - Premium
   =========================== */
body:not(.page-home) .services {
    padding: var(--spacing-4xl) 0;
    background: var(--gray-50);
    position: relative;
    min-height: 800px;
    contain: layout;
}

body:not(.page-home) .section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

body:not(.page-home) .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

body:not(.page-home) .section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

body:not(.page-home) .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

body:not(.page-home) .service-card {
    background: var(--premium-white);
    border-radius: 16px;
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

body:not(.page-home) .service-card.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

body:not(.page-home) .service-card:nth-child(1) {
    transition-delay: 0s;
}

body:not(.page-home) .service-card:nth-child(2) {
    transition-delay: 0.15s;
}

body:not(.page-home) .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

body:not(.page-home) .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wf-blue);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

body:not(.page-home) .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--wf-blue-pale);
}

body:not(.page-home) .service-card:hover::before {
    transform: scaleX(1);
}

body:not(.page-home) .service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    background: var(--wf-blue-pale);
    border-radius: 16px;
    transition: all var(--transition-base);
}

body:not(.page-home) .service-card:hover .service-icon {
    background: var(--wf-blue);
    color: var(--premium-white);
    transform: scale(1.1);
}

body:not(.page-home) .service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

body:not(.page-home) .service-description {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

body:not(.page-home) .service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

body:not(.page-home) .service-features li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--gray-700);
}

body:not(.page-home) .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.1rem;
}

body:not(.page-home) .service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--wf-blue);
    font-weight: 600;
    transition: all var(--transition-base);
}

body:not(.page-home) .service-link:hover {
    gap: var(--spacing-md);
    color: var(--wf-blue-light);
}

/* Stats Section */
body:not(.page-home) .stats-section {
    background: var(--premium-black);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
    /* Prevent layout shift during stat updates */
    min-height: 280px;
    contain: layout;
}

body:not(.page-home) .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
}

body:not(.page-home) .stat-box {
    text-align: center;
    color: var(--premium-white);
    padding: var(--spacing-lg);
    /* Prevent layout shift during stat updates */
    contain: layout style;
}

body:not(.page-home) .stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    color: var(--wf-blue-light);
    /* Reserve space to prevent CLS during updates */
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

body:not(.page-home) .stat-label {
    font-size: 0.9rem;
    color: #000000;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Customer Logos Infinite Scroll */
body:not(.page-home) .customer-logos-banner {
    padding: 40px 0;
    background: #f8f9fa;
    overflow: hidden;
}

body:not(.page-home) .logos-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

body:not(.page-home) .logos-scroll-track {
    display: flex;
    gap: 60px;
    animation: scroll-logos 7s linear infinite;
    will-change: transform;
}

body:not(.page-home) .logos-scroll-track:hover {
    animation-play-state: paused;
}

body:not(.page-home) .logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 180px;
}

body:not(.page-home) .logo-item img {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

body:not(.page-home) .logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

body:not(.page-home) .stats-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

body:not(.page-home) .stats-header h2 {
    color: var(--premium-white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

body:not(.page-home) .stats-intro {
    color: var(--wf-blue-light);
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

body:not(.page-home) .stat-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: var(--spacing-xs);
    line-height: 1.4;
    font-weight: 400;
}

/* Security Focus Section */
body:not(.page-home) .security-focus {
    background: var(--premium-white);
    padding: var(--spacing-4xl) 0;
    position: relative;
}

body:not(.page-home) .security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

body:not(.page-home) .security-content h2 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
}

body:not(.page-home) .security-lead {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

body:not(.page-home) .security-highlights {
    display: grid;
    gap: 20px;
    margin-bottom: var(--spacing-2xl);
}

body:not(.page-home) .highlight-box {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

body:not(.page-home) .highlight-box.fade-in {
    opacity: 1;
    transform: translateY(0);
}

body:not(.page-home) .highlight-box:nth-child(1) {
    transition-delay: 0.1s;
}

body:not(.page-home) .highlight-box:nth-child(2) {
    transition-delay: 0.3s;
}

body:not(.page-home) .highlight-box:nth-child(3) {
    transition-delay: 0.5s;
}

body:not(.page-home) .highlight-box:hover {
    background: var(--wf-blue-pale);
    border-color: var(--wf-blue);
    transform: translateX(10px);
}

body:not(.page-home) .highlight-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wf-blue);
    color: var(--premium-white);
    border-radius: 12px;
    flex-shrink: 0;
}

body:not(.page-home) .highlight-icon svg {
    width: 32px;
    height: 32px;
}

/* Menu SVG Icons */
.menu-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Check Icons */
.check-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    color: #10b981;
}

body:not(.page-home) .highlight-content h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-900);
}

body:not(.page-home) .highlight-content p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Security Visual Sticky Container */
body:not(.page-home) .security-visual {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

/* Security Shield Animation */
body:not(.page-home) .security-shield {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body:not(.page-home) .shield-animation {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
    position: absolute;
}

body:not(.page-home) .shield-logo-overlay {
    position: absolute;
    width: 190px;
    height: 190px;
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

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

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

/* CTA Section */
/* Premium CTA Section */
.cta-section-premium {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
    overflow: hidden;
}

/* Animated background gradient */
.cta-section-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(229, 199, 56, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 102, 204, 0.08) 0%, transparent 50%);
    animation: cta-gradient-shift 15s ease-in-out infinite;
}

@keyframes cta-gradient-shift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

/* Decorative lines */
.cta-section-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(229, 199, 56, 0.5) 20%, 
        rgba(229, 199, 56, 0.8) 50%, 
        rgba(229, 199, 56, 0.5) 80%, 
        transparent 100%);
}

.cta-wrapper {
    position: relative;
    z-index: 2;
}

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

/* Badge */
.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(229, 199, 56, 0.1);
    border: 1px solid rgba(229, 199, 56, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E5C738;
    margin-bottom: 2rem;
}

/* Title */
.cta-title-premium {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient-gold {
    color: #B8922D !important;
    -webkit-text-fill-color: #B8922D !important;
    text-shadow: none !important;
}

/* Superscript for ® symbol */
.s, sup {
    font-size: 0.65em;
    vertical-align: super;
    line-height: 0;
}

/* Subtitle */
.cta-subtitle-premium {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Row */
.cta-stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cta-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #E5C738;
    letter-spacing: -0.02em;
}

.cta-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Buttons */
.cta-buttons-premium {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 18px 32px;
    background: #E5C738;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-cta-primary:hover {
    background: #F0D654;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 199, 56, 0.3);
}

.btn-cta-primary i {
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover i {
    transform: translateX(4px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 18px 32px;
    background: transparent;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #E5C738;
    color: #E5C738;
    transform: translateY(-2px);
}

/* Trust text */
.cta-trust-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-trust-text i {
    color: #E5C738;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-section-premium {
        padding: 80px 20px;
    }
    
    .cta-stats-row {
        gap: 2rem;
    }
    
    .cta-stat-number {
        font-size: 1.5rem;
    }
    
    .cta-buttons-premium {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .cta-title-premium {
        font-size: 2rem;
    }
    
    .cta-subtitle-premium {
        font-size: 1rem;
    }
}

/* Footer */
.main-footer {
    background: var(--premium-black);
    color: var(--gray-300);
    position: relative;
}

.footer-top {
    padding: var(--spacing-4xl) 0 var(--spacing-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.footer-logo-image {
    width: auto;
    max-width: 250px;
    height: 75px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

.footer-logo-image:hover {
    opacity: 1;
}

/* Mobile footer logo adjustments */
@media (max-width: 768px) {
    .footer-logo-image {
        max-width: 180px;
        height: 55px;
    }
}

.footer-description {
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

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

.footer-social a:hover {
    background: var(--wf-blue);
    border-color: var(--wf-blue);
    color: var(--premium-white);
    transform: translateY(-3px);
}

.footer-social-privacy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Badges container - horizontal layout - full width */
.footer-badges {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.privacy-badge-simple,
.product-badge-simple {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0;
    min-width: 0;
    flex: 0 1 auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

.privacy-badge-simple svg {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.privacy-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--gray-300);
    min-width: 0;
}

.privacy-badge-text strong {
    color: var(--premium-white);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

.privacy-badge-text span {
    font-size: 0.74rem;
    opacity: 0.85;
    white-space: nowrap;
}

/* WF SecurityCloud logo wrapper */
.wf-security-logo-wrapper {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.wf-security-logo-wrapper svg {
    width: 100%;
    height: 100%;
}

/* Make text paths white, keep yellow shield */
.wf-security-logo-wrapper svg path:not([stroke]) {
    fill: white;
}

.wf-security-logo-wrapper svg path[stroke="#e5c738"] {
    stroke: #e5c738;
}

.product-badge-simple img {
    flex-shrink: 0;
    border-radius: 6px;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.product-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--gray-300);
    min-width: 0;
}

.product-badge-text strong {
    color: var(--premium-white);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-badge-text span {
    font-size: 0.74rem;
    opacity: 0.85;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .footer-badges {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .footer-badges {
        gap: 0.85rem;
        justify-content: flex-start;
    }

    .privacy-badge-simple,
    .product-badge-simple {
        width: 100%;
    }

    .privacy-badge-simple svg,
    .wf-security-logo-wrapper,
    .product-badge-simple img {
        width: 40px;
        height: 40px;
    }
}

.footer-column h4 {
    color: var(--premium-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.footer-column-wide {
    min-width: 280px;
}

.footer-privacy-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-badge-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.privacy-badge-svg:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .footer-column-wide {
        flex: 1.5;
    }
}

@media (max-width: 768px) {
    .footer-privacy-badge {
        margin-top: var(--spacing-xl);
    }

    .privacy-badge-svg {
        max-width: 150px;
    }
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--wf-blue-light);
}

/* Footer Contact Items */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--wf-blue-light);
}

.contact-item address {
    font-style: normal;
    color: var(--gray-300);
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    background: rgba(0, 0, 0, 0.5);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    color: var(--gray-400);
}

.footer-bottom-links a:hover {
    color: var(--wf-blue-light);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--wf-blue);
    color: var(--premium-white);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--wf-blue-dark);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1230px) {
    /* Disable sticky on tablet/mobile */
    body:not(.page-home) .security-visual {
        position: static;
    }

    body:not(.page-home) .security-grid {
        grid-template-columns: 1fr;
    }

    body:not(.page-home) .security-shield {
        height: 200px;
    }

    body:not(.page-home) .shield-animation {
        width: 150px;
        height: 150px;
    }

    body:not(.page-home) .shield-logo-overlay {
        width: 100px;
        height: 100px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: contain;
    }

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

/* Body no-scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@media (max-width: 1230px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    body:not(.page-home) .services-grid {
        grid-template-columns: 1fr;
    }
    
    body:not(.page-home) .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    body:not(.page-home) .stat-box {
        padding: var(--spacing-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    body:not(.page-home) .stat-box:last-child {
        border-bottom: none;
    }
    
    body:not(.page-home) .stat-number {
        font-size: 2rem;
        font-weight: 800;
    }
    
    body:not(.page-home) .stat-label {
        font-size: 0.8rem;
    }
    
    body:not(.page-home) .security-grid {
        grid-template-columns: 1fr;
    }
    
    body:not(.page-home) .security-shield {
        height: 200px;
    }
    
    body:not(.page-home) .shield-animation {
        width: 150px;
        height: 150px;
    }

    body:not(.page-home) .shield-logo-overlay {
        width: 100px;
        height: 100px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: contain;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
        padding: 0 var(--spacing-md);
    }
    
    .footer-column,
    .footer-column-wide {
        padding: 0;
    }
    
    .footer-column h4,
    .footer-column-wide h4 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-md);
        color: var(--premium-white);
    }
    
    .footer-links {
        margin-bottom: 0;
    }
    
    .footer-links li {
        margin-bottom: var(--spacing-xs);
    }
    
    .footer-links a {
        font-size: 0.95rem;
    }
    
    .footer-top {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    .footer-bottom {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
        text-align: center;
    }
    
    .footer-bottom-links a {
        display: block;
        padding: var(--spacing-xs) 0;
        font-size: 0.875rem;
        word-break: break-all;
        overflow-wrap: break-word;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding: 0;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    /* Prevent horizontal overflow */
    .main-footer {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Footer contact styling for mobile */
    .footer-contact {
        gap: var(--spacing-lg);
    }
    
    .contact-item {
        flex-direction: column;
        gap: var(--spacing-xs);
        align-items: center;
        text-align: center;
    }
    
    .contact-item svg {
        margin: 0 auto var(--spacing-xs);
    }
    
    .contact-item div {
        width: 100%;
    }
    
    .contact-item strong {
        display: block;
        margin-bottom: var(--spacing-xs);
        font-size: 0.9rem;
    }
    
    .contact-item a {
        word-break: break-all;
        font-size: 0.85rem;
        line-height: 1.4;
        display: inline-block;
    }
    
    .contact-item address {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .back-to-top { 
        display: none;
    }
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.form-control {
    width: 100%;
    padding: 0.625rem var(--spacing-md);
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    background: var(--premium-white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--wf-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
/* Language Switcher Styles */
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-active {
    color: var(--primary-color, #fbbf24);
    font-weight: 700;
}

.lang-option {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-option:hover {
    color: #fff;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.3);
    user-select: none;
}

/* Language Switcher - Updated Styles */
.language-switcher {
    margin-left: auto;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
}

.lang-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 90px;
    flex-shrink: 0;
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.lang-flag img {
    display: block;
    width: 24px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-code {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Language Switcher - Light Mode */
html[data-theme="light"] .lang-link {
    background: transparent;
    color: var(--gray-700);
}

html[data-theme="light"] .lang-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* ===== Language Switcher Dropdown ===== */
.language-switcher-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    margin-right: 10px;
}

.lang-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 20px;
}

.lang-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .language-switcher {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .lang-link {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .lang-flag {
        font-size: 16px;
    }
}

/* Extra small screens (phones < 480px) */
@media (max-width: 480px) {
    body:not(.page-home) .stats-section {
        padding: var(--spacing-2xl) 0;
    }
    
    body:not(.page-home) .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    body:not(.page-home) .stat-box {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    body:not(.page-home) .stat-number {
        font-size: 1.75rem;
    }
    
    body:not(.page-home) .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    body:not(.page-home) .stats-header h2 {
        font-size: 1.75rem;
    }

    body:not(.page-home) .stats-intro {
        font-size: 0.95rem;
    }

    body:not(.page-home) .stat-description {
        font-size: 0.75rem;
    }

    body:not(.page-home) .security-shield {
        height: 150px;
    }
    
    body:not(.page-home) .shield-animation {
        width: 120px;
        height: 120px;
    }

    body:not(.page-home) .shield-logo-overlay {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }
}

/* Made in Sweden Section */
body:not(.page-home) .made-in-sweden-section {
    padding: 100px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
                url('../images/stockholm-panoramavy-neutral_optimized-1980w600h-middle-q40.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

body:not(.page-home) .made-in-sweden-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

body:not(.page-home) .made-in-sweden-content {
    padding-right: 2rem;
}

body:not(.page-home) .made-in-sweden-content h2 {
    color: var(--wf-blue);
}

body:not(.page-home) .made-in-sweden-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-900);
    margin-top: 1.5rem;
    font-weight: 500;
}

body:not(.page-home) .made-in-sweden-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

body:not(.page-home) .made-in-sweden-logo img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

@media (max-width: 1024px) {
    body:not(.page-home) .made-in-sweden-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    body:not(.page-home) .made-in-sweden-content {
        padding-right: 0;
        text-align: center;
    }

    body:not(.page-home) .made-in-sweden-section {
        padding: 60px 0;
    }

    body:not(.page-home) .made-in-sweden-logo img {
        max-width: 200px;
    }
}

/* Values Section */
.values-section {
    padding: var(--spacing-4xl) 0;
    background: var(--premium-white);
}

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

.value-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--wf-blue);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wf-blue);
}

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

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Partners Section */
.partners-section {
    padding: var(--spacing-4xl) 0;
    background: var(--premium-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    min-height: 100px;
    background: transparent;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.partner-logo img {
    max-height: 80px;
    max-width: 180px;
    width: auto;
    height: auto;
    transition: opacity var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.partner-logo img:hover {
    opacity: 0.85;
}

/* Decorative Shapes */
.decorative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.decorative-shapes .shape {
    position: absolute;
    opacity: 0.8;
}

/* Hero Section Shapes */
body:not(.page-home) .hero-mesh {
    position: relative;
    overflow: hidden;
}

body:not(.page-home) .hero-mesh .container {
    position: relative;
    z-index: 1;
}

body:not(.page-home) .hero-mesh .shape-hero-1 {
    width: 750px;
    height: 750px;
    top: -20%;
    left: -15%;
    animation: float 25s ease-in-out infinite;
}

body:not(.page-home) .hero-mesh .shape-hero-2 {
    width: 600px;
    height: 900px;
    bottom: -15%;
    right: -20%;
    animation: float 30s ease-in-out infinite reverse;
}

body:not(.page-home) .hero-mesh .shape-hero-3 {
    width: 550px;
    height: 550px;
    top: 30%;
    right: 5%;
    animation: rotate-slow 50s linear infinite;
}

/* Services Section Shapes */
body:not(.page-home) .services {
    position: relative;
    overflow: hidden;
}

body:not(.page-home) .services .container {
    position: relative;
    z-index: 1;
}

body:not(.page-home) .services .shape-services-1 {
    width: 700px;
    height: 600px;
    top: -10%;
    left: -12%;
    animation: float 28s ease-in-out infinite;
}

body:not(.page-home) .services .shape-services-2 {
    width: 650px;
    height: 650px;
    bottom: -18%;
    right: -15%;
    animation: pulse 22s ease-in-out infinite;
}

/* Values Section Shapes */
.values-section {
    position: relative;
    overflow: hidden;
}

.values-section .container {
    position: relative;
    z-index: 1;
}

.values-section .shape-1 {
    width: 600px;
    height: 600px;
    top: -15%;
    right: -10%;
    animation: float 20s ease-in-out infinite;
}

.values-section .shape-2 {
    width: 450px;
    height: 900px;
    bottom: -10%;
    left: -15%;
    animation: float 25s ease-in-out infinite reverse;
}

.values-section .shape-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    right: -8%;
    animation: rotate-slow 40s linear infinite;
}

/* Team Section Shapes */
.team-section {
    position: relative;
    overflow: hidden;
}

.team-section .container {
    position: relative;
    z-index: 1;
}

.team-section .shape-4 {
    width: 800px;
    height: 650px;
    top: -10%;
    left: -20%;
    animation: float 22s ease-in-out infinite;
}

.team-section .shape-5 {
    width: 550px;
    height: 550px;
    bottom: -15%;
    right: -12%;
    animation: pulse 15s ease-in-out infinite;
}

.team-section .shape-6 {
    width: 500px;
    height: 800px;
    top: 20%;
    right: -18%;
    animation: float 28s ease-in-out infinite reverse;
}

/* Partners Section Shapes */
.partners-section {
    position: relative;
    overflow: hidden;
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-section .shape-7 {
    width: 700px;
    height: 550px;
    top: -12%;
    left: -15%;
    animation: float 18s ease-in-out infinite;
}

.partners-section .shape-8 {
    width: 650px;
    height: 800px;
    bottom: -20%;
    right: -18%;
    animation: pulse 20s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-30px) translateX(5px);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

/* Webbyrå Page Decorative Shapes - Rhythmic Left/Right Pattern */

/* Hero Section - Left & Right */
.page-webbyra .hero-section .shape-wb-hero-1 {
    width: 800px;
    height: 800px;
    top: -25%;
    left: -20%;
    animation: float 28s ease-in-out infinite;
}

.page-webbyra .hero-section .shape-wb-hero-2 {
    width: 500px;
    height: 900px;
    top: -10%;
    right: -10%;
    animation: float 35s ease-in-out infinite reverse;
}

.page-webbyra .hero-section .shape-wb-hero-3 {
    width: 600px;
    height: 400px;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    animation: rotate-slow 60s linear infinite;
}

/* Services Section - Organic flow on right */
.page-webbyra .services-section .shape-wb-service-1 {
    width: 280px;
    height: 700px;
    top: 0;
    right: 0;
    animation: float 45s ease-in-out infinite;
}

/* Webdev Section - Stepped layers on right */
.page-webbyra .webdev-section .shape-wb-webdev-1 {
    width: 250px;
    height: 600px;
    top: 0;
    right: 0;
    animation: float 42s ease-in-out infinite reverse;
}

/* SEO Section - Wave with nodes on right */
.page-webbyra .seo-section .shape-wb-seo-1 {
    width: 220px;
    height: 650px;
    top: 0;
    right: 0;
    animation: float 48s ease-in-out infinite;
}

/* Testimonials Section - Interlocking circles on right */
.page-webbyra .testimonials-section .shape-wb-testimonial-1 {
    width: 200px;
    height: 550px;
    top: 5%;
    right: 0;
    animation: float 50s ease-in-out infinite reverse;
}

/* Portfolio Section - Flowing shape on right */
.page-webbyra .portfolio-section .shape-wb-portfolio-1 {
    width: 200px;
    height: 650px;
    top: 0;
    right: 0;
    animation: float 46s ease-in-out infinite;
}

/* CTA Section - Radiating lines on right */
.page-webbyra .cta-section-premium .shape-wb-cta-1 {
    width: 200px;
    height: 400px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: pulse 40s ease-in-out infinite;
}

/* Disable animations on mobile for performance */
@media (max-width: 768px) {
    .decorative-shapes .shape {
        animation: none !important;
        opacity: 0.3;
    }

    /* Scale down shapes on mobile */
    .values-section .shape-1,
    .team-section .shape-4,
    .partners-section .shape-7 {
        width: 400px;
        height: 400px;
    }

    .values-section .shape-2,
    .team-section .shape-6,
    .partners-section .shape-8 {
        width: 300px;
        height: 500px;
    }

    .values-section .shape-3,
    .team-section .shape-5 {
        width: 300px;
        height: 300px;
    }

    /* Scale down webbyra shapes on mobile */
    .page-webbyra .hero-section .shape-wb-hero-1,
    .page-webbyra .hero-section .shape-wb-hero-2 {
        width: 400px;
        height: 400px;
    }

    .page-webbyra .hero-section .shape-wb-hero-3 {
        width: 350px;
        height: 250px;
    }

    /* Right side elements - smaller on mobile */
    .page-webbyra .services-section .shape-wb-service-1,
    .page-webbyra .webdev-section .shape-wb-webdev-1,
    .page-webbyra .seo-section .shape-wb-seo-1,
    .page-webbyra .testimonials-section .shape-wb-testimonial-1,
    .page-webbyra .portfolio-section .shape-wb-portfolio-1,
    .page-webbyra .cta-section-premium .shape-wb-cta-1 {
        width: 120px;
        opacity: 0.3;
    }
}

/* ============================================
   FAQ Section - Homepage
   ============================================ */
body:not(.page-home) .faq-section-home {
    padding: 80px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

body:not(.page-home) .section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #b8922d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

body:not(.page-home) .faq-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

body:not(.page-home) .faq-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

body:not(.page-home) .faq-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #d4af37;
}

body:not(.page-home) .faq-card-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

body:not(.page-home) .faq-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body:not(.page-home) .faq-icon svg {
    width: 24px;
    height: 24px;
    color: #d4af37;
}

body:not(.page-home) .faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0a0e27;
    margin: 0;
    line-height: 1.4;
}

body:not(.page-home) .faq-answer {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

body:not(.page-home) .faq-answer p {
    margin: 0;
}

body:not(.page-home) .faq-cta-wrapper {
    text-align: center;
}

body:not(.page-home) .faq-cta-wrapper .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: 2px solid #d4af37;
    background: transparent;
    color: #0a0e27;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

body:not(.page-home) .faq-cta-wrapper .btn-outline:hover {
    background: #d4af37;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

body:not(.page-home) .faq-cta-wrapper .btn-outline svg {
    transition: transform 0.3s ease;
}

body:not(.page-home) .faq-cta-wrapper .btn-outline:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    body:not(.page-home) .faq-section-home {
        padding: 60px 0;
    }

    body:not(.page-home) .faq-grid-home {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body:not(.page-home) .faq-card {
        padding: 24px;
    }
}

/* ============================================
   Privacy/Trust Banner Section
   ============================================ */
.trust-banner {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(254, 204, 0, 0.1);
    border-bottom: 1px solid rgba(254, 204, 0, 0.1);
}

.trust-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(254, 204, 0, 0.08) 0%, transparent 70%);
    animation: trustGlow 8s infinite alternate;
}

.trust-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(254, 204, 0, 0.05) 0%, transparent 70%);
    animation: trustGlow 10s infinite alternate-reverse;
}

@keyframes trustGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.trust-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.lock-icon {
    color: #FECC00;
    animation: float 3s ease-in-out infinite;
}

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

.trust-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.trust-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 20px 40px;
    background: rgba(254, 204, 0, 0.1);
    border: 2px solid #FECC00;
    border-radius: 16px;
    animation: scorePulse 2s ease-in-out infinite;
}

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

.score-number {
    font-size: 3rem;
    font-weight: 900;
    color: #FECC00;
    line-height: 1;
    text-shadow: 0 0 20px rgba(254, 204, 0, 0.4);
}

.score-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FECC00;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trust-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
    max-width: 800px;
    margin: 0 auto 40px;
}

.trust-description strong {
    color: #ffffff;
    font-size: 1.2rem;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(254, 204, 0, 0.05);
    border: 1px solid rgba(254, 204, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.trust-feature:hover {
    background: rgba(254, 204, 0, 0.1);
    border-color: rgba(254, 204, 0, 0.4);
    transform: translateX(5px);
}

.trust-feature svg {
    color: #FECC00;
    flex-shrink: 0;
}

.trust-feature span {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .trust-banner {
        padding: 60px 20px;
    }

    .trust-banner h2 {
        font-size: 1.5rem;
    }

    .trust-score {
        padding: 15px 30px;
    }

    .score-number {
        font-size: 2.5rem;
    }

    .trust-description {
        font-size: 1rem;
    }

    .trust-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .trust-feature {
        justify-content: center;
    }

    .trust-feature:hover {
        transform: none;
    }
}
