:root {
    --bg-color: #fbfbfd;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-color: #0066cc;
    --glass-bg: rgba(251, 251, 253, 0.75);
    /* More opaque on mobile for better readability */
    --border-color: #d2d2d7;

    --font-heading: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
    --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: -0.01em;

    --max-width: 980px;
    --section-spacing: 80px;
    /* Reduced from 150px for mobile */
    --header-height: 48px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* PC Specific Overrides (Inserted here due to file lock at EOF) */
@media (min-width: 1024px) {
    body #hero-headline {
        font-size: 5rem;
        /* ~80px */
        margin-bottom: 24px;
        line-height: 1.1;
    }

    body #hero-subheadline {
        font-size: 22px;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    /* Increased for better readability */
    letter-spacing: var(--letter-spacing-normal);
    word-break: keep-all;
    /* Prevents awkward breaks in Korean */
    overflow-x: hidden;
}

/* Typography Utilities (Mobile Base) */
.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.25;
}

.thin {
    font-weight: 300;
}

.bold {
    font-weight: 700;
}

.dot {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.dot::before,
.dot::after {
    content: "";
    position: absolute;
    top: 75%;
    left: 51%;
    width: 0;
    height: 0;
    border: 0.5px solid rgba(0, 102, 204, 0.6);
    background: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.dot::before {
    animation: dotRipple 4s infinite ease-out;
}

.dot::after {
    animation: dotRipple 4s infinite ease-out 1.5s;
}

.dot-ripple-3 {
    position: absolute;
    top: 75%;
    left: 51%;
    width: 0;
    height: 0;
    border: 0.5px solid rgba(0, 102, 204, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: dotRipple 4s infinite ease-out 3s;
}

@keyframes dotRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

.section-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.4;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
    background: rgba(0, 102, 204, 0.08);
    /* Subtle blue tint */
    padding: 6px 14px;
    border-radius: 999px;
    /* Pill shape */
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    backdrop-filter: blur(4px);
    /* Glassmorphism */
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 102, 204, 0.12);
    /* Subtle border */
    transition: all 0.3s ease;
}

.section-eyebrow:hover {
    background: rgba(0, 102, 204, 0.12);
    transform: translateY(-1px);
}

.section-description {
    font-size: 17px;
    /* Smaller for mobile */
    line-height: 1.5;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* Layout Utilities */
.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: var(--section-spacing) 0;
    text-align: center;
}

/* Header & Mobile Nav */
#global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

#global-header.header-dark {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* More subtle white border */
}

.header-dark .main-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}



.header-dark .main-nav a:hover,
.header-dark .main-nav a.active {
    color: #ffffff;
}

.header-dark .mobile-menu-toggle .bar {
    background-color: #666;
}

.header-dark .logo img {
    filter: brightness(0) invert(1);
    /* Ensure logo is white if it's the black version */
}



#global-header .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    z-index: 10001;
    /* Above mobile menu */
}

.logo img {
    height: 32px;
    /* Increased from 20px */
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

/* Hamburger Menu Toggle */
/* Mobile Navigation Styles */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 20px;
        height: 14px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10001;
        padding: 0;
    }

    .mobile-menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: #999;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Main Nav (Mobile Side-slide from Right) */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(to left,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, 0.95) 40%,
                rgba(255, 255, 255, 0.7) 70%,
                rgba(255, 255, 255, 0) 100%);
        backdrop-filter: saturate(180%) blur(40px);
        -webkit-backdrop-filter: saturate(180%) blur(40px);
        padding: 100px 40px 40px;
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 9998;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 28px;
        text-align: right;
    }

    .main-nav a {
        text-decoration: none;
        color: var(--text-primary);
        font-size: 24px;
        font-weight: 600;
        opacity: 1;
        transition: color 0.3s ease;
    }

    /* Dark Header Main Nav overrides - More intense (Mobile Only) */
    #global-header.header-dark .main-nav {
        background: linear-gradient(to left,
                rgba(10, 10, 10, 1) 0%,
                rgba(10, 10, 10, 0.95) 40%,
                rgba(10, 10, 10, 0.7) 70%,
                rgba(10, 10, 10, 0) 100%);
    }
}

/* Desktop Navigation Adjustments */
@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: flex;
        align-items: center;
    }

    .main-nav ul {
        list-style: none;
        display: flex;
        gap: 32px;
        align-items: center;
    }

    .main-nav a {
        text-decoration: none;
        color: var(--text-primary);
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
    }
}





.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 60px;
}

#hero-headline {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin-bottom: 20px;
    white-space: pre-line;
    word-break: keep-all;
}

#hero-subheadline {
    font-size: 17px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 32px;
    padding: 0 10px;
    line-height: 1.5;
    word-break: keep-all;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 980px;
    /* Apple-style pill */
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: scale(1.02);
}

/* Specific Overrides for Premium White Hover on Index Page */
.hero-cta .btn-primary:hover,
#velin-container .btn-primary:hover {
    background-color: #fff;
    color: #000;
    border: 1.5px solid var(--accent-color);
    transform: scale(1.04);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
}

.hero-image-container {
    width: 100%;
    margin-top: 20px;
    border-radius: 12px;
    /* Smaller radius for mobile */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    width: 100%;
}

.carousel-slides img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
}

.carousel-pause-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s, transform 0.2s;
    z-index: 10;
    padding: 0;
}

.carousel-wrapper:hover .carousel-pause-btn {
    opacity: 1;
}

.carousel-pause-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.carousel-pause-btn svg {
    width: 20px;
    height: 20px;
}

/* Integrated Impracare & Program Wrapper */
.impracare-program-container {
    background-color: #f5f5f7;
    width: 100%;
}

/* Seasonal Notice Spacing */
#seasonal-notices {
    padding-top: 40px;
    padding-bottom: 160px;
    text-align: center;
}


/* Intro Section - Aligned with C.G.I. Typography & Enhanced Logo */
.intro-section {
    padding: 160px 20px 140px;
    /* Increased top/bottom padding */
    text-align: center;
    overflow: visible;
}

#intro-title .intro-logo {
    height: 180px !important;
    /* Boldly increased to 180px for PC */
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto 48px !important;
    display: block !important;
    object-fit: contain !important;
    image-rendering: -webkit-optimize-contrast;
    /* Sharper rendering */
}

.intro-section .section-subtitle {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.25;
}

.intro-section .section-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    word-break: keep-all;
}

@media (max-width: 768px) {
    .intro-section {
        padding: 80px 20px 40px;
    }

    .intro-section .intro-logo {
        height: 64px !important;
    }

    .intro-section .section-subtitle {
        font-size: 32px;
    }

    .intro-section .section-description {
        font-size: 17px;
    }
}

/* Program Section (Features) */
.program-section {
    background-color: transparent !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: var(--section-spacing);
    border: none !important;
}

/* CGI Section (Apple Carousel Style) */
.cgi-wrapper {
    padding: 80px 0 20px;
    /* Reduced bottom padding */
    overflow: visible;
    /* Changed to visible to allow carousel overflow */
}

.cgi-header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.cgi-title-group {
    text-align: center;
}

.cgi-title-group .section-title {
    margin-left: 0;
    margin-bottom: 4px;
    padding: 0;
}

.cgi-title-group .section-description {
    margin-top: 0;
    margin: 0 auto;
    /* Centered */
    padding: 0;
    font-size: 18px;
    color: var(--text-secondary);
}


.cgi-carousel-container {
    width: auto;
    margin: 0 -20px;
    /* Negative margin to allows edge-to-edge scroll within content-wrapper padding */
    overflow: hidden;
}

.cgi-carousel-track {
    display: flex;
    gap: 24px;
    /* Matching Testimonials gap */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 20px 40px 20px;
    /* Standard padding */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cgi-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Mobile Constraint Override */
@media (max-width: 768px) {
    .cgi-carousel-container {
        margin: 0;
        width: 100%;
        border-radius: 20px;
        /* Rounded corners for the container itself on mobile */
    }

    .cgi-carousel-track {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Learn More Button */
.cgi-learn-more-container {
    text-align: center;
    margin-top: 48px;
    padding-bottom: 40px;
}

.cgi-learn-more-btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 17px;
    font-weight: 500;
    color: var(--accent-color);
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 980px;
    /* Apple's pill shape */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.cgi-learn-more-btn:hover {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.02);
}

.cgi-learn-more-btn:active {
    transform: scale(0.98);
}

.cgi-card {
    flex: 0 0 340px;
    min-height: 380px;
    /* Unified height across mobile and desktop */
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Apple-style layered shadow: subtle, soft, and elegant */
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 16px 48px rgba(0, 0, 0, 0.04);
    scroll-snap-align: start;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    text-align: left;
}

.cgi-card:hover {
    transform: translateY(-6px);
    /* Enhanced hover shadow with more depth */
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05),
        0 12px 32px rgba(0, 0, 0, 0.08),
        0 24px 64px rgba(0, 0, 0, 0.06);
}

.cgi-card-bg-letter {
    position: absolute;
    bottom: -20px;
    right: 15px;
    /* Base offset for C and G */
    font-size: 240px;
    font-weight: 900;
    color: var(--accent-color);
    opacity: 0.05;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

.cgi-card-bg-letter.letter-i {
    right: 30px;
    /* More offset for I as requested */
}

.cgi-card-info {
    position: relative;
    z-index: 2;
}

.cgi-card-eyebrow {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.eyebrow-label {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: normal;
    background: rgba(0, 102, 204, 0.08);
    padding: 6px 14px;
    border-radius: 8px;
}

.cgi-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
    word-break: keep-all;
}

.cgi-card-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 100%;
}


.cgi-nav-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.carousel-nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: #e8e8ed;
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .cgi-card {
        flex: 0 0 320px;
        min-height: 480px;
        padding: 30px;
    }

    .cgi-card-title {
        font-size: 22px;
    }

    .cgi-nav-container {
        justify-content: flex-end;
        /* Keep buttons right-aligned on mobile per user request */
        margin-bottom: 16px;
    }

    .cgi-header-row {
        margin-bottom: 24px;
    }

    .desktop-only {
        display: none;
    }
}


/* Featured Footer Message */
.feature-item {
    margin: 10px auto 30px;
    max-width: 600px;
}

.feature-desc {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    /* Deep black as requested */
    line-height: 1.6;
    word-break: keep-all;
}

/* Program CTA */
.program-cta {
    margin-top: 30px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* 1 Column for mobile */
    gap: 40px;
    margin-top: 0;
    /* Removed margin-top to close the gap */
    text-align: center;
    /* Center align for mobile readability */
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Cushion Section */
.cushion-section {
    background-color: #f5f5f7;
    /* Match C.G.I System section perfectly */
    color: var(--text-primary);
    padding: 100px 0 0;
    display: block;
    min-height: 100vh;
    text-align: center;
    position: relative;
    overflow-x: hidden;
    /* Prevent horizontal scroll from canvas */
    overflow-y: visible;
    /* Allow vertical expansion for content */
}

/* Natural transition gradient from CGI to Cushion */
.cushion-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, #f5f5f7 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    /* Still below content-wrapper z-index: 2? Let's check. */
}

#cushion-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cushion-section .content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-top: 120px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Bold & Large Arrow Indicator */
.arrow-indicator.bold-style {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 3;
    opacity: 0;
    animation: fade-in-indicator 0.8s ease forwards 2s;
}

.arrow-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #0077ee;
}

.large-arrow {
    width: 60px;
    /* Boldly Large */
    height: 100px;
    /* Long vertical line */
    color: #0077ee;
    transition: transform 0.3s ease;
}

.large-arrow svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 119, 238, 0.1));
}

.arrow-indicator.bold-style:hover .large-arrow {
    transform: translateY(10px);
}

@keyframes fade-in-indicator {
    to {
        opacity: 1;
    }
}

.cushion-section .section-title {
    font-size: 64px;
    /* Extreme size (~1.5x) */
    font-weight: 900;
    /* Heavy weight */
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.4;
    /* More breathable line height */
    word-break: keep-all;
    letter-spacing: -0.01em;
    /* Reduced tightness */
}

.cushion-section .section-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 40px auto 0;
    /* Add top margin for breathing room */
    word-break: keep-all;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Energyatic Pop curve */
}

.cushion-section .section-description.visible {
    opacity: 1;
}

/* Character Animation Base (Fade-in ONLY) */
.cushion-section .char {
    display: inline-block;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), color 1s ease;
    white-space: pre;
    color: var(--text-primary);
}

/* Title specific: Add Slide-up */
.cushion-section .section-title .char {
    transform: translateY(30px);
}

.cushion-section .char.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Description specific: Fade-in only (already handled by base, just override transform if needed) */
.cushion-section .section-description .char {
    transform: none;
    /* No movement for description */
}

@media (max-width: 768px) {
    .cushion-section {
        padding: 120px 0 0;
        /* Removed bottom padding */
        min-height: auto;
        /* Allow the content to dictate height */
    }

    .cushion-section .section-title {
        font-size: 48px;
        line-height: 1.25;
    }

    .cushion-teaser {
        width: 100%;
        bottom: -50px;
    }
}

/* Integrated Velin Content - Stages for flow */
.cushion-section .velin-container {
    width: 100%;
    position: relative;
    z-index: 2;
    padding-top: 150px;
    /* Reduced as requested */
}

.cushion-section .velin-hero-wrapper {
    width: 100%;
    min-height: 100vh;
    /* Changed from height: 100vh to allow expansion */
    background: transparent !important;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 0;
    /* Removed bottom padding to let image hit the bottom */
}

.cushion-section .velin-overlay {
    display: none;
}

.cushion-section .velin-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 0 0;
    /* Removed horizontal and bottom padding to let image fill and hit bottom */
    max-width: 1000px;
    /* Increased for a larger image */
    width: 100%;
    color: var(--text-primary);
    /* Reveal Animation States */
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cushion-section .velin-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.cushion-section .velin-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(0, 102, 204, 0.05);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 102, 204, 0.2);
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cushion-section .velin-title-group {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.cushion-section .velin-title {
    font-size: 100px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #0066cc, #663399, #cc3366, #3399cc, #0066cc);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin: 0;
    animation: gradientFlow 8s linear infinite;
}

.cushion-section .velin-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.8;
}

.cushion-section .velin-description {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cushion-section .velin-summary {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}





/* Service Preview Image Slideshow */
.cushion-section .velin-preview-container {
    margin-top: 60px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    /* Aspect ratio height depends on the first relatively positioned image */
}

.cushion-section .velin-slide {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: block;
    z-index: 0;
}

/* Establish the container's height using the first image */
.cushion-section .velin-slide:first-child {
    position: relative;
}

.cushion-section .velin-slide.active {
    opacity: 1;
    z-index: 2;
    /* Brings the fading-in slide to the front */
}

/* Optional: Keep the previous active slide behind while the new one fades in */
.cushion-section .velin-slide.fade-out {
    opacity: 1;
    /* Keep it fully visible */
    z-index: 1;
    /* Place it right behind the fading-in slide */
    transition: none;
    /* Keep it solid until the new one fully covers it */
}

/* Velin Mobile Alignment (Flush Bottom-Left) */
@media (max-width: 768px) {
    .cushion-section .velin-content {
        padding: 40px 0 0 !important;
        /* Remove horizontal and bottom padding */
    }

    .cushion-section .velin-preview-container {
        margin-left: -20px;
        /* Pull left to overcome parent wrapper padding */
        width: calc(100% + 40px);
        /* Stretch to full viewport width */
        margin-bottom: 0;
    }
}



@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

@media (max-width: 768px) {
    .velin-hero-wrapper {
        min-height: auto;
        /* Let the image dictate height */
        padding-top: 50px;
    }

    .velin-title {
        font-size: 80px;
        line-height: 1.1;
    }

    .velin-subtitle {
        font-size: 14px;
    }

    .velin-description {
        font-size: 24px;
    }

    .velin-summary {
        font-size: 16px;
    }
}

/* Intro Section */
.intro-section {
    background-color: transparent !important;
    padding-top: var(--section-spacing);
    padding-bottom: 40px;
    margin-bottom: 0 !important;
    border: none !important;
}

.intro-logo {
    width: 360px;
    /* Large, eye-catching size for mobile */
    max-width: 85%;
    height: auto;
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
    /* Enhanced depth for premium feel */
}


@media (min-width: 768px) {
    .intro-logo {
        width: 480px;
        /* Very prominent size for desktop - Apple style */
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .intro-logo {
        width: 520px;
        /* Even larger for large screens */
    }
}

/* Notices Section */
.notices-section {
    background-color: #f5f5f7;
}

.notices-list {
    margin-top: 30px;
    text-align: left;
}

/* Seasonal Notices Section */
.seasonal-notices-section {
    padding: 24px 0;
    margin-top: 20px;
    /* Removed negative margin to place below hero image */
    z-index: 5;
    position: relative;
}

@keyframes noticePulseGlow {
    0% {
        box-shadow: 0 4px 15px rgba(0, 113, 227, 0.15);
    }

    50% {
        box-shadow: 0 4px 25px rgba(0, 113, 227, 0.45);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 113, 227, 0.15);
    }
}

.notice-badge {
    background: var(--accent-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notice-btn-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: var(--letter-spacing-tight);
}

.notice-btn-content .chevron {
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 300;
}

/* Notice Modal Styles */
.notice-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.notice-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.notice-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.notice-content-wrapper {
    background: #fff;
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notice-modal.active .notice-content-wrapper {
    transform: translateY(0);
    opacity: 1;
}

.notice-header {
    background: #fbfbfd;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.notice-title-group {
    padding-right: 20px;
}

.notice-eyebrow {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.notice-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.notice-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px;
    transition: color 0.2s ease;
}

.notice-close-btn:hover {
    color: var(--text-primary);
}

.notice-close-btn svg {
    width: 24px;
    height: 24px;
}

.notice-body {
    padding: 32px;
}

.notice-modal-highlight {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.notice-modal-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    white-space: pre-line;
}

.notice-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 24px;
}

.notice-modal-period {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.notice-modal-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.notice-modal-btn:hover {
    background-color: #0077ed;
    transform: translateY(-1px);
}

/* Tuition Page Refinements */
.tuition-section-header {
    margin-bottom: 60px;
    text-align: center;
}

.tuition-section-header .section-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.tuition-section-header .section-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.tuition-section-header .section-description .highlight {
    font-weight: 700;
    color: var(--accent-color);
}

.seasonal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.seasonal-highlight {
    font-size: 17px;
    font-weight: 600;
    color: var(--accent-color);
}

.seasonal-desc {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
}

.seasonal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #f0f0f2;
}

.seasonal-period {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.seasonal-btn {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

.seasonal-btn:after {
    content: "→";
    transition: transform 0.2s ease;
}

.seasonal-btn:hover:after {
    transform: translateX(4px);
}

/* Footer */
#footer {
    background-color: #f5f5f7;
    padding: 60px 0;
    font-size: 11px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    line-height: 1.8;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-info-top {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-company {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-divider {
    margin: 0 8px;
    color: #d2d2d7;
}

.footer-label {
    font-weight: 600;
    margin-right: 4px;
    color: #86868b;
}

.footer-info-mid p {
    margin: 2px 0;
}

.footer-info-bottom {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-sns {
    margin-left: auto;
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-sns-link {
    color: #86868b;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-sns-link svg {
    width: 20px;
    height: 20px;
}

.footer-sns-link:hover {
    color: #1d1d1f;
    transform: translateY(-2px);
}


/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

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

/* ========================================= */
/* DESKTOP OVERRIDES (min-width: 768px) */
/* ========================================= */
@media (min-width: 768px) {
    :root {
        --section-spacing: 150px;
        --header-height: 64px;
    }

    /* Typography */
    .section-title {
        font-size: 48px;
    }

    .section-subtitle {
        font-size: 28px;
    }

    .section-description {
        font-size: 21px;
    }

    /* Header & Nav */
    .mobile-menu-toggle {
        display: none;
    }

    .logo img {
        height: 40px;
        /* Increased from 24px */
    }

    .main-nav {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        transform: none;
        padding-top: 0;
        display: block;
        flex-direction: row;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 30px;
    }

    .main-nav a {
        font-size: 14px;
        font-weight: 400;
        opacity: 0.8;
    }

    .main-nav a:hover {
        opacity: 1;
    }

    /* Hero */
    .hero-section {
        padding-top: calc(var(--header-height) + 120px);
    }

    .hero-image-container {
        margin-top: 40px;
        border-radius: 20px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    }

    /* Layouts */
    .cgi-columns {
        grid-template-columns: repeat(3, 1fr);
        max-width: var(--max-width);
    }

    .cgi-column {
        text-align: left;
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }

    .cgi-column:last-child {
        border-right: none;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        text-align: left;
        margin-top: 60px;
    }

    .admission-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 80px;
    }

    .feature-title {
        font-size: 32px;
    }

    .feature-desc {
        font-size: 19px;
    }

    .cgi-title-group .section-title {
        margin-left: 4px;
        /* Balanced adjustment for desktop font size */
    }
}

/* -------------------------------------------------------------------------- */
/* Instructors Section (Dark & Grand) */
/* -------------------------------------------------------------------------- */
.instructor-page {
    background-color: #000000;
    color: #ffffff;
}

.instructor-page .admission-hero {
    background-color: #000000 !important;
}

.instructor-page .admission-hero h1 {
    color: #ffffff;
}

.instructor-page .admission-hero p {
    color: rgba(255, 255, 255, 0.7);
}

.instructor-page .section-eyebrow {
    color: #00d2ff;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
}

.instructors-section {
    background-color: #050505;
    /* Deeper black for weight */
    position: relative;
    overflow: hidden;
    padding-top: 160px !important;
    padding-bottom: 100px;
}

.instructors-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    /* Extremely subtle deep base */
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.1em;
}

.instructors-section .content-wrapper {
    position: relative;
    z-index: 1;
}

.section-eyebrow.white {
    color: #00d2ff;
    /* Vibrant Point Blue */
    background: rgba(5, 5, 5, 0.85);
    /* Matching section background and making it opaque */
    border: 1px solid rgba(0, 210, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
    /* Refined outer glow */
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
    /* Clearly visible text glow */
}

.section-eyebrow.gold {
    color: #D4AF37;
    background: rgba(5, 5, 5, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.section-title.white {
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.section-description.white {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
    max-width: 650px;
    font-size: 19px;
    line-height: 1.6;
}

.instructors-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

@media (min-width: 1024px) {
    .instructors-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 80px;
    }

    .director-section {
        flex: 0 0 420px;
    }

    .team-section {
        flex: 1;
        padding-top: 20px;
    }
}

.instructor-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.instructor-card.main-card {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.instructor-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.instructor-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    flex-shrink: 0;
}

.instructor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.1);
    transition: transform 0.8s ease;
}

.instructor-card:hover .instructor-image {
    transform: scale(1.05);
}

.instructor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.instructor-info-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: #fff;
}

.inst-role {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #00d2ff;
    /* High-Contrast Vibrant Blue */
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.inst-classes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.inst-classes-left {
    display: flex;
    gap: 8px;
}

.inst-view-detail {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.instructor-card.main-card:hover .inst-view-detail {
    color: #fff;
    opacity: 1;
    transform: translateX(-4px);
}

/* Director Modal Styles */
.modal-director-story {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 16px;
}

.modal-story-headline {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.modal-director-story p {
    margin-bottom: 20px;
}

.modal-director-story .highlight {
    color: #00d2ff;
    font-weight: 600;
}

.modal-director-story .final-call {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 40px;
}

.modal-signature {
    margin-top: 48px;
    text-align: left;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-signature p {
    margin-bottom: 4px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.modal-signature .name {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.modal-video-info {
    margin-top: 64px;
    text-align: center;
}

.modal-video-info .video-title {
    font-size: 24px;
    color: #00d2ff;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-video-info .video-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.modal-video-scroll-wrapper {
    position: relative;
    margin-top: 32px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-btn:hover {
    background: #00d2ff;
    border-color: #00d2ff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.4);
}

.scroll-btn.prev {
    left: -22px;
}

.scroll-btn.next {
    right: -22px;
}

.scroll-btn svg {
    width: 20px;
    height: 20px;
}

/* Hide scrollbar on mobile/trackpad for cleaner look when buttons are present */
.modal-video-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 24px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    -webkit-overflow-scrolling: touch;
}

.modal-video-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.modal-video-item {
    flex: 0 0 280px;
    position: relative;
    padding-top: 497px;
    /* Matches 9:16 for 280px width: 280 * 1.777 */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: #000;
}

.modal-video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.team-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.team-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    text-align: left;
}

.team-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.team-item-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.inst-new-badge {
    color: #FF9500;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-left: 6px;
}

.team-item-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.team-item-name {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.team-item-role {
    font-size: 13px;
    color: #00d2ff;
    font-weight: 600;
}

.team-item-edu {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.team-item-bio {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    word-break: keep-all;
}

.inst-name {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.instructor-details {
    padding: 32px 24px;
    background: rgba(0, 0, 0, 0.2);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.inst-edu {
    font-size: 14px;
    font-weight: 700;
    color: #00d2ff;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inst-bio {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px 0;
    word-break: keep-all;
    flex-grow: 1;
}

.inst-classes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.class-tag {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.class-tag:hover {
    background: rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.5);
    transform: translateY(-2px);
}

/* Clean up old media queries */
@media (max-width: 1023px) {
    .instructors-section {
        padding-top: 120px;
        padding-bottom: 80px;
    }
}

/* -------------------------------------------------------------------------- */
/* Location Section */
/* -------------------------------------------------------------------------- */
.location-section {
    background-color: #fff;
    padding-top: 160px !important;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
    text-align: left;
}

.location-map-area {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.info-action-btns {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
}

.btn-naver-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1.5px solid var(--accent-color);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-naver-map:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.15);
}

.btn-naver-map:active {
    transform: scale(0.98);
}

.map-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) brightness(0.9);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.location-info-area {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.info-text.highlight {
    color: #1d1d1f;
    /* Changed to black as requested */
    font-size: 24px;
    font-weight: 700;
}

.phone-container {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Reverted to original gap */
}

.info-text.highlight {
    line-height: 1;
    /* Reset line-height for precise centering */
}

.location-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    /* Slightly smaller for better balance */
    height: 32px;
    background: #f0f0f2;
    color: #1d1d1f;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-5px);
    /* Lifted even further up as requested */
}

.location-call-btn:hover {
    background: #1d1d1f;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.call-icon {
    width: 20px;
    height: 20px;
}

.info-subtext {
    font-size: 15px;
    color: var(--text-secondary);
}

.transport-line {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
    line-height: 1.5;
}

.transport-line.bus-line {
    align-items: flex-start;
}

.transport-type {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    background: #f0f0f2;
    padding: 3px 8px;
    border-radius: 6px;
    min-width: 54px;
    text-align: center;
    flex-shrink: 0;
}

.badge-subway {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: white;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 1px;
}

.subway-content,
.bus-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.subway-content {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    /* Narrower gap for subway icon vs text */
}

.bus-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 440px;
    flex-shrink: 0;
}

.badge-bus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 4px;
    color: white;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    min-width: 36px;
    text-align: center;
}

.transport-info {
    font-size: 14px;
    color: var(--text-primary);
}

/* Location Desktop Overrides */
@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 80px;
        align-items: start;
    }

    .location-map-area {
        aspect-ratio: auto;
        height: 500px;
    }
}

/* -------------------------------------------------------------------------- */
/* Admission Section */
/* -------------------------------------------------------------------------- */
.admission-section {
    background-color: #050505;
    padding: 100px 0;
    perspective: 1500px;
    /* Depth for 3D space */
}

.admission-card {
    background: #1c1c1e;
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out, box-shadow 0.4s ease;
}


.admission-card:hover {
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.12);
}

/* Deep Parallax Elements */
.admission-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 92px;
    /* Slightly larger as Cormorant is more delicate */
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    transform: translateZ(100px);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.admission-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.admission-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.admission-btns .btn {
    padding: 12px 32px;
    border-radius: 980px;
    /* Pill shape */
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admission-btns .btn-secondary {
    background: #ffffff;
    color: #000000;
    border: none;
}

.admission-btns .btn-secondary:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.04);
}

.admission-btns .btn-secondary:active {
    transform: scale(0.98);
}


@media (max-width: 768px) {
    .admission-title {
        font-size: 64px;
        line-height: 1.1;
    }

    .admission-card {
        padding: 80px 24px;
        border-radius: 32px;
        margin: 0 20px;
    }

    .admission-btns {
        flex-direction: column;
        align-items: center;
        /* Prevent buttons from stretching */
        gap: 12px;
    }

    .admission-links {
        display: flex;
        flex-direction: row;
        /* Horizontal as requested */
        justify-content: center;
        gap: 20px;
        margin-top: 24px;
        flex-wrap: wrap;
        /* Wrap if screen is very narrow */
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #050505;
}

.testimonials-hint-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.testimonials-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 999px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
}

.hint-sparkle {
    color: #D4AF37;
    font-size: 14px;
    animation: sparklePulse 2s ease-in-out infinite;
}

@keyframes hintFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.1);
    }
}

@keyframes sparklePulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }
}

.testimonials-scroll-wrapper {
    overflow-x: auto;
    padding: 20px 0 40px;
    margin: 0 -20px;
    /* Negative margin for edge-to-edge scroll */
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 20px;
}

.testimonials-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonials-container {
    display: flex;
    gap: 24px;
    padding-bottom: 20px;
}

/* Testimonials Nav Styled after Apple */
.test-nav-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.testimonials-nav {
    display: flex;
    gap: 12px;
}

.test-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.test-nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.test-nav-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .test-nav-container {
        justify-content: flex-end;
        /* Keep buttons right-aligned on mobile */
        margin-bottom: 16px;
    }

    .testimonials-nav {
        gap: 10px;
    }

    .test-nav-btn {
        width: 38px;
        height: 38px;
    }

    .testimonials-hint-wrapper {
        margin-bottom: 20px;
    }

    .testimonials-hint {
        font-size: 13px;
        padding: 8px 16px;
    }
}

.testimonial-card {
    min-width: 340px;
    width: 100%;
    max-width: 460px;
    height: 420px;
    background-color: #1c1c1e;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    animation: cardGoldBreathing 4s ease-in-out infinite;
    scroll-snap-align: center;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 280px;
        width: 100%;
        max-width: 100%;
        height: 380px;
        padding: 24px;
    }
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.8);
}

@keyframes cardGoldBreathing {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
        border-color: rgba(212, 175, 55, 0.3);
    }

    50% {
        box-shadow: 0 0 35px rgba(212, 175, 55, 0.25);
        border-color: rgba(212, 175, 55, 0.6);
    }
}



.testimonial-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card-growth {
    font-size: 14px;
    font-weight: 700;
    color: #0071e3;
    /* Apple Blue */
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.testimonial-quote-preview {
    font-size: 24px;
    line-height: 1.6;
    color: #f5f5f7;
    font-weight: 500;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .testimonial-quote-preview {
        font-size: 21px !important;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .gallery-grid .testimonial-quote-preview {
        font-size: 18.5px !important;
        line-height: 1.5;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        margin-bottom: 20px;
    }
}

.testimonial-attribution {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #333;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.testimonial-result {
    font-size: 13px;
    font-weight: 600;
    color: #D4AF37;
    margin-bottom: 2px;
    letter-spacing: normal;
    word-break: keep-all;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.testimonials-more-cta {
    margin-top: 50px;
    text-align: center;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #ffffff;
    padding: 0 40px;
    height: 54px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    animation: btnBreathing 3s ease-in-out infinite;
    letter-spacing: -0.01em;
    line-height: 1;
    transform: translateZ(0);
    /* GPU acceleration */
}

.btn-more:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: #D4AF37;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.35);
}

@keyframes btnBreathing {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
        border-color: rgba(212, 175, 55, 0.3);
    }

    50% {
        box-shadow: 0 0 45px rgba(212, 175, 55, 0.45);
        border-color: rgba(212, 175, 55, 0.7);
    }
}


/* Immersive Story Modal */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.5s;
}

.story-modal.active {
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.story-modal.active .modal-backdrop {
    opacity: 1;
}

.modal-content-wrapper {
    position: relative;
    z-index: 10001;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    background: #1c1c1e;
    border-radius: 32px;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.story-modal.active .modal-content-wrapper {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close-btn {
    position: sticky;
    top: 24px;
    /* Distance from top when sticking */
    left: 100%;
    /* Push to right edge */
    margin: 24px 24px -60px auto;
    /* Negative bottom margin to prevent layout shift */
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    /* Higher to stay on top of content */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.modal-close-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.6;
}

.modal-header-info {
    padding: 60px 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-avatar-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 30px;
    border: 4px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.modal-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 30px 60px 60px;
}

@media (max-width: 768px) {

    .modal-body,
    .modal-header-info {
        padding: 40px 24px;
    }

    .modal-content-wrapper {
        max-height: 90vh;
    }
}

.modal-result {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.modal-result-badge {
    font-size: 13px;
    font-weight: 700;
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    white-space: nowrap;
}

.testimonial-result-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.testimonial-result-badge {
    font-size: 11px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.9);
    background: rgba(212, 175, 55, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.modal-growth {
    font-size: 15px;
    font-weight: 700;
    color: #0071e3;
    /* Apple Blue for growth/progress */
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.modal-name {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.modal-quote {
    display: block;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 48px;
    padding: 32px;
    background: rgba(212, 175, 55, 0.05);
    /* Very subtle gold tint */
    border-left: 4px solid #D4AF37;
    /* Gold accent line */
    border-radius: 4px 16px 16px 4px;
    word-break: keep-all;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-quote::after {
    content: '"';
    position: absolute;
    bottom: -10px;
    right: 30px;
    font-size: 80px;
    font-family: serif;
    color: #D4AF37;
    opacity: 0.1;
    line-height: 1;
}

@media (max-width: 768px) {
    .modal-quote {
        font-size: 19px;
        padding: 24px;
        margin-bottom: 32px;
    }
}

.modal-story {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* Q&A Custom Styles */
.modal-qa-item {
    margin-bottom: 32px;
}

.modal-qa-q {
    font-size: 19px;
    font-weight: 800;
    color: #D4AF37;
    /* Point Gold */
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    line-height: 1.4;
}

.modal-qa-q::before {
    content: "Q.";
    flex-shrink: 0;
}

.modal-qa-a {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    display: flex;
    gap: 10px;
}

.modal-qa-a::before {
    content: "A.";
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.modal-director-comment {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-director-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    display: block;
}

.modal-director-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.modal-story b,
.modal-story strong {
    color: #ffffff;
    font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* Testimonials Section (Finalized - Horizontal Slide) */
/* -------------------------------------------------------------------------- */
.testimonials-section {
    padding: 120px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.section-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header-center .section-eyebrow {
    margin-bottom: 24px;
    display: inline-block;
}

.section-header-center .section-title {
    margin-bottom: 24px;
}

.section-header-center .section-description {
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0 60px;
    -ms-overflow-style: none;
    /* Hide scrollbar */
    scrollbar-width: none;
    margin: 0 -20px;
    /* Bleed to edges on mobile */
    padding-left: 20px;
    padding-right: 20px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 340px;
    /* Fixed width for slider */
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 460px;
    /* Fixed height for uniformity */
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-quote-icon {
    font-size: 180px !important;
    /* Maximized scale for artistic impact */
    color: #ffffff !important;
    position: absolute;
    top: 10px;
    /* Moved down */
    left: -5px;
    /* Moved right (inward) */
    font-family: serif;
    line-height: 1;
    pointer-events: none;
    opacity: 0.04 !important;
    z-index: 0;
    font-style: italic;
}

.testimonial-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    margin-top: 20px;
}

.testimonial-quote-preview {
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: auto;
    /* Push bottom content down */
    letter-spacing: -0.01em;
    opacity: 0.95;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-top: 30px;
}

.testimonial-attribution {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
    /* Allow shrinking to prevent push-out */
}

.testimonial-result {
    font-size: 14px;
    color: #ffd700;
    /* Gold color for academic achievement */
    margin-bottom: 4px;
    display: block;
    font-weight: 500;
}

.testimonial-read-more {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    padding-bottom: 4px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.testimonial-name {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* View All Button Container */
.view-all-container {
    margin-top: 40px;
    text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    /* Main screen cards - Reverted to tall */
    .testimonial-card {
        flex: 0 0 300px;
        height: 420px;
        padding: 30px;
        border-radius: 28px;
    }

    .testimonial-quote-preview {
        font-size: 20px;
        line-clamp: 5;
        -webkit-line-clamp: 5;
    }

    /* Gallery cards - Specific horizontal style with large fonts */
    .gallery-grid .testimonial-card {
        flex: 0 0 100%;
        height: 330px;
        /* Slightly increased for better font fitting */
        padding: 32px;
        border-radius: 20px;
    }

    .gallery-grid .testimonial-quote-preview {
        font-size: 24px;
        /* Significantly larger */
        line-height: 1.4;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .gallery-grid .testimonial-attribution {
        gap: 16px;
    }

    .gallery-grid .testimonial-avatar {
        width: 50px;
        height: 50px;
    }

    .gallery-grid .testimonial-result {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .gallery-grid .testimonial-name {
        font-size: 18px;
    }

    .gallery-grid .card-quote-icon {
        font-size: 150px !important;
        top: 10px !important;
        left: -5px !important;
        opacity: 0.04 !important;
    }
}

/* Tuition Modal Styles */
.tuition-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 13000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s;
}

.tuition-modal.active {
    visibility: visible;
    pointer-events: auto;
}

.tuition-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tuition-modal.active .tuition-backdrop {
    opacity: 1;
}

.tuition-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 32px;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.tuition-modal.active .tuition-content-wrapper {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tuition-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.tuition-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.tuition-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.tuition-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.2s;
}

.tuition-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.tuition-close-btn svg {
    width: 16px;
    height: 16px;
}

.tuition-modal-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 32px;
}

.tuition-cat {
    margin-bottom: 32px;
}

.tuition-cat-name {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tuition-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tuition-label {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.tuition-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
}

.tuition-modal-notice {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 16px;
}

/* Tertiary Button for Admission */
.btn-tertiary {
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px !important;
    padding: 12px 24px !important;
}

.btn-tertiary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .tuition-content-wrapper {
        padding: 32px 24px;
        border-radius: 28px;
    }

    .tuition-modal-title {
        font-size: 24px;
    }
}

/* Refined Admission Links */
.admission-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}

.admission-link {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.admission-link:hover {
    color: #0071e3;
    transform: translateX(2px);
}

.admission-link .chevron {
    font-size: 20px;
    line-height: 1;
    margin-top: -2px;
}

/* Remove or hide the old tertiary button styles if they conflict, 
   but keeping this clean as a fresh addition at the end. */

/* Testimonial Clickability Enhancements */
.testimonials-hint {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    opacity: 0.7;
    font-weight: 500;
    transition: opacity 0.4s ease;
}

.tuition-modal.active .tuition-backdrop {
    opacity: 1;
}

.tuition-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 32px;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.tuition-modal.active .tuition-content-wrapper {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tuition-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.tuition-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.tuition-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.tuition-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.2s;
}

.tuition-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.tuition-close-btn svg {
    width: 16px;
    height: 16px;
}

.tuition-modal-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 32px;
}

.tuition-cat {
    margin-bottom: 32px;
}

.tuition-cat-name {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tuition-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tuition-label {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.tuition-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
}

.tuition-modal-notice {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 16px;
}

/* Tertiary Button for Admission */
.btn-tertiary {
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px !important;
    padding: 12px 24px !important;
}

.btn-tertiary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .tuition-content-wrapper {
        padding: 32px 24px;
        border-radius: 28px;
    }

    .tuition-modal-title {
        font-size: 24px;
    }
}

/* Refined Admission Links */
.admission-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}

.admission-link {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.admission-link:hover {
    color: #0071e3;
    transform: translateX(2px);
}

.admission-link .chevron {
    font-size: 20px;
    line-height: 1;
    margin-top: -2px;
}

/* Remove or hide the old tertiary button styles if they conflict, 
   but keeping this clean as a fresh addition at the end. */

/* Testimonial Clickability Enhancements */
.testimonials-hint {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    opacity: 0.7;
    font-weight: 500;
}

.testimonial-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.testimonial-read-more {
    font-size: 13px;
    font-weight: 700;
    color: #D4AF37;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-read-more {
    opacity: 1;
    transform: translateX(4px);
}

.testimonial-card:hover {
    cursor: pointer;
    background-color: #242426;
    /* Slightly lighter on hover */
}

/* [Conflicting Quote Icon Override Removed] */

/* --- Program Page Styles --- */
.program-page {
    background-color: #fff;
}

.program-hero {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 80px;
    text-align: center;
    background-color: #fff;
}

.program-hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.program-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Original .program-hero-desc removed as per instruction */

/* Philosophy Section */
.philosophy-section {
    padding: 120px 0;
    background: #fff;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text-large {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.highlight-text {
    color: var(--accent-color);
}

.highlight-warn {
    color: #ff3b30;
}

.philosophy-desc {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    line-height: 1.6;
}

.reality-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
}

.reality-card {
    padding: 30px;
    border-radius: 20px;
    background: #f5f5f7;
}

.reality-card.warn {
    border: 1px solid rgba(255, 59, 48, 0.1);
    background: #fff5f5;
}

.reality-card.success {
    border: 1px solid rgba(0, 102, 204, 0.1);
    background: #f0f7ff;
}

.reality-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon {
    font-size: 24px;
}

.reality-card ul {
    list-style: none;
    padding: 0;
}

.reality-card li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: var(--text-primary);
}

.reality-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

/* Methodology Section */
.methodology-section {
    padding: 100px 0;
}

.bg-light {
    background-color: #fbfbfd;
}

.cgi-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.module-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-header {
    padding: 40px 30px;
    text-align: center;
    color: #fff;
}

.bg-core {
    background: linear-gradient(135deg, #0066cc, #005bb7);
}

.bg-guided {
    background: linear-gradient(135deg, #5856d6, #4b49ac);
}

.bg-indiv {
    background: linear-gradient(135deg, #30b0c7, #2690a3);
}

.module-char {
    font-size: 64px;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.9;
}

.module-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.module-sub {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

.module-body {
    padding: 30px;
}

.module-tagline {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.module-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Combination Section */
.combination-section {
    padding: 100px 0;
    background: #fff;
}

.combo-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.combo-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: #fbfbfd;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.combo-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.combo-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 99px;
    background: #e1f0ff;
    color: #0066cc;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
}

.combo-badge.type-b {
    background: #e6e6ff;
    color: #5856d6;
}

.combo-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.combo-formula {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

.combo-body {
    text-align: center;
}

.combo-target {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.combo-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Team Care Section */
.team-care-section {
    padding: 120px 0;
}

.bg-dark {
    background-color: #1d1d1f;
    color: #fff;
}

.white {
    color: #fff;
}

.white-dim {
    color: rgba(255, 255, 255, 0.8);
}

.team-care-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Closing Section */
.closing-section {
    padding: 120px 0 160px;
    text-align: center;
}

.closing-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.closing-desc {
    font-size: 22px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

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

    .program-hero p {
        font-size: 18px;
        padding: 0 20px;
    }

    .reality-check-grid {
        grid-template-columns: 1fr;
    }

    .cgi-modules-grid {
        grid-template-columns: 1fr;
    }

    .combo-container {
        flex-direction: column;
        align-items: center;
    }

    .closing-title {
        font-size: 32px;
    }

    .philosophy-text-large {
        font-size: 28px;
    }
}

/* --- System Quote Section --- */
.system-quote-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

/* --- Closing Info --- */
.closing-info {
    margin: 40px 0;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    /* Subtle bg on dark/image */
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.closing-info .info-line {
    font-size: 16px;
    margin-bottom: 8px;
    color: #e5e5e5;
}

.website-link-container {
    margin-top: 20px;
}

.website-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.website-link:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.highlight-text {
    color: var(--secondary-color);
    font-weight: 700;
}

/* --- Floating Chat Button --- */
.floating-chat-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(30, 30, 30, 0.7);
    /* Dark semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    background-color: rgba(30, 30, 30, 0.9);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.floating-chat-btn svg {
    width: 28px;
    height: 28px;
}

.floating-chat-btn::after {
    content: "채팅 문의";
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: rgba(30, 30, 30, 0.8);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    visibility: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.floating-chat-btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    visibility: visible;
}

/* --- Philosophy Video & Story --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 800px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.philosophy-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.story-block {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
}

.story-block.highlight-block {
    background: #fff;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.story-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

@media (max-width: 768px) {
    .philosophy-story {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   VELIN PAGE (vp-) — Standalone Landing Page Styles
   ============================================================ */

/* --- Page-level dark base --- */
.velin-page {
    background-color: #0a0a1a;
    color: #f5f5f7;
}

.reviews-page-dark {
    background-color: #121217;
    color: #f5f5f7;
}

.reviews-page-dark .section-title {
    color: #ffffff;
}

.reviews-page-dark .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.reviews-page-dark .section-eyebrow {
    color: var(--accent-color);
}

.reviews-page-dark .section-eyebrow.gold {
    color: #D4AF37;
}

/* --- 1. HERO --- */
.vp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-height) + 60px) 20px 80px;
    overflow: hidden;
}

.vp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.vp-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: vpOrbFloat 12s ease-in-out infinite alternate;
}

.vp-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6), transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.vp-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 70%);
    top: 30%;
    right: -5%;
    animation-delay: -4s;
}

.vp-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
    bottom: -10%;
    left: 30%;
    animation-delay: -8s;
}

@keyframes vpOrbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.vp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.vp-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.vp-hero-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
}

.vp-title-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    justify-content: center;
}

.vp-hero-beta-status {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    margin: 12px 0 0;
}

.vp-hero-title {
    font-size: 100px;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #7eb6ff, #c691e6, #ff85a1, #a6e5ff, #7eb6ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: velinShimmer 8s linear infinite;
    margin: 0;
    line-height: 1;
}



.vp-hero-subtitle-kr {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.vp-hero-tagline {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
}

.vp-hero-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.vp-hero-btns {
    margin-top: 40px;
}

/* Velin CTA Button Base */
.velin-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.velin-cta-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2);
}

.velin-cta-btn:hover .cta-arrow {
    opacity: 0.8;
}

.velin-cta-btn:active {
    transform: scale(0.98);
}

.cta-arrow {
    opacity: 0.5;
    font-size: 0.85em;
    margin-left: 4px;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.vp-hero-tagline strong {
    font-weight: 700;
    color: #ffffff;
}


/* Scroll Indicator */
.vp-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.vp-scroll-indicator span {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.vp-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: vpScrollPulse 2s ease-in-out infinite;
}

@keyframes vpScrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.7);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* --- 1.5. PROBLEM SECTION --- */
.vp-problem-section {
    padding: 100px 0 80px;
    background-color: #0d0d20;
    /* Blends with feature section */
    position: relative;
    z-index: 2;
}

.vp-problem-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.vp-problem-header {
    text-align: left;
    max-width: 600px;
    /* Make the title sticky on mobile as well */
    position: sticky;
    top: 80px;
    z-index: 10;
}

.vp-problem-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ff85a1;
    /* Accent pink from the gradient */
    margin-bottom: 20px;
}

.vp-problem-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.vp-problem-title .highlight {
    color: #c691e6;
    /* Violet accent */
}

.vp-problem-content {
    display: flex;
    flex-direction: column;
    gap: 80vh;
    /* Extremely large gap so only one card is visible at a time during scroll */
    position: relative;
    z-index: 20;
    /* Ensure content stacks above the sticky header if needed */
}

.vp-problem-card {
    /* Increased opacity and added a dark tint to prevent text overlap */
    background: rgba(20, 20, 35, 0.95);
    /* Even more opaque */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 48px;
    /* Increased padding for larger card feel */
    min-height: 40vh;
    /* Ensure the card has substantial height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;

    /* Sticky Card Stacking Implementation */
    position: sticky;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    /* Stronger shadow */
    backdrop-filter: blur(24px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(24px);
}

/* Base sticky offsets (Mobile first) */
/* Push cards lower on mobile so they don't cover the sticky title immediately */
.vp-problem-card:nth-child(1) {
    top: 220px;
}

.vp-problem-card:nth-child(2) {
    top: 240px;
    /* Stacks 20px below the first */
}

.vp-problem-card:nth-child(3) {
    top: 260px;
    /* Stacks 20px below the second */
}

.vp-problem-card.active-card,
.vp-problem-card:hover {
    background: rgba(40, 25, 60, 0.95);
    /* Solid dark violet */
    border-color: rgba(198, 145, 230, 0.5);
    box-shadow: 0 10px 40px rgba(198, 145, 230, 0.15);
    /* Add slight glow */
}

/* New Badge styles for Problems */
.vp-problem-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.badge-problem {
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.2);
}

.badge-limitation {
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.2);
}

.badge-solution {
    background: rgba(167, 139, 250, 0.1);
    color: #c4b5fd;
    border-color: rgba(167, 139, 250, 0.2);
}

.vp-problem-card:hover .vp-problem-badge {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vp-problem-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.4;
    word-break: keep-all;
}

.vp-problem-card-desc {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    word-break: keep-all;
}

@media (min-width: 1024px) {
    .vp-problem-layout {
        flex-direction: row;
        gap: 80px;
        align-items: flex-start;
    }

    .vp-problem-header {
        top: 120px;
        flex: 0 0 400px;
    }

    .vp-problem-content {
        flex: 1;
        padding-top: 16px;
        gap: 32px;
        /* Reset to a normal gap for desktop so all cards are visible */
    }

    /* Override sticky stacking for desktop - make them flow naturally */
    .vp-problem-card {
        position: relative;
        top: auto !important;
        /* Disable stacking top offsets */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        min-height: auto;
        padding: 40px;
    }
}

/* --- 1.6 CORE FEATURES SHOWCASE (Z-Pattern) --- */
.vp-core-features {
    padding: 120px 0;
    background-color: #0d0d20;
    /* Dark premium background */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.vp-showcase-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 160px;
}

.vp-showcase-item:last-child {
    margin-bottom: 0;
}

.vp-showcase-item.reverse {
    flex-direction: row-reverse;
}

.vp-showcase-text {
    flex: 1;
    max-width: 700px;
}

.vp-showcase-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #818cf8;
    /* Indigo accent */
    margin-bottom: 24px;
    text-transform: uppercase;
}

.vp-showcase-heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 24px;
    word-break: keep-all;
}

.vp-showcase-desc {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    word-break: keep-all;
}

.vp-showcase-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Simulate a phone bezel/mockup treatment */
.vp-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px;
    border-radius: 40px;
    background: #000;
    padding: 0;
    /* Removed Bezel as requested */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Inner screen area */
.vp-mockup-screen {
    width: 100%;
    height: auto;
    border-radius: 32px;
    /* Slightly smaller to fit inside bezel */
    overflow: hidden;
    background: #111;
    /* Screen background if image doesn't cover */
    display: block;
    /* Remove default image spacing */
}

/* Subtle glow behind the phone */
.vp-showcase-image::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
}

.vp-mockup-wrapper {
    z-index: 1;
    /* Place over glow */
    background: #fdfdfd;
    /* Lighter for voice app */
    overflow: hidden;
}

/* --- Premium Mockup Wrappers (Unified) --- */
.vp-voice-mockup-wrapper,
.vp-planner-mockup-wrapper {
    width: 100% !important;
    max-width: 540px !important;
    /* Unified size */
    aspect-ratio: 1 / 1 !important;
    /* Premium Balanced Look */
    border-radius: 40px !important;
    background: #fff !important;
    padding: 0 !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    margin: 0 auto;
}

.vp-planner-mockup-wrapper {
    background: #fff !important;
    /* Match inner box */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    /* Removed Bezel */
}

.vp-planner-mockup {
    background: #ffffff;
    border-radius: 40px;
    width: 100%;
    height: 100%;
    padding: 32px;
    /* Adjusted to prevent overflow on PC */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Spread items to fill the square */
    gap: 24px;
    font-family: 'Pretendard', sans-serif;
    color: #1d1d1f;
    text-align: left !important;
}

/* Header */
.planner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.planner-label {
    font-size: 20px;
    /* Increased from 16px */
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.planner-date-badge {
    border: 1.5px solid #e5e5ea;
    padding: 6px 16px;
    /* More compact */
    border-radius: 100px;
    font-size: 14px;
    /* More compact */
    font-weight: 700;
    display: flex;
    gap: 4px;
    margin-left: auto;
    /* Push to the right next to X button */
    margin-right: 12px;
    /* Space between date and X */
}

.p-date-end {
    color: #007aff;
}

.planner-close {
    color: #c7c7cc;
    width: 20px;
    height: 20px;
}

/* Content Card */
.planner-content {
    flex: 1;
    overflow: hidden;
    /* Prevent overflow */
}

.p-card {
    border: 1.5px solid #f2f2f7;
    border-radius: 20px;
    overflow: hidden;
}

.p-card-main {
    padding: 12px;
    /* More compact */
    display: flex;
    flex-direction: column;
}

.p-card-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    /* Balanced vertical fill */
    border-bottom: 1px solid #f2f2f7;
    justify-content: flex-start !important;
    text-align: left !important;
}

.p-card-row.p-row-title {
    align-items: flex-start;
    /* Maintain top alignment for Title + Subtitle */
}

.p-card-row:last-child {
    border-bottom: none;
}

.p-icon {
    width: 36px;
    /* Scaled up icon */
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.p-icon svg {
    width: 24px;
    /* Scaled up icon */
    height: 24px;
}

.p-icon-study {
    color: #c4c4c4;
}

.p-icon-check {
    color: #d1d1d6;
}

.p-icon-msg {
    color: #d1d1d6;
}

.p-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.p-title {
    font-size: 20px;
    /* Larger title for PC */
    /* More compact */
    font-weight: 800;
    color: #1d1d1f;
}

.p-subtitle {
    font-size: 16px;
    /* Larger subtitle */
    /* More compact */
    color: #1d1d1f;
    font-weight: 600;
}

.p-task-text {
    font-size: 17px;
    /* Larger task text */
    /* More compact */
    font-weight: 600;
    color: #1d1d1f;
    flex: 1;
    padding-top: 0;
}

.p-action-icon {
    width: 24px;
    height: 24px;
    color: #1d1d1f;
    border-left: 1px solid #f2f2f7;
    padding-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-action-icon svg {
    width: 16px;
    height: 16px;
}

/* Footer */
.planner-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.p-save-btn {
    background: #007aff;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    /* Restored original premium size */
    /* Reduced padding */
    border-radius: 100px;
    font-size: 16px;
    /* Restored font-size */
    /* Reduced font-size */
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
    transition: all 0.2s ease;
}

.p-save-btn svg {
    width: 18px;
    /* Restored icon-size */
    height: 18px;
}

/* Reduced icon-size */

/* Mobile Adjustments for Planner */
@media (max-width: 768px) {

    .vp-planner-mockup-wrapper,
    .vp-voice-mockup-wrapper {
        max-width: 100% !important;
        aspect-ratio: auto !important;
        /* Disable square on mobile for vertical flow */
    }
}

@media (max-width: 480px) {
    .vp-planner-mockup-wrapper {
        padding: 12px !important;
    }

    .vp-planner-mockup {
        padding: 20px;
        min-height: 420px;
        gap: 16px;
    }

    .planner-toggle {
        padding: 6px 14px;
        font-size: 13px;
    }

    .planner-date-badge {
        padding: 6px 12px;
        font-size: 13px;
    }

    .planner-label {
        font-size: 18px;
        /* Slightly smaller on mobile but still prominent */
    }

    .p-title {
        font-size: 15px;
    }

    .p-subtitle,
    .p-task-text {
        font-size: 13px;
    }

    .p-card-row {
        padding: 10px 0;
        /* Restore perfect mobile compact size */
        gap: 12px;
    }

    .p-icon {
        width: 28px;
        /* Restore perfect mobile compact icons */
        height: 28px;
    }

    .p-icon svg {
        width: 20px;
        height: 20px;
    }

    .p-title {
        font-size: 15px;
    }

    .p-subtitle,
    .p-task-text {
        font-size: 13px;
    }

    .p-card {
        padding: 12px !important;
    }
}

/* AI Voice Mockup Animation Styles - FINAL STABLE VERSION */
.vp-voice-mockup-anim {
    position: relative;
    width: 100%;
    max-width: 540px;
    /* Slightly wider to accommodate single-line text */
    aspect-ratio: 1 / 1 !important;
    /* Force square on ALL devices */
    background: #fff;
    display: flex;
    flex-direction: column;
    color: #1d1d1f;
    font-family: 'Pretendard', sans-serif;
    user-select: none;
    overflow: hidden;
    border-radius: 40px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    /* Deep shadow for premium feel */
}

/* Header - Positioned relatively so slides can fit below */
.voice-header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px;
    position: relative;
    z-index: 20;
    /* Keep above slides */
    background: #fff;
    border-bottom: 1px solid #f2f2f7;
}

.date-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    /* Optimized gap */
    padding: 6px 14px;
    border: 1px solid #e5e5ea;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    /* Prevent badge text wrapping */
}

.badge-mic-icon {
    width: 12px;
    height: 12px;
    color: #ff9500;
    flex-shrink: 0;
}

.date-range {
    font-size: 15px;
    font-weight: 700;
}

.share-icon {
    display: flex;
    align-items: center;
}

.share-icon svg {
    width: 22px;
    height: 22px;
    color: #8e8e93;
}

/* Content */
.voice-content {
    flex: 1;
    padding: 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* PURGED LEGACY ANIMATION CODE TO PREVENT CONFLICTS */

/* --- 12s PPT-Slide Based Synchronized Loop --- */

.voice-screen {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    /* More space for the long single-line text */
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    background: #ffffff;
}

/* UI Elements inside slides - CLEAN RESET */
.voice-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.data-blocks {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
}

.data-block {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.data-block.block-content {
    grid-column: span 2;
}

.block-label {
    font-size: 12px;
    font-weight: 700;
    color: #8e8e93;
    text-transform: uppercase;
}

.block-value {
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1f;
}

.corrected {
    color: #007aff;
    background: rgba(0, 122, 255, 0.08);
    padding: 0 4px;
    border-radius: 4px;
}

/* Individual Screen Gating - Unified Z-Index and Opacity */
.screen-ready {
    animation: screen1Timeline 12s infinite;
}

.screen-recording {
    animation: screen2Timeline 12s infinite;
}

.screen-result {
    animation: screen3Timeline 12s infinite;
}

/* 1. Screen 1: Ready - Absolute Top (Z-Index: 10) */
@keyframes screen1Timeline {

    0%,
    18% {
        opacity: 1;
        z-index: 10;
        transform: scale(1);
        pointer-events: auto;
    }

    19%,
    100% {
        opacity: 0;
        z-index: 1;
        transform: scale(0.98);
    }
}

/* 2. Screen 2: Recording - Absolute Top (Z-Index: 10) */
@keyframes screen2Timeline {

    0%,
    19.9% {
        opacity: 0;
        z-index: 1;
        transform: scale(0.98);
    }

    20% {
        opacity: 1;
        z-index: 10;
        transform: scale(1.02);
    }

    /* Juicy Pop */
    22%,
    58% {
        opacity: 1;
        z-index: 10;
        transform: scale(1);
        pointer-events: auto;
    }

    59%,
    100% {
        opacity: 0;
        z-index: 1;
        transform: scale(0.98);
    }
}

/* 3. Screen 3: Result - Absolute Top (Z-Index: 10) */
@keyframes screen3Timeline {

    0%,
    59.9% {
        opacity: 0;
        z-index: 1;
        transform: scale(0.98);
    }

    60% {
        opacity: 1;
        z-index: 10;
        transform: scale(1.02);
    }

    /* Juicy Pop */
    62%,
    95% {
        opacity: 1;
        z-index: 10;
        transform: scale(1);
        pointer-events: auto;
    }

    96%,
    100% {
        opacity: 0;
        z-index: 1;
        transform: scale(0.98);
    }
}

/* --- Internal Screen 2: Natural STT 'Burst-Style' Typing Effect --- */
.screen-recording {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screen-recording .speech-bubble {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    display: inline-block;
    position: relative;
    white-space: nowrap;
    /* Single line on PC */
    clip-path: inset(0 100% 0 0);
    animation: voiceTypingNatural 12s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.screen-recording .speech-bubble::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 10%;
    width: 3px;
    height: 80%;
    background: #007aff;
    border-radius: 2px;
    opacity: 0;
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.6);
    /* Active AI Glow */
    animation: voiceCursorNatural 12s infinite, voiceCursorPulse 0.4s infinite alternate ease-in-out;
}

/* Natural Speech Cadence (Burst-Style Phrase Recognition) */
@keyframes voiceTypingNatural {

    0%,
    22% {
        clip-path: inset(0 100% 0 0);
    }

    26% {
        clip-path: inset(0 70% 0 0);
    }

    /* 내일까지... */
    28% {
        clip-path: inset(0 70% 0 0);
    }

    /* Small pause */
    35% {
        clip-path: inset(0 45% 0 0);
    }

    /* 씐 수학... */
    38% {
        clip-path: inset(0 45% 0 0);
    }

    /* Small pause */
    48% {
        clip-path: inset(0 20% 0 0);
    }

    /* 미적분... */
    52% {
        clip-path: inset(0 0 0 0);
    }

    /* 50쪽까지 풀기 완료 */
    59%,
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes voiceCursorNatural {

    0%,
    22% {
        opacity: 0;
        left: 0;
    }

    23% {
        opacity: 1;
        left: 0;
    }

    /* Cursor starts */
    26% {
        left: 30%;
    }

    28% {
        left: 30%;
    }

    35% {
        left: 55%;
    }

    40% {
        left: 55%;
    }

    48% {
        left: 80%;
    }

    52%,
    58% {
        opacity: 1;
        left: 100%;
    }

    /* Success position */
    59%,
    100% {
        opacity: 0;
        left: 100%;
    }
}

/* Active Processing Pulse */
@keyframes voiceCursorPulse {
    from {
        transform: scaleY(1);
        opacity: 1;
    }

    to {
        transform: scaleY(1.2);
        opacity: 0.8;
    }
}

/* --- Internal Screen 3: Data Blocks (Pop in together) --- */
.screen-result .data-block {
    animation: voiceDataPop 12s infinite;
}

@keyframes voiceDataPop {

    0%,
    61% {
        opacity: 0;
        transform: translateY(10px);
    }

    63%,
    95% {
        opacity: 1;
        transform: translateY(0);
    }

    96%,
    100% {
        opacity: 0;
    }
}

/* Shared Button Styles inside Screens */
.voice-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-bottom: 24px;
}

.action-btn-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-record {
    background: #007aff;
    color: #ffffff;
}

.btn-stop {
    background: #ff3b30;
    color: #ffffff;
}

.btn-success {
    background: #34c759;
    color: #ffffff;
}

/* Stop Square Icon */
.icon-square {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 4px;
}

.action-btn i,
.action-btn svg {
    width: 32px;
    height: 32px;
}

/* Correction Highlights (Preserved) */
@keyframes voiceCorrectionPop {

    0%,
    80% {
        transform: scale(1);
        background: transparent;
    }

    84%,
    90% {
        transform: scale(1.05);
        background: rgba(0, 122, 255, 0.1);
    }
}

@keyframes voiceRotate {
    to {
        transform: rotate(360deg);
    }
}

/* Multi-Device Responsive Fix for Mockup (Phones & Tablets) */
@media (max-width: 768px) {
    .vp-showcase-image {
        padding: 0 !important;
        /* Eliminate parent squeeze */
        margin: 0 !important;
        width: 100% !important;
    }

    .vp-voice-mockup-wrapper {
        width: 96% !important;
        /* Maximize visibility */
        max-width: 460px !important;
        margin: 10px auto !important;
        padding: 6px !important;
        /* Thinner Bezel on mobile for more room */
        border-radius: 30px;
    }

    .vp-voice-mockup-anim {
        border-radius: 24px;
        aspect-ratio: 1 / 1 !important;
    }

    .voice-screen {
        top: 60px;
        height: calc(100% - 60px);
        padding: 0 16px;
        /* Aggressive space recovery */
    }

    .voice-header {
        height: 64px;
        padding: 0 16px;
    }

    .date-range {
        font-size: 14px;
        /* Larger header text */
    }

    .screen-recording .speech-bubble {
        font-size: 20px;
        /* Stronger presence */
        line-height: 1.4;
        padding: 0 10px;
        white-space: normal;
        /* Allow wrap on mobile */
        word-break: keep-all;
    }

    .data-blocks {
        gap: 12px;
    }

    .data-block {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .block-label {
        font-size: 13px;
    }

    /* Larger labels */
    .block-value {
        font-size: 16px;
    }

    /* Larger values */

    .action-btn {
        width: 58px;
        height: 58px;
    }

    .action-btn svg {
        width: 28px;
        height: 28px;
    }
}

/* --- 2 & 3 & 4. FEATURE SECTIONS --- */
.vp-feature-section {
    padding: 120px 0;
    position: relative;
    background-color: #0d0d20;
}

.vp-feature-section.vp-feature-dark {
    background-color: #080818;
}

.vp-feature-header {
    text-align: center;
    margin-bottom: 60px;
}

.vp-feature-number {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #818cf8;
    margin-bottom: 16px;
}

.vp-feature-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #f5f5f7;
    margin-bottom: 12px;
}

.vp-feature-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}

/* Feature Lead paragraph */
.vp-feature-detail {
    text-align: center;
    margin-bottom: 48px;
}

.vp-feature-lead {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* Toggle UI for Velin Features */
.vp-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.vp-target-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 980px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vp-toggle-btn {
    padding: 12px 28px;
    border-radius: 980px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: normal;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vp-toggle-btn:hover {
    color: #fff;
}

.vp-toggle-btn.active {
    color: #1d1d1f;
    background: #fff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.vp-toggle-content-area {
    width: 100%;
    max-width: 800px;
    position: relative;
    /* Hide scrollbars during transition */
    overflow: hidden;
}

.vp-toggle-content {
    display: none;
    animation: fadeUpContent 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.vp-toggle-content.active {
    display: block;
}

@keyframes fadeUpContent {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* Editorial Canvas Layout (Box-less) */
.vp-toggle-content.active {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    animation: canvasFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes canvasFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.vp-canvas-left {
    flex: 1.2;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.vp-canvas-right {
    flex: 1;
    padding-left: 20px;
}

.vp-canvas-summary {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    word-break: keep-all;
}

.vp-canvas-details {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.vp-canvas-details strong {
    color: #fff;
    font-weight: 600;
}

/* Premium Full Card Layout (Restored & Enhanced) */
.vp-benefit-card.vp-card-full {
    width: 100%;
    position: relative;
    padding: 64px 48px;
    background: rgba(255, 255, 255, 0.03);
    /* Subtle glass background */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vp-benefit-card.vp-card-full:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* Force vertical layout inside card sections */
.vp-card-layout.active {
    display: block !important;
}

.vp-card-lead {
    display: block;
    font-size: 30px;
    /* High impact lead */
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 24px;
    word-break: keep-all;
}

.vp-card-text {
    font-size: 18px;
    /* High readability body */
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    /* Muted contrast for readability */
    margin: 0;
    word-break: keep-all;
}

.vp-card-text strong {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .vp-target-toggle {
        width: 100%;
        max-width: 400px;
        padding: 4px;
        border-radius: 980px;
        display: flex;
        flex-direction: row;
    }

    .vp-toggle-btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .vp-toggle-content.active {
        flex-direction: column;
        gap: 32px;
    }

    .vp-canvas-left {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 24px;
    }

    .vp-canvas-right {
        padding-left: 0;
    }

    .vp-canvas-summary {
        font-size: 24px;
    }

    /* Mobile overrides for Showcase Z-Pattern */
    .vp-showcase-item,
    .vp-showcase-item.reverse {
        flex-direction: column;
        gap: 48px;
        margin-bottom: 80px;
        text-align: center;
    }

    .vp-showcase-text {
        max-width: 100%;
    }

    .vp-showcase-label {
        margin-bottom: 16px;
    }

    .vp-showcase-heading {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .vp-showcase-desc {
        font-size: 16px;
    }

    .vp-mockup-wrapper {
        max-width: 280px;
        /* Slightly smaller on mobile to ensure it fits */
        padding: 8px;
        /* Thinner bezel on mobile */
        border-radius: 36px;
    }

    .vp-mockup-screen {
        border-radius: 28px;
    }
}

/* Section 03: Purple Progression UI (6 Dots + Lines) */
.vp-progression-container {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.vp-progression-dots {
    display: flex;
    align-items: center;
    gap: 0;
    /* Let lines handle spacing */
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 980px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vp-progression-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    position: relative;
    z-index: 2;
    animation: dotSequencePurple 4.8s infinite both;
}

.vp-progression-line {
    width: 30px;
    height: 1px;
    background: rgba(168, 85, 247, 0.15);
    z-index: 1;
}

@keyframes dotSequencePurple {

    0%,
    100% {
        background: rgba(168, 85, 247, 0.1);
        box-shadow: none;
        transform: scale(1);
    }

    10%,
    60% {
        background: #a855f7;
        border-color: #a855f7;
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
        transform: scale(1.2);
    }
}

.vp-progression-dot:nth-child(1) {
    animation-delay: 0s;
}

.vp-progression-dot:nth-child(3) {
    animation-delay: 0.8s;
}

/* Skipping line children */
.vp-progression-dot:nth-child(5) {
    animation-delay: 1.6s;
}

.vp-progression-dot:nth-child(7) {
    animation-delay: 2.4s;
}

.vp-progression-dot:nth-child(9) {
    animation-delay: 3.2s;
}

.vp-progression-dot:nth-child(11) {
    animation-delay: 4.0s;
}

.vp-asset-layout {
    width: 100%;
    max-width: 1000px;
    margin: 60px auto 0;
}

/* Benefit Cards (Glassmorphism) */
.vp-benefit-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.vp-benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 32px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.4s ease,
        border-color 0.4s ease;
}

.vp-benefit-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.vp-card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.vp-card-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 8px;
}

.vp-card-student .vp-card-label {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.12);
}

.vp-card-parent .vp-card-label {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.12);
}

.vp-card-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    word-break: keep-all;
}

.vp-card-text strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

/* Stat Highlight (90%) */
.vp-stat-highlight {
    text-align: center;
    margin-bottom: 56px;
}

.vp-stat-number {
    font-size: 96px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.vp-stat-unit {
    font-size: 60px;
    font-weight: 700;
}

.vp-stat-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
}

/* --- Asset Block (Feature 3: Timeline) --- */
.vp-asset-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
}

.vp-asset-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vp-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.vp-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.vp-timeline-dot.active {
    background: #818cf8;
    border-color: #818cf8;
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.5);
}

.vp-timeline-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(129, 140, 248, 0.4), rgba(255, 255, 255, 0.1));
}

.vp-timeline-labels {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 12px;
    margin-left: 24px;
    position: absolute;
    left: 20px;
}

.vp-timeline-labels span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.02em;
}

.vp-asset-content {
    text-align: left;
}

.vp-asset-title {
    font-size: 24px;
    font-weight: 700;
    color: #f5f5f7;
    margin-bottom: 16px;
    line-height: 1.4;
}

.vp-asset-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
    word-break: keep-all;
}

.vp-asset-desc strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* --- 5. COMING SOON (벨린에어) --- */
.vp-coming-soon {
    position: relative;
    padding: 140px 0;
    background: linear-gradient(180deg, #080818 0%, #0f0f2e 50%, #0a0a1a 100%);
    overflow: hidden;
    text-align: center;
}

.vp-coming-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.vp-orb-air-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
    top: 10%;
    right: -10%;
    animation: vpOrbFloat 15s ease-in-out infinite alternate;
}

.vp-orb-air-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.2), transparent 70%);
    bottom: 10%;
    left: -5%;
    animation: vpOrbFloat 15s ease-in-out infinite alternate-reverse;
}

.vp-coming-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.vp-coming-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(192, 132, 252, 0.35);
    background: rgba(192, 132, 252, 0.1);
    color: #c4b5fd;
    margin-bottom: 28px;
}

.vp-coming-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f5f5f7;
    margin-bottom: 24px;
    line-height: 1.1;
}

.vp-air-suffix {
    font-weight: 300;
    background: linear-gradient(135deg, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vp-coming-desc {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    word-break: keep-all;
}

.vp-coming-desc strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* --- CTA Section --- */
.vp-cta-section {
    padding: 100px 0;
    background-color: #0a0a1a;
    text-align: center;
}

.vp-cta-lead {
    font-size: 22px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

/* Override btn-primary on dark page */
.velin-page .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: #fff;
}

.velin-page .btn-primary:hover {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    transform: scale(1.04);
}

/* --- Footer override for dark page --- */
.velin-page #footer,
.reviews-page-dark #footer,
.instructor-page #footer,
.program-page #footer {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
}

.velin-page .footer-company,
.reviews-page-dark .footer-company,
.instructor-page .footer-company,
.program-page .footer-company {
    color: rgba(255, 255, 255, 0.85);
    /* Brighter for important branch name */
}

.velin-page .footer-label,
.reviews-page-dark .footer-label,
.instructor-page .footer-label,
.program-page .footer-label,
.velin-page .footer-divider,
.reviews-page-dark .footer-divider,
.instructor-page .footer-divider,
.program-page .footer-divider,
.velin-page #footer-representative,
.reviews-page-dark #footer-representative,
.instructor-page #footer-representative,
.program-page #footer-representative,
.velin-page #footer-address,
.reviews-page-dark #footer-address,
.instructor-page #footer-address,
.program-page #footer-address,
.velin-page #footer-tel,
.reviews-page-dark #footer-tel,
.instructor-page #footer-tel,
.program-page #footer-tel,
.velin-page #footer-copyright,
.reviews-page-dark #footer-copyright,
.instructor-page #footer-copyright,
.program-page #footer-copyright {
    color: rgba(255, 255, 255, 0.45);
    /* Slightly increased from 0.35 */
}

/* --- Fade-in-up animation (used on velin page) --- */
.velin-page .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.velin-page .delay-1 {
    transition-delay: 0.15s;
}

.velin-page .delay-2 {
    transition-delay: 0.3s;
}

.velin-page .delay-3 {
    transition-delay: 0.45s;
}

.velin-page .delay-4 {
    transition-delay: 0.6s;
}

/* --- Mobile Nav override for dark page --- */
@media (max-width: 767px) {
    .velin-page .main-nav {
        background-color: #0a0a1a;
    }
}

.velin-page .main-nav a {
    color: rgba(255, 255, 255, 0.7);
}

.velin-page .main-nav a:hover,
.velin-page .main-nav a.active {
    color: #ffffff;
}

/* --- RESPONSIVE: Tablet & Mobile --- */
@media (max-width: 768px) {
    .vp-hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
        min-height: 85vh;
    }

    .vp-hero-title {
        font-size: 80px;
    }

    .vp-hero-subtitle-kr {
        font-size: 16px;
    }

    .vp-hero-tagline {
        font-size: 24px;
    }

    .vp-hero-desc {
        font-size: 15px;
    }

    .velin-cta-btn {
        padding: 14px 32px;
        font-size: 16px;
    }

    .vp-problem-section {
        padding: 60px 0;
    }

    .vp-problem-layout {
        gap: 100px;
        /* Increased to prevent jump when cards reach sticky position */
    }

    .vp-problem-title {
        font-size: 28px;
    }

    .vp-problem-card {
        padding: 24px;
        /* Adjust sticky offsets for mobile to prevent title overlap */
    }

    .vp-problem-header {
        top: 60px;
    }

    .vp-problem-card:nth-child(1) {
        top: 280px;
    }

    .vp-problem-card:nth-child(2) {
        top: 300px;
    }

    .vp-problem-card:nth-child(3) {
        top: 320px;
    }

    .vp-feature-section {
        padding: 80px 0;
    }

    .vp-feature-title {
        font-size: 36px;
    }

    .vp-benefit-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vp-benefit-card {
        padding: 28px 24px;
    }

    .vp-stat-number {
        font-size: 72px;
    }

    .vp-stat-unit {
        font-size: 44px;
    }

    .vp-asset-block {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .vp-asset-visual {
        order: -1;
    }

    .vp-timeline {
        flex-direction: row;
        gap: 0;
    }

    .vp-timeline-dot {
        width: 12px;
        height: 12px;
    }

    .vp-timeline-line {
        width: 40px;
        height: 2px;
        background: linear-gradient(to right, rgba(129, 140, 248, 0.4), rgba(255, 255, 255, 0.1));
    }

    .vp-timeline-labels {
        flex-direction: row;
        gap: 26px;
        margin-top: 12px;
        margin-left: 0;
        position: static;
    }

    .vp-asset-content {
        text-align: center;
    }

    .vp-coming-soon {
        padding: 100px 0;
    }

    .vp-coming-title {
        font-size: 48px;
    }

    .vp-coming-desc {
        font-size: 15px;
    }

    .vp-cta-section {
        padding: 80px 0;
    }

    .vp-cta-lead {
        font-size: 18px;
    }

    .vp-orb-1 {
        width: 300px;
        height: 300px;
    }

    .vp-orb-2 {
        width: 250px;
        height: 250px;
    }

    .vp-orb-3 {
        width: 200px;
        height: 200px;
    }
}

/* --- Desktop enhancements --- */
@media (min-width: 1024px) {
    .vp-hero-title {
        font-size: 96px;
    }

    .vp-hero-tagline {
        font-size: 32px;
    }

    .vp-feature-title {
        font-size: 48px;
    }

    .vp-stat-number {
        font-size: 120px;
    }

    .vp-stat-unit {
        font-size: 72px;
    }

    .vp-coming-title {
        font-size: 64px;
    }
}

/* Admission Page Styles */
.admission-hero {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 40px;
    text-align: center;
    background-color: #fff;
}

.admission-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.admission-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    margin-top: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

/* Vertical Timeline Line - Subtler and thinner */
.steps-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45px;
    width: 1px;
    background-color: #d2d2d7;
    /* Apple's light border/line color */
    z-index: 1;
}

.step-card {
    display: flex;
    gap: 48px;
    padding: 32px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    background: transparent;
}

.step-card:hover {
    transform: translateX(0);
    /* Removed hover effect for cleaner look */
    background: transparent;
}

.step-number {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #1d1d1f;
    /* Premium dark */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 0 10px #fff;
    /* Clean mask for the line */
}

.step-content {
    flex: 1;
    max-width: 600px;
}

.step-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.step-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-details li {
    font-size: 1.05rem;
    color: #86868b;
    /* Apple's secondary text color */
    line-height: 1.6;
    position: relative;
    padding-left: 0;
}

.step-details li::before {
    display: none;
    /* Removing the dots for a cleaner Apple look */
}

.step-details li strong {
    color: #1d1d1f;
}

/* Consultation Info Box - Redesigned */
.consultation-info-box {
    margin-top: 100px;
    background: #fff;
    padding: 48px;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.consultation-info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
}

.consultation-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 20px;
}

.consultation-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.consultation-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.consultation-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 113, 227, 0.08);
    /* Brand blue tint */
    color: #0071e3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.consultation-icon svg {
    width: 24px;
    height: 24px;
}

.consultation-details h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 12px 0;
}

.consultation-details p {
    font-size: 1rem;
    color: #515154;
    margin: 0 0 6px 0;
    line-height: 1.5;
}

.consultation-details .sub-text {
    font-size: 0.95rem;
    color: #86868b;
}

.consultation-notes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.consultation-notes li {
    font-size: 0.95rem;
    color: #515154;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.consultation-notes li::before {
    content: "•";
    color: #0071e3;
    position: absolute;
    left: 0;
}

/* Tuition Grid for Admission Page */
.tuition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.tuition-card {
    background: #fff;
    padding: 0;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    --glass-color: rgba(255, 255, 255, 0);
}

.card-core {
    background: radial-gradient(circle at 0% 0%, rgba(0, 113, 227, 0.18) 0%, rgba(255, 255, 255, 0) 60%), #fff;
}

.card-individual {
    background: radial-gradient(circle at 0% 0%, rgba(175, 82, 222, 0.18) 0%, rgba(255, 255, 255, 0) 60%), #fff;
}

.card-guided {
    background: radial-gradient(circle at 0% 0%, rgba(40, 205, 65, 0.18) 0%, rgba(255, 255, 255, 0) 60%), #fff;
}

.tuition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.tuition-card-header {
    padding: 40px 40px 25px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.tuition-cat-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1d1d1f;
    letter-spacing: -0.03em;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
}

.tuition-cat-name span {
    font-size: 1.2rem;
    font-weight: 500;
    color: #86868b;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    letter-spacing: normal;
}

.tuition-cat-desc {
    font-size: 0.95rem;
    color: #86868b;
    line-height: 1.5;
    text-align: left;
}

.tuition-table-wrapper {
    padding: 20px 40px 60px;
    background: rgba(255, 255, 255, 0.6);
}

.tuition-table {
    width: 100%;
    border-collapse: collapse;
}

.tuition-table thead th {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: #a1a1a6;
    padding: 12px 10px;
    border-bottom: 1px solid #f5f5f7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tuition-table thead th:first-child {
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    width: 20%;
}

.tuition-table thead th:not(:first-child) {
    width: 40%;
}

.tuition-row {
    border-bottom: 1px solid #f5f5f7;
    transition: background 0.2s ease;
}

.tuition-row:last-child {
    border-bottom: none;
}

.tuition-row td {
    padding: 24px 10px;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}

.tuition-row td:first-child {
    text-align: center;
    white-space: normal;
}

.tuition-level-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.level-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1d1d1f;
}

.level-hours {
    font-size: 0.75rem;
    color: #86868b;
    font-weight: 500;
}

.price-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
}

/* Addon Banner */
.tuition-addon-banner {
    margin-top: 40px;
    background: radial-gradient(circle at 0% 0%, rgba(40, 205, 65, 0.1) 0%, rgba(245, 245, 247, 1) 100%);
    border-radius: 24px;
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tuition-addon-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.addon-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.addon-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1d1d1f;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.addon-name span {
    font-size: 1rem;
    font-weight: 500;
    color: #86868b;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    letter-spacing: normal;
}

.addon-desc {
    font-size: 0.95rem;
    color: #86868b;
}

.addon-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.addon-price {
    font-size: 2rem;
    font-weight: 800;
    color: #1d1d1f;
}

.addon-subinfo {
    font-size: 0.85rem;
    color: #86868b;
    font-weight: 500;
}

.tuition-notice {
    margin-top: 40px;
    color: #86868b;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 768px) {
    .tuition-grid {
        grid-template-columns: 1fr;
    }

    .tuition-card-header {
        padding: 30px 40px 15px;
        margin: 0;
    }

    .tuition-table-wrapper {
        padding: 20px 0 40px;
        margin: 0;
    }

    .tuition-table {
        width: 90%;
        margin: 0 auto;
    }

    .tuition-table thead th:first-child {
        width: 30%;
    }

    .tuition-table thead th:not(:first-child) {
        width: 35%;
    }

    .level-name {
        font-size: 1.4rem;
    }

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

    .tuition-addon-banner {
        flex-direction: column;
        text-align: left;
        align-items: stretch;
        padding: 24px;
        gap: 16px;
    }

    .addon-price-wrapper {
        align-self: flex-end;
        text-align: right;
    }

    .addon-price {
        font-size: 1.5rem;
        margin-top: 0;
    }
}

@media (max-width: 1100px) {
    .admission-accordion-layout {
        flex-direction: column;
    }

    .accordion-image-panel {
        height: 320px;
        width: 100%;
        border-radius: 24px;
    }

    .accordion-pills {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .admission-hero h1 {
        font-size: 2.5rem;
    }

    .consultation-info-box {
        padding: 32px 24px;
        gap: 24px;
    }

    .consultation-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Mobile: standard column flow: Pills (Top), Card (Middle), Arrows (Bottom) */
    .admission-accordion-layout {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }

    /* Image panel stays in natural flow */
    .accordion-image-panel {
        position: relative !important;
        top: auto !important;
        height: auto;
        min-height: unset;
        width: 100%;
        border-radius: 24px;
        aspect-ratio: unset;
        flex-shrink: 0;
        overflow: hidden;
    }


    /* Hide the actual image on mobile — show text content instead */
    .accordion-image-panel img {
        display: none;
    }

    /* Mobile detail overlay */
    .mobile-step-detail {
        display: flex !important;
        inset: 0;
    }

    /* Pills stay at the top in natural flow */
    .accordion-pills {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .accordion-pills::-webkit-scrollbar {
        display: none;
    }

    /* Pill chips: no expand, just compact horizontal tags */
    .acc-pill {
        flex-shrink: 0;
        border-radius: 100px !important;
        min-width: fit-content;
    }

    /* Hide body/content always on pills — content goes into the panel */
    .acc-pill .acc-body {
        display: none !important;
    }

    .acc-pill .acc-icon {
        display: none !important;
    }

    .acc-pill-header {
        padding: 10px 18px 10px 10px;
    }

    .acc-num {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
    }

    .acc-title {
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

/* content panel inside the slider area */
.step-content-panel {
    flex: 0 0 100%;
    /* Take full width of the track */
    min-height: 380px;
    /* Reduced to match the height of 5 pills */
    background: #fff;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 40px 48px;
    /* Reduced vertical padding */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.step-content-panel:not(.active) {
    opacity: 0.4;
    filter: blur(4px);
    transform: scale(0.98);
}

.step-content-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.step-content-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

@media (max-width: 1100px) {
    .step-content-panel {
        flex: 0 0 100%;
        min-height: 200px;
        padding: 40px 24px 20px;
        border-radius: 24px;
        margin-top: 0;
    }
}

.panel-step-num {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0071e3;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.panel-step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-align: left;
    width: 100%;
}

.panel-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-step-list li {
    font-size: 1.05rem;
    color: #515154;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.panel-step-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0071e3;
}

.card-cta-wrapper {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.card-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0071e3;
    color: #fff;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #0071e3;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.1);
}

.card-cta-btn:hover {
    background: #fff;
    color: #000;
    border-color: #0071e3;
    transform: scale(1.04);
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.15);
}

.card-cta-btn:active {
    transform: scale(0.98);
}

.card-cta-btn:hover .cta-arrow {
    opacity: 0.8;
}



/* ===== Pill Accordion Layout ===== */
.admission-accordion-layout {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    align-items: flex-start;
    /* Revert to top alignment */
}

.accordion-pills {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Restore gaps instead of space-between */
}

@media (max-width: 1100px) {
    .admission-accordion-layout {
        flex-direction: column;
        /* Pills on top, details on bottom */
        gap: 30px;
    }

    .accordion-pills {
        flex: none;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 5px 0 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        gap: 8px;
    }

    .acc-pill {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

.acc-pill {
    background: #f5f5f7;
    border-radius: 100px;
    overflow: hidden;
    cursor: pointer;
    transition: border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.acc-pill:not(.active):hover {
    background: #ebebee;
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.acc-pill.active {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.acc-pill-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px 14px 14px;
    user-select: none;
}

.acc-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1d1d1f;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

/* Right Content Wrapper to handle the panel and the nav controls together */
.accordion-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: sticky;
    /* Move sticky here so buttons follow the card on PC */
    top: 120px;
}

@media (max-width: 1100px) {
    .accordion-content-wrapper {
        width: 100%;
    }
}

.acc-pill.active .acc-num {
    background: #0071e3;
}

.acc-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1d1d1f;
    flex: 1;
}

.acc-pill .acc-body,
.acc-pill .acc-icon {
    display: none !important;
}

.acc-body ul {
    display: none !important;
}

.acc-body ul li {
    font-size: 0.97rem;
    color: #515154;
    line-height: 1.6;
    text-align: left;
}


.acc-body .sub-note {
    font-size: 0.88rem;
    color: #86868b;
    display: block;
    margin-top: 3px;
}

.acc-pill .acc-body {
    display: none !important;
}

.acc-pill .acc-icon {
    display: none !important;
}

/* Slider Viewport */
.accordion-image-panel {
    flex: 1;
    min-height: 380px;
    /* Match the new panel height */
    background: transparent;
    overflow: hidden;
}

.step-slider-track {
    display: flex;
    width: 100%;
    /* Individual cards are 100% of this container */
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.accordion-image-panel img.loaded {
    opacity: 1;
}

/* Slider Nav Buttons (Always Below Content) */
.slider-nav {
    display: flex;
    /* Show on all screens */
    position: relative;
    margin-top: 24px;
    /* Reduced margin for tighter integration */
    pointer-events: none;
    z-index: 10;
    justify-content: center;
    gap: 24px;
    padding: 0;
    width: 100%;
}

@media (max-width: 1100px) {
    .slider-nav {
        margin-top: 40px !important;
    }
}

.nav-btn {
    pointer-events: auto;
    /* Ensure individual buttons are clickable */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn svg {
    stroke: currentColor;
}

/* Admission CTA Specific */
.admission-cta-section .section-title {
    margin-bottom: 40px;
}

.admission-cta-section .cta-btns {
    gap: 16px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* White Card Variant for Admission CTA */
.white-card {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
}

.white-card .admission-title {
    font-family: var(--font-body) !important;
    font-size: 2.8rem !important;
    font-style: normal !important;
    color: var(--text-primary) !important;
    text-shadow: none !important;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.white-card .admission-btns .btn-primary {
    background: var(--accent-color) !important;
    color: #fff !important;
}

.white-card .admission-btns.row-layout {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    width: 100%;
}

/* Polished Boarding Pass CTA Style */
.boarding-pass-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 0;
}

.boarding-pass {
    --primary-color: #0066cc;
    /* Brand Blue */
    display: flex;
    width: 95%;
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    min-height: 240px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.boarding-pass:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.1);
}

.ticket-main,
.ticket-stub {
    padding: 40px 32px;
    /* Reduced side padding for better left alignment */
    position: relative;
}

.ticket-main {
    flex: 1.6;
    border-right: 2px dashed #f0f0f2;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.ticket-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.ticket-badge {
    background: rgba(0, 113, 227, 0.08);
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.ticket-type {
    font-size: 0.75rem;
    font-weight: 700;
    color: #d2d2d7;
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}

.ticket-item {
    display: flex !important;
    flex-direction: column !important;
    padding-left: 24px !important;
    /* Force consistent indent for vertical alignment */
    position: relative !important;
    text-align: left !important;
}

.ticket-item label {
    display: flex !important;
    align-items: center !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: #86868b !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.02em !important;
}

.blue-dot {
    width: 6px !important;
    height: 6px !important;
    background-color: var(--primary-color) !important;
    border-radius: 50% !important;
    position: absolute !important;
    left: 0 !important;
    top: 5px !important;
    /* Centered with label height */
}

.ticket-item .value {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #1d1d1f;
    /* Removed !important to allow animation overrides */
    margin-left: 0 !important;
}

.ticket-item .value.large {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
}

.ticket-footer-info {
    display: flex !important;
    gap: 48px !important;
    padding: 20px 0 0 24px !important;
    /* Base indent matching ticket-item text position */
    border-top: 1px solid #f5f5f7 !important;
}

.ticket-footer-info .ticket-item {
    padding-left: 0 !important;
    /* Remove secondary indent so text hits the same axis */
}

/* Forced Specificity for Status Blinking */
.boarding-pass .ticket-footer-info .ticket-item .value.status-boarding {
    color: #2ecc71 !important;
    /* Fixed Vibrant Light Green */
    font-weight: 700 !important;
    animation: statusBlink 1.5s ease-in-out infinite !important;
    display: inline-block !important;
}

@keyframes statusBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.ticket-stub {
    flex: 1;
    background: #fafafb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(0, 0, 0, 0.02);
}

/* Iconic Ticket Notches */
.boarding-pass::before,
.boarding-pass::after {
    content: '';
    position: absolute;
    left: 61.5%;
    /* Match perforation */
    width: 28px;
    height: 28px;
    background: #f5f5f7;
    border-radius: 50%;
    z-index: 5;
    transform: translateX(-50%);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.02);
}

.boarding-pass::before {
    top: -14px;
}

.boarding-pass::after {
    bottom: -14px;
}

.stub-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #d2d2d7;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.stub-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.25;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.stub-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-btn-primary {
    background: #1d1d1f;
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    border: 1px solid #1d1d1f;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ticket-btn-primary:hover {
    background: #fff;
    color: #000;
    transform: scale(1.04);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.ticket-btn-primary:active {
    transform: scale(0.98);
}

.stub-sub-btns {
    display: flex;
    gap: 10px;
}

.ticket-icon-btn {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticket-icon-btn:hover {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
    transform: scale(1.04);
}

.ticket-icon-btn:active {
    transform: scale(0.98);
}

.ticket-icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .boarding-pass {
        flex-direction: column;
        max-width: 100%;
        min-height: auto;
    }

    .ticket-main {
        border-right: none;
        border-bottom: 2px dashed #f0f0f2;
        padding: 40px 24px;
    }

    .ticket-stub {
        padding: 40px 24px;
    }

    .boarding-pass::before,
    .boarding-pass::after {
        left: -14px;
        top: 61%;
        /* Horizontal perforation */
        transform: translateY(-50%);
    }

    .boarding-pass::after {
        left: auto;
        right: -14px;
    }

    .ticket-info-grid {
        gap: 32px;
    }

    .ticket-footer-info {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .ticket-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .ticket-item:first-child {
        grid-column: span 2;
    }

    .ticket-footer-info {
        display: none;
    }

    .ticket-item .value.large {
        font-size: 1.8rem;
    }

    .stub-title {
        font-size: 1.6rem;
    }
}

/* Cleaned up duplicate declarations */
.btn-notice-new {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 102, 204, 0.2);
    padding: 6px 24px 6px 6px;
    height: 56px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.2);
    animation: btnBlueBreathing 3s ease-in-out infinite;
    transform: translateZ(0);
    /* GPU acceleration for smooth animation */
}

.btn-notice-new:hover {
    background: #f8fbff;
    border-color: rgba(0, 102, 204, 0.4);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.35);
}

.btn-notice-new .notice-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-right: 16px;
    transition: transform 0.3s ease;
    padding: 0px;
}

.btn-notice-new .notice-icon-circle svg {
    width: 24px;
    height: 24px;
}

.btn-notice-new:hover .notice-icon-circle {
    transform: scale(1.1);
}

.btn-notice-new .notice-text {
    font-size: 17px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.01em;
}

@keyframes btnBlueBreathing {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 102, 204, 0.2);
        border-color: rgba(0, 102, 204, 0.2);
    }

    50% {
        box-shadow: 0 0 45px rgba(0, 102, 204, 0.5);
        border-color: rgba(0, 102, 204, 0.6);
    }
}

/* -------------------------------------------------------------------------- */
/* Admission Stats Section (Admission Results) */
/* -------------------------------------------------------------------------- */
.admission-stats-section {
    background-color: #000000;
    /* Solid black to match page theme */
    padding: 20px 0 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.admission-stats-section .content-wrapper {
    max-width: 1100px;
}

.stats-header {
    margin-bottom: 80px;
}

.stats-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.53);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.live-dot {
    width: 9px;
    height: 9px;
    background-color: #00ff66;
    /* Bright digital green */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
    animation: slowLiveBlink 3s infinite ease-in-out;
    /* Slow blink */
}

@keyframes slowLiveBlink {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1.2);
    }

    50% {
        opacity: 0.2;
        filter: brightness(1);
    }
}

.stats-main-title {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    /* Space above divider */
}

.title-divider {
    width: 100px;
    /* Slightly wider but thinner */
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    /* Match the subtle highlights divider */
    margin: 0 auto 60px;
    /* Separation from stats below */
}

/* Neon Scoreboard Theme */
.neon-scoreboard-theme {
    padding: 120px 0;
    background-color: #000;
}

.scoreboard-container {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 48px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8),
        0 40px 100px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Scoreboard Header */
.scoreboard-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.neon-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    text-transform: uppercase;
}

.scoreboard-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    opacity: 0.9;
}

.scoreboard-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    margin-top: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.scoreboard-main {
    margin: 40px 0 80px 0;
    position: relative;
    z-index: 10;
}

.main-neon {
    font-size: 12rem;
    font-weight: 950;
    color: #ff4d00;
    /* Neon Orange */
    text-shadow: 0 0 20px rgba(255, 77, 0, 0.7),
        0 0 40px rgba(255, 77, 0, 0.4),
        0 0 100px rgba(255, 77, 0, 0.2);
    line-height: 0.9;
    font-family: var(--font-heading);
    letter-spacing: -0.05em;
    animation: neonFlicker 6s infinite ease-in-out;
    display: inline-block;
}

.scoreboard-main .stat-unit {
    font-size: 3rem;
    color: #ff4d00;
    font-weight: 800;
    margin-left: 10px;
    opacity: 0.8;
}

@keyframes neonFlicker {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        opacity: 1;
        filter: brightness(1) contrast(1);
    }

    20%,
    24%,
    55% {
        opacity: 0.93;
        filter: brightness(0.88) contrast(1.1);
    }
}

/* For main neon */
.main-neon {
    font-size: 12rem;
    font-weight: 950;
    color: #ff4d00;
    text-shadow: 0 0 20px rgba(255, 77, 0, 0.7),
        0 0 40px rgba(255, 77, 0, 0.4),
        0 0 100px rgba(255, 77, 0, 0.2);
    line-height: 0.9;
    font-family: var(--font-heading);
    letter-spacing: -0.05em;
    animation: neonFlicker 8s infinite ease-in-out;
    /* Slower and calmer */
    display: inline-block;
}

.scoreboard-sub-highlight {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 -40px -80px -40px;
    border-bottom-left-radius: 46px;
    border-bottom-right-radius: 46px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-label {
    font-size: 18px;
    /* UI logic: Primary sub-indicator label */
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.highlight-value {
    font-size: 58px;
    /* Giant enough to bridge the gap with main neon */
    font-weight: 800;
    color: #fff;
}

.highlight-value .stat-number {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.highlight-divider {
    width: 1px;
    height: 70px;
    /* Increased to match larger text */
    background: rgba(255, 255, 255, 0.1);
}

.scoreboard-legal {
    margin-top: 60px;
    padding: 0 40px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-neon {
        font-size: 10rem;
    }

    .highlight-value {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .admission-stats-section {
        padding: 40px 0;
    }

    .scoreboard-container {
        padding: 40px 10px 0 10px;
        /* Reduced top/bottom to let content fill */
        border-radius: 16px;
    }

    .stats-main-title {
        font-size: 38px;
        margin-bottom: 60px !important;
        /* Ensure separation on mobile */
        line-height: 1.1;
    }

    .scoreboard-title {
        font-size: 28px;
        /* Reduced as it's now a secondary title */
        letter-spacing: -0.04em;
        line-height: 1;
        opacity: 0.9;
    }

    .scoreboard-subtitle {
        font-size: 18px;
        /* Adjusted visibility */
        font-weight: 700;
        margin-top: 8px;
        opacity: 0.8;
        color: #fff;
        letter-spacing: -0.01em;
    }

    .main-neon {
        font-size: 11rem;
        /* Extremely large */
        letter-spacing: -0.06em;
    }

    .scoreboard-main .stat-unit {
        font-size: 2.8rem;
        margin-left: 5px;
    }

    .seven-segment-display {
        gap: 8px;
        margin-bottom: 30px;
        margin-top: 20px;
    }

    .scoreboard-sub-highlight {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin: 0 -10px 0 -10px;
        /* Aligned with container bottom */
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        padding: 45px 5px;
    }

    .highlight-item {
        flex: 1;
        gap: 8px;
    }

    .highlight-label {
        font-size: 16px;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .highlight-value {
        font-size: 50px;
        /* Maximum impact */
        line-height: 1;
    }

    .highlight-divider {
        display: block;
        height: 50px;
        background: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 480px) {
    .main-neon {
        font-size: 5.5rem;
    }
}

/* Reviews Page Specific Styles */
.reviews-page-header {
    padding-top: 150px;
    padding-bottom: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .reviews-page-header {
        padding-top: 120px;
        padding-bottom: 40px;
    }
}

/* Reviews Page Layout Scaling - Give cards more breathing room */
.reviews-page-dark main .content-wrapper {
    max-width: 1180px;
}



/* Gallery Grid Layout Refined */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 50px;
    margin-top: 50px;
    padding-bottom: 100px;
}

/* Tablet: 2 columns */
@media (max-width: 1140px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 30px;
        row-gap: 40px;
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        margin-top: 30px;
    }
}

/* Fix overlapping cards by allowing them to shrink below default min-width */
.gallery-grid .testimonial-card {
    min-width: unset;
    max-width: 100%;
}

/* Adjust card height slightly for the grid if it's too tall in 3 columns */
.reviews-page-dark .testimonial-card {
    height: 440px;
    /* Slightly taller for extra lines */
    background-color: #000000;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: galleryItemFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        cardGoldBreathingDark 4s ease-in-out infinite;
    animation-delay: 0.1s, 0.7s;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        background-color 0s,
        border-color 0.1s;
}

/* Hover Effect for Reviews Gallery Cards */
.reviews-page-dark .testimonial-card:hover {
    transform: translateY(-12px) scale(1.03);
    background-color: #242426;
    border-color: #D4AF37;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
    animation-play-state: paused;
    z-index: 10;
}

/* Mobile Height Auto fallback for long reviews in the gallery */
@media (max-width: 768px) {
    .reviews-page-dark .testimonial-card {
        height: auto;
        min-height: 380px;
    }
}

@keyframes cardGoldBreathingDark {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
        border-color: rgba(212, 175, 55, 0.4);
    }

    50% {
        box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
        border-color: rgba(212, 175, 55, 0.8);
    }
}

.reviews-page-dark {
    background-color: #000000 !important;
}

/* ==========================================================================
   Program Page Premium Styles
   ========================================================================== */

/* Utility & Base */
.bg-light {
    background-color: #f8f8fa;
}

.dark-bg {
    background-color: #1d1d1f;
    color: #fff;
}

.dark-bg .section-title {
    color: #fff;
}

.dark-bg .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.text-center {
    text-align: center;
}

.accent {
    color: var(--accent-color);
}

/* Animation Utils */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

/* Sections */
.program-hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at top right, rgba(0, 102, 204, 0.05), transparent);
}

.hero-tags {
    margin-bottom: 24px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.hero-tag {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
    background: rgba(0, 102, 204, 0.08);
    padding: 4px 12px;
    border-radius: 999px;
}

.hero-headline {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subheadline {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    word-break: keep-all;
}

/* CGI Grid */
.cgi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.cgi-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    text-align: left;
}

.cgi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.cgi-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.cgi-card-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cgi-card-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.cgi-card-time {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: block;
}

.cgi-card-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Prescription UI */
.prescription-ui-container {
    max-width: 800px;
    margin: 50px auto 0;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.prescription-tabs {
    display: flex;
    background: #f0f0f2;
    padding: 6px;
}

.p-tab {
    flex: 1;
    padding: 16px;
    text-align: center;
    font-weight: 600;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.p-tab.active {
    background: #fff;
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.p-content-box {
    padding: 40px;
}

.p-content-title {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}

.p-content-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Ratio Bars */
.ratio-visual {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ratio-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ratio-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
}

.ratio-bar-bg {
    height: 12px;
    background: #f0f0f2;
    border-radius: 6px;
    overflow: hidden;
}

.ratio-bar-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 6px;
    transition: width 1s ease-out;
}

/* Duo Care / Bubbles */
.team-bubble-container {
    height: 300px;
    position: relative;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.bubble-main {
    width: 140px;
    height: 140px;
    background: rgba(0, 102, 204, 0.9);
    color: #fff;
    z-index: 3;
    left: 20%;
    animation: float 4s infinite ease-in-out;
}

.bubble-analyst {
    width: 140px;
    height: 140px;
    background: rgba(30, 30, 32, 0.8);
    color: #fff;
    z-index: 2;
    right: 20%;
    animation: float 4s infinite ease-in-out 1s;
}

.bubble-student {
    width: 180px;
    height: 180px;
    background: rgba(0, 102, 204, 0.1);
    border: 2px dashed var(--accent-color);
    color: var(--accent-color);
    z-index: 1;
    animation: float 5s infinite ease-in-out 0.5s;
}

/* Velin Partnership */
.velin-partnership-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mockup-img {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .cgi-grid {
        grid-template-columns: 1fr;
    }

    .velin-partnership-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-headline {
        font-size: 32px;
    }

    .team-bubble-container {
        height: 250px;
    }

    .bubble-main {
        left: 10%;
        width: 110px;
        height: 110px;
        font-size: 14px;
    }

    .bubble-analyst {
        right: 10%;
        width: 110px;
        height: 110px;
        font-size: 14px;
    }

    .bubble-student {
        width: 140px;
        height: 140px;
        font-size: 15px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

50% {
    transform: translateY(-15px);
}
}