/* ==========================================================================
   SPLIT HERO — Magic City (left) + IZONE Africa (right) — legacy 2-panel
   ========================================================================== */
.hero-split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:clamp(16px,2.5vw,32px);
    padding:clamp(16px,2vw,24px) clamp(16px,3vw,40px) clamp(24px,3vw,40px);
    max-width:1600px;
    margin:0 auto;
}

.hero-panel{
    position:relative;
    border-radius:16px;
    overflow:hidden;
    background:rgba(255,255,255,.02);
    border:1px solid rgba(255,255,255,.06);
    min-height:420px;
    display:flex;
    flex-direction:column;
}

.hero-panel--magic{
    border-color:rgba(255,215,100,.25);
    box-shadow:inset 0 0 0 1px rgba(255,215,100,.08), 0 8px 32px -8px rgba(0,0,0,.35);
}
.hero-panel--izone{
    border-color:rgba(74,144,226,.25);
    box-shadow:inset 0 0 0 1px rgba(74,144,226,.08), 0 8px 32px -8px rgba(0,0,0,.35);
}

.hero-panel-header{
    padding:clamp(10px,1.5vw,16px) clamp(12px,2vw,20px);
    border-bottom:1px solid rgba(255,255,255,.06);
    background:rgba(0,0,0,.15);
}
.hero-panel--magic .hero-panel-header{
    background:linear-gradient(90deg, rgba(255,215,100,.15), transparent);
}
.hero-panel--izone .hero-panel-header{
    background:linear-gradient(90deg, rgba(74,144,226,.15), transparent);
}

.hero-panel-brand{
    margin:0;
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:clamp(16px,1.8vw,22px);
    color:#fff;
    display:flex;
    align-items:center;
    gap:10px;
}
.hero-panel-brand .brand-icon{
    font-size:1.2em;
    filter:drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

/* CAROUSEL */
.hero-carousel{
    position:relative;
    flex:1;
    display:flex;
    flex-direction:column;
    min-height:0;
}

.hero-carousel-track{
    position:relative;
    flex:1;
    overflow:hidden;
    border-radius:0 0 16px 16px;
}

.hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transition:opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.5s;
    transform:translateX(30px);
    will-change:transform,opacity;
    display:flex;
    flex-direction:column;
}
.hero-slide.active{
    opacity:1;
    visibility:visible;
    transform:translateX(0);
    z-index:2;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
    .hero-slide{
        transition:none;
    }
}

.hero-slide-media{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    z-index:0;
    transition:transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-slide.active .hero-slide-media{
    transform:scale(1.02);
}

.hero-slide-media-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

.hero-canvas-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
}

.hero-slide-content{
    position:relative;
    z-index:10;
    padding:clamp(24px,4vw,48px) clamp(20px,3vw,36px);
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.h-icon{
    font-size:clamp(28px,4vw,48px);
    line-height:1;
    margin-bottom:clamp(8px,1vw,14px);
    filter:drop-shadow(0 4px 16px rgba(0,0,0,.4));
    animation:heroIconFloat 3s ease-in-out infinite;
}
@keyframes heroIconFloat{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-6px); }
}

.h-title{
    margin:0 0 clamp(6px,1vw,10px);
    font-weight:700;
    line-height:1.15;
    letter-spacing:-0.02em;
    text-shadow:0 4px 24px rgba(0,0,0,.45);
    animation:heroTitleReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroTitleReveal{
    from{ opacity:0; transform:translateY(20px); }
    to{ opacity:1; transform:translateY(0); }
}

.h-sub{
    margin:0 0 clamp(16px,2vw,24px);
    font-weight:400;
    line-height:1.5;
    opacity:0.95;
    max-width:85%;
    text-shadow:0 2px 12px rgba(0,0,0,.35);
    animation:heroSubReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
@keyframes heroSubReveal{
    from{ opacity:0; transform:translateY(16px); }
    to{ opacity:1; transform:translateY(0); }
}

.slide-cta{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:clamp(12px,1.5vw,16px) clamp(24px,3vw,36px);
    border-radius:999px;
    font-weight:700;
    font-size:clamp(13px,1.3vw,16px);
    letter-spacing:0.02em;
    text-decoration:none;
    box-shadow:0 8px 28px -6px rgba(0,0,0,.45),
                0 0 0 1px rgba(255,255,255,.15) inset;
    transition:transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
    animation:heroCtaReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
    border:none;
    cursor:pointer;
}
@keyframes heroCtaReveal{
    from{ opacity:0; transform:translateY(12px) scale(0.95); }
    to{ opacity:1; transform:translateY(0) scale(1); }
}

.slide-cta:hover{
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 12px 36px -8px rgba(0,0,0,.55),
                0 0 0 1px rgba(255,255,255,.25) inset;
}
.slide-cta:active{
    transform:translateY(0) scale(0.98);
}
.slide-cta:focus-visible{
    outline:3px solid var(--magic-sky);
    outline-offset:4px;
}

.slide-cta.magic{
    background:var(--magic-grad);
    color:#3a2200;
}
.slide-cta.magic:hover{
    box-shadow:0 12px 36px -8px rgba(255,215,100,.55),
                0 0 0 1px rgba(255,255,255,.3) inset;
}

.cta-icon{
    font-size:1.1em;
    transition:transform 0.2s var(--ease);
}
.slide-cta:hover .cta-icon{
    transform:translateX(3px);
}

/* CAROUSEL ARROWS */
.hero-carousel-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:20;
    width:48px;
    height:48px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    backdrop-filter:blur(8px);
    transition:all 0.25s var(--ease);
    opacity:0.85;
}
.hero-carousel-arrow:hover{
    opacity:1;
    background:rgba(255,255,255,.22);
    transform:translateY(-50%) scale(1.08);
}
.hero-carousel-arrow:focus-visible{
    outline:3px solid var(--magic-sky);
    outline-offset:4px;
}
.hero-carousel-arrow svg{
    width:22px;
    height:22px;
    stroke-width:2.8;
}
.hero-carousel-arrow.prev{ left:clamp(8px,1.5vw,20px); }
.hero-carousel-arrow.next{ right:clamp(8px,1.5vw,20px); }

/* CAROUSEL DOTS */
.hero-carousel-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    padding:clamp(12px,1.5vw,18px);
    position:relative;
    z-index:10;
}
.hero-carousel-dots button{
    width:10px;
    height:10px;
    border-radius:999px;
    border:none;
    cursor:pointer;
    background:rgba(255,255,255,.25);
    transition:all 0.25s var(--ease);
    padding:0;
}
.hero-carousel-dots button:hover{
    background:rgba(255,255,255,.5);
    transform:scale(1.15);
}
.hero-carousel-dots button.active{
    width:28px;
    background:linear-gradient(90deg,var(--izone-blue),var(--magic-gold));
    box-shadow:0 0 12px rgba(255,215,100,.4);
}
.hero-panel--magic .hero-carousel-dots button.active{
    background:linear-gradient(90deg,var(--magic-gold),var(--magic-sky));
    box-shadow:0 0 12px rgba(255,215,100,.5);
}
.hero-panel--izone .hero-carousel-dots button.active{
    background:linear-gradient(90deg,var(--izone-blue),var(--magic-gold));
    box-shadow:0 0 12px rgba(74,144,226,.5);
}

/* MAIN HERO SLIDER (original single carousel) */
.hero-section{
    padding:clamp(24px,3vw,40px) clamp(16px,3vw,40px);
    max-width:1600px;
    margin:0 auto;
}

.hero-fixed-greet{
    margin-bottom:clamp(24px,3vw,40px);
    text-align:center;
}
.eyebrow{
    font-size:clamp(12px,1.5vw,14px);
    font-weight:600;
    color:var(--text-muted);
    letter-spacing:0.08em;
    text-transform:uppercase;
}
.pulse-dot{
    display:inline-block;
    width:8px;
    height:8px;
    background:var(--magic-gold);
    border-radius:50%;
    margin-right:8px;
    animation:pulse 1.5s ease-in-out infinite;
}
@keyframes pulse{
    0%,100%{ opacity:1; transform:scale(1); }
    50%{ opacity:0.5; transform:scale(1.2); }
}
.greet-heading{
    margin:clamp(8px,1vw,16px) 0;
    font-size:clamp(24px,3vw,36px);
    font-weight:700;
    color:#fff;
    line-height:1.2;
}
.grad-mixed{
    background:linear-gradient(90deg,var(--izone-blue),var(--magic-gold));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}
.greet-choices{
    display:flex;
    justify-content:center;
    gap:clamp(16px,2vw,32px);
    margin-top:clamp(16px,2vw,24px);
    flex-wrap:wrap;
}
.greet-choice{
    display:flex;
    align-items:center;
    gap:12px;
    padding:clamp(12px,1.5vw,18px) clamp(20px,2.5vw,28px);
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.1);
    border-radius:16px;
    text-decoration:none;
    transition:all 0.25s var(--ease);
}
.greet-choice:hover{
    background:rgba(255,255,255,.1);
    border-color:rgba(255,255,255,.2);
    transform:translateY(-2px);
}
.gc-logo{
    width:40px;
    height:40px;
    border-radius:50%;
    overflow:hidden;
    background:rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
}
.gc-logo img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.gc-logo.magic{
    background:linear-gradient(135deg,var(--magic-gold),var(--magic-sky));
}
.gc-text{
    display:flex;
    flex-direction:column;
    text-align:left;
}
.gc-text b{
    font-size:clamp(14px,1.8vw,18px);
    color:#fff;
}
.gc-text small{
    font-size:clamp(11px,1.2vw,13px);
    color:var(--text-muted);
    line-height:1.3;
}
.gc-arrow{
    font-size:18px;
    opacity:0.7;
    transition:transform 0.2s var(--ease);
}
.greet-choice:hover .gc-arrow{
    transform:translateX(4px);
}

.hero-slider{
    position:relative;
    border-radius:16px;
    overflow:hidden;
    min-height:420px;
}
.hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transition:opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.5s;
    transform:translateX(30px);
    will-change:transform,opacity;
    display:flex;
    flex-direction:column;
}
.hero-slide.active{
    opacity:1;
    visibility:visible;
    transform:translateX(0);
    z-index:2;
}
.hero-slide.active .hero-slide-media{
    transform:scale(1.02);
}
.hero-slide-media{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    z-index:0;
    transition:transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-slide-media-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}
.hero-canvas-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
}
.hero-slide-content{
    position:relative;
    z-index:10;
    padding:clamp(24px,4vw,48px) clamp(20px,3vw,36px);
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}
.h-icon{
    font-size:clamp(28px,4vw,48px);
    line-height:1;
    margin-bottom:clamp(8px,1vw,14px);
    filter:drop-shadow(0 4px 16px rgba(0,0,0,.4));
    animation:heroIconFloat 3s ease-in-out infinite;
}
.h-title{
    margin:0 0 clamp(6px,1vw,10px);
    font-weight:700;
    line-height:1.15;
    letter-spacing:-0.02em;
    text-shadow:0 4px 24px rgba(0,0,0,.45);
    animation:heroTitleReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.h-sub{
    margin:0 0 clamp(16px,2vw,24px);
    font-weight:400;
    line-height:1.5;
    opacity:0.95;
    max-width:85%;
    text-shadow:0 2px 12px rgba(0,0,0,.35);
    animation:heroSubReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.slide-cta{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:clamp(12px,1.5vw,16px) clamp(24px,3vw,36px);
    border-radius:999px;
    font-weight:700;
    font-size:clamp(13px,1.3vw,16px);
    letter-spacing:0.02em;
    text-decoration:none;
    box-shadow:0 8px 28px -6px rgba(0,0,0,.45),
                0 0 0 1px rgba(255,255,255,.15) inset;
    transition:transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
    animation:heroCtaReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
    border:none;
    cursor:pointer;
}
.slide-cta:hover{
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 12px 36px -8px rgba(0,0,0,.55),
                0 0 0 1px rgba(255,255,255,.25) inset;
}
.slide-cta:active{
    transform:translateY(0) scale(0.98);
}
.slide-cta:focus-visible{
    outline:3px solid var(--magic-sky);
    outline-offset:4px;
}
.slide-cta.magic{
    background:var(--magic-grad);
    color:#3a2200;
}
.slide-cta.magic:hover{
    box-shadow:0 12px 36px -8px rgba(255,215,100,.55),
                0 0 0 1px rgba(255,255,255,.3) inset;
}
.cta-icon{
    font-size:1.1em;
    transition:transform 0.2s var(--ease);
}
.slide-cta:hover .cta-icon{
    transform:translateX(3px);
}

.slide-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:20;
    width:48px;
    height:48px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    backdrop-filter:blur(8px);
    transition:all 0.25s var(--ease);
    opacity:0.85;
}
.slide-arrow:hover{
    opacity:1;
    background:rgba(255,255,255,.22);
    transform:translateY(-50%) scale(1.08);
}
.slide-arrow:focus-visible{
    outline:3px solid var(--magic-sky);
    outline-offset:4px;
}
.slide-arrow svg{
    width:22px;
    height:22px;
    stroke-width:2.8;
}
.slide-arrow.prev{ left:clamp(8px,1.5vw,20px); }
.slide-arrow.next{ right:clamp(8px,1.5vw,20px); }

.slide-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    padding:clamp(12px,1.5vw,18px);
    position:relative;
    z-index:10;
}
.slide-dots button{
    width:10px;
    height:10px;
    border-radius:999px;
    border:none;
    cursor:pointer;
    background:rgba(255,255,255,.25);
    transition:all 0.25s var(--ease);
    padding:0;
}
.slide-dots button:hover{
    background:rgba(255,255,255,.5);
    transform:scale(1.15);
}
.slide-dots button.active{
    width:28px;
    background:linear-gradient(90deg,var(--izone-blue),var(--magic-gold));
    box-shadow:0 0 12px rgba(255,215,100,.4);
}

/* ==========================================================================
   HERO GRID — Main Hero (left ~73%) + Stacked Magic City / IZONE (right ~27%)
   ========================================================================== */
.hero-grid{
    display:grid;
    grid-template-columns:73% 27%;
    gap:clamp(16px,2.5vw,32px);
    padding:clamp(16px,2vw,24px) clamp(16px,3vw,40px) clamp(24px,3vw,40px);
    max-width:1600px;
    margin:0 auto;
}

.hero-grid-main{
    min-height:520px;
}

.hero-grid-side{
    display:flex;
    flex-direction:column;
    gap:clamp(12px,2vw,24px);
    min-height:520px;
}

.hero-grid-panel{
    flex:1;
    display:flex;
    flex-direction:column;
    min-height:0;
}

/* Keep existing split hero as fallback for other pages */
.hero-split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:clamp(16px,2.5vw,32px);
    padding:clamp(16px,2vw,24px) clamp(16px,3vw,40px) clamp(24px,3vw,40px);
    max-width:1600px;
    margin:0 auto;
}

/* Reuse .hero-panel, .hero-carousel, .hero-slide, .hero-carousel-arrow, .hero-carousel-dots, .slide-cta etc. from above */

/* HERO GRID RESPONSIVE */
@media (max-width: 1024px){
    .hero-grid{
        grid-template-columns:1fr;
        gap:clamp(16px,3vw,24px);
    }
    .hero-grid-main{
        min-height:420px;
    }
    .hero-grid-side{
        flex-direction:row;
        gap:clamp(12px,2vw,24px);
        min-height:auto;
    }
    .hero-grid-panel{
        flex:1;
        min-height:380px;
    }
}

@media (max-width: 640px){
    .hero-grid{
        padding:12px 4vw 24px;
        gap:16px;
    }
    .hero-grid-main{
        min-height:380px;
    }
    .hero-grid-side{
        flex-direction:column;
        gap:16px;
    }
    .hero-grid-panel{
        min-height:340px;
        border-radius:12px;
    }
    .hero-panel-header{
        padding:10px 14px;
    }
    .hero-panel-brand{
        font-size:16px;
    }
    .hero-carousel-track{
        border-radius:0 0 12px 12px;
    }
    .hero-slide-content{
        padding:20px 16px 28px;
    }
    .h-title{
        font-size:clamp(22px,5vw,32px) !important;
    }
    .h-sub{
        font-size:clamp(13px,3.5vw,16px) !important;
        max-width:100%;
    }
    .slide-cta{
        padding:12px 24px;
        font-size:13px;
    }
    .hero-carousel-arrow{
        width:36px;
        height:36px;
    }
    .hero-carousel-dots{
        padding:10px;
    }
    .hero-carousel-dots button{
        width:8px;
        height:8px;
    }
    .hero-carousel-dots button.active{
        width:22px;
    }
}

/* TABLET */
@media (min-width: 641px) and (max-width: 980px){
    .hero-slide-content{
        padding:24px 20px 32px;
    }
    .h-title{
        font-size:clamp(28px,4vw,40px) !important;
    }
    .h-sub{
        font-size:clamp(15px,3vw,18px) !important;
    }
}

/* Split hero fallback for other pages */
@media (max-width: 980px){
    .hero-split{
        grid-template-columns:1fr;
        gap:clamp(16px,3vw,24px);
    }
    .hero-panel{
        min-height:380px;
    }
    .hero-carousel-arrow{
        width:40px;
        height:40px;
    }
    .hero-carousel-arrow.prev{ left:8px; }
    .hero-carousel-arrow.next{ right:8px; }
}

@media (max-width: 640px){
    .hero-split{
        padding:12px 4vw 24px;
        gap:16px;
    }
    .hero-panel{
        min-height:340px;
        border-radius:12px;
    }
    .hero-panel-header{
        padding:10px 14px;
    }
    .hero-panel-brand{
        font-size:16px;
    }
    .hero-carousel-track{
        border-radius:0 0 12px 12px;
    }
    .hero-slide-content{
        padding:20px 16px 28px;
    }
    .h-title{
        font-size:clamp(22px,5vw,32px) !important;
    }
    .h-sub{
        font-size:clamp(13px,3.5vw,16px) !important;
        max-width:100%;
    }
    .slide-cta{
        padding:12px 24px;
        font-size:13px;
    }
    .hero-carousel-arrow{
        width:36px;
        height:36px;
    }
    .hero-carousel-dots{
        padding:10px;
    }
    .hero-carousel-dots button{
        width:8px;
        height:8px;
    }
    .hero-carousel-dots button.active{
        width:22px;
    }
}

/* PANEL SPECIFIC ACCENTS */
.hero-panel--magic .h-title{
    font-family:'Baloo 2',sans-serif;
}
.hero-panel--izone .h-title{
    font-family:'Space Grotesk',sans-serif;
}

.hero-panel--magic .slide-cta{
    background:var(--magic-grad);
    color:#3a2200;
}
.hero-panel--magic .slide-cta:hover{
    box-shadow:0 12px 36px -8px rgba(255,215,100,.55);
}

.hero-panel--izone .slide-cta{
    background:var(--izone-grad);
    color:#fff;
}
.hero-panel--izone .slide-cta:hover{
    box-shadow:0 12px 36px -8px rgba(74,144,226,.55);
}