/* 히어로 섹션 */
.hero {
    color: var(--black);
    padding: 3rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-family-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

/* 프로그램 섹션 */
.programs {
    padding: 1rem 0;
}

/* 탭 메뉴 */
.tab-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--gray-border);
}

.tab-btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--black);
}

.tab-btn.active {
    color: var(--black);
    border-bottom-color: var(--black);
    font-weight: 600;
}

/* 탭 콘텐츠 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 프로그램 소개 */
.program-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.program-intro h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-family-primary);
}

.intro-text {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.8;
}

/* 특징 그리드 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--gray-light);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border: 1px solid var(--gray-border);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.6;
}

/* 프로그램 상세 */
.program-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: var(--gray-light);
    border-radius: 12px;
}

.detail-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.detail-section p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* 시간표 섹션 */
.schedule-section {
    margin-bottom: 4rem;
}

.schedule-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.schedule-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    overflow: hidden;
}

.schedule-table thead {
    background: var(--black);
    color: var(--white);
}

.schedule-table th {
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

.schedule-table td {
    padding: 0.875rem;
    border: 1px solid var(--gray-border);
    text-align: center;
    font-size: 0.875rem;
}

.schedule-table tbody tr:hover:not(.break-time):not(.self-study) {
    background: var(--gray-light);
}

.schedule-table td:first-child {
    font-weight: 600;
    color: var(--black);
    background: #f8f8f8;
}

.schedule-table td:nth-child(2) {
    font-weight: 500;
    color: var(--gray);
    background: #fafafa;
    white-space: nowrap;
}

/* 과목별 색상 */
.schedule-table td {
    transition: var(--transition);
}

.schedule-table tbody tr:not(.break-time):not(.self-study) td:not(:first-child):not(:nth-child(2)):hover {
    background: var(--black);
    color: var(--white);
    font-weight: 600;
    transform: scale(1.05);
    cursor: default;
}

/* 휴식 시간 스타일 */
.break-time td {
    background: #f5f5f5;
    font-weight: 500;
    color: var(--gray);
}

.break-time:hover td {
    background: #dedede;
}

/* 자율학습 스타일 */
.self-study td {
    background: #ebebeb;
    font-weight: 500;
    color: var(--black);
}

.self-study:hover td {
    background: #d0d0d0;
}


/* 가격 섹션 */
.pricing-section {
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.pricing-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.pricing-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-border);
}

.price-label {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-details p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.4;
}

.pricing-details strong {
    color: var(--black);
    font-weight: 600;
}

/* CTA 섹션 */
.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.cta-btn {
    border: solid 1px var(--gray-border);
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 1.125rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.cta-btn:hover {
    border: solid 1px var(--black);
    color: var(--white);
    background: #222;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cta-btn:active {
    transform: translateY(0);
}

/* 반응형 */
@media (max-width: 768px) {
    .pricing-card {
        padding: 1.5rem;
    }

    .price-value {
        font-size: 2rem;
    }

    .pricing-details p {
        font-size: 0.875rem;
    }
}

/* 반응형 */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .program-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .schedule-table {
        font-size: 0.875rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.75rem;
    }
}