﻿/* =========================================
   zuqiushuju.com - 足球数据 AI预测
   Stylesheet v1.0
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f8f9fa;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: #4361ee; text-decoration: none; }
a:hover { color: #3a0ca3; }
img { max-width: 100%; height: auto; }

/* --- Header --- */
.header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.2rem;
}
.logo-icon { font-size: 1.5rem; }
.logo-text { color: #1a1a2e; }
.logo-sub {
    font-size: 0.75rem;
    color: #4361ee;
    background: #eef0ff;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}
.nav { display: flex; gap: 24px; }
.nav-link {
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: #4361ee; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #4361ee;
    border-radius: 1px;
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* --- Hero --- */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-title .accent { color: #4cc9f0; }
.hero-subtitle {
    font-size: 1.1rem;
    color: #a8b2d1;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; }
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: #4361ee; color: #fff; }
.btn-primary:hover { background: #3a0ca3; color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); color: #fff; }
.btn-outline { background: transparent; color: #4361ee; border: 2px solid #4361ee; }
.btn-outline:hover { background: #4361ee; color: #fff; }
.btn-small { padding: 8px 16px; font-size: 0.85rem; }
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: #4cc9f0; }
.stat-label { font-size: 0.9rem; color: #a8b2d1; }

/* --- League Nav --- */
.league-nav {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 16px 0;
}
.league-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.league-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: #f8f9fa;
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.league-tab:hover {
    background: #4361ee;
    color: #fff;
}
.league-flag { font-size: 1.2rem; }

/* --- Sections --- */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #1a1a2e;
}
.section-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 32px;
}
section { padding: 60px 0; }

/* --- Prediction Cards --- */
.predictions { background: #f8f9fa; }
.prediction-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.prediction-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.card-header {
    background: #f0f4ff;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}
.card-league { font-weight: 600; color: #4361ee; }
.card-time { color: #888; }
.card-body { padding: 20px; }
.team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.team { text-align: center; flex: 1; }
.team-name { display: block; font-size: 1.1rem; font-weight: 700; color: #1a1a2e; }
.team-en { font-size: 0.8rem; color: #888; }
.vs {
    font-size: 1.2rem;
    font-weight: 800;
    color: #4361ee;
    padding: 0 20px;
}
.prediction-bar {
    display: flex;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}
.bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    transition: width 0.3s;
}
.bar-item span { white-space: nowrap; }
.home-win { background: #4361ee; }
.draw { background: #6c757d; }
.away-win { background: #e63946; }
.card-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.detail-item { 
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 8px;
}
.detail-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 4px;
}
.detail-value { font-size: 0.9rem; font-weight: 600; color: #1a1a2e; }
.detail-value.highlight { color: #e63946; }
.card-footer {
    padding: 12px 20px;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

/* --- Features --- */
.features { background: #fff; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.feature-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: #1a1a2e; }
.feature-card p { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* --- Pricing --- */
.pricing { background: #f8f9fa; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
}
.pricing-card.featured {
    border: 2px solid #4361ee;
    transform: scale(1.05);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4361ee;
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-name { font-size: 1.2rem; color: #1a1a2e; margin-bottom: 8px; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: #4361ee; }
.pricing-period { font-size: 0.9rem; color: #888; margin-bottom: 20px; }
.saving { color: #e63946; font-size: 0.8rem; font-weight: 600; }
.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}
.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
}
.pricing-features li::before { content: '✓ '; color: #4361ee; font-weight: 700; }

/* --- Footer --- */
.footer {
    background: #1a1a2e;
    color: #a8b2d1;
    padding: 48px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 32px;
}
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col a {
    display: block;
    color: #a8b2d1;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.footer-col a:hover { color: #4cc9f0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title { font-size: 1.8rem; }
    .hero-stats { gap: 24px; }
    .nav { display: none; }
    .menu-toggle { display: block; }
    .features-grid, .pricing-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .pricing-card.featured { transform: none; }
}
