/* Base Styles */
:root {
    --primary-color: #4298B4;
    --primary-blue: #0066FF;
    --secondary-color: #876298;
    --dark-text: #343C4B;
    --light-text: #505050;
    --lighter-text: #ACB0B9;
    --white: #FFFFFF;
    --light-bg: #F6F6F7;
    --border-color: #CCCFD4;
    --success-color: #0066FF;
    --font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto, "PingFang SC", "Miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
}

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

html, body {
    font-family: var(--font-family);
    color: var(--dark-text);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
}

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

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 2.5rem;
}

/* Button Styles */
.primary-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.primary-btn .arrow {
    margin-left: 8px;
}

.primary-btn:hover {
    background-color: #0055d4;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    color: var(--dark-text);
    padding: 12px 25px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.secondary-btn .info-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    margin-left: 8px;
    font-style: italic;
}

.secondary-btn:hover {
    background-color: #f5f5f5;
}

.center-btn {
    display: block;
    margin: 2rem auto 0;
    max-width: 200px;
    text-align: center;
}

.view-all-link {
    display: block;
    text-align: center;
    margin-top: 2rem;
    color: var(--light-text);
    font-size: 1rem;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.view-all-link:hover {
    background-color: #f5f5f5;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
}

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

.nav-links a {
    color: var(--dark-text);
    font-weight: 500;
    font-size: 14px;
}

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

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-btn {
    color: var(--dark-text);
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    padding: 6px 15px;
    border-radius: 4px;
}

.login-btn:hover {
    background-color: #f5f5f5;
}

.test-btn {
    background-color: var(--success-color);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
}

.test-btn:hover {
    background-color: #0055d4;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #D7D3F6 0%, #D7DDF8 100%);
    color: var(--dark-text);
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 70px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero h1 .highlight {
    color: var(--primary-blue);
}

.hero .subtitle {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.user-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230066FF"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
}

.globe-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230066FF"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/></svg>');
}

.language-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230066FF"><path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"/></svg>');
}

.check-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230066FF"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
}

.stat-text {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

/* Process Section */
.process {
    background-color: var(--white);
    padding: 60px 0;
}

.process h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 1000px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.step-icon {
    width: 50px;
    height: 50px;
    background-color: #edf1fd;
    color: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: bold;
}

.question-icon {
    color: var(--primary-blue);
    font-size: 24px;
}

.calculator-icon, .book-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.process-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.center-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
    max-width: 180px;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
}

/* Personality Types Section */
.personality-types {
    background-color: #F8F9FA;
    padding: 60px 0;
}

.personality-types h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.personality-types .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.type-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.type-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.type-card-header {
    height: 8px;
    width: 100%;
}

.intj-header {
    background: linear-gradient(90deg, #2859C5 0%, #6B5DD3 100%);
}

.enfp-header {
    background: linear-gradient(90deg, #F48924 0%, #4D7CFF 100%);
}

.istj-header {
    background: linear-gradient(90deg, #8A63D2 0%, #BE7BF9 100%);
}

.esfj-header {
    background: linear-gradient(90deg, #4D7CFF 0%, #BE7BF9 100%);
}

.type-card-content {
    padding: 20px;
}

.type-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.type-name {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 15px;
}

.type-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    height: 42px;
    overflow: hidden;
}

.type-link {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 500;
    display: inline-block;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    color: #666;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    background-color: white;
    transition: all 0.3s;
}

.view-all-link:hover {
    background-color: #f5f5f5;
}

.arrow-right {
    margin-left: 5px;
}

@media (max-width: 992px) {
    .type-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .type-cards {
        grid-template-columns: 1fr;
    }
}

/* View All Container */
.view-all-container {
    text-align: center;
    padding: 20px 0;
    background-color: #F8F9FA;
}

.view-all-container .view-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-blue);
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 4px;
    border: 1px solid var(--primary-blue);
    background-color: white;
    transition: all 0.3s;
    max-width: 250px;
}

.view-all-container .view-all-link:hover {
    background-color: #f5f5f5;
}

/* About MBTI Section */
.about-mbti {
    background-color: var(--white);
    padding: 80px 0;
}

.about-mbti h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-align: left;
}

.about-content {
    display: flex;
    gap: 60px;
    margin: 2rem 0;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.about-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 4px;
}

.features {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.feature-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    margin-top: 2px;
    font-size: 12px;
    font-weight: bold;
}

.feature-content {
    flex: 1;
}

.feature h4 {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.feature p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials {
    background-color: #FAFAFA;
    padding: 80px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.testimonials .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    flex: 1;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 4px;
}

.user-title {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: normal;
}

.rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #FFD700;
    font-size: 18px;
}

.star.half {
    position: relative;
    display: inline-block;
    color: #E0E0E0;
}

.star.half::before {
    content: '★';
    position: absolute;
    color: #FFD700;
    width: 50%;
    overflow: hidden;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

@media (max-width: 992px) {
    .testimonial-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        max-width: 100%;
        width: 100%;
    }
}

/* Resources Section */
.resources {
    background-color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.resources h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.resources .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.resource-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    flex: 1;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.resource-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.resource-content {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.resource-category {
    width: 100%;
    padding: 10px 20px;
    border-bottom: none;
}

.category-tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    color: #FFFFFF;
}

.category-tag.article {
    background-color: #4D7CFF;
}

.category-tag.guide {
    background-color: #FF9F4D;
}

.resource-card h3 {
    margin: 20px 20px 10px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.resource-card p {
    margin: 0 20px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

.resource-link {
    margin: 0 20px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
    display: inline-block;
    text-decoration: none;
}

@media (max-width: 992px) {
    .resource-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .resource-card {
        max-width: 100%;
        width: 100%;
    }
}

/* FAQ Section */
.faq {
    background-color: #FAFAFA;
    padding: 80px 0;
    text-align: center;
}

.faq h2 {
    font-size: 60px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.faq .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #EAEAEA;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    text-align: left;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #F8F9FA;
}

.faq-toggle {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 300;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

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

.faq-more {
    text-align: center;
    margin-top: 40px;
}

.faq-more p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.faq-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
    transition: background-color 0.3s;
}

.faq-link:hover {
    background-color: #f5f5f5;
}

.faq-link .arrow-right {
    margin-left: 5px;
}

/* Add JavaScript for FAQ toggle functionality */
@media (max-width: 768px) {
    .faq-items {
        padding: 0 20px;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(180deg, #2555F7 0%, #6C31D4 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cta .primary-btn {
    background-color: var(--white);
    color: #2555F7;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta .primary-btn .arrow {
    margin-left: 8px;
    font-size: 18px;
}

.cta .primary-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 30px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #AAAAAA;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: #4361EE;
}

.facebook-icon, .twitter-icon, .instagram-icon {
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
}

.facebook-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="%23FFFFFF"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"/></svg>');
}

.twitter-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23FFFFFF"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>');
}

.instagram-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="%23FFFFFF"><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>');
}

.footer-column h4 {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #AAAAAA;
    font-size: 14px;
    transition: color 0.3s;
    text-decoration: none;
}

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

.subscribe-text {
    color: #AAAAAA;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
}

.subscribe-form input {
    flex: 1;
    background-color: #333333;
    border: none;
    padding: 12px 16px;
    color: #FFFFFF;
    font-size: 14px;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.subscribe-form input::placeholder {
    color: #777777;
}

.subscribe-btn {
    background-color: #2555F7;
    color: #FFFFFF;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: #1A46D8;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #333333;
    text-align: center;
}

.footer-bottom p {
    color: #777777;
    font-size: 12px;
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .auth-buttons {
        display: flex;
    }
    
    .login-btn {
        display: none;
    }
    
    .test-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-links {
        margin-bottom: 10px;
    }
    
    .type-cards {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .hero .subtitle {
        font-size: 0.9rem;
        padding: 0 20px;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    .process-step {
        padding: 20px 15px;
    }
    
    .about-mbti h2 {
        font-size: 24px;
        text-align: center;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 15px 15px;
    }
    
    .footer-bottom p {
        font-size: 11px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 2rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .navbar .container {
        padding: 0 10px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .auth-buttons {
        gap: 10px;
    }
    
    .login-btn, .test-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .footer-logo img {
        height: 24px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .subscribe-btn {
        border-radius: 4px;
        width: 100%;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    /* border: 1px solid #ddd; */
    border-radius: 4px;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 20px;
    background-color: var(--dark-text);
    transition: all 0.3s ease;
    margin: 2px 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar .container {
        justify-content: space-between;
        position: relative;
    }
    
    .logo {
        order: 2;
        flex: 1;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
        right: 0;
    }
    
    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        font-size: 16px;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .auth-buttons {
        order: 1;
    }
    
    .login-btn {
        display: none;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    
    .type-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .stat-item {
        width: 40%;
    }
    
    .faq h2 {
        font-size: 32px;
    }
    
    .cta h2 {
        font-size: 26px;
    }
    
    .cta p {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .testimonial-cards,
    .resource-cards {
        flex-direction: column;
    }
    
    .testimonial-card,
    .resource-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .navbar {
        height: 56px;
    }
    
    .navbar .container {
        padding: 0 15px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "auth logo menu";
        align-items: center;
    }
    
    .logo {
        order: 2;
        grid-column: 2;
        grid-area: logo;
        display: flex;
        justify-content: center;
    }
    
    .logo img {
        height: 32px;
    }
    
    .mobile-menu-toggle {
        order: 3;
        grid-column: 3;
        grid-area: menu;
        width: 40px;
        height: 40px;
    }
    
    .auth-buttons {
        order: 1;
        grid-column: 1;
        grid-area: auth;
        position: relative;
    }
    
    /* Empty space for the red box area */
    .empty-box {
        display: none;
    }
    
    /* Position the test button in the red box area */
    .test-btn {
        background-color: #0066FF;
        padding: 8px 15px;
        font-size: 14px;
        border-radius: 4px;
        position: absolute;
        top: -18px;
        right: -320px; /* 调整到红框位置 */
        z-index: 100;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 90px 0 40px;
    }
    
    .hero h1 {
        font-size: 45px;
        padding: 0;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .hero .highlight {
        color: #0066FF;
    }
    
    .hero .subtitle {
        font-size: 14px;
        padding: 0 15px;
        margin-bottom: 30px;
        line-height: 1.5;
        color: #555;
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 14px 20px;
        border-radius: 4px;
    }
    
    .primary-btn {
        background-color: #0066FF;
    }
    
    .secondary-btn {
        background-color: rgba(255, 255, 255, 0.8);
        border: none;
        color: #333;
    }
    
    .stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .stat-item {
        width: auto;
    }
    
    .stat-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 6px;
    }
    
    .stat-text {
        font-size: 13px;
        color: #666;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-links {
        margin-bottom: 10px;
    }
    
    .type-cards {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        padding: 20px 15px;
    }
    
    .about-mbti h2 {
        font-size: 24px;
        text-align: center;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 15px 15px;
    }
    
    .footer-bottom p {
        font-size: 11px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 0 10px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .auth-buttons {
        gap: 10px;
    }
    
    .test-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .footer-logo img {
        height: 24px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .subscribe-btn {
        border-radius: 4px;
        width: 100%;
    }
}

/* Ensure desktop layout remains unchanged */
@media (min-width: 577px) {
    .test-btn {
        position: static;
        top: auto;
        right: auto;
    }
} 
 .slogen {
         font-size: 45px;
        padding: 0;
        margin-bottom: 15px;
        line-height: 1.3;
    }