/* Base Variables and Reset */
:root { 
    --primary: #0052cc; 
    --primary-hover: #0043a6;
    --text: #333; 
    --bg: #fafafa; 
    --card-bg: #ffffff; 
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; 
    color: var(--text); 
    background: var(--bg); 
    line-height: 1.6; 
}
a { text-decoration: none; color: inherit; }
ul { list-style: inside; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; 
     
    padding: 12px 28px; 
    background: var(--primary); 
    color: #fff; 
    border-radius: 8px; 
    font-weight: bold; 
    text-align: center; 
    transition: background 0.3s; 
    cursor: pointer; 
}
.btn:hover { background: var(--primary-hover); }

/* Header */
header { 
    background: var(--card-bg); 
    padding: 15px 0; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: var(--primary); }
.main-nav { display: flex; gap: 20px; align-items: center; }
.main-nav a { font-weight: 500; transition: color 0.3s; }
.main-nav a:hover { color: var(--primary); }

/* Hero Section */
.hero { 
    text-align: center; 
    padding: 80px 20px; 
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%); 
}
.hero h1 { font-size: 42px; margin-bottom: 20px; color: #111; }
.hero p { 
    font-size: 18px; 
    color: #555; 
    margin-bottom: 40px; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
}
.hero-btn { font-size: 18px; padding: 15px 40px; }

/* General Sections */
.section { padding: 60px 0; }
.section-title { text-align: center; font-size: 32px; margin-bottom: 40px; color: #222; }

/* 3-Card Grid for Advantages */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { 
    background: var(--card-bg); 
    padding: 40px 30px; 
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    text-align: center; 
}
.card .icon { font-size: 48px; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 22px; }
.card p { color: #666; font-size: 15px; }

/* Streaming and AI Cards */
.streaming-ai { background: #fff; }
.sa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sa-card { 
    background: var(--bg); 
    border-radius: 12px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
}
.img-placeholder { 
    height: 200px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}
.sa-content { padding: 30px; }
.sa-content h3 { font-size: 22px; margin-bottom: 15px; }
.sa-content p { color: #555; }

/* Pricing Table */
.pricing-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.pricing-card { 
    background: var(--card-bg); 
    border-radius: 12px; 
    padding: 40px 30px; 
    text-align: center; 
    border: 1px solid #eaeaea; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.02); 
}
.pricing-card.featured { 
    border: 2px solid var(--primary); 
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    position: relative; 
}
.pricing-card.featured::before { 
    content: "最受欢迎"; 
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background: var(--primary); 
    color: #fff; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 14px; 
    font-weight: bold; 
}
.pricing-card h3 { font-size: 20px; color: #444; }
.pricing-price { font-size: 42px; font-weight: bold; color: #111; margin: 20px 0; }
.pricing-price span { font-size: 16px; color: #888; font-weight: normal; }
.pricing-features { list-style: none; margin-bottom: 30px; text-align: left; }
.pricing-features li { margin-bottom: 12px; color: #555; }

/* Testimonials */
.testimonials-section { background: var(--card-bg); }
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testimonial-card { 
    background: var(--bg); 
    padding: 30px; 
    border-radius: 12px; 
    border-left: 4px solid var(--primary); 
}
.testimonial-card p { font-style: italic; color: #555; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { 
    background: var(--card-bg); 
    padding: 20px; 
    border-radius: 8px; 
    margin-bottom: 15px; 
    border: 1px solid #eaeaea; 
}
.faq-q { font-weight: bold; margin-bottom: 8px; font-size: 17px; color: #222; }
.faq-a { color: #666; font-size: 15px; }

/* Subpages Content */
.page-content { padding: 60px 0; min-height: 70vh; }
.page-content h1 { margin-bottom: 30px; color: #111; }
.page-content h2 { margin: 30px 0 15px; font-size: 22px; border-bottom: 1px solid #ddd; padding-bottom: 5px; }
.page-content p, .page-content ul { margin-bottom: 15px; color: #444; font-size: 16px; }
.page-content ul li { margin-bottom: 5px; }

/* Footer */
footer { background: #111; color: #aaa; padding: 40px 0; text-align: center; }
footer a { color: #ddd; margin: 0 15px; transition: color 0.3s; }
footer a:hover { color: #fff; }
footer p { margin-top: 20px; font-size: 14px; }

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .grid-3, .sa-grid, .pricing-table, .testimonials { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .pricing-card.featured { transform: none; }
    .pricing-table { gap: 20px; }
    
    /* Touch friendly buttons */
    section .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; 
        display: block; 
        width: 100%; 
        box-sizing: border-box; 
        padding: 16px; 
        font-size: 18px; 
        margin-top: 15px;
    }
    
    .header-inner { flex-direction: column; justify-content: center; align-items: center; gap: 15px; }
    .main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; font-size: 14px; }
    .header-inner .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; 
         
        width: auto; 
        padding: 8px 16px; 
        font-size: 14px; 
        margin-top: 0;
    }
}
