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

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f0f9 100%);
    color: #1e293b;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e7ef;
    padding: 0.8rem 2rem;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 2px 10px rgba(0,20,40,0.02);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
       
.logo a {
    font-weight: 700;
    font-size: 1.6rem;
    color: #0b3b5c;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo span {
    color: #b22234;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a, .nav-privacy-btn, .lang-switch button {
    color: #2d4059;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}
.nav-links a:hover, .nav-privacy-btn:hover, .lang-switch button:hover {
    color: #b22234;
}
.lang-switch {
    display: flex;
    gap: 0.8rem;
    margin-left: 1rem;
    border-left: 1px solid #cbd5e1;
    padding-left: 1rem;
}
.lang-switch button.active {
    color: #b22234;
    font-weight: 700;
}

.about-trigger {
    position: relative;
    cursor: pointer;
    color: #2d4059;
    font-weight: 500;
}
.about-hover {
    display: none;
    position: absolute;
    top: 2.2rem;
    right: 0;
    background: white;
    border: 1px solid #dce5f0;
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    width: 260px;
    box-shadow: 0 15px 30px -8px rgba(0,35,70,0.15);
    font-size: 0.95rem;
    color: #253746;
    z-index: 40;
}
.about-trigger:hover .about-hover {
    display: block;
}
.about-hover p {
    margin-bottom: 0.5rem;
}
.about-hover strong {
    color: #b22234;
}

.container, .pricing-page, .faq-page, .auth-page {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0 2rem;
    flex: 1;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0b3b5c;
    margin-bottom: 0.8rem;
    border-left: 6px solid #b22234;
    padding-left: 1.5rem;
}

.pricing-header h1, .faq-header h1, .auth-container h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #0b3b5c, #b22234);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-left: none;
    padding-left: 0;
    text-align: center;
}

.subtitle {
    font-size: 1.2rem;
    color: #2e4a6e;
    max-width: 700px;
    margin: 1rem auto;
    text-align: center;
}

.intro-card, .country-card, .resources-section, .feedback-section, .pricing-card, .faq-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 20, 40, 0.1);
    border-radius: 28px;
    padding: 2.2rem;
}

.intro-card p {
    font-size: 1.2rem;
    color: #253746;
    max-width: 950px;
}
.intro-card strong {
    color: #b22234;
    font-weight: 600;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    color: #0b3b5c;
    border-bottom: 2px solid #e0e9f2;
    padding-bottom: 0.5rem;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.country-card {
    padding: 1.8rem 1.5rem 2rem;
    transition: transform 0.1s, box-shadow 0.2s;
}
.country-card:hover {
    box-shadow: 0 20px 30px -10px rgba(0,60,100,0.12);
    border-color: #cbd9eb;
}
.country-card h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b3b5c;
    text-transform: capitalize;
}
.country-card p {
    color: #334e68;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.98rem;
}
.btn-country {
    background-color: #0b3b5c;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 0.75rem 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s, border-color 0.2s;
    border: 1px solid #0b3b5c;
    align-self: flex-start;
}
.btn-country:hover {
    background-color: #b22234;
    border-color: #b22234;
}

.resources-section {
    background: linear-gradient(135deg, #f0f6fd, #ffffff);
    border-radius: 36px;
    padding: 2.8rem;
    margin: 3rem 0 2rem;
}
.resource-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}
.resource-text {
    flex: 2 1 300px;
}
.resource-text p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #253746;
}
.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 0.5rem;
}
.badge {
    background: #e2ebf5;
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    font-weight: 500;
    color: #0b3b5c;
    font-size: 0.95rem;
    border: 1px solid #b6cfe6;
}
.resource-buttons {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.btn-resource {
    background: white;
    border: 2px solid #0b3b5c;
    color: #0b3b5c;
    padding: 1rem 1.8rem;
    border-radius: 60px;
    font-weight: 700;
    text-decoration: none;
    text-align: left;
    transition: all 0.2s;
    font-size: 1.1rem;
}
.btn-resource:hover {
    background: #0b3b5c;
    color: white;
}
.btn-resource.canva {
    border-color: #b22234;
    color: #b22234;
}
.btn-resource.canva:hover {
    background: #b22234;
    color: white;
}

.feedback-section {
    background: white;
    border-radius: 28px;
    padding: 2.5rem;
    margin: 3rem 0 1.5rem;
}
.feedback-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b3b5c;
    margin-bottom: 0.5rem;
}
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    margin-top: 1.8rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-weight: 600;
    color: #1e3b5a;
    margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea {
    border: 1px solid #bdcfe0;
    border-radius: 24px;
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
    font-family: inherit;
    background: #f9fcff;
    transition: 0.15s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #b22234;
    box-shadow: 0 0 0 3px rgba(178,34,52,0.1);
}
.btn-send {
    background: #b22234;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    width: fit-content;
    transition: background 0.2s;
    border: 1px solid #b22234;
}
.btn-send:hover {
    background: #0b3b5c;
    border-color: #0b3b5c;
}

.privacy-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.privacy-content {
    background: white;
    max-width: 600px;
    width: 90%;
    border-radius: 36px;
    padding: 2.5rem;
    box-shadow: 0 30px 50px rgba(0,20,40,0.3);
    position: relative;
}
.privacy-content h3 {
    font-size: 2rem;
    color: #0b3b5c;
    margin-bottom: 1.2rem;
}
.privacy-content p {
    margin-bottom: 1rem;
    color: #2e4259;
}
.close-privacy {
    background: #b22234;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
}

/* ===== 价格页面专用 ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}
.pricing-card {
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform 0.3s;
    border: 2px solid transparent;
}
.pricing-card:hover {
    transform: translateY(-5px);
}
.pricing-card.popular {
    border-color: #b22234;
    box-shadow: 0 20px 40px rgba(178, 34, 52, 0.1);
}
.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #b22234;
    color: white;
    padding: 0.3rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}
.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0b3b5c;
    margin: 1rem 0 0.5rem;
}
.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}
.price-description {
    color: #2e4a6e;
    min-height: 3rem;
}
.btn-pricing {
    display: block;
    background: #0b3b5c;
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    margin: 1.5rem 0;
    transition: background 0.2s;
}
.btn-pricing:hover {
    background: #b22234;
}
.btn-pricing.pro-btn {
    background: #b22234;
}
.btn-pricing.pro-btn:hover {
    background: #0b3b5c;
}
.features-list {
    list-style: none;
    padding: 0;
    text-align: left;
}
.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.features-list li:last-child {
    border-bottom: none;
}

/* ===== FAQ 页面专用 ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}
.faq-item {
    padding: 2rem;
}
.faq-item:hover {
    box-shadow: 0 20px 35px rgba(0, 35, 70, 0.1);
}
.faq-item h3 {
    color: #0b3b5c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.faq-item p, .faq-item ul {
    color: #2e4a6e;
    line-height: 1.6;
}

/* ===== 认证页面样式 ===== */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.auth-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.auth-container h1 {
    font-size: 2.5rem;
    color: #0b3b5c;
    border-left: none;
    padding-left: 0;
    text-align: center;
    margin-bottom: 0.5rem;
    background: none;
    -webkit-text-fill-color: #0b3b5c;
}

.auth-container .subtitle {
    text-align: center;
    color: #2e4a6e;
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form label {
    font-weight: 600;
    color: #1e3b5a;
}

.auth-form input {
    padding: 1rem 1.2rem;
    border: 1px solid #bdcfe0;
    border-radius: 30px;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: #b22234;
    box-shadow: 0 0 0 3px rgba(178, 34, 52, 0.1);
}

.btn-auth {
    background: #b22234;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 1rem;
}

.btn-auth:hover {
    background: #0b3b5c;
}

.auth-redirect {
    text-align: center;
    margin-top: 2rem;
    color: #2e4a6e;
}

.auth-redirect a {
    color: #b22234;
    font-weight: 600;
    text-decoration: none;
}

.auth-redirect a:hover {
    text-decoration: underline;
}

/* ===== 网站尾部 ===== */
.site-footer {
    background: linear-gradient(135deg, #0b3b5c, #082a40);
    color: white;
    margin-top: 4rem;
    padding: 3rem 2rem 1.5rem;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}
.footer-logo a {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}
.footer-logo span {
    color: #ff6b6b;
}
.footer-tagline {
    margin-top: 0.5rem;
    opacity: 0.9;
    font-size: 0.95rem;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}
.footer-column h4 {
    color: #ffb3b3;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column li {
    margin: 0.5rem 0;
}
.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-column a:hover {
    color: white;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}
.footer-bottom a {
    color: white;
    text-decoration: none;
}
.footer-bottom a:hover {
    text-decoration: underline;
}

/* 原始移动端适配（保留） */
@media (max-width: 640px) {
    h1 { font-size: 2rem; }
    .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
}

/* ===== 新增增强型移动端适配 ===== */
@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .nav-links {
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .nav-links a, .nav-privacy-btn, .lang-switch button {
        font-size: 0.9rem;
        padding: 0.2rem 0;
    }
    .lang-switch {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
    .about-trigger {
        width: 100%;
    }
    h1 {
        font-size: 2.2rem;
        border-left-width: 4px;
        padding-left: 1rem;
    }
    .intro-card, .country-card, .resources-section, .feedback-section, .pricing-card, .faq-item {
        padding: 1.5rem;
    }
    .country-grid {
        gap: 1rem;
    }
    .resource-flex {
        flex-direction: column;
        align-items: stretch;
    }
    .resource-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .resource-buttons .btn-resource {
        flex: 1 1 auto;
        min-width: 200px;
        text-align: center;
    }
    .badge-group {
        justify-content: center;
    }
    .feedback-form {
        max-width: 100%;
    }
    .auth-container {
        padding: 2rem 1.5rem;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .country-card h2 {
        font-size: 1.3rem;
    }
    .btn-country, .btn-resource, .btn-auth, .btn-send {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .auth-container {
        padding: 1.5rem 1rem;
    }
}