/**
 * 猎鲲户外官网主样式表
 * 广东猎鲲户外装备有限公司
 * www.liekun-outdoor.com
 * 
 * 设计风格：户外硬朗风、深绿大地色调、品质感
 */

/* ==================== CSS Variables ==================== */
:root {
    /* 主色调 - 猎鲲深绿 */
    --primary-color: #1a5632;
    --primary-light: #2d8a4e;
    --primary-dark: #0d3b1f;
    
    /* 辅助色 - 大地青铜金 */
    --secondary-color: #8b6914;
    --secondary-light: #c49b2a;
    --secondary-dark: #5c450c;
    
    /* 强调色 - 湖水蓝 */
    --accent-color: #0077b6;
    --accent-light: #48cae4;
    
    /* 中性色 */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --black: #000000;
    
    /* 功能色 */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #0077b6;
    
    /* 商品价格色 */
    --price-color: #dc2626;
    --sale-badge: #ef4444;
    --new-badge: #22c55e;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #0d3b1f 0%, #1a5632 60%, #2d8a4e 100%);
    --gradient-dark: linear-gradient(135deg, #0d3b1f 0%, #1a3320 100%);
    
    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Code", Consolas, monospace;
    
    /* 字号 */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* 圆角 */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* 过渡 */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* 容器 */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ==================== Container ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--spacing-md);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--text-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
}

/* ==================== Header ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--gray-900);
    color: var(--gray-300);
    font-size: var(--text-sm);
    padding: 0.5rem 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: var(--spacing-lg);
}

.header-contact span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.header-social a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.header-social a:hover {
    color: var(--white);
}

/* Main Navigation */
.main-nav {
    padding: 0.75rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: var(--text-xl);
    color: var(--primary-color);
    font-weight: 700;
}

.logo-text small {
    font-size: var(--text-xs);
    color: var(--gray-500);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-menu li a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

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

.nav-menu li a:hover::after,
.nav-menu li.active a::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-base);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu li a {
    display: block;
    padding: var(--spacing-md);
    color: var(--gray-700);
    font-weight: 500;
}

/* ==================== Hero Section ==================== */
.hero-section {
    position: relative;
    margin-top: 98px;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-900);
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 59, 31, 0.85) 0%, rgba(26, 86, 50, 0.7) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--white);
    padding: 0 var(--spacing-3xl);
}

.hero-slide-content h1 {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-slide-content p {
    font-size: var(--text-xl);
    color: var(--gray-200);
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-slide-content .btn {
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

/* Hero Slider Controls */
.hero-slider-nav {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
}

.hero-slider-nav .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-slider-nav .dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.hero-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    z-index: 10;
    pointer-events: none;
}

.hero-slider-arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: var(--text-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

.hero-slider-arrows button:hover {
    background: var(--primary-color);
}

/* ==================== Section Styles ==================== */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

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

.section-header .subtitle {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

/* 企业文化标语/口号 */
.slogan-text {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 1.5rem;
}

/* 标语下方装饰线 */
.slogan-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.6;
}

/* 核心价值观大字 */
.values-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* 企业文化 badges - 横向排列 */
.feature-card-culture {
    padding: 2.5rem 2rem;
}
.culture-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.culture-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
    background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
    border-radius: 16px;
    border-top: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.culture-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(26, 86, 50, 0.15);
    background: linear-gradient(180deg, #f0f7f0 0%, #e0efe0 100%);
}
.culture-badge-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}
.culture-badge-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: 0.04em;
    line-height: 1.3;
}

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

@media (max-width: 480px) {
    .culture-badges {
        grid-template-columns: 1fr;
    }
    .feature-card-culture {
        padding: 1.5rem 1rem;
    }
    .culture-badge {
        flex-direction: row;
        text-align: left;
        padding: 1.25rem;
    }
    .culture-badge-num {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    .culture-badge-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .slogan-text {
        font-size: 1.25rem;
    }
    .values-text {
        font-size: 1.05rem;
    }
}

/* Dark Section */
.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

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

/* Gray Section */
.section-gray {
    background: var(--gray-50);
}

/* ==================== Features/Services Grid ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-2xl);
}

.feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--gray-600);
    margin: 0;
}

/* ==================== Products/Solutions Grid ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 86, 50, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-image .overlay {
    opacity: 1;
}

.product-content {
    padding: var(--spacing-lg);
}

.product-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-sm);
}

.product-content p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin: 0;
}

/* ==================== News Grid ==================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: var(--spacing-lg);
}

.news-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: var(--spacing-sm);
}

.news-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.news-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* ==================== About Section ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 20px 0;
}

.about-content {
    padding-right: 20px;
}

.about-content .subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.3;
}

.about-content .lead {
    font-size: var(--text-lg);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.about-feature-item .icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.about-feature-item p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin: 0;
}

.about-image {
    position: relative;
    padding: 30px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 3px solid var(--primary-color);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

@media (max-width: 1200px) {
    .about-grid {
        gap: 40px;
    }
    .about-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-content {
        padding-right: 0;
        order: 1;
    }
    .about-image {
        order: 0;
        padding: 0;
    }
    .about-image::before {
        display: none;
    }
}

/* ==================== Stats Section ==================== */
.stats-section {
    background: var(--gradient-primary);
    padding: var(--spacing-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 700;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--text-base);
    opacity: 0.9;
}

/* ==================== CTA Section ==================== */
.cta-section {
    background: var(--gradient-dark);
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.cta-content h2 {
    color: var(--white);
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: var(--gray-300);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* ==================== Page Banner ==================== */
.page-banner {
    position: relative;
    margin-top: 98px;
    height: 300px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/pattern.png') repeat;
    opacity: 0.1;
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: var(--text-4xl);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--text-sm);
    color: var(--gray-300);
}

.breadcrumb a {
    color: var(--gray-300);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: var(--gray-500);
}

.breadcrumb .current {
    color: var(--white);
}

/* ==================== Article Content ==================== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl) 0;
}

.article-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.article-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-md);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    color: var(--gray-500);
    font-size: var(--text-sm);
}

.article-body {
    line-height: 1.8;
    color: var(--gray-700);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.article-body p {
    margin-bottom: var(--spacing-md);
}

.article-body img {
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
}

.article-body ul,
.article-body ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.article-body li {
    margin-bottom: var(--spacing-sm);
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

/* ==================== Comments ==================== */
.comments-section {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--gray-200);
}

.comments-title {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-lg);
}

.comment-form {
    margin-bottom: var(--spacing-2xl);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.15);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.comment-list {
    margin-top: var(--spacing-xl);
}

.comment-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-100);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.comment-author {
    font-weight: 600;
    color: var(--gray-800);
}

.comment-date {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.comment-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ==================== Contact Page ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-info {
    background: var(--gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

.contact-info h3 {
    margin-bottom: var(--spacing-lg);
}

.contact-list li {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list .icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-list .info h4 {
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.contact-list .info p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: var(--spacing-lg);
}

/* ==================== Footer ==================== */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-main {
    padding: var(--spacing-3xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
}

.footer-desc {
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: var(--text-base);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.footer-contact li i {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: var(--spacing-md) 0;
}

.copyright {
    text-align: center;
    font-size: var(--text-sm);
}

.copyright p {
    margin: 0.25rem 0;
}

.copyright a {
    color: var(--gray-400);
}

.copyright a:hover {
    color: var(--white);
}

.copyright .divider {
    margin: 0 var(--spacing-sm);
    color: var(--gray-600);
}

/* ==================== Back to Top ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 998;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==================== Floating Contact ==================== */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 998;
}

.float-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.float-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.phone-btn { background: var(--primary-color); }
.message-btn { background: var(--accent-color); }
.phone-btn:hover { background: var(--primary-dark); }
.message-btn:hover { background: #005a8c; }

/* ==================== Language Switcher ==================== */
/* 语言切换已整合到 .floating-contact 浮窗中，使用 .float-btn 样式 */

@media (max-width: 768px) {
    .back-to-top {
        right: 12px;
        width: 44px;
        height: 44px;
    }
    .floating-contact {
        right: 12px;
    }
    .float-btn {
        width: 44px;
        height: 44px;
    }
}

/* ==================== Pagination ==================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-2xl);
}

.pagination {
    display: flex;
    gap: var(--spacing-xs);
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-sm);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.pagination li a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination li.active span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ==================== Icons (Simple CSS Icons) ==================== */
[class^="icon-"]::before {
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}

.icon-phone::before { content: ""; }
.icon-email::before { content: ""; }
.icon-location::before { content: ""; }
.icon-globe::before { content: ""; }
.icon-wechat::before { content: ""; }
.icon-arrow-up::before { content: ""; }
.icon-message::before { content: ""; }

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== JD-Style Product Grid (商品列表) ==================== */
.product-jd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-jd-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.product-jd-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-50);
}

.product-jd-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-jd-card:hover .product-jd-image img {
    transform: scale(1.08);
}

.product-jd-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    color: var(--white);
}

.badge-new { background: var(--new-badge); }
.badge-sale { background: var(--sale-badge); }
.badge-hot { background: var(--warning); }

.product-jd-info {
    padding: 14px;
}

.product-jd-title {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-800);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    min-height: 42px;
}

.product-jd-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--price-color);
    font-family: var(--font-mono);
}

.price-current .unit {
    font-size: 14px;
    font-weight: 400;
}

.price-original {
    font-size: 12px;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-jd-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--gray-500);
}

/* ==================== Product Detail Page (商品详情) ==================== */
.product-detail {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--gray-200);
}

/* Left: Image gallery */
.product-gallery {
    position: relative;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary-color);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right: Product info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-info-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

.product-info-rating {
    font-size: 13px;
    color: var(--gray-500);
}

.product-info-rating .stars {
    color: var(--warning);
    margin-right: 4px;
}

/* Price box */
.price-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.price-box .label {
    font-size: 13px;
    color: var(--gray-600);
    white-space: nowrap;
}

.price-box .price-current {
    font-size: 28px;
    font-weight: 700;
    color: var(--price-color);
}

.price-box .price-original {
    font-size: 14px;
    color: var(--gray-400);
    text-decoration: line-through;
}

.price-box .discount-tag {
    background: var(--sale-badge);
    color: var(--white);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

/* Specs inline */
.product-specs-inline {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 2;
}

.product-specs-inline span {
    margin-right: 20px;
}

/* Buy button */
.btn-buy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    height: 52px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 86, 50, 0.35);
    color: var(--white);
}

.btn-buy small {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 2px;
}

.btn-fav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 52px;
    padding: 0 24px;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    background: var(--white);
}

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

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

/* Product tags row */
.product-tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-new, .tag-sale {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.tag-new {
    background: rgba(34, 197, 94, 0.12);
    color: var(--new-badge);
}

.tag-sale {
    background: rgba(220, 38, 38, 0.10);
    color: var(--sale-badge);
}

/* ==================== Product Detail Tabs ==================== */
.product-tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    margin-top: 30px;
}

.product-tab {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
    background: none;
}

.product-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.product-tab:hover {
    color: var(--primary-color);
}

.product-tab-content {
    padding: 24px 0;
}

/* Specs table (规格参数) */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(odd) {
    background: var(--gray-50);
}

.specs-table td {
    padding: 10px 16px;
    font-size: 13px;
    border: 1px solid var(--gray-200);
}

.specs-table td:first-child {
    width: 160px;
    color: var(--gray-500);
    font-weight: 500;
    background: var(--gray-100);
}

.specs-table td:last-child {
    color: var(--gray-800);
}

/* ==================== Category nav cards (首页分类导航) ==================== */
.category-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-nav-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    cursor: pointer;
}

.category-nav-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.category-nav-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.category-nav-card:hover .category-nav-icon {
    background: var(--primary-color);
    color: var(--white);
}

.category-nav-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.category-nav-card p {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
}

/* ==================== Product filter bar ==================== */
.product-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    padding: 6px 16px;
    font-size: 13px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--white);
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.filter-sort select {
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    cursor: pointer;
    background: var(--white);
}

/* ==================== Disclaimer note ==================== */
.disclaimer-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray-400);
    padding: 20px 0;
    border-top: 1px solid var(--gray-100);
    margin-top: 20px;
}

/* ==================== Utility Classes ==================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.bg-gray { background: var(--gray-50); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: var(--spacing-lg); }
.mt-3 { margin-top: var(--spacing-2xl); }

/* ==================== Responsive for product pages ==================== */
@media (max-width: 1024px) {
    .product-jd-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .category-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-jd-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-thumbs { gap: 6px; }
    .gallery-thumb { width: 60px; height: 60px; }
    .price-box { flex-direction: column; gap: 8px; }
    .product-actions { flex-direction: column; }
    .btn-buy { max-width: 100%; }
}

@media (max-width: 480px) {
    .product-jd-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .product-filter-bar { flex-direction: column; }
}
