/* 基础样式 */
:root {
    --primary-color: #1d1d1f;
    --secondary-color: #f5f5f7;
    --accent-color: #0071e3;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max-width: 1200px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-family);
    color: var(--primary-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
}

/* 响应式布局 */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

nav .logo-group {
    display: flex;
    gap: 2rem;
}

nav .logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    transition: color 0.3s ease;
}

.nav-links a span {
    display: block;
    text-align: center;
}

.nav-links a span.en {
    font-size: 0.85em;
    color: #666;
    font-weight: 300;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a:hover span.en,
.nav-links a.active span.en {
    color: var(--accent-color);
}

/* 导航栏容器 */
nav .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 移动端导航按钮 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }
}

/* 科技感汉堡菜单动画 */
.nav-toggle .hamburger {
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-toggle .hamburger::before {
    transform: translateY(-8px);
    box-shadow: 0 0 5px rgba(0, 113, 227, 0.3);
}

.nav-toggle .hamburger::after {
    transform: translateY(8px);
    box-shadow: 0 0 5px rgba(0, 113, 227, 0.3);
}

.nav-toggle.active .hamburger {
    background: transparent;
    transform: rotate(180deg);
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, -5px);
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.5);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, 5px);
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.5);
}

/* 添加发光效果 */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(0, 113, 227, 0.3); }
    50% { box-shadow: 0 0 10px rgba(0, 113, 227, 0.6); }
    100% { box-shadow: 0 0 5px rgba(0, 113, 227, 0.3); }
}

.nav-toggle:hover .hamburger,
.nav-toggle:hover .hamburger::before,
.nav-toggle:hover .hamburger::after {
    animation: glow 1.5s infinite;
}

/* 导航遮罩层 */
.nav-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 98;
    display: none;
}

.nav-links.active ~ .nav-overlay {
    display: block;
}

@media (min-width: 1024px) {
    .nav-overlay {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: radial-gradient(circle at top left, 
            rgba(15, 15, 15, 0.98), 
            rgba(0, 0, 0, 0.98));
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem 0;
        backdrop-filter: blur(30px);
        z-index: 99;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 50px rgba(0, 113, 227, 0.2);
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(0.1s * var(--i));
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        color: white;
        position: relative;
        transition: all 0.3s ease;
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        width: 0;
        height: 100%;
        left: 0;
        top: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
        transition: width 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--accent-color);
        transform: translateX(10px);
    }

    .nav-links a:hover::before {
        width: 100%;
    }

    .nav-toggle {
        display: block;
    }

    /* 添加菜单项动画延迟 */
    .nav-links li:nth-child(1) { --i: 1; }
    .nav-links li:nth-child(2) { --i: 2; }
    .nav-links li:nth-child(3) { --i: 3; }
    .nav-links li:nth-child(4) { --i: 4; }
}

/* Hero 区域 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 0 2rem;
}

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

.hero .bilingual {
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.hero .en {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.cta-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 3rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button span {
    display: block;
}

.cta-button span.en {
    font-size: 0.85em;
    margin-top: 0.2rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    background-color: #0062cc;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
    }
}

/* 功能区域 */
.features-section {
    padding: 4rem 0;
    background-color: white;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.feature-card .icon img {
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .feature-card .icon {
        height: 120px;
    }
    
    .feature-card .icon img {
        max-width: 200px;
    }
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.view-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent-color);
    font-weight: 500;
}

.view-more i {
    margin-top: 0.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .view-more i {
    transform: translateX(5px);
}

.view-more .en {
    font-size: 0.85em;
    color: #666;
}

.feature-card:hover .view-more .en {
    color: var(--accent-color);
}

/* 授权区域 */
.authorization-section {
    padding: 4rem 0;
    background-color: #fff;
}

.authorization-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.authorization-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.authorization-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.authorization-card:hover {
    transform: translateY(-5px);
}

.authorization-card .icon {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.authorization-card .icon img {
    max-width: 200px;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.authorization-card .bilingual {
    width: 100%;
    margin-top: 1rem;
}

.authorization-card .bilingual p {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.authorization-card .bilingual .en {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .authorization-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .authorization-card {
        padding: 1.5rem;
    }
    
    .authorization-card .icon {
        height: 100px;
    }
    
    .authorization-card .icon img {
        max-width: 150px;
    }
}

/* 关于我们 */
.about-section {
    padding: 4rem 0;
    background-color: white;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.about-content p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-content {
        padding: 0 1rem;
    }
    
    .about-content p {
        padding-left: 1.5rem;
        font-size: 1rem;
    }
}

/* 页脚 */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* 产品展示区域样式 */
.product-showcase {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.showcase-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.filter-btn span.en {
    font-size: 0.85em;
    color: #666;
}

.filter-btn.active span.en,
.filter-btn:hover span.en {
    color: white;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.showcase-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-media {
    position: relative;
    padding-top: 75%; /* 4:3 比例 */
    overflow: hidden;
}

.card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.showcase-card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    color: white;
    transform: translateY(20px);
    transition: all 0.3s ease;
    width: 100%;
}

.showcase-card:hover .card-content {
    transform: translateY(0);
}

.card-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-color);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

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

.card-meta {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.card-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.card-features .bilingual {
    margin-bottom: 0;
}

.card-features .bilingual span {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    display: block;
}

.card-features .bilingual span.en {
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

.view-details {
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.view-details span.en {
    font-size: 0.85em;
}

.view-details:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.view-details:hover span.en {
    color: var(--accent-color);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-overlay {
        opacity: 1;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.2) 100%
        );
    }

    .card-content {
        transform: translateY(0);
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* 关于我们页面豪华样式 */
.about-hero {
    height: 80vh;
    position: relative;
    background: url('../assets/about-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.divider span {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.5);
}

.divider i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-subtitle {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.about-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.header-divider span {
    width: 40px;
    height: 1px;
    background: var(--primary-color);
}

.header-divider i {
    color: var(--accent-color);
    font-size: 0.8rem;
    transform: rotate(45deg);
}

.header-desc {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.luxury-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.luxury-card {
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    overflow: hidden;
}

.card-front {
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.card-back {
    background: white;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.luxury-card:hover .card-front {
    transform: rotateY(180deg);
}

.luxury-card:hover .card-back {
    transform: rotateY(360deg);
}

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

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

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 300;
    display: block;
    margin-bottom: 0.5rem;
}

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

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 0;
}

.feature-column {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--accent-color), #0099ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-column h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-column p {
    color: #666;
    line-height: 1.6;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-header h2 {
        font-size: 2rem;
    }

    .luxury-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .luxury-card {
        height: 350px;
    }

    .premium-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.luxury-card {
    animation: fadeInUp 0.8s ease-out forwards;
}

.luxury-card:nth-child(1) { animation-delay: 0.2s; }
.luxury-card:nth-child(2) { animation-delay: 0.4s; }
.luxury-card:nth-child(3) { animation-delay: 0.6s; }

.feature-column {
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-column:nth-child(1) { animation-delay: 0.8s; }
.feature-column:nth-child(2) { animation-delay: 1s; }
.feature-column:nth-child(3) { animation-delay: 1.2s; }

/* 项目详情模态框样式 */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    background: var(--primary-color);
    color: white;
}

.modal-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image {
    border-radius: 10px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 1rem 0;
}

.modal-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.modal-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-area {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.modal-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.modal-features span {
    padding: 0.5rem 1rem;
    background: #f5f5f7;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.modal-description {
    margin-bottom: 2rem;
}

.modal-description h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-description p {
    color: #666;
    line-height: 1.6;
}

.contact-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-image {
        height: 300px;
    }
}

/* 联系我们页面样式 */
.contact-hero {
    height: 60vh;
    position: relative;
    background: url('../assets/contact-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* 联系信息卡片 */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    padding: 0 2rem;
}

.contact-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.card-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    font-size: 1.1rem;
}

/* 销售团队样式 */
.designer-team {
    margin: 2rem 0 6rem 0;
    padding: 0 2rem;
}

.designer-team .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.designer-team .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.designer-team .section-header p {
    color: #666;
    font-size: 1.2rem;
}

.designer-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.designer-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.designer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.designer-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.designer-info .title {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.designer-info .phone {
    font-size: 1.4rem;
    color: #666;
    font-weight: 500;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .contact-cards,
    .designer-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .contact-cards,
    .designer-cards {
        grid-template-columns: 1fr;
    }

    .designer-team {
        margin: 2rem 0 4rem 0;
    }

    .designer-team .section-header h2 {
        font-size: 2rem;
    }

    .contact-card,
    .designer-card {
        padding: 2rem;
    }
}

/* 主要内容区域 */
.contact-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 4rem 0;
    padding: 0 2rem;
}

.form-section,
.map-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 表单样式 */
.contact-form {
    margin-top: 2rem;
}

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

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-wrapper:hover {
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.1);
}

.input-wrapper.textarea {
    align-items: flex-start;
}

.input-wrapper i {
    padding: 1rem;
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 48px;
    text-align: center;
}

.input-wrapper input,
.input-wrapper textarea {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--primary-color);
    resize: none;
    width: 100%;
}

.input-wrapper textarea {
    min-height: 120px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 113, 227, 0.3);
}

/* 地图容器 */
#map-container {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 响应式适配 */
@media (max-width: 992px) {
    .contact-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .form-section,
    .map-section {
        padding: 2rem;
    }
    
    #map-container {
        height: 350px;
    }
}

.card-content .bilingual {
    margin-bottom: 0.5rem;
}

.card-content .bilingual:last-child {
    margin-bottom: 0;
}

.card-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.card-features .bilingual {
    margin-bottom: 0;
}

.card-features .bilingual span {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    display: block;
}

.card-features .bilingual span.en {
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

.view-details {
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.view-details span.en {
    font-size: 0.85em;
}

.view-details:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.view-details:hover span.en {
    color: var(--accent-color);
}

.experience-info {
    text-align: center;
    padding: 2rem;
}

.experience-info .bilingual {
    margin-bottom: 2rem;
}

.experience-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.showroom-size {
    margin: 3rem 0;
}

.showroom-size .number {
    font-size: 4rem;
    color: var(--accent-color);
    font-weight: 300;
    display: block;
    line-height: 1;
    margin-bottom: 1rem;
}

.showroom-size p {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.showroom-location {
    margin-top: 2rem;
    padding: 0 1rem;
}

.showroom-location h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.showroom-location .en {
    font-size: 0.9em;
    color: #666;
    font-weight: 300;
    display: block;
    line-height: 1.4;
    word-wrap: break-word;
}

.showroom-location .bilingual {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

@media (max-width: 768px) {
    .showroom-location h3 {
        font-size: 1.4rem;
    }
    
    .showroom-location .en {
        font-size: 0.85em;
    }
}

/* Colors Hero Section */
.colors-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-image: url('../assets/kronospan-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 4rem;
}

.colors-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.colors-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.colors-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.colors-hero .en {
    font-size: 1.8rem;
    opacity: 0.9;
}

.colors-hero .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.colors-hero .divider span {
    height: 1px;
    width: 60px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 15px;
}

.colors-hero .divider i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.colors-hero p {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

/* Colors Section */
.colors-section {
    padding: 4rem 0;
}

.colors-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid #333;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.filter-btn span {
    display: block;
}

.filter-btn span.en {
    font-size: 0.85em;
    color: #666;
    margin-top: 0.3rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #333;
    color: #fff;
}

.filter-btn:hover span.en,
.filter-btn.active span.en {
    color: rgba(255, 255, 255, 0.8);
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1400px;
}

.color-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.color-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.color-card .color-image {
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    background-size: cover;
    background-position: center;
    position: relative;
}

.color-card .color-info {
    padding: 1.5rem;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.color-card .color-name {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.color-card .color-name .en {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    display: block;
    margin-top: 0.3rem;
}

.color-card .color-code {
    font-family: 'Roboto Mono', monospace;
    color: #888;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .colors-hero h1 {
        font-size: 2.2rem;
    }

    .colors-hero .en {
        font-size: 1.4rem;
    }

    .colors-hero p {
        font-size: 1.2rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        min-width: 100px;
    }

    .colors-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
        padding: 0 15px;
    }

    .color-card .color-name {
        font-size: 1.1rem;
    }

    .color-card .color-name .en {
        font-size: 0.9rem;
    }
}

/* EGGER Hero Section */
.egger-hero {
    background-image: url('../assets/egger-bg.jpg');
}

.egger-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.egger-hero .divider i {
    color: rgba(255, 255, 255, 0.9);
}

/* Kronospan Hero Section */
.kronospan-hero {
    background-image: url('../assets/kronospan-bg.jpg');
}

.kronospan-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.5);
}
