/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --primary-hover: #4338CA;
    --secondary-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-hover);
}

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo a {
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: var(--text-primary);
    font-weight: 500;
}

.nav .cta-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

.nav .cta-btn:hover {
    background: var(--primary-hover);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Price Highlight */
.price-highlight {
    padding: 4rem 0;
    background: var(--bg-light);
}

.price-highlight h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.comparison-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comparison-card.featured {
    border: 3px solid var(--primary-color);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-tag {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
}

.price-tag.expensive {
    background: #FEE2E2;
    color: var(--danger-color);
}

.price-tag.cheap {
    background: #D1FAE5;
    color: var(--secondary-color);
}

.price-tag.medium {
    background: #FEF3C7;
    color: var(--warning-color);
}

.feature-list {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.btn-card {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 600;
}

.btn-card:hover {
    background: var(--primary-hover);
    color: white;
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
}

.calculator-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.calculator {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.calculator-input {
    margin-bottom: 2rem;
}

.calculator-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calculator-input input,
.calculator-input select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.model-select {
    margin-top: 1rem;
}

.calculator-results h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.result-grid {
    display: grid;
    gap: 1rem;
}

.result-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.result-item.best {
    border: 2px solid var(--secondary-color);
    background: #F0FDF4;
}

.result-platform {
    font-weight: 600;
    font-size: 1.1rem;
}

.result-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-item.best .result-price {
    color: var(--secondary-color);
}

.calculator-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    text-align: center;
}

.calculator-note p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.calculator-note strong {
    color: var(--primary-color);
}

#savings {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Models Section */
.models-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.models-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.models-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.model-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.model-category h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.models-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Comparison Table */
.comparison-table-section {
    padding: 4rem 0;
}

.comparison-table-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-light);
    font-weight: 600;
}

.comparison-table th.highlight {
    background: var(--primary-color);
    color: white;
}

.comparison-table td.highlight {
    background: #EEF2FF;
    font-weight: 600;
    color: var(--primary-color);
}

.table-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Use Cases */
.use-cases {
    padding: 4rem 0;
    background: var(--bg-light);
}

.use-cases h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.case-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.case-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.case-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.case-card a {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Quick Start */
.quick-start {
    padding: 4rem 0;
}

.quick-start h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.quick-start-cta {
    text-align: center;
    margin-top: 3rem;
}

/* FAQ Preview */
.faq-preview {
    padding: 4rem 0;
    background: var(--bg-light);
}

.faq-preview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
}

.faq-more {
    text-align: center;
    margin-top: 2rem;
}

.faq-more a {
    font-weight: 600;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary-large {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1.25rem 3rem;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
    color: white;
}

.footer-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-note {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 1.75rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

/* Tutorial Page Styles */
.tutorial-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.tutorial-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.tutorial-section {
    margin-bottom: 3rem;
}

.tutorial-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.tutorial-section h3 {
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

.code-block {
    background: #282c34;
    color: #abb2bf;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

.code-block code {
    font-size: 0.9rem;
    line-height: 1.5;
}

.note {
    background: #FEF3C7;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.tip {
    background: #D1FAE5;
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

/* FAQ Page Styles */
.faq-page {
    padding: 3rem 0;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

/* Comparison Page Styles */
.detailed-comparison {
    padding: 3rem 0;
}

.comparison-section {
    margin-bottom: 3rem;
}

.comparison-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.price-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    box-shadow: var(--shadow);
}

.price-comparison-table th,
.price-comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.price-comparison-table th {
    background: var(--bg-light);
    font-weight: 600;
}

.best-price {
    background: #D1FAE5;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Privacy Page */
.privacy-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.privacy-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

