/* ===== CSS Variables ===== */
:root {
    --primary: #e4a21b;      /* RGB(228,162,27) */
    --primary-dark: #c88c10;
    --primary-light: #f0b830;
    --secondary: #2d3e50;   /* 深蓝灰色 */
    --dark: #1a1a1a;
    --light: #fafafa;
    --gray: #666666;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(228, 162, 27, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Language Switcher (Dropdown) ===== */
.lang-dropdown {
    position: fixed;
    top: 18px;
    left: 20px;
    z-index: 1000;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.15);
}

.lang-current:hover {
    background: var(--primary);
    color: var(--white);
}

.lang-flag {
    font-size: 16px;
}

.lang-arrow {
    font-size: 10px;
    transition: var(--transition);
}

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

.lang-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 160px;
}

.lang-dropdown.open .lang-options {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark);
    transition: var(--transition);
    text-align: left;
}

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

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== Logo ===== */
.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
}

.logo-img {
    height: 35px;
    width: auto;
}

.logo-text {
    color: #f97316;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 12px;
    font-weight: 500;
    color: #f97316;
    letter-spacing: 2px;
}

/* Footer Logo */
.footer-logo .logo-img {
    height: 35px;
    width: auto;
    margin-bottom: 10px;
}

/* ===== Language Switcher (Right) ===== */
.lang-switcher {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
    z-index: 1000;
}

.lang-btn {
    padding: 4px 10px;
    background: transparent;
    border: 1px solid #e4a21b;
    border-radius: 12px;
    color: #e4a21b;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background: #e4a21b;
    color: white;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    background: white;
    border: 2px solid #e4a21b;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #e4a21b;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(228, 162, 27, 0.2);
}

.lang-current:hover {
    background: #e4a21b;
    color: white;
}

.lang-flag {
    font-size: 14px;
}

.lang-arrow {
    font-size: 8px;
}

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

.lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    min-width: 100px;
}

.lang-dropdown.open .lang-options {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    transition: background 0.2s;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    background: #e4a21b;
    color: white;
}
}

.lang-option:hover {
    background: #fffdf5;
}

.lang-option.active {
    background: #e4a21b;
    color: white;
}

/* ===== Nav ===== */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    height: 100%;
}

.nav-menu > li {
    display: flex;
    align-items: center;
    height: 100%;
}
    color: #333;
    transition: background 0.2s;
}

.lang-nav-dropdown button:hover {
    background: #fff7ed;
}

.lang-nav-dropdown button.active {
    background: #f97316;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    line-height: 40px;
    display: inline-block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #e4a21b 0%, #f0b830 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    from { background-position: 0 0; }
    to { background-position: 50px 50px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 20px;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 15px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-experience {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.85;
    animation: fadeInUp 1s ease 0.3s both;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 16px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #e4a21b;
    color: white;
    border-radius: 8px;
    padding: 14px 32px;
    border: 2px solid white;
}

.btn-primary:hover {
    background: #c88c10;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 162, 27, 0.35);
}

/* ===== Features Strip ===== */
.features-strip {
    background: var(--white);
    padding: 40px 0;
    margin-top: -1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item .feature-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fffdf5, #fff5d4);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 3px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 60px;
}

/* ===== About Section ===== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e4a21b;
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img-placeholder {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 50px;
    color: var(--white);
    box-shadow: var(--shadow);
}

/* ===== Services Section ===== */
.services {
    background: var(--light);
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(228, 162, 27, 0.2);
    border-color: #e4a21b;
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Why Us Section ===== */
.why-us {
    background: linear-gradient(135deg, #e4a21b 0%, #f0b830 100%);
    color: var(--white);
}

.why-us .section-title {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 45px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.why-card p {
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 28px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #fffdf5, #fff5d4);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-dark);
}

.contact-text {
    color: var(--dark);
    font-size: 1.1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--light);
}

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

.contact-form button {
    align-self: flex-start;
    background: #e4a21b;
    color: white;
    border-radius: 8px;
    padding: 14px 32px;
    border: 2px solid #e4a21b;
}

.contact-form button:hover {
    background: white;
    color: #e4a21b;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 162, 27, 0.35);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.footer-logo .logo-sub {
    color: #f97316;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
}

.footer-tagline {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-desc {
    opacity: 0.6;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    opacity: 0.5;
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .features-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav {
        padding: 12px 20px;
    }
    
    /* Show language in hamburger menu */
    .lang-dropdown {
        display: block;
        margin-top: 15px;
    }
    
    .lang-current {
        width: 100%;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .features-row {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .lang-switch {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 14px 35px;
    }
    
    .about-img-placeholder {
        width: 250px;
        height: 250px;
        font-size: 35px;
    }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.25s; }
.service-card:nth-child(5) { animation-delay: 0.3s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }

.why-card:nth-child(1) { animation-delay: 0.1s; }
.why-card:nth-child(2) { animation-delay: 0.15s; }
.why-card:nth-child(3) { animation-delay: 0.2s; }
.why-card:nth-child(4) { animation-delay: 0.25s; }
