/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #e60000;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --dark-gray: #666666;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--secondary-color);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

/* 顶部导航栏 - 仿照 Merida 官网 */
.top-nav {
    background: var(--secondary-color);
    color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 30px;
}

/* 左侧图标 */
.nav-left {
    display: flex;
    gap: 15px;
}

.nav-icon-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon-btn:hover {
    color: var(--dark-gray);
}

/* 中间主导航 */
.nav-center {
    display: flex;
    justify-content: flex-start;
    flex: 1;
}

.main-nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.main-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav-links a:hover::after {
    transform: scaleX(1);
}

/* 桌面端 Mega Menu 下拉菜单 */
.main-nav-links .has-mega-menu {
    position: static;
}

.mega-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    transform: none;
    background: var(--secondary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    min-height: calc(100vh - 70px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    margin-left: 0;
    pointer-events: none;
    z-index: 1000;
    overflow-y: auto;
}

/* 确保 Mega Menu 不会被左侧导航按钮遮挡 */
@media (min-width: 1200px) {
    .mega-menu {
        margin-left: 0;
    }
}

@media (min-width: 1400px) {
    .mega-menu {
        margin-left: 0;
    }
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu.menu-open .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    pointer-events: all;
}

/* 增加过渡时间，让菜单显示和隐藏更平滑 */
.mega-menu {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 50px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.mega-menu-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.mega-menu-column h4 .category-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.mega-menu-column h4 .category-link:hover {
    color: #90C300;
    transform: none;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: 0;
}

.mega-menu-column ul li a {
    display: block;
    padding: 6px 0;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.mega-menu-column ul li a::before {
    content: none;
}

.mega-menu-column ul li a:hover {
    color: #90C300;
    padding-left: 0;
}

.mega-menu-column ul li a:hover::before {
    display: none;
}

.mega-menu-column ul li a::after {
    display: none;
}

/* 右侧区域 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.language-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 8px 12px;
}

.language-btn:hover {
    color: var(--dark-gray);
}

.dealer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 8px 12px;
}

.dealer-link:hover {
    color: var(--dark-gray);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    height: 30px;
    width: auto;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* 移动端菜单 - 全屏多列布局 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    background: var(--secondary-color);
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-header h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.close-menu {
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 3% 5% 8% 5%;
    max-width: 100%;
    margin: 0 auto;
}

/* 多列网格布局 - 改用flexbox，和产品详情页一致 */
.mobile-menu-grid {
    display: flex;
    flex-flow: row wrap;
    padding: 0;
}

.menu-column {
    width: 15%;
    margin-right: 10%;
}

.menu-column h4 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.0125em;
    color: #151515;
    padding-left: 0;
    padding-bottom: 7px;
    border-bottom: 1px solid lightgrey;
    margin-bottom: 5px;
    white-space: normal !important;
}

.menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
}

.menu-column ul li {
    list-style: none;
    margin-bottom: 0;
}

.menu-column ul li:first-child {
    padding-top: 10px;
}

.menu-column ul li a {
    display: block;
    padding: 4px 0;
    color: #151515;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.menu-column ul li a:hover {
    color: #90C300;
}

/* 响应式调整 - 和产品详情页保持一致 */
@media (max-width: 1200px) {
    .mobile-menu-grid {
        flex-flow: row wrap;
    }
    
    .menu-column {
        width: 20%;
        margin-right: 5%;
    }
}

@media (max-width: 900px) {
    .mobile-menu-grid {
        flex-flow: row wrap;
    }
    
    .menu-column {
        width: 30%;
        margin-right: 5%;
    }
    
    .mobile-menu-content {
        padding: 3% 5%;
    }
}

@media (max-width: 600px) {
    .mobile-menu-grid {
        flex-flow: column nowrap;
    }
    
    .menu-column {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .mobile-menu-content {
        padding: 20px;
    }
}

/* 移动菜单遮罩层 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 搜索覆盖层 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-container {
    max-width: 800px;
    width: 90%;
    position: relative;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    transform: rotate(90deg);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 20px 30px;
    font-size: 20px;
    border: none;
    border-radius: 50px;
    background: var(--secondary-color);
}

.search-form button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--light-gray);
}

/* 主轮播区 - 仿照 Merida 官网 */
.hero-slider {
    position: relative;
    height: calc(100vh - 70px);
    min-height: 600px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.slide .container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.slide-content {
    max-width: 600px;
    color: var(--secondary-color);
}

.slide-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.slide-content h1 {
    font-size: 80px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.slide-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.4;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary-color);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 0;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--light-gray);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-hero {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 16px 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    transition: var(--transition);
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* YouTube 视频推广 */
.video-promo {
    background: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.video-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
}

.video-content {
    position: relative;
    z-index: 1;
}

.video-content h2 {
    color: var(--secondary-color);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.video-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* 产品展示网格 */
.products-grid {
    padding: 0;
    background: var(--primary-color);
}

.products-grid .container-fluid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-row {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 175px 0;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.product-row-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.product-row-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
}

.product-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card.full-width {
    flex: 100%;
}

.product-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    padding: 40px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay h3 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.product-card:hover .product-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.product-tagline {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 300;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.product-card:hover .product-tagline {
    transform: translateY(0);
    opacity: 1;
}

.product-overlay .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.product-card:hover .product-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

/* 品牌理念 */
.brand-philosophy {
    background: var(--light-gray);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, transparent 50%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

.philosophy-content {
    position: relative;
    z-index: 1;
}

.philosophy-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.philosophy-content h3 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.philosophy-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 最新新闻 */
.latest-news {
    padding: 80px 0;
    background: var(--secondary-color);
}

.latest-news h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.news-filter {
    text-align: center;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background: var(--secondary-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
}

.news-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.news-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
    opacity: 1;
}

.news-content {
    padding: 30px;
}

.news-date {
    display: block;
    font-size: 12px;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--accent-color);
}

/* 页脚 */
.site-footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0 30px;
}

.footer-top {
    text-align: center;
    margin-bottom: 50px;
}

.footer-brand h2 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--medium-gray);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 24px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--medium-gray);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 13px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Cookie 横幅 */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 25px;
    z-index: 1000;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.cookie-actions .btn {
    padding: 12px 30px;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .mega-menu {
        min-width: 100%;
    }
    
    .mega-menu-container {
        gap: 30px;
        padding: 40px 50px;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    /* 隐藏桌面端 Mega Menu */
    .main-nav-links .has-mega-menu .mega-menu {
        display: none;
    }

    .nav-links {
        gap: 20px;
    }

    .slide-content h1 {
        font-size: 56px;
    }

    .product-row {
        padding: 125px 0;
    }

    .product-row-content {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
        gap: 20px;
    }

    .main-nav-links {
        gap: 25px;
    }

    .main-nav-links a {
        font-size: 12px;
    }

    .slide-content h1 {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }

    .nav-center {
        display: none;
    }

    .nav-right .language-btn,
    .nav-right .dealer-link {
        display: none;
    }

    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

    .slide-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .slide-content h1 {
        font-size: 42px;
    }

    .slide-subtitle {
        font-size: 16px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-nav.prev {
        left: 15px;
    }

    .slider-nav.next {
        right: 15px;
    }

    .product-row {
        padding: 100px 0;
        background-attachment: scroll;
    }

    .product-row-content {
        flex-direction: column;
        gap: 10px;
    }

    .product-image {
        height: 350px;
    }

    .product-overlay h3 {
        font-size: 28px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 28px;
    }

    .product-row {
        padding: 75px 0;
    }

    .product-row-content {
        gap: 8px;
    }

    .philosophy-content h2 {
        font-size: 32px;
    }

    .philosophy-content h3 {
        font-size: 20px;
    }

    .latest-news h2 {
        font-size: 32px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--secondary-color);
}

