/* ==========================================================================
   CSS Variables & Reset (Junior English Academy Concept)
   ========================================================================== */
   :root {
    --brand-primary: #4662E5; /* Vibrant Orange/Coral */
    --brand-yellow: #FFD166; /* Playful Yellow */
    --brand-mint: #06D6A0;   /* Fresh Mint for accents */
    --brand-sky: #7AC2F1;    /* Lighter Blue */
    --brand-dark: #2B2D42;   /* Deep Navy/Charcoal for text */
    --bg-light: #F4F7FF;     /* Warm Cream background */
    --bg-white: #FFFFFF;
    
    --font-primary: 'Pretendard', sans-serif;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    --border-radius-lg: 40px;
    --border-radius-md: 24px;
    --border-radius-pill: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--brand-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    padding-bottom: 80px; /* Space for sticky bottom bar */
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-primary { color: var(--brand-primary); }
.text-mint { color: var(--brand-mint); }
.text-sky { color: var(--brand-sky); }
.text-yellow { color: #FFB703; }
.bg-primary { background-color: var(--brand-primary); color: white; }
.bg-color-1 { background-color: #EEF2FF !important; } /* Warm beige from image 1 */
.bg-color-2 { background-color: #FFFFFF !important; } /* Pure white from image 2 */

strong, b { font-weight: 800; color: var(--brand-dark); }
.step-desc strong { color: var(--brand-primary); font-weight: 800; }
.step-desc .icon-text { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }

.section { padding: 120px 0; }

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-eyebrow {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #999;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-desc {
    font-size: 1.25rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #555;
    font-weight: 500;
    max-width: 600px;
    margin-bottom: 60px;
}

/* Playful Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--border-radius-pill);
    font-weight: 800;
    font-size: 1.125rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: var(--bg-white);
    box-shadow: 0 10px 20px rgba(70, 98, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px rgba(70, 98, 229, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--brand-dark);
    color: var(--brand-dark);
}

.btn-outline:hover {
    background-color: var(--brand-dark);
    color: var(--bg-white);
}

/* ==========================================================================
   GNB (Floating Pill Header)
   ========================================================================== */
.header-wrapper {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo img {
    border-radius: 0; /* Override any potential border-radius */
    object-fit: contain;
    transform: translateY(-3px); /* 수직 정렬 시각적 보정 */
}

.nav ul {
    display: flex;
    gap: 24px;
}

.nav a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
    padding: 8px 16px;
    border-radius: var(--border-radius-pill);
    transition: 0.2s ease;
}

.nav a:hover {
    background-color: rgba(70, 98, 229, 0.1);
    color: var(--brand-primary);
}

.header-cta .btn {
    padding: 12px 24px;
    font-size: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--brand-dark);
}

/* ==========================================================================
   Hero Section (Playful & Asymmetric)
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: 150px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Organic blob background */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60vw;
    height: 60vw;
    background-color: var(--brand-primary);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    opacity: 0.08;
    animation: morph 8s ease-in-out infinite alternate;
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: center;
    max-width: 1500px; /* 확 키워서 이미지가 광활하게 보이도록 함 */
}

.hero-content h1 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    margin-top: -80px; /* Pull image up to align better with text */
}

@media (max-width: 1024px) {
    .hero-visual {
        margin-top: 20px;
    }
}

.hero-image {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--brand-primary);
    animation: float 4s ease-in-out infinite;
}

.badge-1 { bottom: 10%; left: -10%; animation-delay: 0s; }
.badge-2 { top: 10%; right: -5%; animation-delay: 2s; color: var(--brand-sky); }
.badge-3 { top: 60%; right: -15%; animation-delay: 1s; color: var(--brand-dark); }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   Split Screen Section (Concept A)
   ========================================================================== */
.split-section {
    display: flex;
    position: relative;
    width: 100%;
}

.split-left {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    background-color: var(--brand-primary);
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    overflow: hidden;
}

.split-left-content {
    position: relative;
    z-index: 2;
}

.split-subtitle {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    opacity: 0.9;
    display: block;
}

.split-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.35;
    margin-top: 20px;
    word-break: keep-all;
}

.split-number-container {
    position: absolute;
    right: -20px;
    bottom: -60px;
    font-size: clamp(10rem, 20vw, 24rem);
    font-weight: 900;
    opacity: 0.15;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    transition: all 0.5s ease;
}

.split-right {
    width: 50%;
    background-color: var(--bg-white);
}

.split-step {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.split-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 400px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    object-fit: cover;
}

.step-icon {
    color: var(--brand-primary);
    margin-bottom: 30px;
}

.step-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--brand-dark);
    margin-bottom: 24px;
    line-height: 1.4;
}

.step-desc {
    font-size: 1.3rem; /* Increased from 1.125rem */
    font-weight: 300;
    line-height: 1.75;
    color: #444; /* Slightly darker for better readability with larger font */
    word-break: keep-all;
}

/* ==========================================================================
   Features Section (Stacked Cards)
   ========================================================================== */
.features-section {
    padding: 120px 0 200px 0;
}

.stacked-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 40px;
}

.stacked-card {
    position: sticky;
    background: #ffffff;
    border-radius: 40px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    height: 60vh;
    min-height: 450px;
    max-height: 600px;
    transition: transform 0.4s ease;
}

.card-1 { top: 15vh; z-index: 1; }
.card-2 { top: 18vh; z-index: 2; }
.card-3 { top: 21vh; z-index: 3; }

.stacked-card-content {
    flex: 1;
}

.stacked-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(70, 98, 229, 0.1);
    color: var(--brand-primary);
    font-size: 1rem;
    font-weight: 800;
    border-radius: 30px;
    margin-bottom: 24px;
}

.stacked-card h3 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--brand-dark);
}

.stacked-card p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
}

.stacked-card-visual {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stacked-card-visual img, .stacked-card-visual video {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

/* ==========================================================================
   4 STEPS PROGRAM Section
   ========================================================================== */
.program-section {
    padding: 120px 0;
}

.accordion-container {
    display: flex;
    gap: 16px;
    height: 500px;
    width: 100%;
}

.accordion-panel {
    position: relative;
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-panel:hover {
    flex: 4;
}

.accordion-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.accordion-panel:hover .accordion-bg {
    transform: scale(1.05);
}

.accordion-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    transition: all 0.4s ease;
}

.accordion-panel:hover .accordion-overlay {
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* 호버 시 텍스트가 잘 보이도록 전체적으로 약간 검은색을 덮음 */
}

.accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: white;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0s;
}

.accordion-panel .step-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    background: var(--brand-primary);
    padding: 6px 12px;
    border-radius: 8px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.accordion-panel:hover .accordion-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.accordion-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    white-space: nowrap;
}

.accordion-panel .step-catchphrase {
    font-size: 1rem;
    color: var(--brand-mint);
    font-weight: 700;
    margin-bottom: 12px;
}

.accordion-panel .step-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.accordion-panel .step-num-collapsed {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.accordion-panel:hover .step-num-collapsed {
    opacity: 0;
}

/* ==========================================================================
   AI Character (Mascot) Section
   ========================================================================== */
.mascot-section {
    padding: 120px 0;
    background-color: var(--bg-light); /* Make background slightly off-white to make the white card pop */
}

/* Main Hero Card */
.mascot-hero-card {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    padding: 60px;
    gap: 60px;
}

.mascot-hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mascot-main-display {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mascot-main-display img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

.mascot-thumbnails {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.mascot-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    background-color: #eee;
    padding: 0;
}

.mascot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mascot-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mascot-thumb.active {
    border-color: var(--brand-primary);
}

.mascot-hero-content {
    flex: 1.5;
}

.mascot-hero-content h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--brand-dark);
}

.mascot-desc {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* CM Song Audio Box */
.cm-song-box {
    background: #F5F7FF;
    border-radius: var(--border-radius-md);
    padding: 30px;
    border: 1px solid #eee;
}

.cm-song-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cm-song-header h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #555;
    margin: 0;
}

.cm-icon {
    font-size: 1.25rem;
}

.cm-audio {
    width: 100%;
    margin-bottom: 20px;
    outline: none;
    height: 40px;
}

.cm-lyrics {
    text-align: center;
    font-style: italic;
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Variations Grid */
.mascot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mascot-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.mascot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.mascot-card-img {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
}

.mascot-card-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.mascot-card-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--brand-dark);
}

.mascot-card-info p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.4;
}

/* ==========================================================================
   Reviews (Dual Infinite Marquee) Section
   ========================================================================== */
.reviews-section {
    padding: 120px 0;
    overflow: hidden;
    background: #fdfdfd;
}

.reviews-section .marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    padding: 20px 0;
    animation: none; /* Override any global marquee animation */
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-track:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    gap: 24px;
    padding-right: 24px;
}

.marquee-left .marquee-content {
    animation: scrollLeft 40s linear infinite;
}

.marquee-right .marquee-content {
    animation: scrollRight 40s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

.review-card {
    width: 450px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.review-stars {
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #444;
    font-weight: 600;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-sky);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
}

.author-avatar.bg-mint {
    background: var(--brand-mint);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 800;
    color: var(--brand-dark);
}

.author-desc {
    font-size: 0.85rem;
    color: #888;
}

.parent-card {
    background: #fafafa;
}

/* ==========================================================================
   Partners (3-Row Marquee & Stats Overlay)
   ========================================================================== */
.partners-section {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.partners-marquee-container {
    position: relative;
    width: 100%;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    background: #fdfdfd;
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    width: 240px;
    height: 90px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-card img {
    max-width: 230px; /* 여백을 최소화하고 꽉 채움 */
    max-height: 85px; /* 여백을 최소화하고 꽉 채움 */
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.logo-track {
    display: flex;
    gap: 24px;
    padding-right: 24px;
}

/* Reusing scrollLeft and scrollRight animations from reviews */
.marquee-left .logo-track {
    animation: scrollLeft 50s linear infinite;
}

.marquee-right .logo-track {
    animation: scrollRight 50s linear infinite;
}

.marquee-track:hover .logo-track {
    animation-play-state: paused;
}

/* Stats Overlay Pill */
.stats-overlay-pill {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: #ffffff;
    border-radius: 60px;
    display: flex;
    align-items: center;
    padding: 30px 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 40px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: #666;
    white-space: nowrap;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-dark);
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(0,0,0,0.08);
}



/* ==========================================================================
   Footer (High-end 3-Column)
   ========================================================================== */
.footer-classic {
    background-color: #333333;
    color: #aaaaaa;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
}

.footer-classic-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    flex: 1;
}

.footer-classic-logo {
    margin-bottom: 24px;
}

.footer-classic-info p {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-classic-info p strong {
    font-weight: 700;
    color: #ffffff;
}

.footer-classic-copy {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #888888;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-classic-links {
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.footer-classic-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-classic-links a:hover {
    color: #ffffff;
}

.footer-classic-links .divider {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-classic-socials {
    display: flex;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.kakao { background-color: #FEE500; color: #000000; }
.social-btn.blog { background-color: #03C75A; font-weight: 900; font-size: 10px; }
.social-btn.youtube { background-color: #FF0000; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }


/* ==========================================================================
   Sticky Bottom Bar
   ========================================================================== */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.sticky-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
}

.sticky-bar-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
}

.sticky-bar-text .highlight {
    color: var(--brand-primary);
    font-weight: 800;
}

.sticky-bar-text .phone-number {
    font-weight: 800;
    margin-left: 12px;
    font-size: 1.2rem;
}

.sticky-bar-actions {
    display: flex;
    gap: 12px;
}

.btn-sticky {
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
}

.btn-sticky.outline {
    background: transparent;
    color: #FFDE00;
    border: 1px solid #FFDE00;
}

.btn-sticky.outline:hover {
    background: rgba(255, 222, 0, 0.15);
}

.btn-sticky.solid {
    background-color: var(--brand-primary);
    color: #ffffff;
    border: 1px solid var(--brand-primary);
}

.btn-sticky.solid:hover {
    background-color: #354fc4;
    transform: translateY(-2px);
}


/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .split-section {
        flex-direction: column;
    }
    .split-left {
        width: 100%;
        height: auto;
        position: relative;
        padding: 80px 20px;
        align-items: center;
        text-align: center;
    }
    .split-left-content p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
    }
    .split-number-container {
        display: none;
    }
    .split-right {
        width: 100%;
    }
    .split-step {
        min-height: auto;
        padding: 80px 20px;
    }
    
    .hero-container, .sticky-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .hero-content { text-align: center; }
    .hero-content h1 { font-size: 3.5rem; }
    .sticky-visual { position: relative; top: 0; height: auto; margin-bottom: 60px; }
    .feature-block { min-height: auto; margin-bottom: 80px; text-align: center; }
    .usp-card { width: 100%; }
    .usp-card:nth-child(even) { transform: none; }
    .usp-card:nth-child(even):hover { transform: translateY(-10px); }

    
    .accordion-container { flex-direction: column; height: auto; display: flex; gap: 16px; }
    .review-card { width: min(80vw, 360px); padding: 24px; }
    .review-text { font-size: 1rem; }

    .stats-overlay-pill { flex-direction: column; padding: 30px; border-radius: 30px; gap: 20px; }
    .stat-divider { width: 80%; height: 1px; }
    .stat-item { padding: 0 20px; }
    .stat-value { font-size: 2rem; }
    

    .accordion-panel { flex: none; height: auto; min-height: 350px; display: flex; flex-direction: column; justify-content: flex-end; }
    .accordion-panel:hover { flex: none; transform: scale(1.02); }
    /* Show content by default or make it accessible */
    .accordion-content { position: relative; height: auto; opacity: 1; transform: translateY(0); padding-top: 40px; }
    .step-num-collapsed { display: none; }
    .accordion-overlay { height: 100%; background: rgba(0, 0, 0, 0.6); }
    
    .mascot-hero-card { flex-direction: column; text-align: center; padding: 40px 20px; }
    .cm-song-header { justify-content: center; }
    .mascot-grid { grid-template-columns: repeat(2, 1fr); }

    .stacked-card {
        flex-direction: column;
        padding: 40px 30px;
        gap: 30px;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        text-align: center !important;
        position: relative;
        top: 0 !important;
    }
    .stacked-card h3 {
        font-size: 2rem;
        text-align: center !important;
    }
    .stacked-card p {
        font-size: 1rem;
        text-align: center !important;
        word-break: keep-all;
    }
    .stacked-card-visual {
        width: 100%;
    }

    .sticky-bar-container { flex-direction: column; gap: 16px; text-align: center; }
    .sticky-bar-text { font-size: 0.95rem; }
    .sticky-bar-text .phone-number { display: block; margin: 4px 0 0 0; font-size: 1.1rem; }
    .sticky-bar-actions { width: 100%; }
    .btn-sticky { flex: 1; padding: 12px; font-size: 0.95rem; }

    .footer-classic-container { flex-direction: column; align-items: flex-start; gap: 40px; }
    .footer-right { align-items: flex-start; }
}

@media (max-width: 768px) {
    .top-utility-bar { display: flex !important; padding: 0 10px !important; overflow: hidden; }
    .top-utility-bar > div { width: 100%; justify-content: center !important; gap: 10px !important; font-size: 0.75rem !important; }
    .header-wrapper { top: 36px !important; left: 0; right: 0; width: auto !important; } /* Fix width for absolute/fixed */
    
    .nav { display: none; }
    .mobile-menu-btn { display: block; margin-right: 5px; } /* Ensure it doesn't touch the edge */
    .header { width: 100%; padding: 10px 20px !important; border-radius: 0; box-sizing: border-box; }
    .section-title { font-size: 2rem; word-break: keep-all; }
    .mascot-grid { grid-template-columns: 1fr; }
    .mascot-thumbnails { display: none !important; }
    
    .hero { padding-top: 140px; }
    .hero-content h1 { font-size: 2.2rem; word-break: keep-all; }
    .hero-content h1 span { display: inline !important; } /* Prevent inline-block from causing horizontal overflow */
    .hero-content p { font-size: 1rem; }
    
    /* Make hero buttons responsive and prevent text wrap */
    .hero-actions { gap: 12px !important; width: 100%; justify-content: center; }
    .hero-actions .btn { flex: 1; padding: 16px 5px !important; font-size: clamp(0.85rem, 3.5vw, 1.1rem) !important; white-space: nowrap; text-align: center; }
    
    .floating-badge { display: none !important; }
    
    .stacked-card { padding: 30px 20px; }
    .stacked-card h3 { font-size: 1.5rem; }
    .review-card { width: min(85vw, 320px); }
    .accordion-panel { min-height: 300px; height: auto; }

    .login-btn-desktop { display: none !important; }
    .contact-info-box { display: none !important; }
    .mobile-only-link { display: block !important; width: 100%; text-align: center; margin-top: 10px; padding: 12px; background: rgba(70, 98, 229, 0.1); border-radius: 12px; }

    /* Fix layout issues by allowing text wrap and adjusting margins */
    .sticky-bar-container { padding: 10px 15px !important; flex-direction: column !important; text-align: center; gap: 8px; }
    .sticky-bar-text { display: block !important; font-size: clamp(0.75rem, 3.5vw, 0.95rem); line-height: 1.4; margin-bottom: 0; white-space: normal; word-break: keep-all; width: 100%; }
    .sticky-bar-text .phone-number { display: block; margin-top: 4px; margin-left: 0; font-size: clamp(0.85rem, 4vw, 1.1rem); font-weight: bold; }
    .sticky-bar-actions { flex-direction: row; width: 100%; gap: 8px; margin-top: 0; }
    .btn-sticky { flex: 1; padding: 10px 4px; font-size: clamp(0.75rem, 3.5vw, 0.9rem); white-space: nowrap; word-break: keep-all; }
}

@media (max-width: 480px) {
    .section { padding: 60px 0; }
    .features-section, .program-section, .mascot-section, .reviews-section, .contact-section { padding: 60px 0; }
    
    .hero { padding-top: 160px; min-height: auto; padding-bottom: 60px; }
    .hero-content h1 { font-size: 1.8rem; }
    
    .split-step { padding: 40px 10px; }
    .step-heading { font-size: 1.5rem; }
    .step-desc { font-size: 1.1rem; }
    
    .accordion-panel { min-height: 260px; height: auto; }
    .accordion-content h3 { font-size: 1.4rem; }
    .accordion-panel .step-desc { -webkit-line-clamp: 2; font-size: 0.85rem; }
    
    .stacked-badge { font-size: 0.85rem; padding: 6px 12px; }
    .mascot-hero-card { padding: 30px 15px; }
    .mascot-hero-content h3 { font-size: 1.8rem; }
    
    .footer-classic { padding: 40px 15px; padding-bottom: 90px; }
    .sticky-bar-text { font-size: 0.85rem; }
    .sticky-bar-text .phone-number { font-size: 1rem; }
    .btn-sticky { padding: 10px; font-size: 0.85rem; }
    
    .modal-container { padding: 30px 20px; }
    .modal-title { font-size: 1.8rem; }
}

/* ==========================================
   Contact Section
========================================== */
.contact-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #2A44B6 100%);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: center;
    background: #ffffff;
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2), 0 0 0 10px rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.contact-left {
    flex: 1;
}

.contact-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
    word-break: keep-all;
}

.contact-info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-color-2);
    padding: 24px;
    border-radius: 16px;
    display: inline-flex;
}

.contact-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-right {
    flex: 1;
    width: 100%;
}

.consultation-form {
    background: var(--bg-color-1);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-input {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(70, 98, 229, 0.1);
}

textarea.form-input {
    resize: vertical;
}

.btn-submit-form {
    width: 100%;
    padding: 18px;
    background: var(--brand-primary);
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit-form:hover {
    background: #364fc7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(70, 98, 229, 0.2);
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        padding: 40px 20px;
    }
    .contact-left, .contact-right {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-row .form-group {
        margin-bottom: 20px;
    }
    .consultation-form {
        padding: 24px;
    }
}

/* ==========================================================================
   Modals (Popups)
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 50px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-container.login-container {
    max-width: 420px;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--brand-dark);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.modal-left {
    display: flex;
    flex-direction: column;
}

.modal-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #999;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--brand-dark);
    margin-bottom: 25px;
    word-break: keep-all;
}

.modal-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    word-break: keep-all;
}

.modal-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.modal-form {
    background: white;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.modal-form .form-group.full-width {
    grid-column: 1 / -1;
}

.modal-form .form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #444;
}

.modal-form .form-group input, 
.modal-form .form-group select, 
.modal-form .form-group textarea {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s;
    background: #fafafa;
}

.modal-form .form-group input:focus, 
.modal-form .form-group select:focus, 
.modal-form .form-group textarea:focus {
    border-color: var(--brand-primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(70, 98, 229, 0.1);
}

.btn-modal-submit {
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-modal-submit:hover {
    background: #364fc7;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(70, 98, 229, 0.2);
}

@media (max-width: 900px) {
    .modal-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .modal-container {
        padding: 30px;
    }
    .modal-left {
        text-align: center;
    }
    .modal-contact {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 500px) {
    .modal-form .form-row {
        grid-template-columns: 1fr;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
