/* ============================================
   slide-1 — Muqova (jozibali hero)
   ============================================ */

.slide-body {
    padding: 4vh 6vw;
    justify-content: center;
    overflow: hidden;
}

/* ===== Animatsion fon ===== */
.bg-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}
.orb-1 {
    width: 520px; height: 520px;
    top: -140px; left: -120px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.7) 0%, transparent 70%);
    animation: drift1 16s ease-in-out infinite;
}
.orb-2 {
    width: 460px; height: 460px;
    bottom: -160px; right: 8%;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.7) 0%, transparent 70%);
    animation: drift2 19s ease-in-out infinite;
}
.orb-3 {
    width: 360px; height: 360px;
    top: 30%; right: 32%;
    background: radial-gradient(circle, rgba(100, 181, 246, 0.45) 0%, transparent 70%);
    animation: drift3 22s ease-in-out infinite;
}

.bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    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);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 100%);
}

@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, 40px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, -30px); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.1); } }

/* ===== Hero layout ===== */
.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
    flex: 1;
}

.hero-left { display: flex; flex-direction: column; }

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-accent-light);
    background: rgba(33, 150, 243, 0.14);
    border: 1px solid rgba(33, 150, 243, 0.35);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.4rem;
    backdrop-filter: blur(6px);
}
.badge-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.main-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(100deg, #ffffff 0%, #bbdefb 45%, #2196f3 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShine 6s linear infinite;
}
@keyframes titleShine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.tagline {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-accent-light);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.title-divider {
    width: 110px;
    height: 5px;
    background: var(--gradient-accent);
    margin-bottom: 1.2rem;
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(33, 150, 243, 0.6);
}

.subtitle {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 2.2rem;
}
.subtitle strong { color: #fff; font-weight: 800; }

/* ===== Stats ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: 620px;
}
.hero-stat {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 1.4rem 1rem;
    background: linear-gradient(160deg, rgba(33, 150, 243, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-top: 3px solid var(--color-accent);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28), 0 0 28px rgba(33,150,243,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
}
.hero-stat-num {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #64b5f6 0%, #2196f3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem;
}
.hero-stat-label { font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.78); }

/* ===== O'ng vizual — aylanma orbit ===== */
.hero-right { display: flex; align-items: center; justify-content: center; }
.orbit {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(33, 150, 243, 0.25);
}
.ring-1 { inset: 0; border-style: dashed; animation: spin 26s linear infinite; }
.ring-2 { inset: 55px; border-color: rgba(33,150,243,0.35); animation: spin 20s linear infinite reverse; }
.ring-3 { inset: 110px; border-color: rgba(100,181,246,0.3); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-core {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 190px;
    border-radius: 42px;
    background: linear-gradient(135deg, rgba(33,150,243,0.18), rgba(21,101,192,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(33, 150, 243, 0.5), inset 0 0 0 1px rgba(33,150,243,0.4);
    animation: coreFloat 5s ease-in-out infinite;
}
.orbit-core img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.4));
}
@keyframes coreFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-ic {
    position: absolute;
    z-index: 3;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(13, 27, 46, 0.92);
    border: 1px solid rgba(33, 150, 243, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 22px rgba(0,0,0,0.4), 0 0 22px rgba(33,150,243,0.3);
    backdrop-filter: blur(4px);
}
.ic-1 { top: 2%;  left: 44%; animation: floaty 4.5s ease-in-out infinite; }
.ic-2 { top: 22%; right: 0%; animation: floaty 5.2s ease-in-out 0.4s infinite; }
.ic-3 { bottom: 20%; right: 2%; animation: floaty 4.8s ease-in-out 0.8s infinite; }
.ic-4 { bottom: 2%; left: 42%; animation: floaty 5.5s ease-in-out 0.2s infinite; }
.ic-5 { bottom: 20%; left: 1%; animation: floaty 4.6s ease-in-out 0.6s infinite; }
.ic-6 { top: 22%; left: 0%; animation: floaty 5.1s ease-in-out 1s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.title-footer {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    padding-top: 1rem;
    flex-shrink: 0;
}

/* ===== Kirish animatsiyalari ===== */
body.active .orbit-core { animation: coreIn 1s cubic-bezier(0.34,1.56,0.64,1) both, coreFloat 5s ease-in-out 1s infinite; }
body.active .float-ic { animation: icIn 0.7s cubic-bezier(0.34,1.56,0.64,1) both; }
body.active .ic-1 { animation: icIn 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.5s both, floaty 4.5s ease-in-out 1.2s infinite; }
body.active .ic-2 { animation: icIn 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.6s both, floaty 5.2s ease-in-out 1.4s infinite; }
body.active .ic-3 { animation: icIn 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.7s both, floaty 4.8s ease-in-out 1.6s infinite; }
body.active .ic-4 { animation: icIn 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.8s both, floaty 5.5s ease-in-out 1.2s infinite; }
body.active .ic-5 { animation: icIn 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.9s both, floaty 4.6s ease-in-out 1.5s infinite; }
body.active .ic-6 { animation: icIn 0.7s cubic-bezier(0.34,1.56,0.64,1) 1.0s both, floaty 5.1s ease-in-out 1.7s infinite; }

body.active .hero-stat { animation: cardIn 0.8s cubic-bezier(0.4,0,0.2,1) both; }
body.active .hero-stat:nth-child(1) { animation-delay: 0.5s; }
body.active .hero-stat:nth-child(2) { animation-delay: 0.62s; }
body.active .hero-stat:nth-child(3) { animation-delay: 0.74s; }

@keyframes coreIn { 0% { opacity: 0; transform: scale(0.6); } 100% { opacity: 1; transform: scale(1); } }
@keyframes icIn { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: scale(1); } }
@keyframes cardIn {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Responsive ===== */
@media (max-width: 1400px) {
    .main-title { font-size: 5rem; }
    .tagline { font-size: 1.8rem; }
    .orbit { width: 360px; height: 360px; }
    .orbit-core { width: 160px; height: 160px; }
    .orbit-core img { width: 125px; height: 125px; }
    .hero-stat-num { font-size: 2.2rem; }
}

@media (max-width: 1100px) {
    .main-title { font-size: 4rem; }
    .tagline { font-size: 1.5rem; }
    .subtitle { font-size: 1.3rem; }
    .orbit { width: 300px; height: 300px; }
    .float-ic { width: 48px; height: 48px; font-size: 1.3rem; }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .hero-stats { max-width: 100%; }
}
