/**
 * hero.css - Hero Section Styles
 *
 * Engaging hero section with gradient text and animations.
 */

/* -----------------------------------------------------------------------------
 * Hero Container
 * -------------------------------------------------------------------------- */

.hero {
    text-align: center;
    margin-bottom: var(--space-24);
    padding-top: var(--space-16);
}

/* -----------------------------------------------------------------------------
 * Status Badge
 * -------------------------------------------------------------------------- */

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    background-color: rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(234, 88, 12, 0.2);
    margin-bottom: var(--space-4);
}

.hero__badge-pulse {
    position: relative;
    display: flex;
    height: 0.5rem;
    width: 0.5rem;
}

.hero__badge-ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: var(--radius-full);
    background-color: var(--orange-400);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero__badge-ping {
        animation: none;
    }
}

.hero__badge-dot {
    position: relative;
    display: inline-flex;
    border-radius: var(--radius-full);
    height: 0.5rem;
    width: 0.5rem;
    background-color: var(--orange-500);
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero__badge-text {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: var(--orange-400);
    font-weight: 500;
}

/* -----------------------------------------------------------------------------
 * Title
 * -------------------------------------------------------------------------- */

.hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin: 0 0 var(--space-4) 0;
}

/* -----------------------------------------------------------------------------
 * Subtitle
 * -------------------------------------------------------------------------- */

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--slate-400);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.7;
}

.hero__subtitle-break {
    display: none;
}

/* -----------------------------------------------------------------------------
 * Responsive
 * -------------------------------------------------------------------------- */

@media (min-width: 640px) {
    .hero__subtitle-break {
        display: block;
    }
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 3.75rem;
    }
}
