/* ============================================
        HERO
============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: 170px 8% 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

/* Particles canvas */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
        CONTENT
============================================ */

.hero-content {
    width: 46%;
    text-align: right;
    z-index: 5;
    position: relative;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--accent-border);
    background: var(--accent-soft);
    backdrop-filter: blur(8px);
    transition: box-shadow .4s ease;
    animation: badgeFloat 5s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow-strong);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: .6; }
}

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

.hero-content h1 {
    font-size: clamp(40px, 4.6vw, 58px);
    line-height: 1.35;
    font-weight: 900;
    color: var(--text);
}

/* Typewriter */
.typewriter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    font-size: 19px;
    min-height: 34px;
}

.typewriter-label {
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.typewriter {
    color: var(--accent);
    font-weight: 800;
}

.typewriter-caret {
    width: 3px;
    height: 26px;
    background: var(--accent);
    animation: caretBlink .8s step-end infinite;
    border-radius: 3px;
}

@keyframes caretBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    margin-top: 26px;
    font-size: 18px;
    line-height: 2.1;
    color: var(--text-muted);
    max-width: 460px;
}

/* ============================================
        BUTTONS
============================================ */

.hero-buttons {
    margin-top: 38px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease;
}

.hero-buttons a svg {
    width: 18px;
    height: 18px;
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
    color: var(--bg);
    box-shadow: 0 12px 35px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary-glow::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    transform: skewX(-25deg);
    background: linear-gradient(transparent, rgba(255, 255, 255, .35), transparent);
    transition: left .7s ease;
}

.btn-primary-glow:hover::after {
    left: 150%;
}

.btn-primary-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--accent-glow-strong);
}

.btn-outline-hero {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
}

.btn-outline-hero:hover {
    background: var(--accent-soft);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--accent-glow);
}

/* ============================================
        MINI STATS
============================================ */

.hero-mini-stats {
    display: flex;
    gap: 34px;
    margin-top: 52px;
    padding-top: 30px;
    border-top: 1px solid var(--accent-border);
    max-width: 480px;
}

.mini-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.mini-stat span {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* ============================================
        IMAGE SIDE
============================================ */

.hero-image {
    width: 45%;
    height: 640px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 4;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    --lion-scale: 1.25;
    position: absolute;
    z-index: 2;
    filter: drop-shadow(0 30px 60px var(--shadow-strong));
    animation: lionFloat 6s ease-in-out infinite;
}

@keyframes lionFloat {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(var(--lion-scale, 1.25)); }
    50% { transform: translateY(-18px) rotate(.8deg) scale(var(--lion-scale, 1.25)); }
}

.lion-blue { display: none; }

body.light .lion-gold { display: none; }
body.light .lion-blue { display: block; }

body.dark .lion-gold { display: block; }

/* ============================================
        GLOW
============================================ */

.hero-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow-strong), transparent 65%);
    filter: blur(90px);
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: .8; }
    50% { transform: scale(1.12); opacity: 1; }
}

/* ============================================
        CIRCLES
============================================ */

.circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    border: 1px solid var(--accent-border);
    box-shadow: 0 0 50px var(--accent-glow);
    animation: circleMove 8s infinite ease-in-out;
}

.circle-one { width: 520px; height: 520px; }
.circle-two { width: 400px; height: 400px; animation-delay: 2s; }
.circle-three { width: 280px; height: 280px; animation-delay: 4s; }

@keyframes circleMove {
    0%, 100% { transform: scale(1); opacity: .5; }
    50% { transform: scale(1.12); opacity: 1; }
}

/* ============================================
        ORBIT DOTS
============================================ */

.hero-orbit {
    position: absolute;
    width: 420px;
    height: 420px;
    z-index: 1;
    animation: orbitSpin 26s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent-glow-strong);
}

.orbit-dot-1 { top: 8%; left: 18%; }
.orbit-dot-2 { top: 74%; left: 6%; }
.orbit-dot-3 { top: 42%; right: 2%; }

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

/* ============================================
        FLOAT BADGES
============================================ */

.float-badge {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 18px 45px var(--shadow-strong);
    animation: badgeFloat 5s ease-in-out infinite;
}

.float-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--accent-soft);
}

.float-badge strong {
    display: block;
    font-size: 14.5px;
    color: var(--text);
    white-space: nowrap;
}

.float-badge small {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.float-badge-1 {
    top: 16%;
    right: -6%;
    animation-delay: .5s;
}

.float-badge-2 {
    bottom: 18%;
    left: -4%;
    animation-delay: 1.5s;
}

/* ============================================
        SCROLL INDICATOR
============================================ */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    z-index: 6;
    text-decoration: none;
    animation: badgeFloat 3s ease-in-out infinite;
}

.mouse {
    width: 26px;
    height: 42px;
    border-radius: 14px;
    border: 2px solid var(--accent);
    display: flex;
    justify-content: center;
    padding-top: 7px;
    transition: border-color .3s ease;
}

.wheel {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--accent);
    animation: wheelMove 1.8s ease-in-out infinite;
}

@keyframes wheelMove {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ============================================
                RESPONSIVE
============================================ */

@media (max-width: 1100px) {
    .hero {
        padding: 150px 6% 100px;
    }

    .hero-content {
        width: 50%;
    }

    .hero-image {
        width: 46%;
        height: 560px;
    }

    .hero-image img {
        --lion-scale: 1.2;
    }

    .float-badge-1 { right: -2%; }
    .float-badge-2 { left: -2%; }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 140px 5% 90px;
        gap: 30px;
    }

    .hero-content,
    .hero-image {
        width: 100%;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc {
        max-width: 520px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-mini-stats {
        justify-content: center;
    }

    .hero-image {
        height: 480px;
    }

    .hero-image img {
        --lion-scale: 1.15;
    }

    .hero-glow {
        width: 380px;
        height: 380px;
    }

    .circle-one { width: 400px; height: 400px; }
    .circle-two { width: 320px; height: 320px; }
    .circle-three { width: 240px; height: 240px; }

    .hero-orbit { width: 340px; height: 340px; }

    .float-badge-1 {
        top: 10%;
        right: 2%;
    }

    .float-badge-2 {
        bottom: 10%;
        left: 2%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .typewriter-row {
        font-size: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-desc {
        font-size: 15.5px;
    }

    .hero-buttons a {
        width: 100%;
        justify-content: center;
        padding: 15px 24px;
    }

    .hero-mini-stats {
        gap: 22px;
        width: 100%;
        justify-content: space-around;
    }

    .mini-stat strong {
        font-size: 22px;
    }

    .hero-image {
        height: 400px;
    }

    .hero-image img {
        --lion-scale: 1.1;
    }

    .hero-orbit { width: 280px; height: 280px; }

    .float-badge {
        padding: 10px 14px;
        border-radius: 16px;
        gap: 8px;
    }

    .float-badge-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .float-badge strong { font-size: 12.5px; }
    .float-badge small { font-size: 10.5px; }

    .scroll-indicator { display: none; }
}

@media (max-width: 400px) {
    .hero {
        padding: 105px 5% 70px;
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 30px;
        line-height: 1.4;
    }

    .badge {
        padding: 8px 18px;
        font-size: 13px;
        margin-bottom: 22px;
    }

    .typewriter-row {
        font-size: 14.5px;
    }

    .hero-desc {
        font-size: 14.5px;
    }

    .hero-mini-stats {
        gap: 14px;
        margin-top: 38px;
        padding-top: 22px;
    }

    .mini-stat strong {
        font-size: 20px;
    }

    .mini-stat span {
        font-size: 12px;
    }

    .hero-image {
        height: 330px;
    }

    .hero-image img {
        --lion-scale: 1.05;
    }

    .hero-glow {
        width: 300px;
        height: 300px;
    }

    .circle-one { width: 300px; height: 300px; }
    .circle-two { width: 240px; height: 240px; }
    .circle-three { width: 180px; height: 180px; }

    .hero-orbit { width: 230px; height: 230px; }

    .float-badge-1 { top: 8%; right: 0; }
    .float-badge-2 { bottom: 8%; left: 0; }

    .float-badge {
        padding: 8px 12px;
        gap: 7px;
    }

    .float-badge-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .float-badge strong { font-size: 11.5px; }
    .float-badge small { font-size: 10px; }
}
