* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4a6cf7;
    --primary-dark: #3a5be0;
    --secondary: #6c757d;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --gradient: linear-gradient(135deg, var(--primary), #6a11cb);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f5f7ff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}


ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--gradient);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo i {
    margin-right: 10px;
    color: #ffde59;
}

.logo-link {
    text-decoration: none;
    /* 去掉默认链接下划线 */
    color: inherit;
    /* 保持原来颜色，不被 a 标签颜色控制 */
}

.logo-link .logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-link .logo:hover {
    /* 比如加微弱背景色或 opacity 提示可点击状态 */
    opacity: 0.8;
}


.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #ffde59;
}

.cta-button {
    background: white;
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
}

.cta-border {
    border: 1px solid var(--primary);
}

.btn-admin {
    display: none;
}

/* Hero Section */
.hero {
    padding: 100px 0 70px;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,64L48,69.3C96,75,192,85,288,117.3C384,149,480,203,576,197.3C672,192,768,128,864,112C960,96,1056,128,1152,128C1248,128,1344,96,1392,80L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center bottom;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* Stats Section */
.stats {
    background: white;
    padding: 60px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Features Section */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(74, 108, 247, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-details {
    text-align: left;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-details ul {
    list-style: none;
}

.feature-details li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.feature-details li i {
    color: var(--success);
    margin-right: 10px;
    min-width: 20px;
}

/* How it works section */
.how-it-works {
    background: var(--light);
    padding: 60px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--primary);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.step h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step p {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 1;
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.8rem;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    color: var(--secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: var(--success);
    margin-right: 10px;
}

/* Partners Section */
.partners {
    background: var(--light);
    padding: 60px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.partner-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    height: 140px;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    font-size: 3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo.facebook {
    color: #1877F2;
}

.partner-logo.google {
    color: #4285F4;
    position: relative;
}

.google-colors {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.google-red {
    background: #EA4335;
    top: -5px;
    left: -10px;
}

.google-blue {
    background: #4285F4;
    top: -5px;
    right: -10px;
}

.partner-logo.tiktok {
    color: #000000;
    position: relative;
}

.tiktok-red {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #FF0050;
    border-radius: 50%;
    top: -5px;
    left: 10px;
    z-index: -1;
}

.tiktok-blue {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #00F2EA;
    border-radius: 50%;
    bottom: -5px;
    right: 10px;
    z-index: -1;
}

.partner-name {
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

/* Testimonials */
.testimonials {
    background: var(--light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

/* "  */
.testimonial-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5rem;
    color: rgba(74, 108, 247, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: rgba(74, 108, 247, 0.05);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 1000px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Login Modal */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 22px 0;
    transform: translate(-50%, -50%);
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalOpen 0.4s ease;
    margin: 0 auto;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: var(--gradient);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    font-size: 1.8rem;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
}

.tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
    position: relative;
}

.tab.active {
    color: var(--primary);
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--primary-dark), #5a0fcb);
    transform: translateY(-2px);
}

.btn-send-verify,
.btn-reset-send-verify {
    width: 220px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    margin-left: 6px;
    padding: 0 8px;
    cursor: pointer;
    border: 1px solid #5a0fcb;
    background: #ffffff;
    color: #5a0fcb;
    user-select: none;
    -moz-user-select: none;
    transition: 0.3s;
}

.btn-send-verify:hover,
.btn-reset-send-verify:hover {
    opacity: 0.8;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-dark), #5a0fcb);
}

.btn-send-verify:disabled,
.btn-reset-send-verify:disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

.divider-text {
    padding: 0 15px;
    color: var(--secondary);
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.social-btn.google {
    color: #4285F4;
}

.social-btn.facebook {
    color: #1877F2;
}

.social-btn:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
}

.signup-link {
    text-align: center;
    margin-top: 25px;
    color: var(--secondary);
}

.signup-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-steps::before {
        display: none;
    }

    .step {
        width: 100%;
        margin-bottom: 40px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 70px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .modal-content {
        width: 90%;
    }

    .tab {
        font-size: 16px;
        padding: 12px 6px;
    }
}