/* ============================================
   威尔丹独立站 - 主样式文件
   柔和暖棕色调，哑光肌理背景，圆角矩形UI
   支持多语言：中文(zh)、英文(en)、俄语(ru)、阿拉伯语(ar)、泰语(th)
   ============================================ */

/* ==================== CSS变量定义 ==================== */
:root {
    /* 暖棕色系 */
    --primary: #8B7355;
    --primary-dark: #6B5544;
    --primary-light: #A89070;
    --primary-hover: #7A6548;
    
    /* 背景色 */
    --bg-cream: #F5F0EB;
    --bg-light: #FAF8F5;
    --bg-white: #FFFFFF;
    
    /* 文字色 */
    --text-dark: #2C1810;
    --text-secondary: #6B5544;
    --text-light: #8B7355;
    
    /* 边框和分隔线 */
    --border-color: #D4C5B2;
    --border-light: #E8E0D5;
    
    /* 功能色 */
    --success: #5D8A66;
    --error: #C45C5C;
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
    --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.08);
    --shadow-lg: 0 8px 32px rgba(44, 24, 16, 0.12);
    
    /* 过渡 */
    --transition: all 0.3s ease;
    
    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-en: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

/* ==================== 基础重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==================== RTL支持（阿拉伯语） ==================== */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .navbar-menu {
    flex-direction: row-reverse;
}

html[dir="rtl"] .navbar-menu a {
    flex-direction: row-reverse;
}

html[dir="rtl"] .lang-dropdown .lang-dropdown-content {
    right: 0;
    left: auto;
}

/* ==================== 顶部导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo区域 */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.navbar-logo-text {
    display: flex;
    flex-direction: column;
}

.navbar-logo-text .zh {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.navbar-logo-text .en {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--border-light);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* 导航菜单 */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-menu a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    background: var(--bg-cream);
    color: var(--primary);
}

/* ==================== 语言下拉选择器 ==================== */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 8px;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.lang-dropdown-btn:hover {
    background: var(--primary);
}

.lang-dropdown-btn .arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

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

.lang-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: var(--bg-white);
    min-width: 140px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    overflow: hidden;
    animation: dropdownFadeIn 0.2s ease;
}

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

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

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

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

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

.lang-option .lang-code {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.lang-option.active .lang-code {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* 移动端菜单 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-white);
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-menu a {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
    
    .lang-dropdown {
        width: 100%;
        margin-top: 8px;
        margin-left: 0;
    }
    
    .lang-dropdown-btn {
        width: 100%;
        justify-content: center;
    }
    
    .lang-dropdown-content {
        width: 100%;
        right: 0;
    }
}

/* ==================== 主内容区 ==================== */
.main-content {
    padding-top: 70px;
}

/* ==================== 视频展示区 - 轮播模式 ==================== */
.video-section {
    background: var(--bg-cream);
    padding: 40px 24px;
}

.video-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 轮播容器 */
.video-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.video-carousel-track {
    display: flex;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.video-carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.video-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

/* 轮播箭头按钮 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-md);
    border: none;
}

.carousel-arrow:hover {
    background: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 16px;
}

.carousel-arrow.next {
    right: 16px;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.carousel-arrow:hover svg {
    color: var(--primary-dark);
}

/* 轮播指示点 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--primary-light);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* 视频卡片 */
.video-card {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--border-light), var(--bg-cream));
}

.video-card-placeholder svg {
    width: 60px;
    height: 60px;
    color: var(--primary);
    opacity: 0.5;
}

/* 播放按钮 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid var(--primary);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
}

.play-button:hover::before {
    border-left-color: white;
}

/* 视频标题 */
.video-title {
    text-align: center;
    margin-top: 32px;
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 响应式轮播 */
@media (max-width: 576px) {
    .video-section {
        padding: 24px 16px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow.prev {
        left: 8px;
    }
    
    .carousel-arrow.next {
        right: 8px;
    }
    
    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .play-button {
        width: 52px;
        height: 52px;
    }
    
    .play-button::before {
        border-left-width: 16px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }
}

/* ==================== 产品分类区 ==================== */
.category-section {
    padding: 60px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 40px;
}

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

.category-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    background: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 80px;
    height: 80px;
    color: var(--text-dark);
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.category-name-en {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-section {
        padding: 40px 16px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .category-card {
        padding: 20px 16px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
    }
    
    .category-icon svg {
        width: 56px;
        height: 56px;
    }
    
    .category-name {
        font-size: 14px;
    }
    
    .category-name-en {
        font-size: 11px;
    }
}

/* ==================== 产品列表页 ==================== */
.products-page {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    gap: 40px;
}

.products-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    transition: var(--transition);
}

.category-list a:hover {
    background: var(--bg-light);
}

.category-list a.active {
    background: var(--primary);
    color: white;
}

.category-list a .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-list a .icon svg {
    width: 20px;
    height: 20px;
}

.products-main {
    flex: 1;
}

.products-header {
    margin-bottom: 24px;
}

.products-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
}

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

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-image {
    aspect-ratio: 1;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-image svg {
    width: 80px;
    height: 80px;
    color: var(--text-secondary);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

.product-price {
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.product-moq {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

@media (max-width: 992px) {
    .products-page {
        flex-direction: column;
    }
    
    .products-sidebar {
        width: 100%;
    }
    
    .category-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .category-list a {
        flex: 0 0 auto;
        padding: 10px 16px;
        background: var(--bg-light);
    }
    
    .category-list a.active {
        background: var(--primary);
        color: white;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-page {
        padding: 24px 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .products-title {
        font-size: 22px;
    }
}

/* ==================== 产品详情页 ==================== */
.product-detail-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

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

.back-link svg {
    width: 20px;
    height: 20px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery {
    aspect-ratio: 1;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.product-gallery svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    color: var(--text-secondary);
}

.product-detail-info {
    padding-top: 20px;
}

.product-detail-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.product-detail-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.product-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-spec-label {
    font-size: 14px;
    color: var(--text-secondary);
    min-width: 100px;
}

.product-spec-value {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.inquiry-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.related-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.related-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 32px;
}

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

@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-detail-page {
        padding: 24px 16px;
    }
    
    .product-detail-name {
        font-size: 24px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 关于页面 ==================== */
.about-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}

.about-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 24px;
}

.about-content strong {
    color: var(--primary);
}

@media (max-width: 576px) {
    .about-page {
        padding: 40px 16px;
    }
    
    .about-title {
        font-size: 28px;
    }
}

/* ==================== 联系页面 ==================== */
.contact-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.info-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    transition: var(--transition);
}

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

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

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .contact-page {
        padding: 40px 16px;
    }
    
    .contact-title {
        font-size: 28px;
    }
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 60px 24px 24px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--bg-light);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-links li {
    font-size: 14px;
    color: var(--bg-light);
    opacity: 0.8;
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer {
        padding: 40px 16px 16px;
    }
}

/* ==================== 动画效果 ==================== */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* ==================== 表单验证 ==================== */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--error);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: var(--error);
}



/* ==================== PC端一屏自适应布局（上下结构） ==================== */
@media (min-width: 993px) {
    html, body {
        height: 100vh;
        overflow: hidden;
    }
    
    body {
        display: flex;
        flex-direction: column;
    }
    
    .navbar {
        flex-shrink: 0;
        position: relative;
    }
    
    .main-content {
        flex: 1;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        min-height: 0;
    }
    
    /* 视频区 - 居中 */
    .video-section {
        flex: 1.2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 16px 24px 8px;
        overflow: hidden;
        min-height: 0;
        background: var(--bg-cream);
    }
    
    .video-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 1000px;
    }
    
    .video-carousel {
        max-width: none;
        width: 100%;
        min-height: 0;
    }
    
    .video-carousel-track {
        height: 100%;
    }
    
    .video-carousel-slide {
        height: 100%;
    }
    
    .video-card {
        height: 100%;
    }
    
    .video-title {
        display: none;
    }
    
    .carousel-dots {
        margin-top: 10px;
    }
    
    /* 分类区 - 下方 */
    .category-section {
        flex: 0.8;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 8px 24px 16px;
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
        overflow: hidden;
        min-height: 0;
        background: var(--bg-cream);
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }
    
    .category-card {
        padding: 16px 10px;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }
    
    .category-icon svg {
        width: 38px;
        height: 38px;
    }
    
    .category-name {
        font-size: 13px;
    }
    
    .category-name-en {
        font-size: 10px;
    }
    
    /* Footer - 紧凑单行 */
    .footer {
        flex-shrink: 0;
        padding: 10px 24px;
    }
    
    .footer-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .footer-brand {
        flex-shrink: 0;
    }
    
    .footer-brand h3 {
        font-size: 15px;
        margin-bottom: 0;
        display: inline;
    }
    
    .footer-brand p {
        display: none;
    }
    
    .footer-links {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .footer-links h4 {
        display: none;
    }
    
    .footer-links ul {
        flex-direction: row;
        gap: 10px;
        margin: 0;
    }
    
    .footer-links a {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 4px;
    }
    
    .footer-links a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .footer-links li {
        font-size: 12px;
    }
    
    .footer-bottom {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        flex-shrink: 0;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

/* 大屏优化 */
@media (min-width: 1400px) {
    .category-icon {
        width: 56px;
        height: 56px;
    }
    
    .category-icon svg {
        width: 44px;
        height: 44px;
    }
    
    .category-card {
        padding: 18px 14px;
    }
    
    .section-title {
        font-size: 22px;
    }
}

