/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS变量定义 */
:root {
    --primary-color: #6D9DC5;
    --secondary-color: #4A6FA5;
    --accent-color: #B1C7D8;
    --dark-color: #334D68;
    --light-color: #F0F0F0;
    --text-color: #333333;
    --white: #FFFFFF;
    --section-padding: 120px 0;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

/* 基础样式 */
body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* 英雄区域样式 */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 76px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1920x1080/6D9DC5/ffffff?text=ELEVATE+BACKGROUND') center/cover no-repeat;
    opacity: 0.15;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 18px 36px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 40px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(109, 157, 197, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 18px 36px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 40px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(109, 157, 197, 0.3);
}

/* 通用section样式 */
.story-section,
.products-section,
.features-section,
.process-section,
.news-section,
.guide-section {
    padding: var(--section-padding);
}

/* 不同section的背景色 */
.story-section {
    background-color: var(--white);
}

.products-section {
    background-color: var(--light-color);
}

.features-section {
    background-color: var(--white);
}

.process-section {
    background-color: var(--accent-color);
    background-image: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.news-section {
    background-color: var(--white);
}

.guide-section {
    background-color: var(--light-color);
}

/* 通用标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-section .section-header h2,
.process-section .section-header p {
    color: var(--white);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.process-section .section-header h2::after {
    background-color: var(--white);
}

.section-header p {
    font-size: 20px;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* 品牌故事样式 */
.story-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.story-text,
.story-image {
    flex: 1;
    min-width: 300px;
}

.story-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.story-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 产品系列样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: var(--light-color);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 30px;
    text-align: center;
}

.product-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

/* 产品特色样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-item p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

/* 制作工艺样式 */
.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.process-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.process-step:hover {
    transform: translateX(20px);
}

.step-number {
    font-size: 64px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.step-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* 品牌资讯样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.news-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 30px;
}

.news-date {
    display: inline-block;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.news-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: var(--transition);
}

.news-card:hover .news-content h3 {
    color: var(--primary-color);
}

.news-content p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

/* 品鉴指南样式 */
.guide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.guide-image,
.guide-text {
    flex: 1;
    min-width: 300px;
}

.guide-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.guide-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.guide-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.guide-steps {
    list-style: none;
}

.guide-steps li {
    font-size: 18px;
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
}

.guide-steps li::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.guide-steps strong {
    color: var(--dark-color);
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    gap: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    font-size: 40px;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.friend-links {
    max-width: 500px;
}

.friend-links h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 35px;
}

.links-row a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.links-row a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 56px;
    }
    
    .story-text h2,
    .guide-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .nav-links {
        gap: 25px;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .story-content,
    .guide-content {
        flex-direction: column;
    }
    
    .products-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }
    
    .nav-links.active {
        max-height: 500px;
    }
    
    .nav-link {
        display: block;
        padding: 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light-color);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 15px 30px;
        font-size: 14px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 18px;
    }
    
    .process-step {
        gap: 20px;
    }
    
    .step-number {
        font-size: 48px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .links-row {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .story-text h2,
    .guide-text h2 {
        font-size: 32px;
    }
    
    .products-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 300px;
        padding: 20px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .links-row {
        gap: 15px 25px;
    }
    
    .links-row a {
        font-size: 14px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 动画类 */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}