/* A-TECH Precision Engineering - Design System */

:root {
    --primary: #0f172a;
    --primary-light: #1e3a5f;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --accent-dark: #0891b2;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

* {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

/* Navigation */
.navbar {
    background: var(--primary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand img {
    height: 2.5rem;
}

.navbar-brand span {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--accent);
}

.navbar-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
}

.navbar-cta:hover {
    background: var(--accent-dark);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    gap: 0.25rem;
    background: var(--primary-light);
    padding: 0.25rem;
    border-radius: 9999px;
}

.lang-toggle button {
    padding: 0.35rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--gray-400);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-toggle button.active {
    background: var(--accent);
    color: var(--white);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 40%);
}

.hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-dark h2 {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: var(--gray-400);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0 auto 1rem;
}

/* Stats Section */
.stats {
    background: var(--primary);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-400);
    font-size: 1rem;
    font-weight: 500;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.card ul li {
    color: var(--gray-600);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Grid Layouts */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

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

/* Factory Card */
.factory-card {
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.factory-card-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.factory-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* .factory-card-image img.nantong-img removed - using inline style instead */

.factory-card-content {
    padding: 2rem;
}

.factory-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.factory-badge.primary {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-dark);
}

.factory-badge.secondary {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.factory-badge.new {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.factory-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.factory-card .location {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.factory-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.spec-item {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 0.75rem;
}

.spec-item h4 {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.spec-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-item li {
    font-size: 0.85rem;
    color: var(--gray-700);
    padding: 0.15rem 0;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.product-item {
    background: var(--gray-50);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.product-item .name {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
}

.product-category {
    margin-bottom: 2.5rem;
}

.product-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-category h3 span {
    width: 8px;
    height: 24px;
    background: var(--accent);
    border-radius: 4px;
}

/* Contact Cards */
.contact-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-card h3 span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.contact-card h3 .teal {
    background: var(--accent);
}

.contact-card h3 .blue {
    background: #3b82f6;
}

.contact-card p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-card .contact-info {
    margin-top: 1.5rem;
}

.contact-card .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--gray-100);
}

.contact-card .contact-item:first-child {
    border-top: none;
}

.contact-card .contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-card .contact-item .label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.contact-card .contact-item .value {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Lead Form */
.lead-form {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.lead-form h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.lead-form .subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label span {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' 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 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

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

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.form-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

/* Values Section */
.value-card {
    text-align: center;
    padding: 2rem;
}

.value-card .icon {
    width: 80px;
    height: 80px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-card .icon svg {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Certifications */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cert-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.cert-card .icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cert-card .icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.cert-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.cert-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.qc-system {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
}

.qc-system h3 {
    text-align: center;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.qc-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.qc-step {
    text-align: center;
    padding: 1rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 0.75rem;
}

.qc-step span {
    display: block;
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9rem;
}

/* Revenue Section */
.revenue-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.revenue-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.revenue-item {
    margin-bottom: 1.5rem;
}

.revenue-item:last-child {
    margin-bottom: 0;
}

.revenue-item .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.revenue-item .header .year {
    font-weight: 600;
    color: var(--gray-700);
}

.revenue-item .header .amount {
    font-weight: 700;
    color: var(--accent);
}

.revenue-item .bar {
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
}

.revenue-item .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 6px;
}

.revenue-note {
    text-align: center;
    color: var(--gray-500);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.client-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.client-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.client-item {
    background: var(--gray-50);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
}

.client-item .percent {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.client-item .label {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--gray-400);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand img {
    height: 2rem;
}

.footer-brand span {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-copy {
    text-align: center;
    font-size: 0.9rem;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    color: var(--gray-400);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Utility */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

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

@media (max-width: 768px) {
    /* Base overflow fix */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Container */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }

    /* Navbar */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand img {
        height: 2rem;
    }

    .navbar-brand span {
        font-size: 1.25rem;
    }

    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 1001;
        margin-left: auto;
    }

    .navbar .container {
        position: relative;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.25rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-menu > li:last-child {
        border-bottom: none;
    }

    .navbar-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .navbar-menu .navbar-cta {
        display: inline-block;
        margin-top: 0.5rem;
    }

    .navbar-menu .lang-toggle {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .navbar-menu .lang-toggle button {
        flex: 1;
        padding: 0.75rem;
        font-size: 1rem;
    }

    /* Hero */
    .hero {
        padding-top: 5rem;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Section */
    .section {
        padding: 3rem 0;
        overflow-x: hidden;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Stats */
    .stats {
        padding: 2rem 0;
    }

    .stat-number {
        font-size: 2.25rem;
    }

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

    /* Cards */
    .card {
        padding: 1.25rem;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        border-radius: 0.75rem;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    /* Grids */
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    /* Factory Card */
    .factory-card-image {
        height: 200px;
    }

    .factory-card-content {
        padding: 1.25rem;
    }

    .factory-card h3 {
        font-size: 1.25rem;
    }

    .factory-specs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .spec-item {
        padding: 0.75rem;
    }

    /* Cert Grid */
    .cert-grid {
        grid-template-columns: 1fr;
    }

    /* QC Steps */
    .qc-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Client Grid */
    .client-grid {
        grid-template-columns: 1fr;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Page Hero */
    .page-hero {
        padding: 6rem 0 2.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    /* Contact Cards */
    .contact-card {
        padding: 1.25rem;
    }

    .contact-card h3 {
        font-size: 1.1rem;
    }

    /* Lead Form */
    .lead-form {
        padding: 1.5rem;
    }

    .lead-form h3 {
        font-size: 1.25rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-copy {
        font-size: 0.85rem;
    }
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Language Hidden - managed by JavaScript */
.lang-hidden {
    display: none !important;
}

/* Pure CSS Language Switching */
/* Hide Chinese (zh) when page lang is English (en) */
html[lang="en"] [lang="zh"] {
    display: none !important;
}

/* Hide English (en) when page lang is Chinese (cn) */
html[lang="cn"] [lang="en"] {
    display: none !important;
}

/* Default: Hide Chinese until JavaScript loads */
html[lang="en"] [lang="zh"] {
    display: none !important;
}
