:root {
    --primary: #FFD700;
    --primary-dark: #FF8C00;
    --secondary: #222;
    --text: #333;
    --text-light: #666;
    --bg-light: #fff;
    --bg-accent: #f9f9f9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 5%;
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-light);
}

nav ul li a:hover {
    color: var(--primary-dark);
}

.btn-reg {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.btn-reg:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: url('../assets/hero-bg.png') no-repeat center center/cover;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFD700, #FF4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-mascot {
    position: absolute;
    right: 10%;
    bottom: 15%;
    z-index: 10;
    width: 400px;
    animation: float 4s ease-in-out infinite, runSideWays 10s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes runSideWays {
    0% { right: -500px; }
    10% { right: 10%; }
    90% { right: 10%; }
    100% { right: 120%; }
}

.mini-chick {
    position: absolute;
    width: 60px;
    z-index: 5;
    opacity: 0.6;
    animation: chasing 8s linear infinite;
}

.c1 { bottom: 10%; animation-delay: 0s; }
.c2 { bottom: 20%; animation-delay: 2s; }
.c3 { bottom: 30%; animation-delay: 4s; }

@keyframes chasing {
    from { right: -100px; }
    to { right: 110%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pricing Section */
.pricing {
    padding: 8rem 10%;
    background: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-accent);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.pricing-card.popular {
    background: linear-gradient(135deg, #fff, #fff6d9);
    border: 2px solid var(--primary);
}

.pricing-card.popular::before {
    content: '最受欢迎';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-card ul {
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--primary-dark);
    font-weight: 900;
}

/* Testimonials */
.testimonials {
    padding: 8rem 10%;
    background: var(--bg-accent);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* FAQ */
.faq {
    padding: 8rem 10%;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
footer {
    background: var(--secondary);
    color: #ccc;
    padding: 4rem 10% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-mascot {
        position: static;
        width: 250px;
        margin-top: 2rem;
    }
    nav {
        display: none;
    }
}
