/* ============================================
   Global Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #fafaf9; /* stone-50 */
    color: #1c1917; /* stone-900 */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Header
   ============================================ */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e7e5e4; /* stone-200 */
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 64rem; /* max-w-5xl */
    margin: 0 auto;
    padding: 0 1rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: #059669; /* emerald-600 */
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
}

.logo-text {
    font-weight: bold;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: #292524; /* stone-800 */
}

.logo-text span {
    color: #059669; /* emerald-600 */
    font-weight: 500;
}

nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #78716c; /* stone-500 */
}

@media (min-width: 768px) {
    nav {
        display: flex;
    }
}

nav a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

nav a:hover {
    color: #059669;
}

/* ============================================
   Main Layout
   ============================================ */
main {
    max-width: 64rem;
    margin: 2rem auto 5rem;
    padding: 0 1rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-badge.mentor {
    background-color: #d1fae5;
    color: #047857;
}

.hero-badge.mentee {
    background-color: #d1fae5; /* emerald-100 */
    color: #047857; /* emerald-700 */
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: #1c1917;
    line-height: 1.25;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

.hero-title span.mentor {
    color: #2e7d32;
}

.hero-title span.mentee {
    color: #2e7d32;
}

.hero-desc {
    color: #78716c;
    max-width: 42rem;
    margin: 0 auto;
}

/* ============================================
   Section Headers
   ============================================ */
.section-title {
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-title .bar {
    width: 0.375rem;
    height: 1.5rem;
    border-radius: 9999px;
}

.section-title .bar.mentor { background-color: #059669; }
.section-title .bar.mentee { background-color: #059669; }

/* ============================================
   Process Grid
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.process-item {
    position: relative;
}

.process-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e7e5e4;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.process-icon {
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
}

.process-icon.mentor { background-color: #ecfdf5; color: #059669; }
.process-icon.mentee { background-color: #ecfdf5; color: #059669; }

.process-card:hover .process-icon.mentor { background-color: #059669; color: #ffffff; }
.process-card:hover .process-icon.mentee { background-color: #059669; color: #ffffff; }

.process-step {
    font-size: 0.625rem;
    font-weight: 900;
    color: #d6d3d1;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 0.25rem;
}

.process-name {
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.process-desc {
    font-size: 0.75rem;
    color: #78716c;
    line-height: 1.625;
    word-break: keep-all;
}

.process-arrow {
    display: none;
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    z-index: 10;
    color: #d6d3d1;
}

@media (min-width: 768px) {
    .process-arrow {
        display: block;
    }
}

/* ============================================
   Detail Cards
   ============================================ */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.detail-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e7e5e4;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.detail-header {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-header.mentor { background-color: #2e7d32; }
.detail-header.mentee { background-color: #2e7d32; }

.detail-num {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 900;
    font-size: 1.125rem;
}

.detail-title {
    color: #ffffff;
    font-weight: bold;
}

.detail-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .detail-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }
}

.detail-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}

.detail-label.mentor { background-color: #d1fae5; color: #047857; }
.detail-label.mentee { background-color: #ecfdf5; color: #047857; }

.detail-text {
    font-size: 0.875rem;
    color: #57534e;
    line-height: 1.625;
    word-break: keep-all;
}

/* ============================================
   Rules Section
   ============================================ */
.rules-box {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.rules-box.mentor { background-color: #fef2f2; border-color: #fecaca; }
.rules-box.mentee { background-color: #fff7ed; border-color: #fed7aa; }

.rules-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    opacity: 0.1;
}

.rules-content {
    position: relative;
    z-index: 10;
}

.rules-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.rules-icon-wrap {
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.rules-icon-wrap.mentor { background-color: #dc2626; }
.rules-icon-wrap.mentee { background-color: #ea580c; }

.rules-title {
    font-size: 1.5rem;
    font-weight: 900;
}

.rules-title.mentor { color: #7f1d1d; }
.rules-title.mentee { color: #7c2d12; }

.rules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .rules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rule-card {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid;
    word-break: keep-all;
}

.rule-card.mentor { border-color: #fee2e2; }
.rule-card.mentee { border-color: #ffedd5; }

.rule-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rule-name.mentor { color: #991b1b; }
.rule-name.mentee { color: #9a3412; }

.rule-desc {
    font-size: 0.875rem;
    line-height: 1.625;
}

.rule-desc.mentor { color: #b91c1c; }
.rule-desc.mentee { color: #c2410c; }

.rule-desc strong {
    font-weight: bold;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background-color: #047857;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item[open] {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.faq-summary {
    padding: 1.25rem;
    font-weight: bold;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.faq-summary span {
    color: #fff;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

/* .faq-summary:hover {
    background-color: #fafaf9;
} */

.faq-arrow {
    color: #fff;
    transition: transform 0.3s;
}

.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}

.faq-content {
    padding: 1.25rem;
    font-size: 0.875rem;
    color: #57534e;
    border-top: 1px solid #f5f5f4;
    background-color: #fff;
}

/* ============================================
   Footer
   ============================================ */
footer {
    margin-top: 5rem;
    border-top: 1px solid #e7e5e4;
    background-color: #074D43;
    padding: 3rem 1rem;
    text-align: center;
}

.footer-copy {
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: #fff;
    font-size: 0.75rem;
}

.footer-links a {
    text-decoration: underline;
    color: inherit;
}
/* ============================================
   Overview Section (New)
   ============================================ */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .overview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.overview-card {
    background-color: #ffffff;
    border-radius: 1.5rem; /* rounded-3xl */
    border: 1px solid #e7e5e4; /* stone-200 */
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.overview-card-title {
    font-size: 0.875rem; /* text-sm */
    font-weight: 900; /* font-black */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.overview-card-title { color: #059669; /* emerald-900 */ }
.overview-card-title svg {stroke: #059669;}

.overview-card-text {
    font-size: 0.875rem;
    color: #57534e; /* stone-600 */
    line-height: 1.625;
}

.overview-card-subtext {
    font-size: 0.625rem; /* text-[10px] */
    color: #a8a29e; /* stone-400 */
    font-style: italic;
}

.text-highlight { color: #047857; font-weight: bold; }

