/* 沈婷钢笔 - 样式表 */

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

:root {
    --primary: #1a1a1a;
    --secondary: #2d2d2d;
    --accent: #c9a959;
    --text: #e8e8e8;
    --text-dim: #888;
    --bg: #0f0f0f;
    --card: #1a1a1a;
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
}

/* 导航 */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-brand {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 89, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-title {
    font-size: 120px;
    font-weight: 100;
    letter-spacing: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-dim);
    margin-bottom: 40px;
    letter-spacing: 4px;
    font-weight: 300;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 2;
}

.hero-pen {
    position: relative;
    width: 400px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 钢笔 CSS 绘制 */
.pen-body {
    position: relative;
    width: 280px;
    height: 20px;
    transform: rotate(-45deg);
}

.pen-cap {
    position: absolute;
    left: 0;
    top: -2px;
    width: 60px;
    height: 24px;
    background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 3px 0 0 3px;
}

.pen-cap::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 4px;
    width: 15px;
    height: 16px;
    background: var(--accent);
    border-radius: 2px;
}

.pen-barrel {
    position: absolute;
    left: 75px;
    top: 0;
    width: 160px;
    height: 20px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #2a2a2a 100%);
    border-radius: 2px;
}

.pen-barrel::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 6px;
    width: 80px;
    height: 8px;
    background: repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(255,255,255,0.1) 4px, rgba(255,255,255,0.1) 5px);
}

.pen-nib {
    position: absolute;
    right: -30px;
    top: 7px;
    width: 40px;
    height: 6px;
    background: linear-gradient(90deg, var(--accent) 0%, #8a7a39 100%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* 通用区块标题 */
.section-title {
    font-size: 42px;
    font-weight: 200;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

/* 书写场景 */
.modes {
    padding: 120px 60px;
    background: var(--card);
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.mode-card {
    padding: 40px;
    background: var(--bg);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.mode-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mode-card h3 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--accent);
    letter-spacing: 2px;
}

.mode-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 2;
}

.mode-card em {
    display: block;
    margin-top: 15px;
    color: var(--text);
    font-style: normal;
}

/* 特性区域 */
.features {
    padding: 120px 60px;
}

.feature-list {
    max-width: 1000px;
    margin: 80px auto 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-visual {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--card);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-circle::before {
    content: '';
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--secondary);
}

.nib-animation::after {
    content: '✒️';
    font-size: 40px;
    position: absolute;
}

.ink-animation::after {
    content: '💧';
    font-size: 40px;
    position: absolute;
}

.body-animation::after {
    content: '🖤';
    font-size: 40px;
    position: absolute;
}

.feature-text h3 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.feature-text p {
    color: var(--text-dim);
    line-height: 2;
}

.whisper {
    display: block;
    margin-top: 15px;
    color: var(--accent);
    font-style: italic;
    font-size: 14px;
}

/* 规格表 */
.specs {
    padding: 120px 60px;
    background: var(--card);
}

.specs-container {
    display: flex;
    gap: 80px;
    max-width: 1000px;
    margin: 80px auto 0;
    align-items: center;
}

.spec-image {
    flex: 1;
}

.pen-diagram {
    width: 200px;
    height: 300px;
    margin: 0 auto;
    position: relative;
}

.diagram-cap,
.diagram-barrel,
.diagram-nib {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
}

.diagram-cap {
    top: 0;
    width: 30px;
    height: 60px;
    border-radius: 3px;
}

.diagram-barrel {
    top: 70px;
    width: 26px;
    height: 150px;
    border-radius: 2px;
}

.diagram-nib {
    top: 220px;
    width: 20px;
    height: 60px;
    background: var(--accent);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.spec-table {
    flex: 1;
}

.spec-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.spec-label {
    width: 120px;
    color: var(--text-dim);
    font-size: 14px;
}

.spec-value {
    flex: 1;
    color: var(--text);
    font-size: 14px;
}

/* 影像展示 */
.gallery {
    padding: 120px 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.gallery-item {
    background: var(--card);
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--card) 100%);
    transition: background 0.3s;
}

.gallery-placeholder:hover {
    background: linear-gradient(135deg, var(--card) 0%, var(--secondary) 100%);
}

.gallery-emoji {
    font-size: 48px;
    margin-bottom: 15px;
}

.gallery-item.large .gallery-emoji {
    font-size: 80px;
}

.gallery-label {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 2px;
}

/* 页脚 */
.footer {
    padding: 80px 60px;
    background: var(--card);
    text-align: center;
}

.footer-quote {
    font-size: 24px;
    font-weight: 200;
    color: var(--text);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.footer-brand {
    font-size: 14px;
    color: var(--text-dim);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.footer-note {
    font-size: 12px;
    color: var(--text-dim);
}

/* 响应式 */
@media (max-width: 900px) {
    .nav {
        padding: 15px 30px;
    }
    
    .hero {
        flex-direction: column;
        padding: 120px 30px 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 72px;
    }
    
    .hero-pen {
        width: 300px;
        height: 300px;
    }
    
    .mode-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item.reverse {
        flex-direction: column;
    }
    
    .specs-container {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}
