/* ========== 基础样式 ========== */
:root {
    --color-bg: #F5F5F5;
    --color-text: #333333;
    --color-primary: #C84B31;
    --color-secondary: #E8A87C;
    --color-dark: #2D2D2D;
    --color-light: #FFFFFF;
    --color-gray: #999999;
    
    --navbar-height: 80px;
    --container-width: 1200px;
    --section-spacing: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-spacing) 0;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1000;
    background-color: rgba(245, 245, 245, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(245, 245, 245, 0.85);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 50%;
    margin-right: 10px;
    font-weight: 900;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.tagline {
    font-size: 0.75rem;
    margin-left: 12px;
    color: var(--color-primary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ========== 主视觉区 ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--color-dark);
    color: var(--color-light);
    overflow: hidden;
    background-image: url('../images/metal-texture.png');
    background-attachment: fixed;
    background-size: cover;
    background-blend-mode: overlay;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.vertical-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.vertical-title h1 {
    font-size: 5.5rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .2em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1rem;
    letter-spacing: 5px;
    color: var(--color-secondary);
    text-transform: uppercase;
    margin-top: 25px;
    font-weight: 300;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-hint:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-light);
    border-radius: 13px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* ========== 内容区块 ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 20px auto;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    top: -2px;
    border-radius: 50%;
}

.divider::before { left: -15px; }
.divider::after { right: -15px; }

.section-desc {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 价值卡片 */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--color-light);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.value-card:hover::before {
    transform: scaleX(1);
}

.icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.value-card:hover .icon {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.value-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* 产品区块 */
.product {
    background-color: var(--color-light);
}

.product-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.product-info {
    flex: 1;
}

.product-info h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--color-dark);
}

.product-desc {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--color-primary);
    margin-right: 12px;
    font-size: 1.3rem;
}

.product-visual {
    flex: 1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.cube {
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.face.front { transform: translateZ(125px); background-color: var(--color-primary); }
.face.back { transform: translateZ(-125px) rotateY(180deg); }
.face.right { transform: rotateY(90deg) translateZ(125px); }
.face.left { transform: rotateY(-90deg) translateZ(125px); }
.face.top { transform: rotateX(90deg) translateZ(125px); }
.face.bottom { transform: rotateX(-90deg) translateZ(125px); }

@keyframes rotateCube {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* ========== CTA区块 ========== */
.cta {
    padding: 120px 0;
    background-color: var(--color-dark);
    color: var(--color-light);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 75, 49, 0.1) 0%, rgba(200, 75, 49, 0) 50%);
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--color-primary);
    color: var(--color-light);
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(200, 75, 49, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(200, 75, 49, 0.4);
    background-color: #d4533a;
}

.cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.legal-note {
    font-size: 1rem!important;
    margin-top: 30px;
    opacity: 0.6;
}

/* ========== 页脚 ========== */
.footer {
    background-color: #222222;
    color: var(--color-light);
    padding: 60px 0 30px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand .logo-icon {
    background-color: var(--color-primary);
    margin-right: 12px;
}

.footer-brand img {
    height: 50px;
    margin-right: 10px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-nav a {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* ========== 响应式设计 ========== */
@media (max-width: 992px) {
    .product-wrapper {
        flex-direction: column-reverse;
        gap: 50px;
    }
    
    .cube {
        width: 200px;
        height: 200px;
    }
    
    .face.front { transform: translateZ(100px); }
    .face.back { transform: translateZ(-100px) rotateY(180deg); }
    .face.right { transform: rotateY(90deg) translateZ(100px); }
    .face.left { transform: rotateY(-90deg) translateZ(100px); }
    .face.top { transform: rotateX(90deg) translateZ(100px); }
    .face.bottom { transform: rotateX(-90deg) translateZ(100px); }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 80px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background-color: rgba(245, 245, 245, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        padding: 40px 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
    
    .vertical-title h1 {
        font-size: 3.5rem;
    }
    
    .section-header h2, 
    .product-info h2, 
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 60px;
    }
    
    .vertical-title h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cta-button {
        padding: 14px 30px;
    }
}