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

/* Global responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* CSS Custom Properties for Common Values */
:root {
    /* Theme-aware color variables */
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-muted: #86868b;
    --background-primary: #ffffff;
    --background-secondary: #f5f5f7;
    --background-elevated: rgba(255, 255, 255, 0.8);
    --border-primary: rgba(29, 29, 31, 0.2);
    --border-secondary: rgba(29, 29, 31, 0.1);
    --accent-primary: #007aff;
    --accent-secondary: #5856d6;
    --accent-tertiary: #34c759;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --overlay-background: rgba(0, 0, 0, 0.4);
    
    /* Common RGBA colors */
    --rgba-black-01: rgba(0, 0, 0, 0.1);
    --rgba-black-02: rgba(0, 0, 0, 0.2);
    --rgba-black-015: rgba(0, 0, 0, 0.15);
    --rgba-white-005: rgba(255, 255, 255, 0.05);
    --rgba-white-008: rgba(255, 255, 255, 0.8);
    --rgba-white-098: rgba(255, 255, 255, 0.98);
    --rgba-blue-01: rgba(0, 122, 255, 0.1);
    --rgba-blue-005: rgba(0, 122, 255, 0.05);
    --rgba-blue-03: rgba(0, 122, 255, 0.3);
    
    /* Common spacing values */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    
    /* Common border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 980px;
    
    /* Animation timing */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Performance Utility Classes */
.gpu-accelerated {
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.preserve-3d {
    transform-style: preserve-3d;
}

/* Performance optimizations for 60fps */
*, *::before, *::after {
    transform-style: preserve-3d;
}

/* Optimize paint and layout operations */
.navbar,
.carousel-track,
.carousel-slide,
.btn-primary,
.btn-secondary,
.indicator,
.nav-menu a,
.feature-visual,
.product-card,
.service-card {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Only apply will-change to elements that actually animate */
.carousel-track,
.carousel-slide,
.btn-primary,
.btn-secondary,
.indicator,
.nav-menu a {
    will-change: transform;
    backface-visibility: hidden;
}

*:focus {
    outline: 2px solid #007aff;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    /* Prevent layout shift during theme switching */
    background-color: #ffffff;
    /* Better mobile viewport handling */
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation Structure */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--rgba-white-008);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--rgba-black-01);
    z-index: 9999;
    transition: all 0.3s var(--ease-smooth);
    will-change: background-color, backdrop-filter;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    /* Ensure visibility */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

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

@media (max-width: 480px) {
    .nav-container {
        height: 60px;
        min-height: 60px;
        padding: 0 16px;
    }
    
    .nav-menu {
        top: 60px !important;
        height: calc(100vh - 60px) !important;
        padding-top: 30px !important;
        gap: 20px !important;
    }
    
    .nav-menu a {
        font-size: 16px;
        padding: 14px 20px;
        max-width: 280px;
    }
}

@media (max-width: 320px) {
    .nav-container {
        height: 50px;
        min-height: 50px;
        padding: 0 12px;
    }
    
    .nav-menu {
        top: 50px !important;
        height: calc(100vh - 50px) !important;
        padding-top: 20px !important;
        gap: 16px !important;
    }
    
    .nav-menu a {
        font-size: 15px;
        padding: 12px 16px;
        max-width: 260px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    min-height: 40px;
}

.nav-logo:hover {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 18px;
        gap: 8px;
        min-height: 32px;
    }
}

@media (max-width: 320px) {
    .nav-logo {
        font-size: 16px;
        gap: 6px;
        min-height: 28px;
    }
}

.logo-icon {
    width: 30px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 3/4;
    display: block;
}

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

@media (max-width: 480px) {
    .logo-icon {
        width: 24px;
        height: 32px;
        aspect-ratio: 3/4;
    }
}

@media (max-width: 320px) {
    .logo-icon {
        width: 21px;
        height: 28px;
        aspect-ratio: 3/4;
    }
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 3/4) {
    .logo-icon {
        width: 30px;
        height: 40px;
    }
    
    @media (max-width: 480px) {
        .logo-icon {
            width: 24px;
            height: 32px;
        }
    }
    
    @media (max-width: 320px) {
        .logo-icon {
            width: 21px;
            height: 28px;
        }
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

/* Desktop navigation - always visible */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        position: static;
        background: none;
        flex-direction: row;
        height: auto;
        padding: 0;
        right: auto;
        top: auto;
        width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        gap: 32px;
        box-shadow: none;
        list-style: none;
    }
    
    .nav-menu li {
        margin: 0;
        width: auto;
    }
    
    .nav-menu a {
        font-size: 14px;
        font-weight: 400;
        padding: 8px 12px;
        text-decoration: none;
        transition: color 0.3s ease;
        min-width: auto;
        border-radius: 0;
    }
    
    .hamburger {
        display: none;
    }
}

.nav-menu a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    /* Ensure visibility */
    min-width: fit-content;
    white-space: nowrap;
}

/* Inactive Products Link */
.nav-menu a.inactive {
    color: var(--text-secondary);
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.nav-menu a.inactive:hover {
    color: var(--text-secondary);
}

/* Tooltip for inactive products */
.nav-menu a.inactive::after {
    content: "🔧 Work in progress...";
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--background-elevated);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.nav-menu a.inactive:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.theme-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Theme Dropdown */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-dropdown {
    position: relative;
}

/* Shared styling for dropdown buttons */
.theme-toggle-btn,
.language-toggle-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 8px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
}

.theme-toggle-btn {
    min-width: 100px;
    width: 100px;
}

.language-toggle-btn {
    min-width: 80px;
    width: 80px;
    background: var(--background-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.theme-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.theme-text {
    font-size: 13px;
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.theme-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.theme-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    max-width: calc(100vw - 40px);
    margin-top: 4px;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.theme-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: none;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;
}

.theme-option-icon {
    font-size: 14px;
    width: 16px;
}

/* Theme dropdown disabled state when mobile menu is open */
.theme-dropdown.disabled {
    pointer-events: none;
}

.theme-dropdown.disabled .theme-toggle-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
}

.theme-toggle-btn:hover,
.language-toggle-btn:hover {
    background: var(--background-hover);
    transform: translateY(-1px);
}

.language-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.language-text {
    font-size: 13px;
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.language-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 320px;
    max-width: calc(100vw - 40px);
    margin-top: 4px;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 20px var(--shadow-medium);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    background: var(--background-elevated);
    border: 1px solid var(--border-primary);
}

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

.language-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    background: none;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    color: var(--text-primary);
}

.language-option:hover {
    background: var(--background-hover);
}

.language-option.active {
    background: var(--accent-primary);
    color: white;
}

.language-flag {
    font-size: 16px;
    flex-shrink: 0;
}

.language-name {
    flex: 1;
    font-weight: 500;
    color: inherit;
}

.language-code {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
    color: inherit;
}

/* Language dropdown disabled state when mobile menu is open */
.language-dropdown.disabled {
    pointer-events: none;
}

.language-dropdown.disabled .language-toggle-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Hamburger Menu Structure */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

/* Show hamburger on mobile, hide on desktop */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 9999;
        position: relative;
    }
    
    .hamburger:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
        border-radius: 4px;
    }
}

@media (min-width: 768px) {
    .hamburger {
        display: none !important;
    }
}

.hamburger span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform: translateZ(0);
    will-change: transform, opacity;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Layout Structure */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px var(--spacing-md);
    border-radius: var(--radius-pill);
    font-size: var(--spacing-sm);
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s var(--ease-smooth);
    min-width: 120px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translate3d(0, -1px, 0);
}

.product-showcase {
    padding: 100px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    width: 100%;
    max-width: 100%;
}

.product-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-card p {
    line-height: 1.6;
}

.features {
    padding: 100px 0;
}

/* Product Carousel Section */
.product-carousel-section {
    padding: 100px 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--rgba-black-01);
}

.carousel-track {
    display: flex;
    transition: transform 0.8s var(--ease-smooth);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.carousel-slide {
    min-width: 100%;
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform: translate3d(0, 0, 0);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.carousel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    align-items: center;
}

.carousel-image {
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-preview {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    box-shadow: 0 20px 40px var(--rgba-black-015);
    position: relative;
    overflow: hidden;
}

.product-preview::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
}

.carousel-info {
    padding: 60px;
}

.carousel-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.carousel-info p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.carousel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.feature-tag {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--rgba-black-01);
}

.carousel-btn {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 25px;
    font-size: var(--spacing-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s var(--ease-smooth);
    transform: translate3d(0, 0, 0);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
}

.carousel-btn:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 10px 30px var(--rgba-black-02);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-smooth);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 var(--spacing-xs) var(--spacing-lg) var(--rgba-black-01);
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.carousel-prev {
    margin-left: -25px;
}

.carousel-next {
    margin-right: -25px;
}

.carousel-prev:hover,
.carousel-next:hover {
    transform: translate3d(0, 0, 0) scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: 40px;
}

.indicator {
    width: var(--spacing-md);
    height: var(--spacing-md);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    opacity: 0.3;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.indicator.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.2);
}

/* Custom Solution Slide Styling */
.custom-solution .carousel-info h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.custom-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%, rgba(255,255,255,0.1)),
                linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%, rgba(255,255,255,0.1));
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    animation: moveStripes 20s linear infinite;
}

.custom-icon {
    position: relative;
    z-index: 2;
    color: white;
    opacity: 0.9;
    animation: float 6s ease-in-out infinite;
}

.contact-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.contact-btn::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.6s;
}

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

@keyframes moveStripes {
    0% { background-position: 0 0, 15px 15px; }
    100% { background-position: 30px 30px, 45px 45px; }
}

@keyframes float {
    0%, 100% { 
        transform: translate3d(0, 0, 0);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    50% { 
        transform: translate3d(0, -10px, 0);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.feature-text p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    font-weight: 500;
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-visual {
    height: 400px;
    border-radius: 16px;
}

.footer {
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
}

/* Responsive Design */
/* Ensure nav-menu is hidden on mobile by default */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        right: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: rgba(255, 255, 255, 0.95);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 40px !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        gap: 24px !important;
        display: flex !important;
        z-index: 9998 !important;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        list-style: none !important;
        margin: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(100%) !important;
    }
    
    [data-theme="dark"] .nav-menu {
        background: rgba(0, 0, 0, 0.95);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        right: 0 !important;
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 18px;
        font-weight: 500;
        padding: 16px 24px;
        display: block;
        text-align: center;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        color: var(--text-primary);
    }
    
    .nav-menu a:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--text-primary);
    }
    
    [data-theme="dark"] .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .hamburger {
        display: flex;
        z-index: 9999;
    }
}

/* Medium screens and tablets - 768px to 1024px */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .product-showcase {
        padding: 60px 0;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
    
    /* Carousel Responsive */
    .carousel-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .carousel-image {
        padding: 40px 40px 20px;
    }
    
    .product-preview {
        height: 250px;
    }
    
    .carousel-info {
        padding: 20px 40px 40px;
    }
    
    .carousel-info h3 {
        font-size: 2rem;
    }
    
    .carousel-nav {
        display: none;
    }
    
    /* Language Grid for tablets */
    .language-dropdown-menu {
        min-width: 380px;
    }
    
    .language-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}

/* Mobile specific styles for smaller screens */
@media (max-width: 767px) {
    .theme-dropdown {
        margin-left: 12px;
        margin-right: 4px;
    }
    
    .theme-toggle-btn,
    .language-toggle-btn {
        height: 40px;
        min-height: 40px;
        padding: 6px 8px;
        justify-content: center;
    }
    
    .theme-toggle-btn {
        min-width: 50px;
        width: auto;
        max-width: 60px;
    }
    
    .language-dropdown {
        margin-right: 8px;
    }
    
    .language-toggle-btn {
        min-width: 45px;
        width: auto;
        max-width: 55px;
    }
    
    .language-dropdown-menu {
        min-width: 320px;
        right: -10px;
    }
    
    .language-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .language-option .language-name {
        display: none;
    }
    
    .language-text {
        display: none;
    }
    
    .language-option {
        padding: 8px 6px;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 4px;
    }
    
    .language-flag {
        font-size: 18px;
    }
    
    .language-code {
        font-size: 10px;
        font-weight: 600;
    }
    
    .theme-text {
        display: none;
    }
    
    .theme-dropdown-menu {
        right: 0;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .product-showcase {
        padding: 40px 0 !important;
    }
    
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    
    .product-card {
        padding: 20px 16px !important;
        max-width: 100% !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
        margin-bottom: 30px !important;
    }
}

/* Tablet and Desktop - 768px and up should use desktop navigation */
@media (min-width: 768px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        background: none !important;
        flex-direction: row !important;
        height: auto !important;
        padding: 0 !important;
        right: auto !important;
        top: auto !important;
        width: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        gap: 32px !important;
        box-shadow: none !important;
        list-style: none !important;
        margin: 0 !important;
        z-index: auto !important;
    }
    
    .nav-menu a {
        font-size: 14px !important;
        font-weight: 400 !important;
        padding: 8px 12px !important;
        text-decoration: none !important;
        transition: color 0.3s ease !important;
        min-width: auto !important;
        border-radius: 0 !important;
        display: inline-block !important;
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 40px !important;
    }
    
    .product-card {
        padding: 20px 16px !important;
        margin: 0 !important;
    }
    
    .product-image {
        height: 150px !important;
        margin-bottom: 16px !important;
    }
    
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 40px !important;
    }
    
    .hero-content {
        padding: 0 16px !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Carousel Mobile */
    .carousel-image {
        padding: 30px 20px 15px;
    }
    
    .carousel-info {
        padding: 15px 20px 30px;
    }
    
    .carousel-info h3 {
        font-size: 1.5rem;
    }
    
    .carousel-btn {
        width: 100%;
    }
    
    /* Ensure mobile viewport stability */
    .navbar {
        min-height: 60px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Responsive spacing */
    .services-section {
        padding: 60px 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .global-info-section {
        padding: 60px 20px;
    }
    
    .privacy-content {
        padding: 40px 20px;
    }
}

/* Extra small screens - 320px and below */
@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 0 12px;
    }
    
    .language-dropdown-menu {
        min-width: 280px;
        right: -20px;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .carousel-info h3 {
        font-size: 1.25rem;
    }
    
    .hamburger {
        padding: 4px;
    }
    
    .hamburger span {
        width: 18px;
        height: 2px;
    }
    
    /* Responsive font sizing */
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
}

/* Custom Solution Animations - Optimized for 60fps */
@keyframes customFloat {
    0%, 100% { 
        transform: translate3d(0, 0, 0) rotate(0deg);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    25% { 
        transform: translate3d(5px, -8px, 0) rotate(2deg);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    50% { 
        transform: translate3d(0, -15px, 0) rotate(0deg);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    75% { 
        transform: translate3d(-5px, -8px, 0) rotate(-2deg);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

@keyframes moveStripes {
    0% { 
        background-position: 0% 50%;
        transform: translate3d(0, 0, 0);
    }
    50% { 
        background-position: 100% 50%;
        transform: translate3d(0, 0, 0);
    }
    100% { 
        background-position: 0% 50%;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes shimmer {
    0% { 
        background-position: -200% center;
        transform: translate3d(0, 0, 0);
    }
    100% { 
        background-position: 200% center;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
        transform: translate3d(0, 0, 0);
    }
    50% {
        background-position: 100% 50%;
        transform: translate3d(0, 0, 0);
    }
}

.custom-solution .custom-icon {
    animation: customFloat 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.custom-solution .custom-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(var(--accent-rgb), 0.1) 25%, transparent 25%, transparent 50%, rgba(var(--accent-rgb), 0.1) 50%, rgba(var(--accent-rgb), 0.1) 75%, transparent 75%);
    background-size: 20px 20px;
    animation: moveStripes 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    transform: translate3d(0, 0, 0);
    will-change: background-position, transform;
    backface-visibility: hidden;
    border-radius: inherit;
}

.custom-solution .contact-btn {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

.custom-solution .contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    will-change: background-position, transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.custom-solution .custom-preview {
    position: relative;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05));
    background-size: 200% 200%;
    animation: gradientShift 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    will-change: background-position, transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* Contact Page Styles */
.contact-hero {
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
}

.services-hero {
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

.scroll-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary, #000000);
    animation: bounce 2s infinite;
    opacity: 0.8;
}

.scroll-arrow svg {
    width: 32px;
    height: 32px;
}

.scroll-arrow-2 {
    animation-delay: 0.2s;
    margin-top: -20px;
    opacity: 0.6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Smooth scroll behavior for the entire page */
html {
    scroll-behavior: smooth;
}

.contact-section {
    padding: 80px 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.contact-info p {
    font-size: 1.125rem;
    margin-bottom: 48px;
    opacity: 0.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    margin: calc(var(--spacing-sm) * -1);
}

.contact-method:hover {
    background: var(--rgba-blue-005);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--rgba-black-01);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rgba-blue-01);
    border-radius: var(--radius-lg);
}

.contact-details h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-details p {
    opacity: 0.7;
    margin: 0;
}

.contact-form-container {
    background: var(--card-background, var(--rgba-white-005));
    border: 1px solid var(--border-color, var(--rgba-black-01));
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
    box-shadow: 0 var(--spacing-xs) var(--spacing-lg) var(--shadow-color, var(--rgba-black-01));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary, rgba(0, 0, 0, 0.8));
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 2px solid var(--input-border, var(--rgba-black-02));
    border-radius: var(--radius-md);
    background: var(--input-background, var(--rgba-white-008));
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-primary, #000000);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-placeholder, rgba(0, 0, 0, 0.5));
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color, #007aff);
    background: var(--input-focus-background, var(--rgba-blue-005));
    box-shadow: 0 0 0 3px var(--focus-ring, var(--rgba-blue-01));
}

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

/* Simple and natural select styling - must come after general form rules */
.contact-form .form-group select {
    cursor: pointer;
    padding-left: var(--spacing-sm) !important;
    padding-right: var(--spacing-xl) !important;
    padding-top: var(--spacing-sm) !important;
    padding-bottom: var(--spacing-sm) !important;
    /* Enhanced theming for select elements */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right var(--spacing-sm) center;
    background-size: 16px;
    color: var(--text-primary, #000000) !important;
    background-color: var(--input-background, rgba(255, 255, 255, 0.9)) !important;
    border-color: var(--input-border, rgba(29, 29, 31, 0.3)) !important;
}

.contact-form .form-group select:focus {
    background-color: var(--input-focus-background, rgba(0, 122, 255, 0.05)) !important;
    border-color: var(--accent-color, #007aff) !important;
    box-shadow: 0 0 0 3px var(--focus-ring, rgba(0, 122, 255, 0.1)) !important;
}

/* Select option styling */
.contact-form .form-group select option {
    background-color: var(--input-background, rgba(255, 255, 255, 0.9));
    color: var(--text-primary, #000000);
    padding: 8px;
}

/* Ensure select elements have consistent height with other inputs */
.form-group select {
    min-height: 48px;
    line-height: 1.5;
}

/* Mobile select improvements */
@media (max-width: 768px) {
    .contact-form .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        background-size: 14px;
    }
}

.form-submit {
    margin-top: var(--spacing-sm);
    align-self: flex-start;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Message and button wrapper for horizontal layout */
.message-button-wrapper {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.message-button-wrapper textarea {
    flex: 1;
    margin: 0;
}

.message-button-wrapper .form-submit {
    margin-top: 0;
    height: fit-content;
    white-space: nowrap;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    /* Stack message and button vertically on mobile */
    .message-button-wrapper {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .message-button-wrapper .form-submit {
        align-self: stretch;
        text-align: center;
        white-space: normal;
        min-height: 48px;
    }
    
    .contact-form-container {
        padding: 32px 24px;
    }
    
    .contact-methods {
        gap: 24px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: var(--spacing-md);
        margin: 0;
    }
    
    .contact-hero {
        padding: 100px 20px 60px;
    }
    
    .services-hero {
        padding: 100px 20px 60px;
    }
    
    .scroll-indicator {
        bottom: 40px;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
    }
    
    .scroll-arrow svg {
        width: 28px;
        height: 28px;
    }
}

/* Services responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .service-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }
}

/* Large desktop screens */
@media (min-width: 1200px) {
    .scroll-indicator {
        bottom: 80px;
    }
}

/* Services Page Styles */
.services-hero {
    padding: 120px 20px 80px;
    text-align: center;
}

.services-section {
    padding: 80px 20px;
}

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

.service-card {
    background: var(--card-background, var(--rgba-white-005));
    border: 1px solid var(--border-color, var(--rgba-black-01));
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 var(--spacing-xs) var(--spacing-lg) var(--shadow-color, var(--rgba-black-01));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 var(--spacing-sm) var(--spacing-xl) var(--shadow-color, var(--rgba-black-015));
    border-color: var(--accent-color, #007aff);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--accent-color, #007aff) 0%, #5856d6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary, #000000);
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-secondary, rgba(0, 0, 0, 0.8));
}

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

.service-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary, rgba(0, 0, 0, 0.8));
    font-size: 0.9rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color, #007aff);
    font-weight: bold;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
    margin: var(--spacing-md) 0;
}

.tech-tag {
    background: var(--accent-color, #007aff);
    color: white;
    padding: 6px var(--spacing-md);
    border-radius: var(--spacing-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.service-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color, #007aff) 0%, #5856d6 100%);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: var(--spacing-sm);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 var(--spacing-xs) var(--spacing-md) var(--rgba-blue-03);
}

.services-cta {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color, #007aff) 0%, #5856d6 100%);
    color: white;
    margin-top: 80px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--accent-color, #007aff);
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--accent-color, #007aff);
    transform: translateY(-2px);
}

/* Responsive Services Page */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .services-hero {
        padding: 100px 20px 60px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

.footer-section ul li a.inactive {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.footer-section ul li a.inactive:hover {
    color: inherit;
    opacity: 0.5;
}

/* Privacy Page Styles */
.privacy-hero {
    padding: 140px 0 80px;
    text-align: center;
}

.privacy-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.privacy-hero .lead {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.privacy-content {
    padding: 40px 0 80px;
}

.privacy-section {
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.2);
}

.privacy-section p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.privacy-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(var(--accent-rgb), 0.2);
}

.privacy-footer em {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   World Map Panel Styles
   ============================================================ */

/* Global Reach trigger styling */
#global-reach-trigger {
    cursor: pointer;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

#global-reach-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(101, 113, 255, 0.2);
}

#global-reach-trigger:active {
    transform: translateY(0);
}

/* World Map Panel */
.world-map-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-width: 100vw;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all 0.5s var(--ease-smooth);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.world-map-panel.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* World Map Header */
.world-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rgba-black-01);
    z-index: 10001;
}

.world-map-header h2 {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, #007aff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.close-btn:hover {
    background: var(--rgba-black-01);
    color: #000000;
    transform: rotate(90deg);
}

/* World Map Container */
.world-map-container {
    flex: 1;
    position: relative;
    overflow: auto;
    background: radial-gradient(ellipse at center, 
        rgba(101, 113, 255, 0.1) 0%, 
        rgba(101, 113, 255, 0.05) 50%, 
        transparent 100%);
    scrollbar-width: thin;
    scrollbar-color: rgba(101, 113, 255, 0.3) transparent;
    min-height: 300px;
}

.world-map-section {
    min-height: 50vh;
}

/* Custom scrollbar for webkit browsers */
.world-map-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.world-map-container::-webkit-scrollbar-track {
    background: transparent;
}

.world-map-container::-webkit-scrollbar-thumb {
    background: rgba(101, 113, 255, 0.3);
    border-radius: 4px;
}

.world-map-container::-webkit-scrollbar-thumb:hover {
    background: rgba(101, 113, 255, 0.5);
}

/* Canvas */
#world-map-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-x pan-y;
}

#world-map-canvas:active {
    cursor: grabbing;
}

/* World Map Overlay */
.world-map-overlay {
    position: absolute;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    pointer-events: none;
}

/* Client Stats */
.client-stats {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--rgba-black-01);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    min-width: 120px;
    animation: statFloat 3s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: 1s;
}

.stat-item:nth-child(3) {
    animation-delay: 2s;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007aff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

@keyframes lineFlow {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .world-map-section {
        min-height: 40vh;
    }
    
    .world-map-container {
        min-height: 300px;
    }
    
    .world-map-header {
        padding: var(--spacing-md);
    }
    
    .world-map-header h2 {
        font-size: 1.25rem;
    }
    
    .client-stats {
        gap: var(--spacing-md);
    }
    
    .stat-item {
        min-width: 100px;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .world-map-overlay {
        bottom: var(--spacing-md);
        left: var(--spacing-md);
        right: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .world-map-section {
        min-height: 35vh;
    }
    
    .world-map-container {
        min-height: 250px;
    }
}

/* Dark theme specific adjustments */
[data-theme="dark"] .world-map-panel {
    background: rgba(26, 26, 26, 0.95);
}

[data-theme="dark"] .world-map-header {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .world-map-header h2 {
    color: #ffffff;
}

[data-theme="dark"] .close-btn {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

[data-theme="dark"] .stat-item {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stat-label {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .world-map-container {
    background: radial-gradient(ellipse at center, 
        rgba(101, 113, 255, 0.15) 0%, 
        rgba(101, 113, 255, 0.08) 50%, 
        transparent 100%);
}

/* Light theme specific adjustments */
[data-theme="light"] .world-map-panel {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .world-map-container {
    background: radial-gradient(ellipse at center, 
        rgba(101, 113, 255, 0.08) 0%, 
        rgba(101, 113, 255, 0.04) 50%, 
        transparent 100%);
}

/* World Map Info Content */
.world-map-info {
    padding: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    color: rgba(0, 0, 0, 0.8);
}

.info-section {
    margin-bottom: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--rgba-black-01);
}

.info-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #007aff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-section p {
    line-height: 1.6;
    font-size: 1rem;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.region-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--rgba-black-01);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--rgba-black-01);
}

.region-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: #000000;
}

.region-card p {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* Dark theme adjustments for info content */
[data-theme="dark"] .world-map-info {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .info-section {
    background: rgba(26, 26, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .region-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .region-card h4 {
    color: #ffffff;
}

[data-theme="dark"] .region-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   Global Reach Page Styles
   ============================================================ */

/* Global Reach Hero */
.global-reach-hero {
    padding: 120px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(101, 113, 255, 0.1) 0%, 
        rgba(101, 113, 255, 0.05) 50%, 
        transparent 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.global-reach-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.global-reach-hero .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    opacity: 0.9;
}

/* Global Stats Section */
.global-stats-section {
    padding: 80px 20px;
    background: var(--background-primary);
}

/* Global Stats */
.global-stats {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.global-stats .stat-item {
    background: var(--background-elevated);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    text-align: center;
    min-width: 150px;
    box-shadow: 0 8px 32px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.global-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.global-stats .stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.global-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.global-stats .stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* World Map Section */
.world-map-section {
    padding: 80px 0;
    background: var(--background-secondary);
}

.world-map-section .world-map-container {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: radial-gradient(ellipse at center, 
        rgba(101, 113, 255, 0.1) 0%, 
        rgba(101, 113, 255, 0.05) 50%, 
        transparent 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-light);
    margin: 0 var(--spacing-lg);
    border: 1px solid var(--border-secondary);
    -webkit-overflow-scrolling: touch;
}

.world-map-section #world-map-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.world-map-section #world-map-canvas:active {
    cursor: grabbing;
}

/* Map Controls */
.map-controls {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    flex-direction: column;
    z-index: 100;
}

.map-control-btn {
    background: var(--background-elevated);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: var(--text-primary);
}

.map-control-btn:hover {
    background: var(--background-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Global Info Section */
.global-info-section {
    padding: 100px 20px;
}

.global-info-section .info-content {
    max-width: 1200px;
    margin: 0 auto;
}

.global-info-section .info-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--background-elevated);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
    box-shadow: 0 8px 32px var(--shadow-light);
}

.global-info-section .info-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.global-info-section .info-section p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Enhanced Region Grid */
.global-info-section .region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
    .global-info-section .region-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.global-info-section .region-card {
    background: var(--background-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.global-info-section .region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.global-info-section .region-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.region-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    /* Preserve original emoji colors across all themes */
    color: inherit;
    filter: none;
    -webkit-filter: none;
}

.global-info-section .region-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.global-info-section .region-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.region-stats {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.region-stats span {
    background: rgba(101, 113, 255, 0.1);
    color: var(--accent-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--accent-primary);
}

/* Success Stories */
.success-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
    .success-stories {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.story-card {
    background: var(--background-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.story-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.story-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.story-tags span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 4px var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

@media (min-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--background-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-primary);
}

.benefit-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Global CTA */
.global-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    text-align: center;
}

.global-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.global-cta p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.global-cta .cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.global-cta .btn-primary {
    background: white;
    color: #007aff;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.global-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.global-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.global-cta .btn-secondary:hover {
    background: white;
    color: #007aff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* Dark Theme Adjustments for Global Reach */
/* Most styling now uses CSS variables and adapts automatically */

[data-theme="dark"] .global-info-section .region-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .global-info-section .region-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .global-info-section .region-card p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .story-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .story-card h4 {
    color: #ffffff;
}

[data-theme="dark"] .story-card p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .benefit-item {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .benefit-item h4 {
    color: #ffffff;
}

[data-theme="dark"] .benefit-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design for Global Reach */
@media (max-width: 768px) {
    .global-reach-hero {
        padding: 100px 20px 60px;
    }
    
    .global-stats {
        gap: var(--spacing-md);
    }
    
    .global-stats .stat-item {
        min-width: 120px;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .global-stats .stat-number {
        font-size: 2rem;
    }
    
    .world-map-section .world-map-container {
        height: 50vh;
        min-height: 400px;
        margin: 0 var(--spacing-md);
    }
    
    .map-controls {
        position: static;
        flex-direction: row;
        justify-content: center;
        padding: var(--spacing-md);
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }
    
    .global-info-section {
        padding: 60px 20px;
    }
    
    .global-info-section .info-section {
        padding: var(--spacing-lg);
    }
    
    .global-info-section .region-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .success-stories {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .global-cta {
        padding: 60px 20px;
    }
    
    .global-cta h2 {
        font-size: 2rem;
    }
    
    .global-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .global-cta .btn-primary,
    .global-cta .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}
