/* ============================================
   PREMIUM HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #FFFBF7;
    padding-top: 100px;
    padding-bottom: 80px;
}

/* ---- Background ---- */
.hero-section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-section__base-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 183, 77, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(255, 152, 0, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 70%, rgba(255, 224, 178, 0.25) 0%, transparent 50%),
        linear-gradient(180deg, #FFFFFF 0%, #FFFBF7 40%, #FFF8F0 100%);
}

.hero-section__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    will-change: transform;
}

.hero-section__blob--1 {
    width: 480px;
    height: 480px;
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.35), rgba(245, 124, 0, 0.2));
    top: -8%;
    right: -6%;
}

.hero-section__blob--2 {
    width: 360px;
    height: 360px;
    background: linear-gradient(225deg, rgba(255, 224, 178, 0.5), rgba(255, 152, 0, 0.15));
    bottom: 15%;
    left: -8%;
}

.hero-section__blob--3 {
    width: 220px;
    height: 220px;
    background: rgba(255, 152, 0, 0.18);
    top: 35%;
    left: 25%;
}

.hero-section__blob--4 {
    width: 180px;
    height: 180px;
    background: rgba(255, 183, 77, 0.22);
    bottom: 30%;
    right: 20%;
}

.hero-section__circle {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(245, 124, 0, 0.12);
    will-change: transform;
}

.hero-section__circle--1 { width: 500px; height: 500px; top: -15%; right: 5%; }
.hero-section__circle--2 { width: 350px; height: 350px; bottom: 5%; left: -5%; border-color: rgba(255, 152, 0, 0.1); }
.hero-section__circle--3 { width: 120px; height: 120px; top: 25%; left: 15%; background: rgba(255, 243, 224, 0.4); border: none; }
.hero-section__circle--4 { width: 80px; height: 80px; top: 60%; right: 30%; background: rgba(245, 124, 0, 0.06); border: none; }
.hero-section__circle--5 { width: 40px; height: 40px; top: 20%; right: 40%; background: var(--color-primary); opacity: 0.15; border: none; }

.hero-section__shape {
    position: absolute;
    will-change: transform;
}

.hero-section__shape--1 { width: 200px; top: 12%; left: 5%; }
.hero-section__shape--2 { width: 120px; bottom: 25%; right: 8%; }

.hero-section__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.7;
}

.hero-section__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(245, 124, 0, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
}

.hero-section__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    line-height: 0;
}

.hero-section__wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.hero-section__wave-path--1 {
    animation: heroWave1 8s ease-in-out infinite;
}

.hero-section__wave-path--2 {
    animation: heroWave2 10s ease-in-out infinite;
}

/* ---- Container ---- */
.hero-section__container {
    position: relative;
    z-index: 2;
}

.hero-section__row {
    min-height: calc(100vh - 180px);
    min-height: calc(100dvh - 180px);
}

/* ---- Left Content ---- */
.hero-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px 10px 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 124, 0, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 20px rgba(245, 124, 0, 0.08);
    margin-bottom: 28px;
}

.hero-section__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.25);
    animation: heroPulseDot 2s ease-in-out infinite;
}

.hero-section__badge i {
    color: var(--color-primary);
    font-size: 15px;
}

.hero-section__title {
    margin-bottom: 24px;
}

.hero-section__title-line {
    display: block;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-gray-900);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hero-section__title-line--accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section__subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    max-width: 540px;
    margin-bottom: 36px;
}

.hero-section__subtitle strong {
    color: var(--color-gray-800);
    font-weight: var(--font-weight-semibold);
}

.hero-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-section__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-section__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(245, 124, 0, 0.1);
    transition: all var(--transition-base);
}

.hero-section__feature:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hero-section__feature i {
    color: var(--color-primary);
    font-size: 16px;
}

/* ---- Right Visual ---- */
.hero-section__col-visual {
    position: relative;
}

.hero-section__visual-wrap {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-illustration {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 520px;
    margin: 0 auto;
}

.hero-illustration__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 124, 0, 0.12) 0%, transparent 70%);
    animation: heroGlowPulse 4s ease-in-out infinite;
}

.hero-illustration__scene {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Laptop */
.hero-illustration__laptop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    z-index: 5;
    animation: heroFloatSlow 6s ease-in-out infinite;
}

.hero-illustration__laptop-bar {
    display: flex;
    gap: 5px;
    padding: 8px 12px;
    background: #E0E0E0;
    border-radius: 10px 10px 0 0;
}

.hero-illustration__laptop-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #BDBDBD;
}

.hero-illustration__laptop-bar span:first-child { background: #EF5350; }
.hero-illustration__laptop-bar span:nth-child(2) { background: #FFB300; }
.hero-illustration__laptop-bar span:nth-child(3) { background: #66BB6A; }

.hero-illustration__laptop-screen {
    background: var(--color-white);
    border: 2px solid #E0E0E0;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 16px;
    box-shadow: var(--shadow-xl);
}

.hero-illustration__screen-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-700);
}

.hero-illustration__screen-logo {
    width: 36px;
    height: auto;
    object-fit: contain;
}

.hero-illustration__form-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--color-gray-50);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border: 1px solid var(--color-gray-200);
}

.hero-illustration__form-field i {
    color: var(--color-primary);
    font-size: 12px;
    width: 16px;
}

.hero-illustration__form-line {
    height: 6px;
    flex: 1;
    background: var(--color-gray-200);
    border-radius: 3px;
}

.hero-illustration__form-line--short { max-width: 60%; }
.hero-illustration__form-line--medium { max-width: 75%; }

.hero-illustration__screen-btn {
    margin-top: 12px;
    padding: 8px;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    border-radius: var(--radius-sm);
}

.hero-illustration__laptop-base {
    height: 8px;
    background: linear-gradient(180deg, #BDBDBD, #9E9E9E);
    border-radius: 0 0 12px 12px;
    margin: 0 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Mobile */
.hero-illustration__mobile {
    position: absolute;
    bottom: 18%;
    right: 2%;
    width: 90px;
    background: #333;
    border-radius: 14px;
    padding: 6px;
    box-shadow: var(--shadow-lg);
    z-index: 8;
    animation: heroFloatMobile 5s ease-in-out infinite 1s;
}

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

.hero-illustration__mobile-notch {
    width: 36px;
    height: 4px;
    background: #555;
    border-radius: 2px;
    margin: 0 auto 6px;
}

.hero-illustration__mobile-screen {
    background: linear-gradient(180deg, #FFF8F0, #FFFFFF);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    font-size: 8px;
    color: var(--color-gray-700);
}

.hero-illustration__mobile-screen > i {
    font-size: 18px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 4px;
}

.hero-illustration__mobile-check {
    margin-top: 6px;
    padding: 4px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 4px;
    font-size: 7px;
    font-weight: var(--font-weight-semibold);
}

/* Floating elements */
.hero-illustration__float {
    position: absolute;
    z-index: 6;
    filter: drop-shadow(0 8px 24px rgba(245, 124, 0, 0.12));
}

.hero-illustration__float--program {
    top: 6%;
    left: -2%;
    animation: heroFloatCard 5s ease-in-out infinite;
}

.hero-illustration__float--calendar {
    top: 4%;
    right: -4%;
    animation: heroFloatCard 6s ease-in-out infinite 0.8s;
}

.hero-illustration__float--aadhaar {
    bottom: 22%;
    left: -6%;
    animation: heroFloatCard 5.5s ease-in-out infinite 1.5s;
}

.hero-illustration__float--qr {
    bottom: 8%;
    right: -2%;
    animation: heroFloatCard 4.5s ease-in-out infinite 0.5s;
}

.hero-illustration__mini-card {
    width: 140px;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(245, 124, 0, 0.12);
}

.hero-illustration__mini-card-img {
    height: 50px;
    background: linear-gradient(135deg, #FFE0B2, #FFCC80);
}

.hero-illustration__mini-card-body {
    padding: 8px 10px;
    font-size: 9px;
}

.hero-illustration__mini-card-body strong {
    display: block;
    font-size: 10px;
    color: var(--color-gray-900);
    margin-bottom: 3px;
}

.hero-illustration__mini-card-body span {
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 2px;
}

.hero-illustration__mini-card-body span i { color: var(--color-primary); margin-right: 3px; }

.hero-illustration__mini-card-body em {
    font-style: normal;
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}

/* Calendar widget */
.hero-illustration__calendar {
    width: 120px;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(245, 124, 0, 0.12);
    box-shadow: var(--shadow-md);
}

.hero-illustration__calendar-head {
    background: var(--gradient-primary);
    color: white;
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    padding: 6px;
}

.hero-illustration__calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    padding: 8px;
}

.hero-illustration__calendar-grid span {
    font-size: 8px;
    text-align: center;
    padding: 3px;
    border-radius: 4px;
    color: var(--color-text-muted);
}

.hero-illustration__calendar-grid span.active {
    background: var(--color-primary);
    color: white;
    font-weight: var(--font-weight-bold);
}

/* Aadhaar card */
.hero-illustration__aadhaar {
    width: 130px;
    background: linear-gradient(135deg, #FFFFFF, #FFF8F0);
    border-radius: var(--radius-md);
    padding: 10px;
    border: 1.5px solid rgba(245, 124, 0, 0.2);
    box-shadow: var(--shadow-md);
}

.hero-illustration__aadhaar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.hero-illustration__aadhaar-emblem { font-size: 14px; }

.hero-illustration__aadhaar-photo {
    width: 36px;
    height: 44px;
    background: linear-gradient(180deg, #FFE0B2, #FFCC80);
    border-radius: 4px;
    margin-bottom: 8px;
}

.hero-illustration__aadhaar-lines span {
    display: block;
    height: 4px;
    background: var(--color-gray-200);
    border-radius: 2px;
    margin-bottom: 4px;
}

.hero-illustration__aadhaar-lines span:nth-child(1) { width: 90%; }
.hero-illustration__aadhaar-lines span:nth-child(2) { width: 70%; }
.hero-illustration__aadhaar-lines span:nth-child(3) { width: 50%; }

.hero-illustration__aadhaar-number {
    font-size: 8px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-700);
    letter-spacing: 1px;
    margin: 6px 0;
}

.hero-illustration__aadhaar-verified {
    font-size: 8px;
    color: #2E7D32;
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* QR Payment */
.hero-illustration__qr {
    width: 100px;
    background: white;
    border-radius: var(--radius-md);
    padding: 10px;
    text-align: center;
    border: 1px solid rgba(245, 124, 0, 0.12);
    box-shadow: var(--shadow-md);
}

.hero-illustration__qr-pattern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    margin-bottom: 6px;
}

.hero-illustration__qr-pattern span {
    aspect-ratio: 1;
    background: #F5F5F5;
    border-radius: 1px;
}

.hero-illustration__qr-pattern span.filled {
    background: var(--color-gray-800);
}

.hero-illustration__qr-label {
    font-size: 8px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary-dark);
}

.hero-illustration__qr-label i { margin-right: 3px; }

.hero-illustration__people {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    opacity: 0.8;
}

/* Glassmorphism stat cards */
.hero-glass-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px rgba(245, 124, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 10;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-glass-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(245, 124, 0, 0.18);
}

.hero-glass-card__icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.hero-glass-card__value {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-gray-900);
    line-height: 1.2;
}

.hero-glass-card__label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
}

.hero-glass-card--1 { top: 0; right: 5%; }
.hero-glass-card--2 { top: 38%; right: -8%; }
.hero-glass-card--3 { bottom: 12%; left: -4%; }
.hero-glass-card--4 { bottom: 0; right: 15%; }

/* ---- Scroll Indicator ---- */
.hero-section__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    z-index: 5;
    transition: color var(--transition-fast);
}

.hero-section__scroll:hover {
    color: var(--color-primary);
}

.hero-section__scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--color-gray-400);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.hero-section__scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: heroScrollWheel 2s ease-in-out infinite;
}

.hero-section__scroll-text {
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-section__scroll-arrow {
    font-size: 12px;
    animation: bounceDown 2s ease-in-out infinite;
}

/* ---- Keyframes ---- */
@keyframes heroWave1 {
    0%, 100% { d: path("M0,64 C360,120 720,0 1080,64 C1260,96 1380,80 1440,64 L1440,120 L0,120 Z"); }
    50% { d: path("M0,70 C360,100 720,20 1080,70 C1260,80 1380,100 1440,70 L1440,120 L0,120 Z"); }
}

@keyframes heroWave2 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

@keyframes heroPulseDot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.25); }
    50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.1); }
}

@keyframes heroGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.8; }
}

@keyframes heroFloatSlow {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-14px); }
}

@keyframes heroFloatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

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

@media (max-width: 1199.98px) {
    .hero-glass-card--2 { right: -2%; }
    .hero-glass-card--4 { right: 5%; }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 90px;
        padding-bottom: 100px;
    }

    .hero-section__row {
        min-height: auto;
    }

    .hero-section__col-content {
        text-align: center;
        margin-bottom: 20px;
    }

    .hero-section__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section__actions,
    .hero-section__features {
        justify-content: center;
    }

    .hero-section__visual-wrap {
        min-height: 460px;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-illustration {
        height: 460px;
        max-width: 480px;
    }

    .hero-glass-card--1 { top: 2%; right: 0; }
    .hero-glass-card--2 { top: auto; bottom: 35%; right: 0; }
    .hero-glass-card--3 { bottom: 8%; left: 0; }
    .hero-glass-card--4 { display: none; }

    .hero-illustration__float--calendar { right: 0; }
    .hero-illustration__float--aadhaar { left: 0; }
}

@media (max-width: 767.98px) {
    .hero-section__title-line {
        font-size: 1.85rem;
    }

    .hero-illustration {
        height: 400px;
        transform: scale(0.9);
        transform-origin: center top;
    }

    .hero-illustration__laptop {
        width: 260px;
    }

    .hero-glass-card {
        padding: 10px 14px;
        gap: 10px;
    }

    .hero-glass-card__icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .hero-glass-card__value {
        font-size: var(--font-size-base);
    }

    .hero-glass-card--3 { display: none; }

    .hero-section__circle--1,
    .hero-section__circle--2 { opacity: 0.5; }
}

@media (max-width: 575.98px) {
    .hero-section__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-section__actions .btn-primary,
    .hero-section__actions .btn-secondary {
        width: 100%;
    }

    .hero-section__features {
        flex-direction: column;
        align-items: center;
    }

    .hero-illustration {
        height: 360px;
        transform: scale(0.82);
    }

    .hero-illustration__float--program,
    .hero-illustration__float--aadhaar {
        transform: scale(0.9);
    }

    .hero-glass-card--1,
    .hero-glass-card--2 {
        display: none;
    }

    .hero-section__scroll {
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-illustration__laptop,
    .hero-illustration__mobile,
    .hero-illustration__float,
    .hero-section__wave-path,
    .hero-section__scroll-wheel,
    .hero-section__scroll-arrow {
        animation: none !important;
    }
}
