/* ==========================================
   ULTRA DYNAMIC PREMIUM HERO - MOBILE OPTIMIZED
   Dramatically reduced mobile content height
   ========================================== */

/* ========== HERO CONTAINER ========== */
.hero-section-compact {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a2540 0%, #1e3a5f 50%, #2c5282 100%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    overflow: hidden;
    padding: 80px 20px 60px;
}

/* Animated Gradient Overlay */
.hero-section-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(10, 37, 64, 0.4) 100%);
    animation: gradientShift 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Floating Shapes - More Dynamic */
.floating-shape {
    position: absolute;
    opacity: 0.06;
    filter: blur(1px);
    z-index: 1;
}

.shape-1 {
    top: 15%;
    left: 8%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    bottom: 20%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation: float2 25s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(40px, -40px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(-50px, -30px) rotate(180deg) scale(1.1); }
}

/* ========== CONTENT CONTAINER ========== */
.hero-content-compact {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Premium Badge */
.hero-badge-compact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    padding: 8px 20px;
    border-radius: 25px;
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    animation: slideDown 0.8s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    letter-spacing: 0.5px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge-compact i {
    font-size: 1rem;
    animation: starPulse 2.5s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

/* Hero Title - Eye-Catching */
.hero-title-compact {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    line-height: 1.1;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: -1px;
}

.hero-title-accent {
    background: linear-gradient(135deg, #d4af37 0%, #fbbf24 50%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtitle */
.hero-subtitle-compact {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease 0.4s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid - Desktop Priority */
.hero-features-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 750px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.feature-card-compact {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 12px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card-compact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.feature-card-compact:hover::before {
    left: 100%;
}

.feature-card-compact:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25);
}

.feature-card-compact i {
    color: #fbbf24;
    font-size: 1.6rem;
    margin-bottom: 8px;
    display: block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card-compact:hover i {
    transform: scale(1.15) rotate(5deg);
    color: #f4d03f;
}

.feature-card-compact span {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    line-height: 1.3;
}

/* CTA Buttons */
.hero-cta-compact {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before,
.btn-hero-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-hero-primary:hover::before,
.btn-hero-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #d4af37 0%, #fbbf24 50%, #f4d03f 100%);
    color: #0a2540;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
    background: white;
    color: #0a2540;
    border-color: white;
    transform: translateY(-3px);
}

/* ========== STATS SECTION - MINIMIZED ON MOBILE ========== */
.stats-section-integrated {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease 1s both;
}

.stats-grid-integrated {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 750px;
    margin: 0 auto;
}

.stat-card-integrated {
    text-align: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card-integrated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card-integrated:hover::before {
    left: 100%;
}

.stat-card-integrated:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.stat-icon-integrated {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0a2540;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stat-card-integrated:hover .stat-icon-integrated {
    transform: rotateY(360deg) scale(1.1);
}

.stat-number-integrated {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
    display: inline-block;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-left: 2px;
}

.stat-label-integrated {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* ========== MOBILE OPTIMIZATION - DRAMATIC HEIGHT REDUCTION ========== */
@media (max-width: 768px) {
    .hero-section-compact {
        min-height: auto;
        padding: 70px 16px 30px;
    }

    /* Badge - Smaller */
    .hero-badge-compact {
        font-size: 0.65rem;
        padding: 6px 14px;
        margin-bottom: 14px;
        gap: 6px;
    }

    .hero-badge-compact i {
        font-size: 0.85rem;
    }

    /* Title - Compact */
    .hero-title-compact {
        font-size: 2rem;
        margin-bottom: 10px;
        letter-spacing: -0.5px;
    }

    /* Subtitle - Smaller */
    .hero-subtitle-compact {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    /* Features - Hide on Mobile for Space */
    .hero-features-compact {
        display: none;
    }

    /* Buttons - Stack Vertically on Mobile */
    .hero-cta-compact {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
        max-width: 280px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 13px 24px;
        font-size: 0.85rem;
        gap: 8px;
    }

    /* STATS - DRAMATIC SIZE REDUCTION */
    .stats-grid-integrated {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        max-width: 100%;
    }

    .stat-card-integrated {
        padding: 8px 4px;
        border-radius: 8px;
    }

    /* Tiny Icons */
    .stat-icon-integrated {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        margin-bottom: 4px;
        border-radius: 6px;
    }

    /* Compact Numbers */
    .stat-number-integrated {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }

    .stat-suffix {
        font-size: 0.75rem;
    }

    /* Tiny Labels */
    .stat-label-integrated {
        font-size: 0.5rem;
        letter-spacing: 0.2px;
        line-height: 1.1;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-section-compact {
        padding: 65px 12px 25px;
    }

    .hero-badge-compact {
        font-size: 0.6rem;
        padding: 5px 12px;
    }

    .hero-title-compact {
        font-size: 1.8rem;
    }

    .hero-subtitle-compact {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }

    .hero-cta-compact {
        max-width: 260px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    /* Ultra Compact Stats */
    .stats-grid-integrated {
        gap: 5px;
    }

    .stat-card-integrated {
        padding: 6px 3px;
    }

    .stat-icon-integrated {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
        margin-bottom: 3px;
    }

    .stat-number-integrated {
        font-size: 1rem;
    }

    .stat-suffix {
        font-size: 0.7rem;
    }

    .stat-label-integrated {
        font-size: 0.48rem;
    }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-features-compact {
        grid-template-columns: repeat(2, 1fr);
        max-width: 450px;
        gap: 12px;
    }

    .stats-grid-integrated {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        max-width: 600px;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section-compact {
        background-size: cover;
    }
}