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

body {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    padding: 1rem;
    margin: 0;
}

.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    min-height: 90vh;
    justify-content: center;
}

.main-wrapper {
    width: 100%;
    margin: 0 auto 1.5rem auto;
}

.initial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.sticky-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: none;
    padding: 2.8rem 0 0.4rem 0;
}

header[role="banner"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#main-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

#main-header img {
    height: 48px;
    width: auto;
    display: block;
}

#main-header .brand-text {
    display: none;
}

.slogan {
    font-family: 'Ysbth', sans-serif;
    font-size: 0.95rem;
    color: #319EFF;
    text-align: center;
    margin-top: 0.1rem;
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
    font-weight: normal;
}

.ksab-title {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.ksab-subtitle {
    margin-top: 0;
    margin-bottom: 1rem;
}

.about-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.about-section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.about-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.2rem;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: #319EFF;
    border-radius: 2px;
}

.about-text {
    font-size: 0.7rem;
    line-height: 1.8;
    color: #475569;
    text-align: justify;
    letter-spacing: 0.2px;
}

.about-text + .about-text {
    margin-top: 0.4rem;
}

.team-intro {
    width: 100%;
    font-size: 0.7rem;
    line-height: 1.7;
    color: #475569;
    text-align: justify;
    padding: 0.8rem 0.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.team-intro strong {
    color: #1e293b;
    font-weight: 600;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 1rem 0 0.5rem 0;
    color: #94a3b8;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    border-top: 1px solid #f1f5f9;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.65rem;
    color: #64748b;
}

.footer-email img {
    height: 16px;
    width: auto;
    display: block;
    opacity: 0.7;
}

.footer-email a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-email a:hover {
    color: #319EFF;
    text-decoration: underline;
}

.email-separator {
    color: #cbd5e1;
    margin: 0 0.2rem;
}

@media (max-width: 420px) {
    .about-heading {
        font-size: 0.85rem;
    }
    .about-text {
        font-size: 0.65rem;
        line-height: 1.7;
    }
    .slogan {
        font-size: 0.85rem;
    }
    .team-intro {
        font-size: 0.65rem;
        padding: 0.6rem 0.1rem;
        line-height: 1.6;
    }
    .footer {
        font-size: 0.6rem;
        padding: 0.8rem 0 0.3rem 0;
    }
    .footer-email {
        font-size: 0.55rem;
        gap: 0.3rem;
    }
    .footer-email img {
        height: 14px;
    }
}

@media (max-width: 340px) {
    .about-heading {
        font-size: 0.8rem;
    }
    .about-text {
        font-size: 0.6rem;
        line-height: 1.6;
    }
    .team-intro {
        font-size: 0.6rem;
        padding: 0.4rem 0.05rem;
        line-height: 1.5;
    }
    .footer-email {
        flex-direction: column;
        gap: 0.2rem;
    }
    .email-separator {
        display: none;
    }
}