/* CSS 분산 관리 - 학원 도입 페이지 (Academy) */

/* 0. Academy Specific Header Overrides */
/* Ensure the Top Bar is Blue for Academy Page */
/* Removed Top Bar Override: User requested to keep Orange */

/* 1. Academy Hero Section */
.academy-hero {
    height: 480px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E1F5FE 100%);
    position: relative;
    overflow: hidden;
    margin-top: 96px;
    display: flex;
    align-items: center;
}

.academy-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    margin-left: -30px;
}

.academy-badge {
    display: inline-block;
    background: #2b9acb;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(43, 154, 203, 0.2);
}

.academy-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: #333;
    margin-bottom: 20px;
}

.academy-hero-title span {
    color: #2b9acb;
    position: relative;
    z-index: 1;
}

.academy-hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(43, 154, 203, 0.2);
    z-index: -1;
    border-radius: 5px;
}

.academy-hero-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.scroll-down-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: #999;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.scroll-down-hint i {
    animation: bounce 2s infinite;
}

/* 3D Illustration Placeholder */
.academy-hero-image {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    width: 36%;
    max-width: 480px;
    z-index: 1;
}

.academy-hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {

    0%,
    100%,
    20%,
    50%,
    80% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* 2. Stats Section (Why ReadingBee) */
.stats-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.stat-card.highlight {
    background: linear-gradient(135deg, #2b9acb 0%, #4FC3F7 100%);
    color: white;
}

.stat-card.highlight .stat-value,
.stat-card.highlight .stat-label,
.stat-card.highlight .stat-desc {
    color: white;
}

.stat-card.highlight .stat-desc i {
    color: white !important;
}

.stat-icon {
    font-size: 2.5rem;
    color: #2b9acb;
    margin-bottom: 20px;
    background: #E1F5FE;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-card.highlight .stat-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 5px;
    display: block;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
    display: block;
}

.stat-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

/* 3. Features Section (ReadingBee AIR) - New Grid */
.features-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card-vertical {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card-vertical:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(43, 154, 203, 0.15);
    border-color: #2b9acb;
}

.feature-icon-circle {
    width: 70px;
    height: 70px;
    background: #F0F9FF;
    color: #2b9acb;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card-vertical:hover .feature-icon-circle {
    background: #2b9acb;
    color: white;
    transform: rotateY(180deg);
}

.feature-card-vertical h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    height: 2.4rem;
    /* Fixed height for alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-vertical p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    word-break: keep-all;
}


/* 4. Sequence Table Section */
.sequence-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sequence-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.sequence-table th,
.sequence-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #555;
    vertical-align: middle;
}

.sequence-table th {
    background: #2b9acb;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
}

.sequence-table td.group-col {
    background: #F0F9FF;
    font-weight: 700;
    color: #2b9acb;
    border-right: 1px solid #E1F5FE;
}

/* Remove border for merged cells visually if desired, but here specific borders are fine */
.sequence-table td.check {
    color: #2b9acb;
    font-size: 1.2rem;
    font-weight: 900;
}

.sequence-table tr:hover td {
    background-color: #f9f9f9;
}

.sequence-table tr:hover td.group-col {
    background-color: #E1F5FE;
}

.table-scroll-hint {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    text-align: center;
}

.table-scroll-hint i {
    animation: slideHint 2s infinite;
}

@keyframes slideHint {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* 5. Awards & Trust Section */
.awards-container {
    background: #F0F9FF;
    border-radius: 30px;
    padding: 60px;
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
}

.awards-content {
    flex: 1;
}


.award-badge,
.award-years {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.year-item {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.2);
    font-family: 'Outfit', sans-serif;
}

.award-title-main {
    display: block;
    font-size: 1.4rem;
    color: #FFA500;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.awards-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #333;
    line-height: 1.3;
    margin-bottom: 30px;
}

.award-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.award-desc strong {
    color: #2b9acb;
    font-weight: 800;
}

/* 6. CTA Section */
.cta-box {
    background: linear-gradient(135deg, #2b9acb 0%, #4FC3F7 100%);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-large {
    background: white;
    color: #2b9acb;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Modal Form Styles (Academy) */
.form-header-academy {
    background: #2b9acb;
    /* Academy Blue */
    padding: 25px;
    color: white;
    border-radius: 30px 30px 0 0;
}

.academy-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px;
}

.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
}

.form-input-academy {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input-academy:focus {
    border-color: #2b9acb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 154, 203, 0.1);
}

.btn-submit-academy {
    background: #2b9acb;
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-submit-academy:hover {
    background: #1e7ba6;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    body {
        min-width: 0 !important;
        overflow-x: hidden;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem !important;
        letter-spacing: -1px !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    .section-header .subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 4px !important;
        font-weight: 800 !important;
        text-transform: uppercase;
    }

    .section-desc {
        font-size: 0.95rem;
        margin-top: 15px;
        padding: 0 10px;
        color: #777;
    }

    /* 1. Hero Section */
    .academy-hero {
        height: auto;
        padding-top: 130px;
        padding-bottom: 50px;
        flex-direction: column;
        text-align: center;
        margin-top: 0;
    }

    .academy-hero-content {
        margin-left: 0;
        padding-top: 0;
        z-index: 5;
    }

    .academy-hero-title {
        font-size: 2.2rem;
        word-break: keep-all;
    }

    .academy-hero-desc {
        font-size: 1rem;
        margin-bottom: 35px;
        padding: 0 10px;
        word-break: keep-all;
    }

    .academy-hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 55%;
        max-width: 220px;
        margin: 40px auto 0;
    }

    .scroll-down-hint {
        margin: 25px auto 0;
        justify-content: center;
        font-size: 0.9rem;
        color: #999;
    }

    /* 2. Stats Section - One-Glance Vertical List */
    .stats-grid-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        margin-top: 30px;
    }

    .stat-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 18px 20px;
        text-align: left;
        gap: 18px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        height: auto;
        transition: none;
    }

    .stat-card:hover {
        transform: none;
    }

    /* Highlight style for alternate list items */
    .stat-card.highlight {
        background: linear-gradient(135deg, #2b9acb 0%, #4FC3F7 100%);
        color: #fff;
    }

    .stat-card.highlight .stat-icon {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .stat-card.highlight .stat-desc {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin: 0;
        flex-shrink: 0;
        line-height: normal;
    }

    .stat-info-wrapper {
        display: flex;
        flex-direction: column;
    }

    .stat-label {
        font-size: 1.05rem !important;
        font-weight: 700;
        margin-bottom: 4px;
        display: block;
        color: inherit;
    }

    .stat-desc {
        font-size: 0.85rem !important;
        opacity: 0.9;
        line-height: 1.4;
        margin: 0;
        padding: 0 !important;
        text-align: left !important;
    }

    /* 3. AIR Features - Vertical Stack with Premium Look */
    .features-grid-5 {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 35px;
    }

    .feature-card-vertical {
        padding: 22px 20px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
        height: auto;
    }

    .feature-card-vertical:hover {
        transform: none;
    }

    .feature-icon-circle {
        width: 52px;
        height: 52px;
        min-width: 52px;
        margin: 0;
        font-size: 1.3rem;
        background: #F0F9FF;
    }

    .feature-card-vertical:hover .feature-icon-circle {
        transform: none;
        background: #F0F9FF;
        color: #2b9acb;
    }

    .feature-card-vertical h4 {
        height: auto;
        margin-bottom: 3px;
        justify-content: flex-start;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .feature-card-vertical p {
        font-size: 0.82rem;
        line-height: 1.4;
        margin: 0;
    }

    .table-scroll-hint.mobile-only {
        display: flex;
    }

    /* 4. Sequence Table */
    .sequence-table-wrapper {
        margin-top: 30px;
        padding-bottom: 10px;
    }

    .sequence-table {
        min-width: 700px;
        /* Allow slight scroll for complexity */
    }

    /* 5. Awards Section */
    .awards-container {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        gap: 40px;
    }

    .award-years {
        gap: 8px;
    }

    .year-item {
        font-size: 0.95rem;
        padding: 5px 12px;
    }

    .award-title-main {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }

    .awards-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .award-desc {
        font-size: 0.95rem;
    }


    /* 6. CTA Section */
    .cta-box {
        padding: 60px 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-desc {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .btn-cta-large {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}