/* XYX Holdings - Professional B2B Website
   Design Philosophy: Industrial Elegance - Bold, Professional, Cross-Cultural
   Color Palette: Deep Navy + Warm Gold + Clean Slate
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Primary Colors */
    --navy-deep: #0A1628;
    --navy-dark: #12243D;
    --navy-medium: #1B3A5C;
    --navy-light: #2C5282;
    
    /* Accent Colors */
    --gold-rich: #C9A227;
    --gold-light: #E8C547;
    --gold-pale: #F5E6B8;
    
    /* Supporting Colors */
    --coral-accent: #E8685C;
    --teal-accent: #2A9D8F;
    --slate-dark: #2D3748;
    --slate-medium: #4A5568;
    --slate-light: #718096;
    
    /* Neutrals */
    --cream: #F8F6F0;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    
    /* China Red - for Chinese elements */
    --china-red: #C41E3A;
    --china-red-light: #E8485D;
    
    /* Typography */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-chinese: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-body: 'Outfit', var(--font-chinese), sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.1);
    --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 10px 40px rgba(10, 22, 40, 0.15);
    --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.2);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.3);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--slate-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

/* Language-specific body styles */
body[lang="zh"] {
    font-family: var(--font-chinese), var(--font-display);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

/* ============================================
   Typography System
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-deep);
}

body[lang="zh"] h1,
body[lang="zh"] h2,
body[lang="zh"] h3,
body[lang="zh"] h4,
body[lang="zh"] h5,
body[lang="zh"] h6 {
    font-family: var(--font-chinese);
}

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

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

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

.h4, h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
}

.h5, h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

.h6, h6 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

p {
    margin-bottom: var(--space-md);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--slate-medium);
}

.text-gold { color: var(--gold-rich); }
.text-navy { color: var(--navy-deep); }
.text-coral { color: var(--coral-accent); }
.text-teal { color: var(--teal-accent); }

/* ============================================
   Layout Components
   ============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1600px;
}

.section {
    padding: var(--space-4xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

.grid {
    display: grid;
    gap: var(--space-xl);
}

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

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Flex utilities */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ============================================
   Navigation Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-medium);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--gold-rich);
}

.logo-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-rich);
    transition: width var(--transition-fast);
}

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

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

.nav-link.active {
    color: var(--gold-rich);
}

.nav-link.active::after {
    width: 80%;
}

/* Hide underline for dropdown triggers */
.nav-dropdown > .nav-link::after {
    display: none;
}

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

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--slate-dark);
    font-size: 0.9rem;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-link:hover {
    background: var(--cream);
    color: var(--gold-rich);
}

/* Dropdown Sections for Services Menu */
.nav-dropdown-section {
    padding: var(--space-xs) 0;
}

.nav-dropdown-section:first-child {
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: var(--space-xs);
}

.nav-dropdown-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--slate-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-xs) var(--space-md);
}

/* Nav Contact Button Highlight */
.nav-contact-btn {
    background: var(--gold-rich) !important;
    color: var(--white) !important;
    padding: var(--space-xs) var(--space-md) !important;
    border-radius: var(--radius-md) !important;
}

.nav-contact-btn:hover {
    background: var(--gold-light) !important;
    color: var(--navy-deep) !important;
}

/* Mobile Contact Bar (Bottom Sticky) */
.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    z-index: 1000;
    padding: var(--space-sm);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .mobile-contact-bar {
        display: flex;
        justify-content: space-around;
    }
    
    body {
        padding-bottom: 70px; /* Space for mobile bar */
    }
}

.mobile-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
}

.mobile-contact-item span:first-child {
    font-size: 1.2rem;
}

.mobile-contact-item.primary {
    background: var(--gold-rich);
    border-radius: var(--radius-md);
    padding: var(--space-xs) var(--space-lg);
}

.mobile-contact-item:hover {
    opacity: 0.9;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-left: var(--space-md);
}

/* Hide mobile lang switcher on desktop */
.mobile-lang-switcher {
    display: none;
}

.lang-btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn.active {
    background: var(--gold-rich);
    color: var(--navy-deep);
}

.lang-btn:hover:not(.active) {
    color: var(--white);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
}

@media (max-width: 1024px) {
    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--navy-deep);
        background-image: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy-dark) 50%, var(--navy-medium) 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px var(--space-lg) var(--space-xl);
        gap: 0;
        z-index: 999;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.mobile-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        display: flex;
    }
    
    .nav-menu .nav-link {
        padding: var(--space-md) 0;
        font-size: 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    .nav-menu .nav-dropdown {
        width: 100%;
    }
    
    .nav-menu .nav-dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu .nav-dropdown-content {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        -webkit-transform: none !important;
        left: auto !important;
        top: auto !important;
        background: rgba(255,255,255,0.08);
        border-radius: var(--radius-md);
        padding: var(--space-sm);
        margin: var(--space-xs) 0 var(--space-md);
        display: block !important;
        min-width: auto !important;
        box-shadow: none !important;
    }
    
    .nav-menu .nav-dropdown:hover .nav-dropdown-content {
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .nav-menu .nav-dropdown-link {
        padding: var(--space-sm) var(--space-md);
        font-size: 1rem;
        color: var(--white) !important;
        display: block;
        transform: none !important;
        transition: background 0.2s ease, color 0.2s ease;
    }
    
    .nav-menu .nav-dropdown-link:hover {
        background: rgba(255,255,255,0.15);
        color: var(--gold-light) !important;
        transform: none !important;
    }
    
    .nav-menu .nav-link {
        transform: none !important;
    }
    
    .nav-menu .nav-link:hover {
        transform: none !important;
    }
    
    /* Hide lang-switcher inside nav-menu on mobile (use mobile-lang-switcher instead) */
    .nav-menu .lang-switcher {
        display: none !important;
    }
    
    /* Mobile language switcher in header */
    .mobile-lang-switcher {
        display: flex !important;
        align-items: center;
        gap: 2px;
        margin-left: auto;
        margin-right: var(--space-sm);
        background: rgba(255, 255, 255, 0.15);
        border-radius: var(--radius-full);
        padding: 4px;
    }
    
    .mobile-lang-switcher .lang-btn {
        display: block;
        padding: 6px 10px;
        font-size: 0.75rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.8);
        background: transparent;
        border-radius: var(--radius-full);
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .mobile-lang-switcher .lang-btn:hover {
        color: var(--white);
    }
    
    .mobile-lang-switcher .lang-btn.active {
        background: var(--gold-rich);
        color: var(--white);
    }
    
    .nav-menu .nav-contact-btn {
        background: var(--accent);
        padding: var(--space-md) !important;
        border-radius: var(--radius-md);
        margin-top: var(--space-md);
        text-align: center;
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Ensure header is always visible on mobile */
    .header {
        background: rgba(10, 22, 40, 0.95) !important;
        backdrop-filter: blur(10px);
        transform: translateY(0) !important;
    }
    
    .header-inner {
        padding: var(--space-md) var(--space-md);
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    /* Prevent any horizontal sliding on menu items */
    .nav-menu .nav-link,
    .nav-menu .nav-dropdown > .nav-link,
    .nav-menu .nav-dropdown-link,
    .nav-menu .nav-dropdown-content a {
        transform: none !important;
        -webkit-transform: none !important;
        transition: background 0.2s ease, color 0.2s ease !important;
        touch-action: pan-y;
        -webkit-touch-callout: none;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active,
    .nav-menu .nav-link:focus,
    .nav-menu .nav-dropdown-link:hover,
    .nav-menu .nav-dropdown-link:active,
    .nav-menu .nav-dropdown-link:focus {
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    /* Prevent horizontal scroll in mobile menu */
    .nav-menu.mobile-open {
        overflow-x: hidden !important;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 50%, var(--navy-medium) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(42, 157, 143, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

/* Large screens - keep content and image closer */
@media (min-width: 1400px) {
    .hero .container {
        max-width: 1400px;
    }
    
    .hero-visual {
        right: calc(50% - 700px);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-rich);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .highlight {
    color: var(--gold-rich);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    max-width: 700px;
    z-index: 1;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(10, 22, 40, 0.6));
    z-index: 1;
}

@media (max-width: 1200px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-rich), var(--gold-light));
    color: var(--navy-deep);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--gold-rich);
    color: var(--gold-rich);
}

.btn-outline {
    background: transparent;
    color: var(--navy-deep);
    border: 2px solid var(--navy-deep);
}

.btn-outline:hover {
    background: var(--navy-deep);
    color: var(--white);
}

.btn-dark {
    background: var(--navy-deep);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.85rem;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--space-xl);
}

.card-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--cream);
    color: var(--slate-medium);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--slate-medium);
    font-size: 0.95rem;
}

/* Service Card */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-medium);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-rich), var(--teal-accent));
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 162, 39, 0.2);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-medium));
    border-radius: var(--radius-md);
    color: var(--gold-rich);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    margin-bottom: var(--space-md);
}

.service-card p {
    color: var(--slate-medium);
    margin-bottom: var(--space-lg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gold-rich);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: var(--space-md);
}

/* Stats Card */
.stat-card {
    text-align: center;
    padding: var(--space-2xl);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold-rich);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    color: var(--slate-medium);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-rich);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--slate-medium);
    font-size: 1.1rem;
}

/* ============================================
   Two-Column Sections
   ============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

.two-col-content {
    max-width: 540px;
}

.two-col-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.two-col-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(10, 22, 40, 0.1));
    z-index: 1;
}

@media (max-width: 1024px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .two-col.reverse {
        direction: ltr;
    }
}

/* ============================================
   Country Tabs (Australia/China)
   ============================================ */
.country-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.country-tab {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-2xl);
    background: var(--white);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.country-tab:hover {
    box-shadow: var(--shadow-md);
}

.country-tab.active {
    border-color: var(--gold-rich);
    box-shadow: var(--shadow-gold);
}

.country-flag {
    width: 48px;
    height: 32px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.country-tab-text h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.country-tab-text span {
    font-size: 0.85rem;
    color: var(--slate-medium);
}

/* ============================================
   Product Cards
   ============================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cream);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--coral-accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.product-body {
    padding: var(--space-xl);
}

.product-title {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.product-price .current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-deep);
}

.product-price .original {
    font-size: 0.9rem;
    color: var(--slate-light);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--gold-rich);
    font-size: 0.85rem;
}

/* ============================================
   Case Study Cards
   ============================================ */
.case-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.case-card:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-2xl);
    transition: all var(--transition-medium);
}

.case-card:hover .case-overlay {
    background: linear-gradient(to top, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0.7) 50%, rgba(10, 22, 40, 0.3) 100%);
}

.case-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(201, 162, 39, 0.2);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    width: fit-content;
}

.case-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.case-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy-deep);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--gold-rich);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--slate-medium);
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
}

.contact-info {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-dark));
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.15);
    border-radius: var(--radius-md);
    color: var(--gold-rich);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h5 {
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.contact-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--off-white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold-rich);
    background: var(--white);
}

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

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy-deep);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-lg);
    max-width: 300px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-xs) 0;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-service-group {
    margin-bottom: var(--space-md);
}

.footer-service-label {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-social-section {
    margin-top: var(--space-lg);
}

.footer-social-icons {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-social-icons a:hover {
    background: var(--gold-rich);
    color: var(--navy-deep);
}

.footer-social-icons a.social-china:hover {
    background: var(--china-red);
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gold-rich);
    color: var(--navy-deep);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
}

/* ============================================
   Page Headers
   ============================================ */
.page-header {
    padding: calc(100px + var(--space-4xl)) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-dark));
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.page-header .breadcrumb a:hover {
    color: var(--gold-rich);
}

.page-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    max-width: 600px;
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }

/* Background colors */
.bg-navy { background-color: var(--navy-deep); }
.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--white); }

/* Hide elements for specific languages */
[data-lang="en"] { display: none; }
[data-lang="zh"] { display: none; }

body[lang="en"] [data-lang="en"] { display: block; }
body[lang="en"] [data-lang="zh"] { display: none; }
body[lang="zh"] [data-lang="zh"] { display: block; }
body[lang="zh"] [data-lang="en"] { display: none; }

/* Inline language elements */
span[data-lang="en"],
a[data-lang="en"],
button[data-lang="en"] { display: inline; }

span[data-lang="zh"],
a[data-lang="zh"],
button[data-lang="zh"] { display: inline; }

body[lang="en"] span[data-lang="zh"],
body[lang="en"] a[data-lang="zh"],
body[lang="en"] button[data-lang="zh"] { display: none; }

body[lang="zh"] span[data-lang="en"],
body[lang="zh"] a[data-lang="en"],
body[lang="zh"] button[data-lang="en"] { display: none; }

/* ============================================
   Service Finder Section - Prominent Country Selection
   ============================================ */
.service-finder-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--cream) 100%);
}

.service-finder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

@media (max-width: 900px) {
    .service-finder-grid {
        grid-template-columns: 1fr;
    }
}

.service-finder-column {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: visible;
    box-shadow: var(--shadow-lg);
    transition: box-shadow var(--transition-medium);
}

.service-finder-column:hover {
    box-shadow: var(--shadow-xl);
}

/* Column Headers - Australia & China */
.column-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.australia-header {
    background: linear-gradient(135deg, #002B7F 0%, #00498F 50%, #0066B3 100%);
    color: var(--white);
}

.australia-header::before {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.china-header {
    background: linear-gradient(135deg, #C41E3A 0%, #DE2910 50%, #E8485D 100%);
    color: var(--white);
}

.china-header::before {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.column-flag {
    font-size: 3.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.column-location h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.column-location p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* Service Cards within Columns */
.column-services {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.service-finder-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--off-white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: background var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
    border: 2px solid transparent;
    position: relative;
    overflow: visible;
}

.service-finder-card:hover {
    background: var(--white);
    border-color: var(--gold-rich);
    box-shadow: var(--shadow-md);
}

.service-finder-card * {
    color: inherit;
}

.australia-column .service-finder-card:hover {
    border-color: #0066B3;
}

.china-column .service-finder-card:hover {
    border-color: #C41E3A;
}

.finder-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finder-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    border-radius: var(--radius-md);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.finder-content {
    flex: 1;
}

.finder-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: var(--space-xs);
}

.finder-content > p {
    font-size: 0.9rem;
    color: var(--slate-medium);
    margin-bottom: var(--space-sm);
}

.finder-benefits {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0 0 0;
}

.finder-benefits li {
    font-size: 0.85rem;
    color: var(--slate-dark);
    padding: 2px 0;
}

.finder-arrow {
    position: absolute;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--slate-light);
    transition: opacity var(--transition-fast), color var(--transition-fast);
    opacity: 0;
}

.service-finder-card:hover .finder-arrow {
    opacity: 1;
    color: var(--gold-rich);
}

.australia-column .service-finder-card:hover .finder-arrow {
    color: #0066B3;
}

.china-column .service-finder-card:hover .finder-arrow {
    color: #C41E3A;
}

/* Quick Navigation */
.service-quick-nav {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-quick-nav p {
    color: var(--slate-medium);
    margin-bottom: var(--space-md);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .column-header {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
    }
    
    .column-flag {
        font-size: 3rem;
    }
    
    .service-finder-card {
        flex-direction: column;
        text-align: center;
    }
    
    .finder-icon {
        margin: 0 auto;
    }
    
    .finder-arrow {
        display: none;
    }
}

