/* --- Global Styles --- */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --text-color: #333;
    --heading-font: 'Noto Sans KR', sans-serif;
    --body-font: 'Noto Sans KR', sans-serif;
}

body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1em;
    color: var(--secondary-color);
}


/* --- Header --- */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    margin: 0;
    font-size: 1.8em;
}
header .logo h1 a {
    color: var(--text-color);
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: var(--secondary-color);
    font-weight: 700;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: var(--primary-color);
}


/* --- Hero Section --- */
#hero {
    background-color: var(--background-color);
    padding: 80px 0;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

#hero .hero-text {
    max-width: 50%;
}

#hero .hero-text h2 {
    font-size: 3em;
    line-height: 1.2;
    margin-bottom: 20px;
}

#hero .hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

#hero .hero-image {
    max-width: 45%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}


/* --- Features Section --- */
#features {
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.feature-item img {
    margin-bottom: 20px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}


/* --- How It Works Section --- */
#how-it-works {
    background-color: var(--background-color);
}

.how-it-works-flex {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    text-align: center;
}

.how-it-works-item {
    max-width: 45%;
}
.how-it-works-item .how-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.how-it-works-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}


/* --- Pricing Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    border-width: 2px;
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-card .student-limit {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 10px;
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/* --- Footer --- */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.footer-info p {
    margin: 5px 0;
    color: #ccc;
}
.footer-info a {
    color: #fff;
    text-decoration: underline;
}

.copyright p {
    margin: 0;
    color: #aaa;
    font-size: 0.9em;
}

/* --- More Methods Section --- */
#more-methods {
    background: #fff;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        margin-bottom: 30px;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
}


@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    header nav {
        margin-top: 10px;
    }

    #hero .container {
        flex-direction: column;
        text-align: center;
    }
    #hero .hero-text, #hero .hero-image {
        max-width: 100%;
    }

    .how-it-works-flex {
        flex-direction: column;
    }
    .how-it-works-item {
        max-width: 100%;
        margin-bottom: 30px;
    }
}
