/* ==========================================================================
   1. GLOBAL SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --bg-dark: #06090e;
    --bg-card: #0c1017;
    --border-color: #1a2230;
    --text-main: #f1f5f9;
    --text-sub: #94a3b8;
    
    --color-trad: #ef4444;
    --color-trad-light: #fca5a5;
    --color-trad-glow: rgba(239, 68, 68, 0.15);
    
    --color-clt: #10b981;
    --color-clt-light: #6ee7b7;
    --color-clt-glow: rgba(16, 185, 129, 0.15);
    
    --color-accent: #3b82f6;
    
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   2. APP FRAME & SIDE-BY-SIDE GRID
   ========================================================================== */
header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(6, 9, 14, 0.9);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.banner-logo-img {
    height: 90px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-tagline-text {
    font-size: 0.65rem;
    color: var(--text-sub);
    letter-spacing: 0.06em;
    font-family: var(--font-head);
    font-weight: 500;
    margin-top: 4px;
}

.banner-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 30px;
}

.banner-title-text-center {
    font-family: var(--font-head);
    font-size: clamp(1.3rem, 3.2vw, 1.95rem);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    text-align: center;
    white-space: nowrap;
}

.banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.iso-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-family: monospace;
}

.iso-dot {
    color: #3b82f6;
    font-size: 0.7rem;
}

.btn-domain {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-domain:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-sub);
}

/* ==========================================================================
   3. APPLE-STYLE SCROLL LAYOUT & SCENES
   ========================================================================== */
.hero-scene {
    text-align: center;
    padding: 40px 20px 24px 20px;
    max-width: 850px;
    margin: 0 auto;
}

.hero-scene h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-scene p {
    color: var(--text-sub);
    font-size: 1.15rem;
    line-height: 1.5;
}

/* Scene wrapper: sticky tracking container */
.scene-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}

/* Tab capsule navigation styling */
.tab-navigation-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.tab-navigation {
    display: flex;
    background: #0b111e;
    border: 1px solid var(--border-color);
    padding: 5px;
    border-radius: 30px;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 10px 24px;
    border-radius: 25px;
    color: var(--text-sub);
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-head);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.tab-btn.active {
    background: white;
    color: #06090e;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.tab-btn:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.04);
}

/* Vertical central flow line */
.scene-container::before {
    content: '';
    position: absolute;
    top: 90px; /* offset so line starts below the tab navigation bar */
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--border-color) 0%, rgba(26, 34, 48, 0.1) 100%);
    transform: translateX(-50%);
    z-index: 0; /* behind tab buttons (z-index 2+) */
}

.scene {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.side {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Standalone Top Profile Cards styling */
.profile-card-side {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-card-side:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.08);
}

.side-traditional-card {
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 25px var(--color-trad-glow);
}

.side-clt-card {
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 25px var(--color-clt-glow);
}

.profile-card-img-container {
    width: 240px;
    height: 240px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.profile-card-title {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.profile-card-desc {
    font-size: 0.95rem;
    color: var(--text-sub);
    max-width: 320px;
    margin: 0 auto;
}

.text-trad {
    color: var(--color-trad-light) !important;
}

.text-clt {
    color: var(--color-clt-light) !important;
}

.side:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.08);
}

.side-traditional {
    border-left: 4px solid var(--color-trad);
    box-shadow: 0 4px 20px var(--color-trad-glow);
}

.side-clt {
    border-left: 4px solid var(--color-clt);
    box-shadow: 0 4px 20px var(--color-clt-glow);
}

.scene-num {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    color: var(--text-sub);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-head);
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.vs-divider {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    color: var(--text-sub);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-head);
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.side h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.side-traditional h3 { color: var(--color-trad-light); }
.side-clt h3 { color: var(--color-clt-light); }

.side p {
    color: var(--text-sub);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 6px;
}

.side-traditional .status-indicator {
    background: rgba(239, 68, 68, 0.08);
    color: var(--color-trad-light);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.side-clt .status-indicator {
    background: rgba(16, 185, 129, 0.08);
    color: var(--color-clt-light);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   4. SCENE 1: GRADUATION DAY ANIMATION
   ========================================================================== */
.animation-stage {
    background: #020408;
    border: 1px solid #141b24;
    border-radius: 12px;
    height: 180px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grad-cap {
    font-size: 2.5rem;
    position: absolute;
    bottom: 20px;
    animation: throwCap 3s infinite ease-in-out;
}

@keyframes throwCap {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    30% { opacity: 1; }
    50% { transform: translateY(-80px) rotate(180deg); opacity: 1; }
    80% { opacity: 0.8; }
    100% { transform: translateY(0) rotate(360deg); opacity: 0; }
}

.road-map-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1px dashed var(--color-clt);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    text-align: center;
    color: var(--color-clt-light);
    animation: pulseRoadmap 2s infinite alternate;
}

@keyframes pulseRoadmap {
    0% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.2); }
    100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.5); }
}

/* ==========================================================================
   5. SCENE 2: RESUME SCANNER & ATS SIMULATOR
   ========================================================================== */
.resume-box {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 16px;
    font-size: 0.8rem;
    font-family: monospace;
    position: relative;
}

.ats-scanner-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-trad);
    box-shadow: 0 0 10px var(--color-trad);
    animation: scanResume 2.5s infinite ease-in-out;
}

.side-clt .ats-scanner-bar {
    background: var(--color-clt);
    box-shadow: 0 0 10px var(--color-clt);
}

@keyframes scanResume {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.skill-node {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.skill-node:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--color-clt);
    transform: scale(1.02);
}

/* ==========================================================================
   6. SCENE 3: LEARNING HIGHWAY
   ========================================================================== */
.highway-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
}

.highway-step {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.highway-step:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--color-accent);
}

.highway-step i {
    color: var(--color-accent);
}

/* ==========================================================================
   7. SCENE 4: INTERVIEW ANIMATIONS
   ========================================================================== */
.chat-dialogue {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    max-width: 85%;
}

.bubble-interviewer {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}

.bubble-candidate {
    align-self: flex-end;
    color: white;
}

.side-traditional .bubble-candidate {
    background: #374151;
}

.side-clt .bubble-candidate {
    background: #1e3a8a;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ==========================================================================
   8. SCENE 5: TIMELINE & SALARY METER
   ========================================================================== */
.salary-tracker {
    background: #020408;
    border: 1px solid #141b24;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.salary-val {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}

.side-traditional .salary-val { color: var(--color-trad); }
.side-clt .salary-val { color: var(--color-clt); }

/* ==========================================================================
   9. SCENE 6: SKILL CHART / COMPARISONS
   ========================================================================== */
.skill-chart-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.chart-bar-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bar-lbl {
    font-size: 0.8rem;
    color: var(--text-sub);
}

.bar-container {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
}

.side-traditional .bar-fill { background: var(--color-trad); }
.side-clt .bar-fill { background: var(--color-clt); }

/* ==========================================================================
   10. SCENE 7: COMPANIES CAROUSEL
   ========================================================================== */
.companies-ticker-wrap {
    background: #020408;
    border: 1px solid #141b24;
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.ticker-inner {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollTicker 20s linear infinite;
}

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

.logo-item {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-sub);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-item:hover {
    color: #60a5fa;
    transform: scale(1.05);
}

/* ==========================================================================
   11. SCENE 8: PORTFOLIO HUB CARDS
   ========================================================================== */
.portfolio-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.portfolio-item-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item-card:hover {
    background: rgba(16, 185, 129, 0.04);
    border-color: var(--color-clt);
}

.portfolio-item-card h4 {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.portfolio-item-card span {
    font-size: 0.75rem;
    color: var(--text-sub);
}

/* ==========================================================================
   12. INTERACTIVE MODAL & SLIDE OVERLAYS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 9, 14, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    max-width: 550px;
    width: 100%;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: openCard 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes openCard {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-sub);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-close:hover {
    color: white;
}

.modal-card h2 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-clt-light);
}

.modal-detail-row {
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.modal-detail-row h4 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.modal-detail-row p {
    font-size: 0.85rem;
    color: var(--text-sub);
}

/* ==========================================================================
   13. FINAL CALL TO ACTION (CTA)
   ========================================================================== */
.cta-scene {
    text-align: center;
    padding: 48px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #091220 0%, #03060c 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.cta-scene h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-scene p {
    color: var(--text-sub);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px auto;
}

.btn-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

.btn-cta-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

footer {
    text-align: center;
    padding: 20px 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-sub);
}

/* ==========================================================================
   13.5 TAB FILTER LAYOUT SHOW/HIDE STATES
   ========================================================================== */
.scene-container.show-traditional .side-clt,
.scene-container.show-traditional .side-clt-card,
.scene-container.show-traditional .vs-divider,
.scene-container.show-traditional .scene-num {
    display: none !important;
}

.scene-container.show-traditional .scene {
    grid-template-columns: 1fr !important;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.scene-container.show-clt .side-traditional,
.scene-container.show-clt .side-traditional-card,
.scene-container.show-clt .vs-divider,
.scene-container.show-clt .scene-num {
    display: none !important;
}

.scene-container.show-clt .scene {
    grid-template-columns: 1fr !important;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* ==========================================================================
   14. MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 900px) {
    /* Header adjustments */
    header {
        padding: 12px 16px;
    }
    
    .banner-center {
        display: none; /* Hide duplicate title on tablets/mobile */
    }
    
    .iso-badge {
        display: none; /* Hide ISO badge to save space */
    }
    
    /* Scene containers stack */
    .scene {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }
    
    .side-traditional, .side-traditional-card {
        order: 1;
    }
    
    .vs-divider {
        order: 2;
        position: static;
        transform: none;
        margin: -8px auto;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }
    
    .side-clt, .side-clt-card {
        order: 3;
    }
    
    .scene-container::before {
        display: none;
    }
    
    .scene-num {
        display: none;
    }
    
    .hero-scene {
        padding: 30px 16px 20px 16px;
    }
    
    .hero-scene h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-scene p {
        font-size: 1rem;
    }
    
    .side {
        padding: 24px 20px;
    }
    
    .profile-card-side {
        padding: 28px 20px;
    }
    
    .profile-card-img-container {
        width: 180px;
        height: 180px;
        margin-bottom: 16px;
    }
    
    .profile-card-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 600px) {
    /* Header layout */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .banner-logo-img {
        height: 48px;
    }
    
    .logo-tagline-text {
        font-size: 0.55rem;
        letter-spacing: 0.02em;
    }
    
    .btn-domain {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    /* Tab navigation scrolling pill layout */
    .tab-navigation-container {
        padding: 0 10px;
        margin-bottom: 16px;
    }
    
    .tab-navigation {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        border-radius: 12px;
        padding: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .tab-navigation::-webkit-scrollbar {
        display: none; /* Safari/Chrome */
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.78rem;
        white-space: nowrap;
        border-radius: 8px;
    }

    /* Mentoring ticker stacking label */
    .mentoring-ticker-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 0;
    }
    
    .mentoring-label {
        align-self: flex-start;
        clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
        margin-left: 16px;
        margin-right: 0;
        margin-bottom: 2px;
        padding-right: 24px;
    }

    /* Portfolio Grid */
    .portfolio-scroll {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Enroll action bar inside Box 2 */
    .batch-enroll-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .enroll-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Value chip stacking */
    .batch-value-row {
        grid-template-columns: 1fr;
    }
    
    /* Skills grid stacking */
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    /* Tool grid columns reduced for small width */
    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 360px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MENTORING TICKER SECTION
   ========================================================================== */
.mentoring-ticker-section {
    width: 100%;
    background: linear-gradient(90deg, #060c16 0%, #0b1220 50%, #060c16 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    margin-top: 28px;
    position: relative;
}

.mentoring-label {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-clt), #34d399);
    color: #020c08;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    padding: 8px 20px;
    white-space: nowrap;
    z-index: 5;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    padding-right: 28px;
    margin-right: 8px;
    box-shadow: 4px 0 20px rgba(16, 185, 129, 0.4);
}

.mentoring-ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Fade masks on left and right edges */
.mentoring-ticker-wrap::before,
.mentoring-ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.mentoring-ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #060c16, transparent);
}

.mentoring-ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #060c16, transparent);
}

.mentoring-ticker-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: mentorScroll 22s linear infinite;
    width: max-content;
}

.mentoring-ticker-inner:hover {
    animation-play-state: paused;
}

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

.mentoring-college {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-clt-light);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.mentoring-college:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(110, 231, 183, 0.6);
}

.mentoring-sep {
    color: var(--color-clt);
    font-size: 0.6rem;
    opacity: 0.5;
}

/* ==========================================================================
   BOTTOM CTA GRID + INFO BOXES
   ========================================================================== */
.cta-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    align-items: start;
}

/* Full-width CTA bar below the two info boxes */
.cta-fullwidth {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Keep existing cta-scene styles but make it a card when inside the grid */
.cta-box-card {
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 40px 32px;
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 4px 30px rgba(59, 130, 246, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.cta-box-card h2 {
    margin: 0;
}

.cta-box-card p {
    margin: 0;
}

/* Info box shared styles */
.info-box-card {
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

/* --- Box 1: Credentials + Tools --- */
.info-box-tools {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 30px rgba(245, 158, 11, 0.08);
}

.info-box-founder {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #0d1a2e, #111e35);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    padding: 16px;
}

.founder-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-box-founder p {
    color: var(--text-main);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.info-box-tools-header {
    background: linear-gradient(90deg, #1e3a8a, #1d4ed8);
    color: #93c5fd;
    text-align: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.tool-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 6px;
    font-size: 0.72rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.tool-chip:hover {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    transform: translateY(-2px);
}

.tools-footer-bar {
    background: linear-gradient(90deg, rgba(16,185,129,0.08), rgba(16,185,129,0.04));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.72rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--color-clt-light);
    text-align: center;
    letter-spacing: 0.03em;
}

/* --- Box 2: Batch + Enroll --- */
.info-box-batch {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 30px rgba(16, 185, 129, 0.08);
}

.batch-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.batch-cal {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.batch-label {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #93c5fd;
    text-transform: uppercase;
}

.batch-date {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 900;
    color: #fbbf24;
    letter-spacing: -0.02em;
    line-height: 1;
}

.batch-date sup {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Certification program pill */
.certification-program {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
}

.cert-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.cert-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cert-label {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fbbf24;
    text-transform: uppercase;
}

.cert-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

/* Cohort schedule pill */
.cohort-schedule {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
}

.cohort-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.cohort-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cohort-title {
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-clt-light);
    letter-spacing: 0.02em;
}

.cohort-detail {
    font-size: 0.78rem;
    color: var(--text-sub);
    letter-spacing: 0.01em;
}

.cohort-detail strong {
    color: #fbbf24;
}

.batch-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.batch-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-main);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
}

.batch-feat span:first-child {
    font-size: 1rem;
    flex-shrink: 0;
}

.batch-enroll-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #7f1d1d;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    padding: 12px 16px;
}

.enroll-alert {
    font-family: var(--font-head);
    font-size: 0.8rem;
    color: #fca5a5;
    white-space: nowrap;
}

.enroll-btn {
    background: #fbbf24;
    color: #111;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: var(--transition);
    white-space: nowrap;
}

.enroll-btn:hover {
    background: #f59e0b;
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}

.enroll-note {
    font-family: var(--font-head);
    font-size: 0.72rem;
    color: #fca5a5;
    white-space: nowrap;
}

.batch-value-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.value-chip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: linear-gradient(135deg, #0d1a2e, #111e35);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    padding: 10px 10px;
    font-size: 0.72rem;
    color: var(--text-sub);
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.3;
}

.value-chip span:first-child {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Responsive: stack on smaller screens */
@media (max-width: 960px) {
    .cta-bottom-grid {
        grid-template-columns: 1fr;
    }
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
