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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --bg: #fafafa;
    --card-bg: #ffffff;
    --text: #1a1a2e;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --gradient-start: #1a1a2e;
    --gradient-end: #16213e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

/* Nav */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Sections */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.section-notice {
    text-align: center;
    color: #6366f1;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

/* Products */
.products {
    padding: 60px 0;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 48px 0 20px;
    padding-left: 4px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-card.featured {
    border-color: var(--primary);
    border-width: 2px;
}

.product-card.disabled {
    opacity: 0.6;
    background: #f8f9fa;
}

.card-badge {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.card-features {
    list-style: none;
    margin-bottom: 16px;
    flex: 1;
}

.card-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 3px 0;
    padding-left: 18px;
    position: relative;
}

.card-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.card-tag {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* Buttons */
.btn {
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary:hover {
    background: #d97706;
}

/* About */
.about {
    padding: 60px 0;
    background: linear-gradient(180deg, #f0f4ff 0%, var(--bg) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.about-card {
    text-align: center;
    padding: 32px 24px;
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ */
.faq {
    padding: 60px 0;
}

.faq-list {
    max-width: 700px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--gradient-start);
    color: #fff;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    color: #fff;
    font-size: 1.1rem;
}

.footer-brand p {
    opacity: 0.6;
    font-size: 0.85rem;
    margin-top: 6px;
}

.footer-links h4 {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a, .footer-links span {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 3px 0;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Mobile */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero-stats {
        gap: 28px;
    }
    .stat-num {
        font-size: 1.6rem;
    }
    .nav-links {
        gap: 16px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
}
