/* ==========================================================================
   Kangrew Landing Hero — Refined Single-Screen Composition
   - Blended transparent/translucent navbar at scroll 0, smooth sticky state on scroll
   - Spacious animated Kangaroo Journey Board (prominent visual focus)
   - Ultra-compact Learn details panel (25-30% height reduction)
   - Expanded, elevated flowing waves (rising towards CTA button level)
   ========================================================================== */

:root {
    --actual-navbar-height: 72px;
}

/* ==========================================================================
   1. NAVBAR BLENDING WITH HERO
   ========================================================================== */
/* At scroll 0: Transparent & blended, no white border or shadow */
.landing-page .navbar:not(.scrolled) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* On scroll: Refined sticky header with smooth glass blur & subtle border */
.landing-page .navbar.scrolled {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(7, 26, 61, 0.08) !important;
    box-shadow: 0 4px 24px -2px rgba(7, 26, 61, 0.08) !important;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dark-theme.landing-page .navbar.scrolled {
    background: rgba(11, 16, 38, 0.88) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.4) !important;
}

/* ==========================================================================
   2. HERO CONTAINER LAYOUT
   ========================================================================== */
.hero-redesign {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-top: var(--actual-navbar-height);
    padding-bottom: clamp(10px, 1.8vh, 20px);
    padding-left: clamp(20px, 3.5vw, 48px);
    padding-right: clamp(20px, 3.5vw, 48px);
    background:
        radial-gradient(ellipse 70% 60% at 78% 20%, rgba(37, 99, 235, 0.12), transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 60%, rgba(124, 58, 237, 0.06), transparent 60%),
        #F8FAFC;
    color: #071A3D;
}

/* Background Atmosphere & Graphics Layer */
.hero-redesign .hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Background Auroras */
.hero-redesign .bg-anim-a {
    position: absolute;
    left: -180px;
    top: -220px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.30), transparent 68%);
    animation: heroBgDriftA 22s ease-in-out infinite;
}

.hero-redesign .bg-anim-b {
    position: absolute;
    right: 6%;
    top: -120px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 68%);
    animation: heroBgDriftB 28s ease-in-out infinite;
}

.hero-redesign .bg-anim-c {
    position: absolute;
    right: -200px;
    bottom: -200px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 68%);
    animation: heroBgDriftA 26s ease-in-out infinite reverse;
}

.hero-redesign .bg-anim-d {
    position: absolute;
    left: 30%;
    bottom: -260px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.20), transparent 68%);
    animation: heroBgDriftB 31s ease-in-out infinite;
}

/* Technical Grid */
.hero-redesign .hero-tech-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(7, 26, 61, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 26, 61, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 25%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 25%, transparent 100%);
}

/* Orbital Rings System */
.hero-redesign .hero-orbits-svg {
    position: absolute;
    left: 74%;
    top: 50%;
    margin: -500px 0 0 -500px;
    -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%);
    mask-image: radial-gradient(circle, #000 35%, transparent 72%);
    pointer-events: none;
}

.hero-redesign .bg-pulse {
    transform-origin: 550px 550px;
    animation: heroBgPulse 6s ease-in-out infinite;
}

.hero-redesign .bg-spin {
    transform-origin: 550px 550px;
    animation: heroBgSpin 70s linear infinite;
}

.hero-redesign .bg-spin-rev {
    transform-origin: 550px 550px;
    animation: heroBgSpinRev 110s linear infinite;
}

.hero-redesign .bg-spin-slow {
    transform-origin: 550px 550px;
    animation: heroBgSpin 160s linear infinite;
}

.hero-redesign .bg-spin-outer {
    transform-origin: 550px 550px;
    animation: heroBgSpinRev 240s linear infinite;
}

/* ==========================================================================
   3. EXPANDED, ELEVATED FLOWING WAVES
   - Height increased to clamp(170px, 22vh, 220px)
   - Curves elevated to meet lower CTA region
   - Layered behind buttons and cards (z-index: 1, pointer-events: none)
   ========================================================================== */
.hero-redesign .hero-waves-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(170px, 22vh, 220px);
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-redesign .bg-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    height: 100%;
}

.hero-redesign .bg-wave-1 {
    animation: heroBgWave 38s linear infinite;
}

.hero-redesign .bg-wave-2 {
    animation: heroBgWave 26s linear infinite;
    transform: translateX(-25%);
}

.hero-redesign .bg-wave-3 {
    animation: heroBgWave 18s linear infinite;
}

/* Rising Particles Container */
.hero-redesign .hero-particles-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-redesign .bg-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: heroBgRise 14s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes heroBgDriftA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(70px, 50px) scale(1.15); }
}

@keyframes heroBgDriftB {
    0%, 100% { transform: translate(0, 0) scale(1.1); }
    50% { transform: translate(-60px, 55px) scale(0.9); }
}

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

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

@keyframes heroBgWave {
    to { transform: translateX(-50%); }
}

@keyframes heroBgRise {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    25% { opacity: 0.9; }
    100% { transform: translateY(-140px) scale(1.1); opacity: 0; }
}

@keyframes heroBgPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

/* ==========================================================================
   4. TWO-COLUMN LAYOUT & HIERARCHY
   ========================================================================== */
.hero-redesign .hero-main-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 3.5vw, 44px);
}

/* Left Column: Copy */
.hero-redesign .hero-copy-col {
    flex: 1 1 500px;
    min-width: 0;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(8px, 1.4vh, 14px);
}

.hero-redesign .hero-top-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    color: #1D4ED8;
    font-size: clamp(11px, 1.2vh, 12.5px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-redesign .hero-headline {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.1rem, 3.6vw, 3.15rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #071A3D;
}

.hero-redesign .hero-headline .hero-gradient-word {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-redesign .hero-paragraph {
    margin: 0;
    max-width: 480px;
    font-size: clamp(13.5px, 1.4vh, 15.5px);
    line-height: 1.55;
    color: #475467;
}

.hero-redesign .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
    position: relative;
    z-index: 3;
}

.hero-redesign .hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563EB, #4F46E5);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: clamp(13.5px, 1.35vh, 15px);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-redesign .hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.42);
    color: #FFFFFF !important;
}

.hero-redesign .hero-cta-primary svg {
    transition: transform 0.2s ease;
}

.hero-redesign .hero-cta-primary:hover svg {
    transform: translateX(4px);
}

.hero-redesign .hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1.5px solid rgba(7, 26, 61, 0.15);
    color: #071A3D !important;
    font-weight: 600;
    font-size: clamp(13.5px, 1.35vh, 15px);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-redesign .hero-cta-secondary:hover {
    border-color: #2563EB;
    color: #2563EB !important;
    transform: translateY(-2px);
}

.hero-redesign .hero-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(12px, 1.25vh, 13px);
    font-weight: 500;
    color: #475467;
    margin-top: 2px;
    position: relative;
    z-index: 3;
}

.hero-redesign .hero-avatar-stack {
    display: flex;
    align-items: center;
}

.hero-redesign .hero-avatar-stack span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #F8FAFC;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -6px;
}

.hero-redesign .hero-avatar-stack span:first-child {
    margin-left: 0;
    background: #1D4ED8;
}

.hero-redesign .hero-avatar-stack span:nth-child(2) {
    background: #6D28D9;
}

.hero-redesign .hero-avatar-stack span:nth-child(3) {
    background: #0E7490;
}

.hero-redesign .hero-avatar-stack span:nth-child(4) {
    background: #C2410C;
}

/* ==========================================================================
   5. RIGHT COLUMN: EXPANDED JOURNEY BOARD & COMPACT DETAILS
   ========================================================================== */
.hero-redesign .hero-visual-col {
    flex: 0 0 clamp(440px, 33vw, 490px);
    max-width: 490px;
    position: relative;
    padding: 8px 0 0;
}

/* Floating Outcome Badge (Safely positioned above card without overlap) */
.hero-redesign .hero-outcome-badge {
    position: absolute;
    top: -14px;
    right: 0px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #E4E7EC;
    box-shadow: 0 8px 22px rgba(7, 26, 61, 0.12);
    animation: heroFloatSoft 7s ease-in-out infinite;
}

.hero-redesign .hero-outcome-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #FFE9DF;
    color: #C2410C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-redesign .hero-outcome-icon svg {
    width: 14px;
    height: 14px;
}

.hero-redesign .hero-outcome-text {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.hero-redesign .hero-outcome-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #071A3D;
    line-height: 1.2;
}

.hero-redesign .hero-outcome-sub {
    font-size: 10.5px;
    color: #475467;
    line-height: 1.2;
}

@keyframes heroFloatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Main Interactive Journey Card */
.hero-redesign .hero-journey-card {
    position: relative;
    box-sizing: border-box;
    margin-top: 4px;
    padding: clamp(12px, 1.5vh, 16px) clamp(14px, 1.5vw, 18px);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid #DCE3F0;
    box-shadow: 0 30px 60px -25px rgba(11, 16, 38, 0.30);
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.1vh, 11px);
}

/* Track Tabs */
.hero-redesign .hero-card-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-redesign .hero-card-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #475467;
    text-transform: uppercase;
}

.hero-redesign .hero-tabs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 3.5px;
    border-radius: 11px;
    background: #EEF2F8;
}

.hero-redesign .hero-tab-btn {
    flex: 1 1 80px;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    border: 0;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: #475467;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero-redesign .hero-tab-btn.active {
    background: #FFFFFF;
    color: #1D4ED8;
    box-shadow: 0 2px 6px rgba(7, 26, 61, 0.12);
}

.hero-redesign .hero-tab-btn[data-track="1"].active {
    color: #6D28D9;
}

.hero-redesign .hero-tab-btn[data-track="2"].active {
    color: #0E7490;
}

/* Stage Board — Expanded to aspect-ratio 520 / 330 (giving animation more prominence) */
.hero-redesign .hero-stage-board {
    position: relative;
    width: 100%;
    aspect-ratio: 520 / 330;
    border-radius: 16px;
    background:
        radial-gradient(ellipse 70% 60% at 85% 10%, #EAF1FF, transparent 70%),
        radial-gradient(circle, #D5DCEA 1.2px, transparent 1.6px) 0 0 / 20px 20px,
        #F7F9FD;
    border: 1px solid #E4E9F2;
    overflow: hidden;
    transition: background 0.4s ease;
}

.hero-redesign .hero-stage-board[data-track="1"] {
    background:
        radial-gradient(ellipse 70% 60% at 85% 10%, #F1EAFF, transparent 70%),
        radial-gradient(circle, #D5DCEA 1.2px, transparent 1.6px) 0 0 / 20px 20px,
        #F7F9FD;
}

.hero-redesign .hero-stage-board[data-track="2"] {
    background:
        radial-gradient(ellipse 70% 60% at 85% 10%, #DFF5FA, transparent 70%),
        radial-gradient(circle, #D5DCEA 1.2px, transparent 1.6px) 0 0 / 20px 20px,
        #F7F9FD;
}

.hero-redesign .hero-arcs-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-redesign .arc-path {
    transition: stroke 0.4s ease;
}

/* Stepping Stone Pads */
.hero-redesign .kroo-pad {
    position: absolute;
    z-index: 2;
    width: 20%;
    height: 44px;
    margin-left: -10%;
    box-sizing: border-box;
    padding: 0 4px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid #CBD5E6;
    background: #FFFFFF;
    color: #071A3D;
    box-shadow: 0 5px 0 #CBD5E6;
    transition: transform 0.2s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-redesign .kroo-pad:hover {
    transform: translateY(-2px);
}

.hero-redesign .kroo-pad-num {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    background: #EEF2F8;
    color: #475467;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Pad Positions (520x330 coordinate space) */
.hero-redesign .kroo-pad[data-step="0"] {
    left: 14%;
    top: 76%;
}

.hero-redesign .kroo-pad[data-step="1"] {
    left: 38%;
    top: 59%;
}

.hero-redesign .kroo-pad[data-step="2"] {
    left: 62%;
    top: 42%;
}

.hero-redesign .kroo-pad[data-step="3"] {
    left: 86%;
    top: 25%;
}

/* Kangaroo Character — Scaled to 94px × 59px (Prominent & sharp) */
.hero-redesign .kroo-character {
    position: absolute;
    z-index: 3;
    width: 94px;
    height: 59px;
    pointer-events: none;
    transform: translate(-50%, -54px);
    transition: left 0.8s cubic-bezier(0.45, 0, 0.35, 1), top 0.8s cubic-bezier(0.45, 0, 0.35, 1);
}

.hero-redesign .kroo-shadow {
    position: absolute;
    left: 20px;
    bottom: -4px;
    width: 54px;
    height: 9px;
    border-radius: 50%;
    background: rgba(7, 26, 61, 0.22);
    filter: blur(2px);
}

.hero-redesign .kroo-inner {
    position: absolute;
    inset: 0;
    width: 94px;
    height: 59px;
    transform-origin: 50% 100%;
    object-fit: contain;
    animation: kIdle 2.4s ease-in-out infinite;
}

.hero-redesign .kroo-character.is-hopping .kroo-inner {
    animation: kHop 0.8s ease-in-out;
}

.hero-redesign .kroo-character.is-hopping .kroo-shadow {
    animation: kShadow 0.8s ease-in-out;
}

/* Landing Sparks */
.hero-redesign .hero-sparks-wrap {
    position: absolute;
    z-index: 4;
    width: 0;
    height: 0;
    pointer-events: none;
    transform: translate(0, 0);
}

.hero-redesign .kroo-spark {
    position: absolute;
    left: -3px;
    top: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: kSpark 0.75s ease-out forwards;
}

/* Ultra-Compact Learn Details Panel (25-30% height reduction) */
.hero-redesign .hero-details-panel {
    padding: clamp(6px, 0.9vh, 9px) clamp(10px, 1vw, 13px);
    border-radius: 12px;
    background: #EAF1FF;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.4s ease;
}

.hero-redesign .hero-details-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}

.hero-redesign .hero-stage-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(14px, 1.5vh, 16px);
    font-weight: 700;
    color: #071A3D;
    line-height: 1.15;
}

.hero-redesign .hero-track-tag {
    font-size: 11px;
    font-weight: 700;
    color: #1D4ED8;
    line-height: 1.15;
    transition: color 0.4s ease;
}

.hero-redesign .hero-stage-desc {
    margin: 0;
    font-size: clamp(11px, 1.15vh, 12px);
    line-height: 1.35;
    color: #344054;
}

.hero-redesign .hero-skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 1px;
}

.hero-redesign .hero-skill-chip {
    padding: 1.5px 7px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid #D5DCEA;
    font-size: 10px;
    font-weight: 600;
    color: #071A3D;
    display: inline-block;
}

/* Hopping Keyframes */
@keyframes kIdle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes kHop {
    0% { transform: translateY(0) scale(1.1, 0.88); }
    14% { transform: translateY(-7px) scale(0.94, 1.08) rotate(-3deg); }
    50% { transform: translateY(-52px) rotate(-9deg); }
    82% { transform: translateY(-5px) rotate(5deg); }
    92% { transform: translateY(0) scale(1.1, 0.88); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes kShadow {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(0.5); opacity: 0.4; }
}

@keyframes kSpark {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-redesign .bg-anim-a,
    .hero-redesign .bg-anim-b,
    .hero-redesign .bg-anim-c,
    .hero-redesign .bg-anim-d,
    .hero-redesign .bg-pulse,
    .hero-redesign .bg-spin,
    .hero-redesign .bg-spin-rev,
    .hero-redesign .bg-spin-slow,
    .hero-redesign .bg-spin-outer,
    .hero-redesign .bg-wave,
    .hero-redesign .bg-dot,
    .hero-redesign .hero-outcome-badge,
    .hero-redesign .kroo-character,
    .hero-redesign .kroo-inner,
    .hero-redesign .kroo-shadow,
    .hero-redesign .kroo-spark,
    .hero-redesign .kroo-pad {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   DARK THEME COMPREHENSIVE REFINEMENTS (.dark-theme .hero-redesign)
   Harmonious navy-slate surfaces, high-contrast readable typography,
   coordinated tab states, dark stepping stone depth, and dark details panel
   ========================================================================== */
.dark-theme .hero-redesign {
    background:
        radial-gradient(ellipse 70% 60% at 78% 20%, rgba(37, 99, 235, 0.22), transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 60%, rgba(124, 58, 237, 0.16), transparent 60%),
        #0B1222 !important;
    color: #F1F5F9 !important;
}

/* Background Atmosphere in Dark Mode */
.dark-theme .hero-redesign .bg-anim-a {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.32), transparent 68%) !important;
}
.dark-theme .hero-redesign .bg-anim-b {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 68%) !important;
}
.dark-theme .hero-redesign .bg-anim-c {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.26), transparent 68%) !important;
}
.dark-theme .hero-redesign .bg-anim-d {
    background: radial-gradient(circle, rgba(255, 107, 53, 0.22), transparent 68%) !important;
}

.dark-theme .hero-redesign .hero-tech-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
}

/* Left Hero Typography */
.dark-theme .hero-redesign .hero-headline {
    color: #FFFFFF !important;
}

.dark-theme .hero-redesign .hero-paragraph {
    color: #94A3B8 !important;
}

.dark-theme .hero-redesign .hero-top-badge {
    background: rgba(37, 99, 235, 0.18) !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
    color: #60A5FA !important;
}

.dark-theme .hero-redesign .hero-cta-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #F1F5F9 !important;
}

.dark-theme .hero-redesign .hero-cta-secondary:hover {
    background: rgba(37, 99, 235, 0.15) !important;
    border-color: #3B82F6 !important;
    color: #60A5FA !important;
}

.dark-theme .hero-redesign .hero-social-proof {
    color: #94A3B8 !important;
}

.dark-theme .hero-redesign .hero-avatar-stack span {
    border-color: #0B1222 !important;
}

/* 1. Outer Kangaroo Journey Card in Dark Mode */
.dark-theme .hero-redesign .hero-journey-card {
    background: rgba(17, 29, 53, 0.94) !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.65), 0 0 35px -10px rgba(37, 99, 235, 0.18) !important;
}

/* 2. Journey Header & Curriculum Tabs */
.dark-theme .hero-redesign .hero-card-label {
    color: #94A3B8 !important;
}

.dark-theme .hero-redesign .hero-tabs-wrap {
    background: #1C2A45 !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
}

.dark-theme .hero-redesign .hero-tab-btn {
    color: #94A3B8 !important;
}

.dark-theme .hero-redesign .hero-tab-btn:hover {
    color: #F1F5F9 !important;
}

.dark-theme .hero-redesign .hero-tab-btn.active {
    background: linear-gradient(135deg, #1E40AF, #2563EB) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 12px rgba(37, 99, 235, 0.35) !important;
    border: 1px solid rgba(96, 165, 250, 0.4) !important;
}

.dark-theme .hero-redesign .hero-tab-btn[data-track="1"].active {
    background: linear-gradient(135deg, #5B21B6, #7C3AED) !important;
    color: #FFFFFF !important;
    border-color: rgba(167, 139, 250, 0.4) !important;
}

.dark-theme .hero-redesign .hero-tab-btn[data-track="2"].active {
    background: linear-gradient(135deg, #155E75, #0E7490) !important;
    color: #FFFFFF !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

/* 3. Animation Stage Board */
.dark-theme .hero-redesign .hero-stage-board {
    background:
        radial-gradient(ellipse 70% 60% at 85% 10%, rgba(37, 99, 235, 0.20), transparent 70%),
        radial-gradient(circle, rgba(148, 163, 184, 0.22) 1.2px, transparent 1.6px) 0 0 / 20px 20px,
        #0F1A30 !important;
    border: 1px solid rgba(148, 163, 184, 0.20) !important;
}

.dark-theme .hero-redesign .hero-stage-board[data-track="1"] {
    background:
        radial-gradient(ellipse 70% 60% at 85% 10%, rgba(124, 58, 237, 0.22), transparent 70%),
        radial-gradient(circle, rgba(148, 163, 184, 0.22) 1.2px, transparent 1.6px) 0 0 / 20px 20px,
        #0F1A30 !important;
}

.dark-theme .hero-redesign .hero-stage-board[data-track="2"] {
    background:
        radial-gradient(ellipse 70% 60% at 85% 10%, rgba(6, 182, 212, 0.20), transparent 70%),
        radial-gradient(circle, rgba(148, 163, 184, 0.22) 1.2px, transparent 1.6px) 0 0 / 20px 20px,
        #0F1A30 !important;
}

/* Kangaroo Ground Shadow */
.dark-theme .hero-redesign .kroo-shadow {
    background: rgba(0, 0, 0, 0.55) !important;
}

/* 4. Critical Fix: Learn Details Panel in Dark Mode */
.dark-theme .hero-redesign .hero-details-panel {
    background: #1D2D4B !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
}

.dark-theme .hero-redesign .hero-stage-title {
    color: #F8FAFC !important;
}

.dark-theme .hero-redesign .hero-track-tag {
    color: #7FA8FF !important;
}

.dark-theme .hero-redesign .hero-stage-desc {
    color: #CBD5E1 !important;
}

.dark-theme .hero-redesign .hero-skill-chip {
    background: #172640 !important;
    color: #E2E8F0 !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
}

/* 5. Career-Ready Outcomes Badge in Dark Mode */
.dark-theme .hero-redesign .hero-outcome-badge {
    background: #17243C !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
}

.dark-theme .hero-redesign .hero-outcome-title {
    color: #F1F5F9 !important;
}

.dark-theme .hero-redesign .hero-outcome-sub {
    color: #94A3B8 !important;
}

.dark-theme .hero-redesign .hero-outcome-icon {
    background: rgba(194, 65, 12, 0.25) !important;
    color: #FB923C !important;
}

/* Short Screen Heights (<= 768px height) */
@media (min-width: 901px) and (max-height: 768px) {
    .hero-redesign {
        padding-top: var(--actual-navbar-height);
        padding-bottom: 6px;
    }
    .hero-redesign .hero-headline {
        font-size: 2.1rem;
    }
    .hero-redesign .hero-paragraph {
        font-size: 13px;
        line-height: 1.45;
    }
    .hero-redesign .hero-visual-col {
        flex: 0 0 440px;
        max-width: 440px;
    }
    .hero-redesign .hero-waves-container {
        height: 155px;
    }
}

/* ==========================================================================
   TABLET & MOBILE RESPONSIVE STYLING (Screens <= 768px)
   Proper mobile-specific single column layout with refined Kangaroo Journey
   ========================================================================== */
@media (max-width: 900px) {
    .hero-redesign {
        height: auto;
        min-height: calc(100svh - var(--actual-navbar-height));
        padding: calc(var(--actual-navbar-height) + 16px) 20px 48px;
        display: block;
        overflow-x: hidden;
    }

    .hero-redesign .hero-main-container {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .hero-redesign .hero-copy-col {
        max-width: 100%;
        width: 100%;
    }

    .hero-redesign .hero-visual-col {
        display: block !important;
        max-width: 100% !important;
        width: 100% !important;
        flex: none !important;
        padding-top: 0 !important;
    }

    .hero-redesign .hero-waves-container {
        height: 140px;
    }
}

@media (max-width: 768px) {
    /* Orbital rings and background scaling on mobile */
    .hero-redesign .hero-orbits-svg {
        display: none !important;
    }

    .hero-redesign .hero-tech-grid {
        opacity: 0.6;
    }

    /* Left Copy Column */
    .hero-redesign .hero-headline {
        font-size: clamp(32px, 8.5vw, 42px);
        line-height: 1.12;
    }

    .hero-redesign .hero-paragraph {
        font-size: clamp(14px, 3.8vw, 15.5px);
        line-height: 1.55;
    }

    .hero-redesign .hero-cta-group {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .hero-redesign .hero-cta-primary,
    .hero-redesign .hero-cta-secondary {
        min-height: 44px;
        font-size: 14px;
        padding: 0 20px;
    }

    /* Target Journey Card Width */
    .hero-redesign .hero-visual-col {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-redesign .hero-journey-card {
        width: calc(100% - 16px) !important;
        max-width: 520px !important;
        margin-inline: auto !important;
        margin-top: 10px !important;
        padding: clamp(14px, 4vw, 18px) !important;
        border-radius: 20px !important;
        box-shadow: 0 16px 36px -12px rgba(11, 16, 38, 0.22) !important;
        box-sizing: border-box !important;
    }

    /* 2. Career-Ready Outcomes Badge - Inline, compact & non-overlapping */
    .hero-redesign .hero-outcome-badge {
        position: static !important;
        margin-bottom: 12px;
        align-self: flex-start;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 6px 12px 6px 8px !important;
        border-radius: 12px !important;
        background: #FFFFFF !important;
        border: 1px solid #E4E7EC !important;
        box-shadow: 0 4px 12px rgba(7, 26, 61, 0.08) !important;
        animation: none !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-redesign .hero-outcome-icon {
        width: 24px !important;
        height: 24px !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }

    .hero-redesign .hero-outcome-icon svg {
        width: 13px !important;
        height: 13px !important;
    }

    .hero-redesign .hero-outcome-text {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }

    .hero-redesign .hero-outcome-title {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    .hero-redesign .hero-outcome-sub {
        font-size: 10.5px !important;
        color: #64748B !important;
        white-space: nowrap !important;
    }

    /* 3. Three Curriculum Tabs - Strict 1 Row & Equal Width */
    .hero-redesign .hero-tabs-wrap {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        padding: 3px !important;
        border-radius: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-redesign .hero-tab-btn {
        flex: 1 1 0 !important;
        width: 33.333% !important;
        min-width: 0 !important;
        min-height: 34px !important;
        padding: 0 4px !important;
        font-size: clamp(11.5px, 3.2vw, 13px) !important;
        border-radius: 7px !important;
        white-space: nowrap !important;
        text-align: center !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* 4. Animation Board on Mobile */
    .hero-redesign .hero-stage-board {
        aspect-ratio: 520 / 330 !important;
        width: 100% !important;
        border-radius: 14px !important;
    }

    .hero-redesign .kroo-pad {
        height: clamp(38px, 10vw, 44px) !important;
        font-size: clamp(11px, 2.9vw, 12px) !important;
        gap: 4px !important;
        padding: 0 2px !important;
        border-radius: 10px !important;
    }

    .hero-redesign .kroo-pad-num {
        width: clamp(16px, 4vw, 18px) !important;
        height: clamp(16px, 4vw, 18px) !important;
        font-size: clamp(9.5px, 2.6vw, 10.5px) !important;
    }

    .hero-redesign .kroo-character {
        width: 76px !important;
        height: 48px !important;
        transform: translate(-50%, -44px) !important;
    }

    .hero-redesign .kroo-inner {
        width: 76px !important;
        height: 48px !important;
    }

    .hero-redesign .kroo-shadow {
        width: 44px !important;
        height: 7px !important;
        left: 16px !important;
    }

    /* 5. Learn Details Panel Compact Sizing */
    .hero-redesign .hero-details-panel {
        padding: 8px 12px !important;
        border-radius: 12px !important;
        gap: 4px !important;
    }

    .hero-redesign .hero-stage-title {
        font-size: 15px !important;
    }

    .hero-redesign .hero-track-tag {
        font-size: 11px !important;
    }

    .hero-redesign .hero-stage-desc {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }

    /* 6. Curriculum Chips Balanced Layout */
    .hero-redesign .hero-skills-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin-top: 2px !important;
    }

    .hero-redesign .hero-skill-chip {
        font-size: 10.5px !important;
        padding: 2px 8px !important;
        border-radius: 999px !important;
    }

    /* 8. Mobile Waves */
    .hero-redesign .hero-waves-container {
        height: 120px !important;
    }
}

@media (max-width: 480px) {
    .hero-redesign {
        padding: calc(var(--actual-navbar-height) + 10px) 12px 36px;
    }

    .hero-redesign .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-redesign .hero-cta-primary,
    .hero-redesign .hero-cta-secondary {
        justify-content: center;
        width: 100%;
    }

    .hero-redesign .hero-journey-card {
        width: 100%;
        padding: 12px 10px;
    }

    .hero-redesign .kroo-pad {
        height: 38px !important;
        font-size: 10.5px !important;
    }

    .hero-redesign .kroo-character {
        width: 70px !important;
        height: 44px !important;
        transform: translate(-50%, -40px) !important;
    }

    .hero-redesign .kroo-inner {
        width: 70px !important;
        height: 44px !important;
    }

    .hero-redesign .kroo-shadow {
        width: 40px !important;
        height: 6px !important;
        left: 15px !important;
    }

    .hero-redesign .hero-outcome-badge {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-redesign .hero-outcome-text {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }
}
