/* Main Styles - Optimized Version */

/* ============================================
   BASE LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    will-change: transform, background-color, box-shadow;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Logo */
.header .logo,
.logo-image {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.header .logo-link,
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.company-name,
.header .company-name {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--primary-blue);
    white-space: nowrap;
}

.logo-placeholder {
    width: 48px;
    height: 48px;
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-lg);
}

/* Navigation */
.nav-primary ul {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-primary a {
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition-fast);
    padding: var(--space-2) 0;
}

.nav-primary a:hover,
.nav-primary a.active {
    color: var(--primary-blue);
}

/* Dropdown Menus */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-6);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    pointer-events: none;
    z-index: var(--z-dropdown);
}

.has-dropdown:hover .dropdown-menu,
.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-section {
    margin-bottom: var(--space-4);
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-section h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.dropdown-menu a {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--primary-blue);
    padding-left: var(--space-4);
}

.badge-sm {
    background: var(--accent-cyan);
    color: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 600;
    margin-left: var(--space-2);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: var(--gray-100);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.lang-option {
    color: var(--gray-400);
    transition: color var(--transition-fast);
    cursor: pointer;
}

.lang-option.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.lang-divider {
    color: var(--gray-400);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-2);
    cursor: pointer;
    background: none;
    border: none;
    /* Ensure button is touchable on mobile */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    min-width: 44px; /* iOS minimum touch target */
    min-height: 44px; /* iOS minimum touch target */
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-fast);
    border-radius: 2px;
    pointer-events: none; /* Prevent spans from intercepting touch */
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-primary {
    background: var(--gradient-hero);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--accent-cyan);
    color: var(--white);
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 212, 255, 0);
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-outline:hover::before {
    opacity: 1;
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-outline span,
.btn-outline svg {
    position: relative;
    z-index: 1;
}

/* Outline button variant for light backgrounds */
.btn-outline-dark,
.content-section .btn-outline,
.faq-answer .btn-outline {
    border: 2px solid var(--accent-cyan);
    color: var(--primary-blue);
    background: rgba(0, 212, 255, 0.08);
    backdrop-filter: blur(10px);
}

.btn-outline-dark:hover,
.content-section .btn-outline:hover,
.faq-answer .btn-outline:hover {
    background: var(--accent-cyan);
    color: var(--white);
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

/* Product page outline buttons - better visibility */
.product-card .btn-outline,
.related-product-card .btn-outline,
.grade-card .btn-outline {
    border: 2px solid var(--accent-cyan);
    color: var(--primary-blue);
    background: rgba(0, 212, 255, 0.05);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.15);
}

.product-card .btn-outline:hover,
.related-product-card .btn-outline:hover,
.grade-card .btn-outline:hover {
    background: var(--accent-cyan);
    color: var(--white);
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

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

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-text {
    color: var(--accent-cyan);
    background: transparent;
    padding: var(--space-2) var(--space-4);
}

.btn-text:hover {
    color: var(--accent-teal);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   HERO SECTION
   ============================================ */

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto; /* Changed from 'none' to enable mouse interaction */
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: var(--space-12);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #0A2463 0%, #1E3A8A 50%, #0A2463 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/backdrop.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.5) 0%, rgba(30, 58, 138, 0.3) 50%, rgba(10, 36, 99, 0.5) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-12);
    font-weight: 400;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    animation: bounce 2s infinite;
    z-index: 2;
}

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

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
    background: var(--white);
    padding: var(--space-20) 0;
    padding-top: var(--space-24);
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    z-index: 10;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-12);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.trust-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.trust-content h3 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--space-1);
}

.trust-content p {
    color: var(--gray-700);
    font-size: var(--text-base);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: var(--space-16) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-700);
    font-weight: 500;
}

/* Products Section */
.products-section {
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
    padding: var(--space-20) 0;
    padding-top: var(--space-24);
}

.products-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/backdrop.png');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--gradient-accent);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    z-index: 10;
}

.product-image {
    height: 240px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--gray-100);
}

.product-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    color: var(--primary-light);
}

.product-content {
    padding: var(--space-8);
}

.product-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--space-2);
}

.chemical-formula {
    font-family: var(--font-mono);
    font-size: var(--text-base);
    color: var(--accent-teal);
    margin-bottom: var(--space-4);
}

.product-description {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.product-specs {
    margin-bottom: var(--space-6);
}

.product-specs li {
    padding: var(--space-2) 0;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    font-size: var(--text-sm);
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* Applications Section */
.applications-section {
    background: var(--white);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}

.application-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-align: center;
}

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

.application-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.application-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--space-3);
}

.application-description {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.application-link {
    color: var(--accent-cyan);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.application-link:hover {
    color: var(--accent-teal);
}

/* Stats Section */
.stats-section {
    background: var(--primary-blue);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/backdrop.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.stats-section .section-title,
.stats-section .section-subtitle {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: var(--space-8);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
}

.stat-number {
    font-size: var(--text-6xl);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-1);
}

.stat-year,
.stat-trend {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Why Choose Us Section */
.why-us-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/backdrop.png');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-us-image {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: var(--gradient-card);
    border-radius: var(--radius-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--primary-light);
    box-shadow: var(--shadow-xl);
}

.image-placeholder svg {
    width: 100px;
    height: 100px;
}

.why-us-text .section-title {
    text-align: left;
    font-size: var(--text-4xl);
    margin-bottom: var(--space-8);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.benefit-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding: var(--space-5);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-hero);
    color: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: 700;
}

.benefit-content h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--space-2);
}

.benefit-content p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
}

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

.cta-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
}

.cta-subtitle {
    font-size: var(--text-xl);
    line-height: 1.8;
    margin-bottom: var(--space-10);
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, var(--gray-900) 0%, #0D0D0D 100%);
    color: var(--gray-400);
    padding: var(--space-16) 0 var(--space-6);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/backdrop.png');
    background-size: cover;
    background-position: center;
    opacity: 0.02;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    position: relative;
    z-index: 1;
}

.footer-column {
    text-align: left;
}

.footer-column h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-column a {
    color: var(--gray-400);
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
    display: block;
    margin-bottom: var(--space-2);
}

.footer-column a:hover {
    color: var(--accent-cyan);
    padding-left: var(--space-2);
}

.footer-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: var(--space-3);
}

.footer-company-name {
    color: var(--white);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    letter-spacing: 0.02em;
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.footer-column p {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.footer-chinese {
    color: var(--accent-cyan);
    font-size: var(--text-base);
    font-weight: 600;
    opacity: 0.6;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--text-sm);
    position: relative;
    z-index: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .header .container {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    
    /* Mobile Logo & Company Name */
    .logo {
        width: 32px;
        height: 32px;
    }
    
    /* Hide full company name and show shortened version */
    .company-name {
        display: inline-block;
        font-size: 0 !important; /* Hide original text */
        line-height: 0;
    }
    
    .company-name::before {
        display: inline-block;
        font-size: var(--text-sm);
        font-weight: 600;
        line-height: normal;
        content: 'Sukeleshi';
    }
    
    /* For Chinese, show short form */
    html[lang="zh-CN"] .company-name::before {
        content: '速可乐士';
    }
    
    /* Hide desktop navigation */
    .nav-primary:not(.active) {
        display: none !important;
    }
    
    /* Mobile language toggle - more compact and horizontal */
    .header-right {
        gap: var(--space-2);
        align-items: center;
        order: 2;
    }
    
    .lang-toggle {
        padding: var(--space-1) var(--space-3);
        font-size: var(--text-sm);
        min-width: auto;
        gap: var(--space-2);
        height: 36px;
        display: flex;
        flex-direction: row;
        align-items: center;
        white-space: nowrap;
    }
    
    .lang-toggle span {
        padding: 0;
        display: inline-block;
    }
    
    /* Make "Get Quote" button more compact */
    .btn-sm {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
        white-space: nowrap;
    }
    
    /* Ensure hamburger menu is visible and positioned correctly */
    .mobile-menu-toggle {
        display: flex !important;
        z-index: calc(var(--z-modal) + 1);
        order: 3;
        margin-left: var(--space-2);
    }
    
    /* Mobile Navigation */
    .nav-primary {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: var(--space-4) var(--space-4) var(--space-20) var(--space-4);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: var(--z-modal);
        height: calc(100vh - 70px);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    
    .nav-primary.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-primary ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-primary > ul > li {
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
    }
    
    .nav-primary a {
        display: block;
        padding: var(--space-4) var(--space-4);
        font-size: var(--text-lg);
        font-weight: 600;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        color: var(--gray-900);
    }
    
    .nav-primary > ul > li > a {
        font-size: var(--text-lg);
        font-weight: 600;
        color: var(--primary-blue);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Add dropdown indicator arrow for mobile */
    .nav-primary > ul > li.has-dropdown > a::after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid var(--primary-blue);
        margin-left: var(--space-2);
        transition: transform 0.3s ease;
    }
    
    /* Rotate arrow when dropdown is active */
    .nav-primary > ul > li.has-dropdown.active > a::after,
    .nav-primary > ul > li.has-dropdown > a.expanded::after {
        transform: rotate(180deg);
    }
    
    /* Mobile Dropdown Menus */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        padding: 0;
        background: rgba(243, 244, 246, 0.95);
        border-radius: var(--radius-md);
        margin: var(--space-2) var(--space-4);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        width: calc(100% - var(--space-8));
        box-sizing: border-box;
        pointer-events: auto !important;
        display: block;
        border: 1px solid var(--gray-200);
    }
    
    .has-dropdown:hover .dropdown-menu,
    .dropdown-menu.active {
        max-height: 2000px !important;
        padding: var(--space-4) var(--space-4) !important;
        overflow: visible !important;
        display: block !important;
        height: auto !important;
        margin: var(--space-3) var(--space-4) !important;
    }
    
    .dropdown-section {
        margin-bottom: var(--space-4);
        width: 100%;
    }
    
    .dropdown-section:last-child {
        margin-bottom: 0;
    }
    
    .dropdown-section h4 {
        font-size: var(--text-sm);
        font-weight: 700;
        color: var(--primary-blue) !important;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: var(--space-3);
        padding: var(--space-2) 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .dropdown-menu a {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-base) !important;
        line-height: 1.6;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        display: block !important;
        color: var(--gray-900) !important;
        font-weight: 500 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: rgba(0, 212, 255, 0.1);
        color: var(--primary-blue) !important;
        border-radius: var(--radius-md);
    }
    
    /* Ensure dropdown sections are visible */
    .dropdown-menu.active .dropdown-section {
        display: block !important;
        opacity: 1 !important;
    }
    
    .dropdown-menu.active .dropdown-section h4 {
        display: block !important;
        opacity: 1 !important;
    }
    
    .dropdown-menu.active a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: var(--gray-900) !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .hero-features {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .trust-items,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-10);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .cta-title {
        font-size: var(--text-3xl);
    }
    
    .trust-items,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column ul {
        align-items: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Center footer contact items on mobile */
    .footer-contact-item {
        justify-content: center;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* GPU acceleration for transformed elements */
.product-card,
.application-card,
.benefit-item {
    will-change: transform;
}

.product-card:not(:hover),
.application-card:not(:hover),
.benefit-item:not(:hover) {
    will-change: auto;
}
