/* 设计系统变量 */
:root {
    --bg-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #007aff;
    --glow-color: rgba(0, 122, 255, 0.08);
    --font-main: 'Outfit', 'Noto Sans SC', sans-serif;
    --transition-slow: 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-med: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 布局通用 */
.section {
    position: relative;
    padding: 100px 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero {
    padding-bottom: 0;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 10%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.06);
}

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

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition-med);
}

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

/* 背景光晕 */
.glow-sphere {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.glow-sphere-alt {
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

/* Hero Section */
.hero-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 60px;
}

.vertical-title {
    display: flex;
    flex-direction: column;
    font-size: 4rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.cta-line {
    width: 100px;
    height: 2px;
    background: var(--text-primary);
    margin-top: 30px;
}

.image-placeholder {
    width: 400px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 0.9rem;
    transition: var(--transition-med);
}

/* 产品部分 */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.title-main {
    font-size: 2.5rem;
    font-weight: 700;
}

.title-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-top: 5px;
}

.product-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10%;
}

.product-item.alt {
    flex-direction: row-reverse;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-info p {
    color: var(--text-secondary);
    max-width: 300px;
}

.product-img-box .image-placeholder {
    width: 605px;
}

/* 关于我们 */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-desc {
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
}

.about-image .image-placeholder {
    width: 100%;
    height: 400px;
}

/* 页脚 */
.footer {
    padding: 60px 10%;
    background: #fafafa;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-logo {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer p {
    font-size: 0.8rem;
    color: #999;
}

/* 动效 */
[data-reveal] {
    opacity: 0;
    transition: var(--transition-slow);
}

[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="bottom"] { transform: translateY(50px); }
[data-reveal="fade"] { transform: scale(0.95); }

.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

.hero-image {
    transform: translate(0) scale(1.3);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .vertical-title { display: none; }
    .product-item { flex-direction: column !important; text-align: center; }
    .about-container { grid-template-columns: 1fr; text-align: center; }
    .about-desc { margin: 30px auto; }
}
