/* ========================================
   ShortFlow - AI短视频助手
   ======================================== */

:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --text: #1a1a2e;
    --text-light: #666;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --border: #e0e0e0;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon {
    background: var(--primary); color: white;
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.logo-text { font-size: 20px; font-weight: 700; color: var(--text); }
.nav { display: flex; gap: 32px; }
.nav-link { font-size: 15px; color: var(--text-light); text-decoration: none; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 24px; border-radius: 8px; font-size: 15px;
    font-weight: 500; text-decoration: none; cursor: pointer;
    border: none; transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
    text-align: center;
}
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.hero .highlight { color: var(--primary); }
.hero-subtitle { font-size: 20px; color: var(--text-light); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
    text-align: center; font-size: 32px; font-weight: 700;
    margin-bottom: 48px;
}

/* Features */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
    background: var(--bg); padding: 32px; border-radius: var(--radius);
    box-shadow: var(--shadow); text-align: center;
    transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-light); font-size: 15px; }

/* Scenarios */
.scenarios-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.scenario-card {
    background: var(--bg); padding: 32px; border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.scenario-card h3 { font-size: 20px; margin-bottom: 12px; }
.scenario-card p { color: var(--text-light); font-size: 15px; }

/* Contact */
.contact-content { text-align: center; max-width: 600px; margin: 0 auto; }
.contact-content p { font-size: 16px; color: var(--text-light); margin-bottom: 16px; }
.contact-info p { color: var(--text); }

/* Page section */
.page-section { padding: 120px 0 80px; }
.page-section h1 { font-size: 32px; margin-bottom: 24px; }
.page-content { max-width: 800px; }
.page-content h2 { font-size: 22px; margin: 32px 0 16px; }
.page-content p { margin-bottom: 16px; color: var(--text-light); }
.page-content ul { padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 8px; color: var(--text-light); }

/* Footer */
.footer {
    background: #1a1a2e; color: #ccc; padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.footer h4 { color: white; font-size: 16px; margin-bottom: 16px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer a { color: #999; text-decoration: none; display: block; margin-bottom: 8px; }
.footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid #333; padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #666; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .features-grid, .scenarios-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav { display: none; }
}