/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局变量 - 参考主项目配色 */
:root {
    --primary-color: #6366f1;
    --primary-hover: #5855eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-radius: 8px;
    --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* 基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部通知栏 */
.top-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 0.75rem 0;
    position: relative;
    z-index: 1001;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.banner-icon {
    font-size: 1.25rem;
}

.banner-text {
    font-weight: 500;
    font-size: 0.9rem;
}

.banner-close {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.beta-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    line-height: 1.25;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    flex-direction: column;
    gap: 0.25rem;
}

.btn-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 0.875rem;
    color: var(--success-color);
    font-weight: 500;
}

/* 演示界面 */
.mockup-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.mockup-screen {
    background: white;
    border-radius: 12px;
    box-shadow: var(--box-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.mockup-header {
    background: var(--bg-secondary);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.mockup-dots span:first-child {
    background: #ef4444;
}

.mockup-dots span:nth-child(2) {
    background: #f59e0b;
}

.mockup-dots span:last-child {
    background: #10b981;
}

.mockup-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.mockup-content {
    padding: 1.5rem;
}

.demo-input {
    margin-bottom: 1.5rem;
}

.input-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.typing-text {
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    min-height: 1.5rem;
}

.cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.demo-output {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.output-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    width: 0%;
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 100%; }
}

.output-preview {
    color: var(--text-secondary);
    font-style: italic;
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 痛点分析 */
.painpoints {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.painpoints-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.painpoint-card {
    flex: 0 1 calc(33.333% - 1rem);
    min-width: 300px;
    max-width: 350px;
}

.painpoint-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.painpoint-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.painpoint-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.painpoint-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.painpoint-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.painpoint-stat {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

/* 功能特色 */
.features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.token-cost {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.quality-badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 对比表格 */
.comparison {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-tertiary);
}

.comparison-col {
    padding: 2rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.comparison-col:last-child {
    border-right: none;
}

.comparison-col h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-tag {
    font-weight: 600;
    color: var(--primary-color);
}

.price-tag span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.comparison-items {
    border-bottom: 1px solid var(--border-color);
}

.comparison-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-label {
    padding: 1rem;
    background: var(--bg-tertiary);
    font-weight: 500;
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.comparison-value {
    padding: 1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--border-color);
}

.comparison-value:last-child {
    border-right: none;
}

.comparison-value.positive {
    color: var(--success-color);
}

.comparison-value.negative {
    color: var(--error-color);
}

.cost-summary {
    padding: 2rem;
    background: var(--bg-tertiary);
}

.cost-item {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.savings-highlight {
    background: var(--success-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

/* 用户见证 */
.testimonials {
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.testimonial-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.rating {
    font-size: 0.875rem;
}

.testimonial-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-meta {
    font-size: 0.875rem;
}

.time-saved {
    color: var(--success-color);
    font-weight: 500;
}

.impact {
    color: var(--primary-color);
    font-weight: 500;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 免费试用流程 */
.trial-process-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.trial-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-text {
    font-weight: 500;
    color: var(--text-primary);
}

.trial-cta {
    text-align: center;
    margin-top: 2rem;
}

.trial-process {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.trial-process h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 0.5rem;
}

.step-text strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.step-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.step-arrow {
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* 最终CTA */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.urgency-messages {
    margin-bottom: 2rem;
}

.urgency-item {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.cta-actions {
    margin-bottom: 2rem;
}

.cta-btn {
    background: white;
    color: var(--primary-color);
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.final-guarantees {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.guarantee {
    font-size: 0.875rem;
    opacity: 0.9;
}

.countdown-timer {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.timer-text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.timer-unit {
    text-align: center;
}

.timer-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.timer-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.timer-separator {
    font-size: 1.5rem;
    font-weight: 700;
}

/* 浮动按钮 */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 退出意图弹窗 */
.exit-intent-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.exit-intent-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--box-shadow-lg);
}

.modal-header h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .painpoint-card {
        flex: 0 1 calc(50% - 0.75rem);
        min-width: 250px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        max-width: 700px;
    }
    

}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-actions {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .painpoint-card {
        flex: 1 1 100%;
        min-width: auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        max-width: 500px;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-label {
        background: var(--primary-color);
        color: white;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .comparison-value {
        border-right: none;
        justify-content: center;
        text-align: center;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .final-guarantees {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timer-display {
        gap: 0.5rem;
    }
    
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .banner-text {
        font-size: 0.8rem;
    }
} 