/* 全局样式重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: #ffffff;
    border-color: #E67E22;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #2C3E50;
}

.btn-full {
    width: 100%;
}

/* 章节标题样式 */
.section-header {
    margin-bottom: 40px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2C3E50;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: #666666;
    max-width: 600px;
}

/* 图片占位符样式 */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    color: #2C3E50;
    font-size: 60px;
    border-radius: 12px;
    min-height: 300px;
}

.img-placeholder.small {
    min-height: 150px;
    font-size: 40px;
    position: absolute;
    bottom: -30px;
    right: -30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-placeholder.large {
    min-height: 400px;
    font-size: 80px;
}

.img-placeholder.news {
    min-height: 200px;
    font-size: 50px;
}

/* ========================================
   头部导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s ease;
}

.header.scrolled .logo-text {
    color: #2C3E50;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 10px 0;
}

.header.scrolled .nav-link {
    color: #333333;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #E67E22;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header.scrolled .nav-toggle span {
    background: #2C3E50;
}

/* ========================================
   主视觉区域（Hero Section）
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 50%, #5D6D7E 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-title span {
    display: block;
    background: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #E67E22, transparent);
    animation: scrollPulse 2s ease infinite;
}

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

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

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

/* ========================================
   数据统计区
   ======================================== */
.stats {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    padding: 60px 0;
}

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

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

/* ========================================
   关于我们
   ======================================== */
.about {
    background: #ffffff;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    position: relative;
    z-index: 1;
}

.about-img-sub {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.about-text {
    margin-bottom: 30px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 15px;
}

.about-text strong {
    color: #2C3E50;
    font-weight: 600;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #333333;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ========================================
   商品分类
   ======================================== */
.products {
    background: #F8F9FA;
}

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

.product-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E9ECEF;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.product-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
}

.product-desc {
    font-size: 15px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-link {
    color: #E67E22;
    font-weight: 500;
    font-size: 15px;
}

.product-link:hover {
    color: #D35400;
}

/* ========================================
   合作品牌
   ======================================== */
.brands {
    background: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.brand-carousel {
    position: relative;
    overflow: hidden;
}

.brand-track {
    display: flex;
    gap: 40px;
    animation: scrollBrands 30s linear infinite;
}

.brand-item {
    flex-shrink: 0;
    width: 200px;
}

.brand-logo {
    height: 80px;
    background: #F8F9FA;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C3E50;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: #ffffff;
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   精选推荐
   ======================================== */
.featured {
    background: #F8F9FA;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.featured-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #E9ECEF;
}

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

.featured-card.featured-main {
    grid-row: 1 / 3;
}

.featured-img {
    height: 200px;
    overflow: hidden;
}

.featured-main .featured-img {
    height: 300px;
}

.featured-content {
    padding: 25px;
}

.featured-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #2C3E50;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 15px;
}

.featured-tag.hot {
    background: #E74C3C;
}

.featured-tag.sale {
    background: #27AE60;
}

.featured-title {
    font-size: 20px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 10px;
}

.featured-desc {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
}

/* ========================================
   新闻动态
   ======================================== */
.news {
    background: #ffffff;
}

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

.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #E9ECEF;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 13px;
    color: #999999;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.news-link {
    color: #E67E22;
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: #ffffff;
}

.contact .section-tag {
    background: rgba(255, 255, 255, 0.2);
}

.contact .section-title {
    color: #ffffff;
}

.contact-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

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

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
    color: #E67E22;
}

.contact-item a:hover {
    color: #F39C12;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 25px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    font-size: 15px;
    color: #333333;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E67E22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

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

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #1A252F;
    color: #ffffff;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #E67E22;
    padding-left: 5px;
}

.footer-contact li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

/* ========================================
   返回顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .about-grid {
        gap: 50px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #2C3E50;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-btn {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        margin-bottom: 60px;
    }
    
    .about-img-sub {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-card.featured-main {
        grid-row: auto;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
}

/* ========================================
   动画效果
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* 表单成功状态 */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #ffffff;
}

.form-success h3 {
    font-size: 24px;
    color: #2C3E50;
    margin-bottom: 10px;
}

.form-success p {
    color: #666666;
}