/* ==========================
   HERO.CSS — Automation Expo 2026
========================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 6% 80px;
}

/* ── VIDEO BACKGROUND ── */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ── OVERLAY — layered: deep navy + grain texture feel ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(7,9,26,0.72) 0%,
            rgba(7,9,26,0.55) 50%,
            rgba(7,9,26,0.78) 100%);
    z-index: 1;
}

/* Subtle dot grid over video */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    z-index: 2;
    pointer-events: none;
}

/* Gold + red ambient glow */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(255,215,0,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 40%, rgba(230,59,46,0.08) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.hero-wave, .bottom-glow, .overlay { display: none; }

/* ── CONTENT ── */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 960px;
    margin: 0 auto;
}

/* ── TAG PILL ── */
.hero-tag {
    display: inline-block;
    background: rgba(255,215,0,0.12);
    color: #FFD700;
    border: 1px solid rgba(255,215,0,0.35);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    animation: heroTagIn 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.2s forwards;
}

/* ── HEADLINE ── */
.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 9vw, 108px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 22px;
    text-transform: uppercase;
    opacity: 0;
    animation: heroFadeUp 0.9s ease 0.4s forwards;
}

.hero-content h1 .accent-word {
    color: #FFD700;
    position: relative;
    display: inline-block;
}

.hero-content h1 .accent-word::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #E63B2E);
    border-radius: 2px;
}

/* ── SUBHEADLINE ── */
.hero-content > p {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.75;
    opacity: 0;
    animation: heroFadeUp 0.9s ease 0.6s forwards;
}

/* ── BUTTONS ── */
.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    opacity: 0;
    animation: heroFadeUp 0.9s ease 0.8s forwards;
}

/* ── COUNTDOWN ── */
.hero-countdown {
    opacity: 0;
    animation: heroFadeUp 0.9s ease 1.0s forwards;
}

.countdown-label {
    font-size: 10px;
    font-weight: 800;
    color: #FFD700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 0 14px rgba(255,215,0,0.5);
}

.countdown-timer {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-block .num {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 76px;
    text-align: center;
    transition: border-color 0.3s;
    backdrop-filter: blur(8px);
}

.countdown-block .num:hover {
    border-color: rgba(255,215,0,0.5);
    box-shadow: var(--glow-gold);
}

.countdown-block .lbl {
    font-size: 10px;
    font-weight: 700;
    color: #FFD700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 8px;
    text-shadow: 0 0 10px rgba(255,215,0,0.4);
}

.countdown-sep {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 20px;
}

/* ── SCROLL INDICATOR ── */
.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 3;
    opacity: 0;
    animation: heroFadeUp 0.9s ease 1.3s forwards;
}

.hero-scroll span {
    font-size: 9px;
    letter-spacing: 0.20em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #E63B2E, transparent);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ── KEYFRAMES ── */
@keyframes heroTagIn {
    from { opacity: 0; transform: scale(0.85) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.25; }
    50%       { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero { padding: 100px 5% 70px; }
    .countdown-block .num { font-size: 22px; min-width: 58px; padding: 10px 10px; }
    .countdown-sep { font-size: 20px; }
}