* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00a4d6;
    --secondary-color: #005f80;
    --accent-color: #ff6b6b;
    --success-color: #00d084;
    --warning-color: #ffa500;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --border-color: #e0e6ed;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 25px rgba(0, 164, 214, 0.15);
    --gradient-primary: linear-gradient(135deg, #00a4d6 0%, #0088b8 100%);
    --gradient-secondary: linear-gradient(135deg, #005f80 0%, #003d52 100%);
    --gradient-light: linear-gradient(135deg, #e8f4f8 0%, #f0f9fc 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-light);
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    line-height: 1;
}

/* 移除按钮的额外padding和line-height */
.nav-links a.btn-primary {
    padding-bottom: 0;
    line-height: 1.2;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links a.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary,
.btn-hero,
.btn-large,
.btn-submit {
    display: inline-flex;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 164, 214, 0.3);
    line-height: 1.2;
    height: auto;
    min-height: 38px;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 164, 214, 0.4);
}

.btn-primary.active {
    background: var(--bg-white);
    color: white;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 164, 214, 0.4);
}

.btn-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0, 164, 214, 0.3);
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 164, 214, 0.4);
}

.btn-large {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0, 164, 214, 0.3);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 164, 214, 0.4);
}

.btn-submit {
    background: var(--gradient-primary);
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 164, 214, 0.2);
}

.btn-submit:hover {
    background: var(--gradient-secondary);
    box-shadow: 0 6px 20px rgba(0, 164, 214, 0.3);
}

/* Hero Section */
.hero {
    background: var(--gradient-light);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 164, 214, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 164, 214, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-content > p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 100%;
}

.stat {
    grid-column: span 2;
    text-align: left;
    padding: 1.5rem;
    background: rgba(0, 164, 214, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 164, 214, 0.1);
    position: relative;
}

.stat-members {
    grid-column: span 2;
}

.stat-commission {
    grid-column: span 4;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px 10px 0 0;
}

.stat:hover {
    background: rgba(0, 164, 214, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat h3 span.percent,
.stat h3 span.pound {
    font-size: 1.8rem;
}

.stat p {
    color: var(--text-light);
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration {
    width: 100%;
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-white);
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1.5rem;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fbfc 0%, #f0f8fb 50%, #e8f4f8 100%);
    position: relative;
}

.how-it-works h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1.5rem;
}

.how-it-works h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.step {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    flex: 0 1 250px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-color);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-light);
    border-radius: 50%;
    opacity: 0.5;
    transform: translate(30%, -30%);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 164, 214, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 164, 214, 0.4);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--bg-white);
}

.faq h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1.5rem;
}

.faq h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.faq-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.faq-item:hover::after {
    transform: scaleX(1);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta .btn-large {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.cta .btn-large:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1.5rem;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.signup-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(0, 164, 214, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 164, 214, 0.15);
    background: rgba(0, 164, 214, 0.02);
}

.contact-info {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

.method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.method:hover {
    background: rgba(0, 164, 214, 0.1);
    border-left-width: 4px;
    transform: translateX(5px);
}

.method:hover::before {
    transform: scaleX(1);
}

.method .icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.method p {
    color: var(--text-light);
    margin: 0;
}

.method p strong {
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0.8rem 20px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .nav-links a {
        white-space: nowrap;
        padding: 0.4rem 0.8rem;
        border-radius: 4px;
        transition: background 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
        min-height: 36px;
    }

    .nav-links a:hover {
        background: rgba(0, 164, 214, 0.1);
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .features h2,
    .faq h2,
    .cta h2 {
        font-size: 2rem;
    }

    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stats {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 20px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-links li {
        flex: 0 1 auto;
    }

    .nav-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 4px;
        background: rgba(0, 164, 214, 0.05);
        transition: all 0.3s ease;
        line-height: 1.2;
        min-height: 32px;
    }

    .nav-links a:hover {
        background: rgba(0, 164, 214, 0.15);
    }

    .nav-links a.btn-primary {
        background: var(--primary-color);
        color: white;
        padding: 0.5rem 1rem;
    }

    .nav-links a.btn-primary:hover {
        background: var(--secondary-color);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .feature-card,
    .faq-item,
    .signup-form,
    .contact-info {
        padding: 1.5rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat {
        grid-column: span 1;
    }

    .stat h3 {
        font-size: 1.5rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 164, 214, 0.4);
    transition: all 0.3s ease;
    z-index: 99;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.scroll-to-top:hover {
    background: var(--gradient-secondary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 164, 214, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}
