
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
body { 
    font-family: 'Pretendard', 'Nanum Gothic', sans-serif; 
    font-size: 16px; 
    color: #000; 
    line-height: 1.4;
    overflow-x: hidden;
}
img { max-width: 100%; vertical-align: middle; border: 0; }
ul, li { list-style: none; }
a { text-decoration: none; color: inherit; }

/* CSS Variables from Figma */
:root {
    --color-main-1: #6531FF;
    --color-main-2: #008BFF;
    --color-point: #E4FF30;
    --color-gray-0: #F3F4F6;
    --color-gray-1: #687994;
    --color-bg-light: #F9FAFB;
    --inner-width: 1200px;
}

/* Common Layout */
.container { width: var(--inner-width); margin: 0 auto; position: relative; padding: 0 20px; }
.section { padding: 100px 0; }
.text-center { text-align: center; }

/* Common UI Elements */
.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(180deg, var(--color-main-1) 0%, var(--color-main-2) 100%);
    border-radius: 100px;
    color: #fff;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: 800;
    font-size: 22px;
    transition: transform 0.2s ease;
}
.btn-gradient:hover { transform: scale(1.02); }

.section-title {
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -0.9px;
    margin-bottom: 32px;
}
.section-title .highlight { color: var(--color-main-2); }
.section-title.large { font-size: 44px; letter-spacing: -1.32px; line-height: 1.4; }

.btn-more {
    display: inline-flex;
    align-items: center;
    color: var(--color-main-2);
    font-size: 16px;
    font-weight: 500;
}

/* Card Badge Styles */
.badge { padding: 4px 12px; border-radius: 100px; font-size: 14px; font-weight: 600; }
.badge-recommend { background: linear-gradient(180deg, var(--color-main-1) 0%, var(--color-main-2) 100%); color: #fff; }
.badge-event, .badge-program { background: linear-gradient(180deg, var(--color-main-1) 0%, var(--color-main-2) 100%); color: #fff; width: max-content;}

.text-white {
    color: white;
}

.link-group a{
    cursor: pointer;
}

/* Header Styles */
.header {
    height: 77px;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-nanum);
    font-weight: 700;
    font-size: 40px;
    background: linear-gradient(90deg, var(--color-main-1) 0%, var(--color-main-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.navigation {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-nanum);
    font-weight: 700;
    font-size: 16px;
    color: #364153;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-main-1);
}

/* Footer Styles */
.footer {
    background-color: #101828;
    color: #D1D5DC;
    padding: 72px 0;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    font-family: var(--font-nanum);
    font-weight: 700;
    font-size: 40px;
    color: var(--color-white);
    margin-bottom: 22px;
}

.footer-slogan {
    font-family: var(--font-nanum);
    margin-bottom: 32px;
}

.company-details p {
    margin-bottom: 8px;
    color: #6A7282;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.link-group h3 {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 12px;
}

.link-group ul li a {
    color: #D1D5DC;
    text-decoration: none;
    transition: color 0.3s;
}

.link-group ul li a:hover {
    color: var(--color-white);
}

/* Footer Modal CSS */
.footer-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.footer-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 24px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.footer-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.footer-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.footer-modal-close:hover,
.footer-modal-close:focus {
    color: #000;
    text-decoration: none;
}

.footer-modal-body {
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.6;
    font-size: 14px;
    color: #4a4a4a;
    white-space: pre-wrap;
}

/* Responsive adjustments for Common Layout, Header & Footer */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    /* Header Responsive */
    .header {
        height: 60px;
    }
    .logo a {
        font-size: 28px;
    }
    .navigation {
        gap: 12px;
    }
    .nav-link {
        font-size: 14px;
    }

    /* Footer Responsive */
    .footer {
        padding: 40px 0;
    }
    .footer-container {
        flex-direction: column;
        gap: 32px;
    }
    .footer-links {
        flex-direction: row;
        gap: 32px;
        width: 100%;
    }
    .link-group {
        width: auto;
    }
    .footer-logo {
        font-size: 32px;
        margin-bottom: 16px;
    }
    .footer-slogan {
        font-size: 14px;
        margin-bottom: 24px;
    }
    .company-details p {
        font-size: 13px;
        word-break: keep-all;
    }
    .footer-modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 20px;
    }
}

.text-white {
    color: white;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container { width: 100%; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .btn-gradient {
        padding: 14px 24px;
        font-size: 18px;
        width: 100%;
        justify-content: center;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    .section-title.large {
        font-size: 32px;
        line-height: 1.3;
    }
}
