.hero-premium {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 5% 100px;
}

.hero-bg-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb-1 {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite;
}

.gradient-orb-2 {
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite reverse;
}

[data-theme="dark"] .gradient-orb-1,
[data-theme="dark"] .gradient-orb-2 {
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

/* ============================================================
   TSPARTICLES – Sirf Hero Section Mein (Desktop Only)
   ============================================================ */
#tsparticles {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
    opacity: 0;
    animation: particlesFadeIn 1.5s ease 0.5s forwards;
}

@keyframes particlesFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Orbs ko particles ke neeche rakho */
.gradient-orb-1,
.gradient-orb-2 {
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 16px;
    background: var(--bg-tertiary);
    border-radius: 40px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description-premium {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* ============================================================
   HERO STATS – Desktop horizontal layout
   ============================================================ */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-stats .stat-premium {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.15rem;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', monospace;
}

.hero-stats .stat-plus {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 0.2rem;
}

/* ============================================================
   OLD STAT STYLES (keep for compatibility)
   ============================================================ */
.stat-premium {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', monospace;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    width: 100%;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-premium {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--border-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

.image-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 3s infinite;
}

/* ============================================ */
/* UPDATED AVATAR STYLES - Image aur Icon dono support */
/* ============================================ */

.hero-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Default Material Icon Style */
.hero-avatar .avatar-icon {
    font-size: 120px;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    opacity: 1;
    transform: scale(1);
}

/* Profile Image Style */
.hero-avatar .avatar-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    opacity: 0;
    transform: scale(0.8);
    filter: grayscale(15%);
    display: block !important;
}

/* Jab image successfully load ho jaye */
.hero-avatar .avatar-image.loaded {
    opacity: 1;
    transform: scale(1);
}

/* Image load hone ke baad icon hide ho jaye */
.hero-avatar .avatar-image.loaded ~ .avatar-icon,
.hero-avatar .avatar-image:not([style*="display: none"]) + .avatar-icon {
    opacity: 0;
    transform: scale(0.8);
    visibility: visible;
}

/* Image Border with Gradient Effect */
.hero-avatar .avatar-image.loaded {
    border: 3px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--text-secondary));
    padding: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-clip: padding-box;
}

/* Hover Effects - Jab image ho */
.hero-image-premium:hover .avatar-image.loaded {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.hero-image-premium:hover .avatar-image.loaded {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

/* Loading Animation */
@keyframes avatarLoad {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.hero-avatar .avatar-image.loaded {
    animation: avatarLoad 0.5s ease-out;
}

/* Agar image nahi hai to icon show hoga */
.hero-avatar .avatar-image[src=""],
.hero-avatar .avatar-image[src="#"],
.hero-avatar .avatar-image:not([src]) {
    display: none !important;
}

.hero-avatar .avatar-image[src=""] + .avatar-icon,
.hero-avatar .avatar-image[src="#"] + .avatar-icon,
.hero-avatar .avatar-image:not([src]) + .avatar-icon {
    opacity: 1;
    transform: scale(1);
}

/* ============================================ */
/* FLOATING BADGES */
/* ============================================ */

.floating-badge {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.badge-1 { top: 20px; left: -30px; animation: float 4s infinite; }
.badge-2 { bottom: 40px; right: -20px; animation: float 5s infinite reverse; }
.badge-3 { bottom: -20px; left: 20%; animation: float 4.5s infinite; }

/* ============================================ */
/* SCROLL INDICATOR */
/* ============================================ */

.hero-scroll-indicator {
    position: absolute;
    bottom: 170px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 12px;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
}

/* ============================================ */
/* RESPONSIVE DESIGN - Mobile Stats Horizontal */
/* ============================================ */

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-description-premium {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-premium {
        width: 350px;
        height: 350px;
    }
    
    .hero-avatar .avatar-image {
        width: 240px;
        height: 240px;
    }
    
    .hero-avatar .avatar-icon {
        font-size: 100px;
    }
    
    .badge-1, .badge-2, .badge-3 {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    /* Stats - Horizontal on mobile too */
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    .hero-stats .stat-number {
        font-size: 1.8rem;
    }
    .hero-stats .stat-plus {
        font-size: 1.3rem;
    }
    .hero-stats .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        padding: 100px 5% 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image-premium {
        width: 300px;
        height: 300px;
    }
    
    .hero-avatar .avatar-image {
        width: 200px;
        height: 200px;
    }
    
    .hero-avatar .avatar-icon {
        font-size: 90px;
    }
    
    .badge-1 { top: -10px; left: -20px; }
    .badge-2 { bottom: 20px; right: -20px; }
    .badge-3 { bottom: -10px; left: 10%; }

    .hero-stats {
        gap: 1.5rem;
    }
    .hero-stats .stat-number {
        font-size: 1.6rem;
    }
    .hero-stats .stat-plus {
        font-size: 1.2rem;
    }
    .hero-stats .stat-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .hero-premium {
        padding: 80px 5% 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badge-premium {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .hero-description-premium {
        font-size: 0.95rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-actions .btn-primary-premium,
    .hero-actions .btn-ghost-premium {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image-premium {
        width: 260px;
        height: 260px;
    }
    
    .hero-avatar .avatar-image {
        width: 170px;
        height: 170px;
    }
    
    .hero-avatar .avatar-icon {
        font-size: 75px;
    }
    
    .floating-badge {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    
    .badge-1 { top: -15px; left: -15px; }
    .badge-2 { bottom: 10px; right: -15px; }
    .badge-3 { bottom: -15px; left: 5%; }
    
    .hero-scroll-indicator {
        bottom: 100px;
        font-size: 10px;
    }

    .hero-stats {
        gap: 1rem;
    }
    .hero-stats .stat-number {
        font-size: 1.3rem;
    }
    .hero-stats .stat-plus {
        font-size: 1rem;
    }
    .hero-stats .stat-label {
        font-size: 0.6rem;
        margin-left: 0.1rem;
    }
}

/* ============================================ */
/* DARK MODE ADJUSTMENTS */
/* ============================================ */

[data-theme="dark"] .hero-avatar .avatar-image.loaded {
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15);
}

[data-theme="dark"] .hero-avatar .avatar-icon {
    color: var(--text-muted);
}

[data-theme="dark"] .hero-image-premium {
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(255,255,255,0.05));
}

.hero-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 8px 20px;
    
    /* Dark mode ke hisaab se soft AWS Orange tint */
    background: linear-gradient(145deg, rgba(255, 153, 0, 0.08), rgba(255, 153, 0, 0.02));
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    
    /* Smooth transitions for hover */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Subtle Float + Glow Animation */
    animation: premiumFloat 4s ease-in-out infinite;
}

.hero-cert-badge .cert-icon {
    color: #FF9900; /* AWS Signature Orange */
    font-size: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 153, 0, 0.5));
}

.hero-cert-badge .cert-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.hero-cert-badge .external-icon {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 8px 20px;
    
    /* Soft AWS Orange tint background */
    background: linear-gradient(145deg, rgba(255, 153, 0, 0.08), rgba(255, 153, 0, 0.02));
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    
    /* Smooth transitions for hover states */
    transition: all 0.3s ease;
    
    /* Sirf background glow ki animation (Text hilega nahi) */
    animation: premiumGlowPulse 3s ease-in-out infinite alternate;
}

.hero-cert-badge .cert-icon {
    color: #FF9900; /* AWS Signature Orange */
    font-size: 20px;
    filter: drop-shadow(0 0 4px rgba(255, 153, 0, 0.4));
}

.hero-cert-badge .cert-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.hero-cert-badge .external-icon {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Effect: Glow slightly intensifies and icon color shifts */
.hero-cert-badge:hover {
    background: linear-gradient(145deg, rgba(255, 153, 0, 0.15), rgba(255, 153, 0, 0.05));
    border-color: rgba(255, 153, 0, 0.6);
    box-shadow: 0 0 25px rgba(255, 153, 0, 0.25);
    transform: translateY(-2px); /* Slight elevate on hover for feedback */
}

.hero-cert-badge:hover .external-icon {
    transform: translate(3px, -3px);
    color: #FF9900;
}

/* Keyframes: Sirf box-shadow pulse karega, coordinate transitions (top/bottom) nahi hain */
@keyframes premiumGlowPulse {
    0% {
        box-shadow: 0 0 8px rgba(255, 153, 0, 0.04);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 153, 0, 0.18);
    }
}

/* Mobile Alignment Setup */
@media (max-width: 480px) {
    .hero-cert-badge {
        padding: 6px 16px;
        margin: 0 auto 1.5rem auto;
    }
    .hero-cert-badge .cert-text {
        font-size: 0.75rem;
    }
    .hero-cert-badge .cert-icon {
        font-size: 18px;
    }
}