/* Atmos - 产品订阅落地页样式 */

/* CSS Variables */
:root {
    /* 色彩体系 */
    --color-hero-overlay: rgba(0,0,0,0.3);
    --color-parchment: #faf7f2;
    --color-white: #ffffff;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #6b6b6b;
    --color-text-tertiary: #b0b0b0;
    --color-border: #e5e0d8;
    --color-glass-bg: rgba(255,255,255,0.12);
    --color-glass-border: rgba(255,255,255,0.20);
    --color-hero-text: #ffffff;
    --color-brand: #7c3aed;
    --color-brand-hover: rgba(124, 58, 237, 0.06);
    
    /* 字体 */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-2xl: 60px;
    --spacing-3xl: 100px;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-parchment);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255,253,250,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255,253,250,0.95);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-weight: 600;
    font-size: 18px;
    color: var(--color-text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    font-weight: 400;
    font-size: 14px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.nav-cta {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-brand);
    border: 1px solid var(--color-brand);
    border-radius: var(--radius-md);
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.nav-cta:hover {
    background: var(--color-brand-hover);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--spacing-lg);
}

.hero-title {
    font-weight: 700;
    font-size: 56px;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--color-hero-text);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-weight: 400;
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--spacing-xl);
}

.hero-cta-group {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
}

.btn-hero-primary {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-hero-text);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-md);
    padding: 14px 32px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.btn-hero-primary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.9);
}

.btn-hero-secondary {
    font-weight: 500;
    font-size: 16px;
    color: var(--color-hero-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    text-decoration: underline;
}

/* Glass Panels */
.glass-panels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.glass-panel {
    position: absolute;
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    transition: transform 0.3s ease;
}

.glass-panel-1 {
    top: 15%;
    left: 10%;
    width: 280px;
    height: 200px;
    transform: rotate(-2deg);
}

.glass-panel-2 {
    bottom: 20%;
    right: 12%;
    width: 260px;
    height: 180px;
    transform: rotate(2deg);
}

.glass-panel-3 {
    top: 25%;
    right: 15%;
    width: 240px;
    height: 160px;
    transform: rotate(-1deg);
}

.glass-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* Section Base */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-weight: 400;
    font-size: 18px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

/* Comparison Section */
.comparison {
    background: var(--color-parchment);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.comparison-divider {
    background: var(--color-border);
    height: 100%;
    min-height: 300px;
}

.comparison-column {
    padding: var(--spacing-lg);
}

.comparison-title {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: var(--spacing-lg);
}

.comparison-title.old {
    color: #8a8a8a;
}

.comparison-title.new {
    color: var(--color-text-primary);
}

.comparison-list {
    list-style: none;
}

.comparison-item {
    font-weight: 400;
    font-size: 16px;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
    position: relative;
}

.comparison-item.old {
    color: var(--color-text-secondary);
}

.comparison-item.old::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 16px;
    height: 2px;
    background: #d0d0d0;
}

.comparison-item.new {
    color: #3d3d3d;
}

.comparison-item.new::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 2px;
    height: 20px;
    background: var(--color-brand);
}

.comparison-footer {
    text-align: center;
    margin-top: var(--spacing-2xl);
    font-weight: 500;
    font-size: 20px;
    color: #5a5a5a;
}

/* Pricing Section */
.pricing {
    background: var(--color-white);
}

.pricing-flow {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

/* Segments */
.segments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.segment-card {
    background: var(--color-parchment);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.segment-card:hover,
.segment-card.active {
    border-color: var(--color-brand);
    background: #fdfbf7;
}

.segment-title {
    font-weight: 600;
    font-size: 20px;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.segment-desc {
    font-weight: 400;
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.segment-recommend {
    font-weight: 500;
    font-size: 13px;
    color: var(--color-brand);
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--color-brand);
    transform: translateY(-4px);
}

.pricing-card.recommended {
    border-top: 4px solid var(--color-brand);
    background: #fdfbf7;
}

.pricing-name {
    font-weight: 600;
    font-size: 22px;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.pricing-price {
    font-weight: 700;
    font-size: 44px;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
}

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

.pricing-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.pricing-feature {
    font-weight: 400;
    font-size: 15px;
    color: #3d3d3d;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    position: relative;
}

.pricing-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-brand);
}

.btn-pricing {
    display: block;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-brand);
    border: 1px solid var(--color-brand);
    border-radius: var(--radius-md);
    padding: 14px 32px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.btn-pricing:hover {
    background: var(--color-brand-hover);
}

/* Features Section */
.features {
    background: var(--color-parchment);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl) var(--spacing-lg);
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--color-brand);
    transition: all 0.2s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.feature-title {
    font-weight: 600;
    font-size: 20px;
    color: var(--color-text-primary);
}

.feature-desc {
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text-secondary);
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(to bottom, var(--color-parchment), var(--color-white));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.final-cta-subtitle {
    font-weight: 400;
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.final-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.btn-final-primary {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-brand);
    border: 1px solid var(--color-brand);
    border-radius: var(--radius-md);
    padding: 16px 40px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.btn-final-primary:hover {
    background: var(--color-brand-hover);
}

.btn-final-secondary {
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-final-secondary:hover {
    text-decoration: underline;
}

.final-cta-note {
    font-weight: 400;
    font-size: 13px;
    color: var(--color-text-tertiary);
    position: relative;
}

/* Footer */
.footer {
    background: var(--color-text-primary);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-column h4 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    font-weight: 400;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--color-brand);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-copyright {
    font-weight: 400;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Sub Pages */
.sub-page-hero {
    background: var(--color-parchment);
    padding: 120px 0 var(--spacing-2xl);
    text-align: center;
}

.sub-page-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.sub-page-subtitle {
    font-weight: 400;
    font-size: 18px;
    color: var(--color-text-secondary);
}

.sub-page-content {
    background: var(--color-white);
    padding: var(--spacing-2xl) 0;
}

.content-block {
    margin-bottom: var(--spacing-2xl);
}

.content-block-title {
    font-weight: 600;
    font-size: 28px;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.content-block-text {
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
}

.form-input,
.form-textarea {
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: border-color 0.2s ease;
    background: var(--color-white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    display: block;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-brand);
    border: 1px solid var(--color-brand);
    border-radius: var(--radius-md);
    padding: 14px 32px;
    text-align: center;
    transition: all 0.2s ease;
    background: transparent;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--color-brand-hover);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .glass-panel-2,
    .glass-panel-3 {
        display: none;
    }
    
    .glass-panel-1 {
        width: 200px;
        height: 140px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-divider {
        display: none;
    }
    
    .segments,
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .final-cta-title {
        font-size: 36px;
    }
}
