/* CSS 분산 관리 - 학교 도입 페이지 (School) */

/* 1. School Hero Section */
.school-hero {
    height: 480px;
    background: linear-gradient(135deg, #FFF5F2 0%, #FFEFE6 100%);
    position: relative;
    overflow: hidden;
    margin-top: 96px;
    /* Header Height Override if needed */
    display: flex;
    align-items: center;
}

.school-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    margin-left: -30px;
}

.school-badge {
    display: inline-block;
    background: #FF7242;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 114, 66, 0.2);
}

.school-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: #333;
    margin-bottom: 20px;
}

.school-hero-title span {
    color: #FF7242;
    position: relative;
    z-index: 1;
}

.school-hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(255, 114, 66, 0.2);
    z-index: -1;
    border-radius: 5px;
}

.school-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 */
.school-hero-image {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    width: 36%;
    max-width: 480px;
    z-index: 1;
}

.school-hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* 2. Stats Section (Proven Results) */
.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, #FF7242 0%, #FF9068 100%);
    color: white;
}

.stat-card.highlight .stat-value,
.stat-card.highlight .stat-label,
.stat-card.highlight .stat-desc {
    color: white;
}

.stat-icon {
    font-size: 2.5rem;
    color: #FF7242;
    margin-bottom: 20px;
    background: #FFF0EB;
    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.5;
}

/* 3. Features Section (Why Reading Bee?) */
.features-container-school {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item-row {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.feature-icon-box {
    flex: 0 0 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FF7242;
    /* Changed from Blue to Orange */
    border: 1px solid #FFF0EB;
    /* Changed from Blue tint */
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.feature-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* 4. Process Section (Learning Flow) */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #E0E0E0;
    z-index: 0;
    border-radius: 4px;
}

.steps-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.step-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 0 10px;
}

.node-icon {
    width: 100px;
    height: 100px;
    background: white;
    border: 4px solid #E0E0E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #999;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.step-node:hover .node-icon {
    border-color: #FF7242;
    /* Orange */
    color: #FF7242;
    /* Orange */
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 114, 66, 0.2);
    /* Orange shadow */
}

.step-num-badge {
    position: absolute;
    top: 0;
    right: calc(50% - 50px);
    width: 30px;
    height: 30px;
    background: #555;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 3px solid white;
    z-index: 10;
}

.step-node:hover .step-num-badge {
    background: #FF7242;
    /* Orange */
}

.node-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.node-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    word-break: keep-all;
}

/* 5. Satisfaction (Progress Bars) */
.satisfaction-container {
    background: #FFF5F2;
    /* Light Orange tint */
    border-radius: 30px;
    padding: 60px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.satisfaction-charts {
    flex: 1;
}

.chart-row {
    margin-bottom: 25px;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 700;
    color: #444;
}

.progress-bg {
    width: 100%;
    height: 12px;
    background: #FFEFE6;
    /* Lighter Orange for bg */
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF7242, #FF9068);
    /* Orange Gradient */
    border-radius: 6px;
    width: 0;
    /* Animated via JS or default width style */
    transition: width 1.5s ease-out;
}

.satisfaction-reviews {
    flex: 1;
}

.review-speech-bubble {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    border: 1px solid rgba(255, 114, 66, 0.15);
    /* Orange border */
}

.review-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 20px;
    height: 20px;
    background: white;
    transform: skewY(-20deg);
    border-left: 1px solid rgba(255, 114, 66, 0.15);
    /* Orange border */
}

.review-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #ddd;
    border-radius: 50%;
    overflow: hidden;
}

.author-info strong {
    display: block;
    color: #333;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: #888;
}

/* 6. CTA Section */
.cta-box {
    background: linear-gradient(135deg, #FF7242 0%, #FF9068 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: #FF7242;
    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 (Additional) */
.form-header-school {
    background: #FF7242;
    /* School Orange */
    padding: 25px;
    color: white;
    border-radius: 30px 30px 0 0;
}

.school-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-school {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input-school:focus {
    border-color: #FF7242;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 114, 66, 0.1);
}

.btn-submit-school {
    background: #FF7242;
    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-school:hover {
    background: #e6653a;
}

/* Responsive */
@media (max-width: 1024px) {
    body {
        min-width: 0 !important;
        overflow-x: hidden;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section {
        padding: 60px 0;
    }

    /* Global Section Header Sizing (Match Main Page) */
    .section-header h2 {
        font-size: 1.8rem !important;
        letter-spacing: -1px !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .section-header .subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 5px !important;
    }

    /* Apply synchronization to Feature sections as well */
    .feature-content-wrapper h2 {
        font-size: 1.8rem !important;
        letter-spacing: -1px !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .feature-content-wrapper .subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 5px !important;
    }

    .section-desc {
        font-size: 0.95rem;
        margin-top: 20px;
        padding: 0 10px;
    }

    /* 1. Hero Section */
    .school-hero {
        height: auto;
        padding-top: 130px;
        padding-bottom: 50px;
        flex-direction: column;
        text-align: center;
        margin-top: 0;
    }

    .school-hero-content {
        margin-left: 0;
        padding-top: 0;
        z-index: 5;
    }

    .school-hero-title {
        font-size: 2.2rem;
        word-break: keep-all;
    }

    .school-hero-desc {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .school-hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 55%;
        max-width: 220px;
        margin: 40px auto 0;
    }

    /* 2. Stats Section - One-Glance Vertical List */
    .stats-grid-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        margin: 0;
    }

    .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%;
    }

    /* Highlight style for alternate list items */
    .stat-card.highlight {
        background: var(--primary);
        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);
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        margin: 0;
        flex-shrink: 0;
    }

    .stat-info-wrapper {
        display: flex;
        flex-direction: column;
    }

    .stat-value {
        font-size: 2.1rem;
        margin: 0;
        font-weight: 900;
        line-height: 1.1;
    }

    .stat-label {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 2px;
        display: block;
    }

    .stat-desc {
        font-size: 0.85rem;
        opacity: 0.8;
        line-height: 1.4;
        margin: 0;
    }

    /* 3. Features Section */
    .features-container-school {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-image {
        order: 2;
    }

    .feature-content-wrapper {
        order: 1;
        text-align: center;
    }

    .feature-content-wrapper h2 {
        font-size: 2rem;
    }

    /* 3. Features Section - Redesigned as "Premium AI Journey" */
    .feature-list-group {
        position: relative;
        padding-left: 20px;
        margin-top: 40px;
    }

    /* Vertical Connector Line */
    .feature-list-group::before {
        content: '';
        position: absolute;
        left: 37px;
        /* Center with 36px icon (20px padding + 18px half-width) */
        top: 20px;
        bottom: 50px;
        width: 2px;
        background: linear-gradient(to bottom, #FF7242 0%, #ffe0d6 100%);
        opacity: 0.2;
    }

    .feature-item-row {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        margin-bottom: 50px;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    /* Background Large Step Number */
    .feature-item-row::after {
        position: absolute;
        right: 0;
        top: -10px;
        font-size: 3.5rem;
        font-weight: 900;
        color: rgba(255, 114, 66, 0.05);
        /* Very subtle watermark */
        font-family: 'Outfit', sans-serif;
        line-height: 1;
        z-index: 0;
    }

    .feature-item-row:nth-child(1)::after {
        content: '01';
    }

    .feature-item-row:nth-child(2)::after {
        content: '02';
    }

    .feature-item-row:nth-child(3)::after {
        content: '03';
    }

    .feature-icon-box {
        position: relative;
        z-index: 2;
        margin: 0;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        aspect-ratio: 1 / 1;
        /* Force perfect circle */
        background: #fff;
        color: #FF7242;
        font-size: 0.95rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(255, 114, 66, 0.15);
        margin-top: 0;
        border: 1.5px solid #FF7242;
        box-sizing: border-box;
    }

    .feature-content {
        position: relative;
        z-index: 1;
    }

    .feature-content h4 {
        font-size: 1.2rem;
        font-weight: 800;
        margin-bottom: 8px;
        color: #333;
        letter-spacing: -0.5px;
    }

    .feature-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #666;
        word-break: keep-all;
    }

    /* 4. Process Section */
    /* 4. Process Section - One-Glance Compact Grid */
    .steps-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 10px;
    }

    .step-node {
        position: relative;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 10px;
        background: #fdfdfd;
        border-radius: 20px;
        border: 1px solid rgba(0, 0, 0, 0.03);
    }

    /* Make the 5th step span both columns or be centered */
    .step-node:nth-child(5) {
        grid-column: span 2;
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    .node-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        margin-bottom: 5px;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .step-num-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        margin: 0;
    }

    .node-title {
        font-size: 1.05rem;
        font-weight: 800;
        margin-bottom: 5px;
    }

    .node-desc {
        font-size: 0.8rem;
        line-height: 1.4;
        color: #777;
    }

    /* 5. Satisfaction Section */
    .satisfaction-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .satisfaction-charts {
        width: 100%;
    }

    .satisfaction-charts h3 {
        text-align: center;
        font-size: 1.5rem;
    }

    .satisfaction-reviews {
        width: 100%;
    }

    .review-speech-bubble {
        padding: 20px;
    }

    .review-text {
        font-size: 0.95rem;
    }

    /* 6. CTA Section */
    .cta-box {
        padding: 60px 20px;
        border-radius: 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-desc {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .btn-cta-large {
        padding: 15px 30px;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }
}