/* ============================================
   MST Singapore — Hero v3 — Cinematic Dark
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(150deg, #0a1628 0%, #0c2340 40%, #0e3558 70%, #0a4a6e 100%);
}

/* Background layers */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 35%, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 75% 65%, rgba(0, 119, 182, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 25% 70%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
}

/* Grid pattern overlay — subtle on light bg */
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

/* Content */
.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-10);
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
    gap: var(--space-8);
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    letter-spacing: var(--tracking-wide);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-emerald);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.5);
    animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 12px rgba(52, 211, 153, 0.5); }
    50% { box-shadow: 0 0 20px rgba(52, 211, 153, 0.8), 0 0 40px rgba(52, 211, 153, 0.2); }
}

/* Title */
.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 800;
    letter-spacing: var(--tracking-tighter);
    line-height: 1.02;
    max-width: 850px;
    color: #ffffff;
}

/* Subtitle */
.hero__subtitle {
    font-family: var(--font-sans);
    font-size: clamp(var(--text-base), 2vw, var(--text-xl));
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    line-height: var(--leading-relaxed);
}

/* Actions */
.hero__actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--space-1);
}

/* Metrics bar */
.hero__metrics {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-4) var(--space-8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(16px);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-5);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.25);
    animation: float-down 2.5s ease-in-out infinite;
}

@keyframes float-down {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.8; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero__inner {
        padding: calc(var(--header-height) + var(--space-8)) var(--space-2) var(--space-8);
        gap: var(--space-6);
    }
    .hero__metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3);
        padding: var(--space-3);
        width: 100%;
    }
    .metric__divider { display: none; }
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { justify-content: center; width: 100%; }
    .hero__scroll { display: none; }
    .metric__number { font-size: var(--text-3xl); }
}
