@charset "utf-8";

/* =========================================
   K-ROPE 2030 REBOOT - MAIN STYLESHEET
   Target: 20-30s Demographic
   Theme: Sports Tech / Energetic Modernism
   Colors: Electric Blue (#0055FF), Neon Orange (#FF6600)
   ========================================= */

:root {
    --color-primary: #0055FF;
    --color-accent: #FF6600;
    --color-dark: #111111;
    --color-gray: #F5F7FA;
    --color-text-main: #222222;
    --color-text-sub: #666666;
    --font-main: 'Pretendard', 'Noto Sans KR', sans-serif;
}

/* Reset & Base */
.main-2030-container {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* For top banner positioning */
}

/* Fix GNB Dropdown Z-index Overlap on index_2030 */
.default-pc-menu-wrap,
#my-header,
#gnb {
    position: relative;
    z-index: 9999 !important;
}

.main-2030-container * {
    box-sizing: border-box;
}

/* Utilities */
.text-highlight {
    color: var(--color-accent);
    font-weight: 800;
}

.text-center {
    text-align: center;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-20 {
    margin-top: 20px;
}

.relative {
    position: relative;
}

.text-keep-all {
    word-break: keep-all;
    word-wrap: break-word;
}

.pc-hide {
    display: none;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* =========================================
   SECTION 0: TOP BANNERS (Glassmorphism)
   ========================================= */
.top-banner-wrapper {
    /* Removed absolute positioning for robust centering */
    /* position: absolute; */
    /* top: 120px; */
    /* Adjust based on header height */
    /* transform: translateX(-50%); */
    z-index: 2;
    /* Layer above hero scim */
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    justify-content: center;
    padding: 0 20px;
    margin-bottom: 120px;
    /* Increased to 120px to make it clearly 'twice' or more of previous 40-80px */
}

.banner-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background 0.2s;
    flex: 1;
    min-width: 300px;
}

.banner-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.badge-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 70px;
}

.badge-type {
    font-size: 11px;
    opacity: 0.8;
}

.badge-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.badge-status.on {
    background: var(--color-accent);
    color: #fff;
}

.badge-status.off {
    background: #666;
    color: #ccc;
}

.info-row {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-month {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFD700;
    /* Yellowish color for better visibility on dark background */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    white-space: nowrap;
    /* Prevent vertical breakage like 2\n월 */
    flex-shrink: 0;
}

.schedule-detail {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    line-height: 1.3;
}

.reg-date {
    font-size: 0.8rem;
    opacity: 0.7;
}

.btn-banner-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.btn-banner-link:hover {
    opacity: 1;
}


/* =========================================
   SECTION 1: HERO
   ========================================= */
.sec-hero {
    position: relative;
    height: 95vh;
    min-height: 600px;
    /* Reduced floor height to avoid excessive spacing */
    display: flex;
    flex-direction: column;
    /* Stack Banner and Content Vertically */
    align-items: center;
    justify-content: flex-start;
    /* Align content to top for predictable spacing */
    color: #fff;
    text-align: center;
    background-color: var(--color-dark);
    /* Aggressively reduced padding-top to make banners almost touch the header/top */
    padding-top: 10px;
}

.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    /* Temp Gradient */
    z-index: 0;
}

.hero-bg-placeholder .scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Darker for text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    color: var(--color-accent);
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-hero-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 85, 255, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 255, 0.6);
}

.btn-hero-secondary {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    z-index: 1;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =========================================
   SECTION 2: PROBLEM
   ========================================= */
.sec-problem {
    padding: 100px 0;
    background-color: var(--color-gray);
}

.container-2030 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    line-height: 1.3;
}

.section-title.text-white {
    color: #fff;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.problem-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.problem-card p {
    color: var(--color-text-sub);
    font-size: 1rem;
}

/* =========================================
   SECTION 3: SOLUTION
   ========================================= */
.sec-solution {
    padding: 100px 0;
    background: #fff;
}

.sub-title {
    display: block;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.solution-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.solution-row.reverse {
    flex-direction: row-reverse;
}

.solution-img-placeholder {
    flex: 1;
    height: 350px;
    background: #eee;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.solution-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f3f3f3 25%, #fff 25%, #fff 50%, #f3f3f3 50%, #f3f3f3 75%, #fff 75%, #fff 100%);
    background-size: 20px 20px;
    opacity: 0.3;
}

.solution-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solution-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.solution-img:hover img {
    transform: scale(1.05);
}

.solution-text {
    flex: 1;
}

.solution-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.solution-text p {
    font-size: 1.1rem;
    color: var(--color-text-sub);
    line-height: 1.7;
}

/* =========================================
   SECTION 4: PROOF (Testimonials)
   ========================================= */
.sec-proof {
    padding: 100px 0;
    background: var(--color-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.proof-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testi-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s;
}

.testi-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.role {
    font-size: 0.85rem;
    opacity: 0.8;
}

.testi-content {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    opacity: 0.95;
}

.testi-content strong {
    color: var(--color-accent);
}


/* =========================================
   SECTION 5: CTA
   ========================================= */
.sec-cta {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--color-text-sub);
    margin-bottom: 50px;
}

.btn-cta-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--color-primary), #0033cc);
    color: #fff;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 85, 255, 0.3);
    transition: transform 0.2s;
}

.btn-cta-primary:hover {
    transform: scale(1.05);
}

.link-cta-sub {
    color: var(--color-text-sub);
    text-decoration: underline;
    font-size: 0.95rem;
    cursor: pointer;
}

/* CTA Grid & Cards */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cta-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.cta-card p {
    font-size: 1rem;
    color: var(--color-text-sub);
    margin-bottom: 30px;
    flex: 1;
}

.btn-cta-card {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-cta-card.primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-cta-card:hover {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

.btn-cta-card.primary:hover {
    background: #0033cc;
    border-color: #0033cc;
}

/* =========================================
   RESPONSIVE (Mobile First Adaptation)
   ========================================= */
@media (max-width: 768px) {
    .mo-hide {
        display: none;
    }

    .pc-hide {
        display: block;
    }

    .top-banner-wrapper {
        flex-direction: column;
        /* top: 80px; Removed unused absolute offset */
        gap: 10px;
    }

    .banner-card {
        min-width: auto;
        padding: 10px;
    }

    .schedule-month {
        font-size: 1.4rem;
    }

    .sec-hero {
        padding-top: 20px;
        /* Aggressively reduced for mobile/tablet */
        min-height: auto;
        height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .solution-row,
    .solution-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
        text-align: left;
    }

    .solution-img-placeholder {
        width: 100%;
        height: 250px;
    }

    .solution-text h3 {
        font-size: 1.5rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testi-card {
        padding: 20px;
    }

    .proof-stats {
        flex-direction: column;
        gap: 40px;
    }

    .btn-cta-primary {
        width: 100%;
        padding: 20px;
        font-size: 1.1rem;
    }
}