/* ========================================
   逸漫贝科技 - AI影视工业化流水线
   主样式表
======================================== */

:root {
    --primary: #c9a96e;
    --primary-dark: #b8945a;
    --secondary: #1a1a2e;
    --accent: #e94560;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252540;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --border: #2a2a3e;
    --gradient-gold: linear-gradient(135deg, #c9a96e 0%, #e8d5a3 50%, #c9a96e 100%);
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ========================================
   导航栏
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

/* ========================================
   按钮
======================================== */
.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gradient-gold);
    color: var(--secondary);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--primary);
    transition: all 0.3s;
    cursor: pointer;
    font-size: 14px;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--secondary);
}

.btn-large {
    padding: 14px 36px;
    font-size: 16px;
}

/* ========================================
   首屏
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(233, 69, 96, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    padding: 24px 32px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    min-width: 140px;
}

.flow-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.flow-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.flow-arrow {
    font-size: 32px;
    color: var(--primary);
    font-weight: 300;
}

/* ========================================
   通用区块
======================================== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

/* ========================================
   流水线展示
======================================== */
.pipeline-section {
    background: var(--bg-card);
}

.pipeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.step-num {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   案例展示
======================================== */
.demo-section {
    background: var(--bg-dark);
}

.demo-card {
    display: flex;
    gap: 48px;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--border);
    align-items: center;
}

.demo-cover {
    flex-shrink: 0;
}

.demo-cover-img {
    width: 280px;
    height: 380px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 50%, #1a1a2e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--primary);
    writing-mode: vertical-rl;
    letter-spacing: 8px;
}

.demo-info h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

.demo-author {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.demo-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.demo-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tag {
    padding: 6px 14px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
}

.demo-deliverables {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.deliver-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-dark);
    border-radius: 8px;
    font-size: 14px;
}

.deliver-icon {
    font-size: 20px;
}

/* ========================================
   服务套餐
======================================== */
.services-section {
    background: var(--bg-card);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--gradient-gold);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 0 0 8px 8px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ========================================
   小说连载
======================================== */
.novel-section {
    background: var(--bg-dark);
}

.novel-preview {
    display: flex;
    gap: 48px;
    align-items: center;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--border);
}

.novel-cover {
    flex-shrink: 0;
}

.novel-cover-text {
    width: 240px;
    height: 340px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 50%, #1a1a2e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--primary);
    writing-mode: vertical-rl;
    letter-spacing: 8px;
}

.novel-info h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

.novel-author {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.novel-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.novel-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   页脚
======================================== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.footer-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   响应式
======================================== */
@media (max-width: 1024px) {
    .pipeline-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .demo-card,
    .novel-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .pipeline-steps {
        grid-template-columns: 1fr;
    }
    
    .pipeline-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
