@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&family=Share+Tech+Mono&display=swap');

/* ═══════════════════════════════════════════════════════
   HERO SECTION — BrutForce Aviation
   Cinematic night-sky cockpit aesthetic
═══════════════════════════════════════════════════════ */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('../images/hero-section-image.png') center 20% / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px; /* header height */
    font-family: 'Outfit', sans-serif;
}

/* ── LAYERED OVERLAYS ── */

/* Deep dark gradient — makes image feel like dusk/night */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            105deg,
            rgba(5, 10, 30, 0.88) 0%,
            rgba(10, 20, 55, 0.75) 45%,
            rgba(15, 30, 80, 0.45) 75%,
            rgba(0, 0, 0, 0.15) 100%
        );
    z-index: 1;
    pointer-events: none;
}

/* Altitude grid lines — gives the cockpit HUD feel */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(99,102,241,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* Horizon glow line */
.hero-horizon {
    position: absolute;
    bottom: 38%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(99,102,241,0.0) 10%,
        rgba(99,102,241,0.5) 30%,
        rgba(129,140,248,0.8) 50%,
        rgba(99,102,241,0.5) 70%,
        rgba(99,102,241,0.0) 90%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-horizon::after {
    content: '';
    position: absolute;
    inset: -3px 0;
    background: inherit;
    filter: blur(6px);
    opacity: 0.5;
}

/* Canvas for particles */
#heroCanvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* Floating colour orbs */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 1;
    pointer-events: none;
    animation: heroOrb var(--d, 14s) ease-in-out infinite alternate;
}

.shape1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(79,95,224,0.25), rgba(99,102,241,0.08));
    --d: 16s;
}

.shape2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -80px;
    background: radial-gradient(circle, rgba(56,189,248,0.18), rgba(14,165,233,0.05));
    --d: 12s;
    animation-delay: -5s;
}

.shape3 {
    width: 300px;
    height: 300px;
    top: 30%;
    right: 15%;
    background: radial-gradient(circle, rgba(129,140,248,0.15), transparent);
    --d: 18s;
    animation-delay: -9s;
}

@keyframes heroOrb {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 30px) scale(1.08); }
}

/* ════════════════════════════════════════
   HERO CONTAINER — asymmetric split
════════════════════════════════════════ */
.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 60px 80px 8%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* ════════════════════════════════════════
   LEFT — COPY
════════════════════════════════════════ */
.hero-left {}

/* Eyebrow tag */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #818cf8;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 99px;
    padding: 5px 14px;
    margin-bottom: 24px;

    opacity: 0;
    transform: translateY(12px);
    animation: heroReveal 0.7s 0.1s ease forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    animation: eyebrowPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes eyebrowPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(129,140,248,0.5); }
    50%       { opacity: 0.6; box-shadow: 0 0 0 5px rgba(129,140,248,0); }
}

/* Headline */
.hero-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    color: #fff;

    opacity: 0;
    transform: translateY(16px);
    animation: heroReveal 0.75s 0.25s ease forwards;
}

.hero-container h1 .white-text { color: #e2e8f0; }

.hero-container h1 .accent {
    color: transparent;
    -webkit-text-stroke: 1.5px #f97316;
    font-style: italic;
}

.hero-container h1 .brand {
    color: #818cf8;
    position: relative;
    display: inline-block;
}

/* Underline sweep on .brand */
.hero-container h1 .brand::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #4f5fe0, #818cf8, #c7d2fe);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: brandUnderline 0.6s 0.9s cubic-bezier(.22,.68,0,1.1) forwards;
}

@keyframes brandUnderline {
    to { transform: scaleX(1); }
}

/* Subheadline */
.hero-container h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 400;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 520px;

    opacity: 0;
    transform: translateY(12px);
    animation: heroReveal 0.7s 0.45s ease forwards;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;

    opacity: 0;
    transform: translateY(12px);
    animation: heroReveal 0.7s 0.6s ease forwards;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

/* ── PRIMARY BUTTON — radiating glow ring ── */
.primary-btn.attract-btn {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(249,115,22,0.4);
}

/* Glow ring that pulses outward — draws the eye without moving the button */
.primary-btn.attract-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: transparent;
    box-shadow: 0 0 0 0 rgba(249,115,22,0.65);
    animation: btnGlowRing 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes btnGlowRing {
    0%   { box-shadow: 0 0 0 0   rgba(249,115,22,0.65); }
    60%  { box-shadow: 0 0 0 12px rgba(249,115,22,0); }
    100% { box-shadow: 0 0 0 0   rgba(249,115,22,0); }
}

.primary-btn.attract-btn:hover {
    box-shadow: 0 6px 28px rgba(249,115,22,0.55);
    filter: brightness(1.06);
}

/* ── SECONDARY BUTTON — slow auto-shimmer sweep ── */
.secondary-btn.attract-btn {
    background: rgba(255,255,255,0.07);
    color: #e2e8f0;
    border: 1.5px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

/* Shimmer sweeps across automatically every 3.5s */
.secondary-btn.attract-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.18) 50%,
        transparent 100%
    );
    animation: btnAutoShimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnAutoShimmer {
    0%   { left: -80%; opacity: 0; }
    10%  { opacity: 1; }
    50%  { left: 120%; opacity: 1; }
    51%  { opacity: 0; }
    100% { left: 120%; opacity: 0; }
}

.secondary-btn.attract-btn:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(129,140,248,0.6);
    color: #fff;
}

/* Services list */
.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;

    opacity: 0;
    transform: translateY(10px);
    animation: heroReveal 0.7s 0.75s ease forwards;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.services-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23818cf8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ════════════════════════════════════════
   RIGHT — INSTRUMENT / STAT CLUSTER
════════════════════════════════════════ */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;

    opacity: 0;
    transform: translateX(24px);
    animation: heroRevealRight 0.85s 0.5s ease forwards;
}

@keyframes heroRevealRight {
    to { opacity: 1; transform: translateX(0); }
}

/* Stat card */
.hero-stat-card {
    background: rgba(15, 22, 50, 0.6);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 16px;
    padding: 20px 24px;
    width: 100%;
    max-width: 320px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.hero-stat-card:hover {
    border-color: rgba(129,140,248,0.45);
    transform: translateY(-2px);
}

/* Card top accent line */
.hero-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, #4f5fe0, #818cf8, transparent);
}

.hsc-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4f5fe0;
    margin-bottom: 8px;
}

.hsc-value {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.hsc-sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
}

/* Animated counter increment */
.hsc-value[data-count] { transition: content 0.5s; }

/* Wide card — two-column inside */
.hero-stat-card.wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.hero-stat-card.wide .hsc-cell {
    padding: 18px 20px;
    position: relative;
}

.hero-stat-card.wide .hsc-cell:first-child {
    border-right: 1px solid rgba(99,102,241,0.15);
}

.hero-stat-card.wide .hsc-cell::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f5fe0, transparent);
}

.hero-stat-card.wide .hsc-cell:last-child::before {
    background: linear-gradient(90deg, #38bdf8, transparent);
}

/* Trust badge */
.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    padding: 12px 16px;
    width: 100%;
    max-width: 320px;
    backdrop-filter: blur(12px);
}

.htb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
    animation: htbPulse 2s ease-in-out infinite;
}

@keyframes htbPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.htb-text {
    font-size: 12.5px;
    font-weight: 500;
    color: #d1fae5;
}

.htb-text strong { color: #fff; font-weight: 700; }

/* ════════════════════════════════════════
   BOTTOM TICKER STRIP
════════════════════════════════════════ */
.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 44px;
    background: rgba(10, 15, 40, 0.75);
    border-top: 1px solid rgba(99,102,241,0.18);
    backdrop-filter: blur(12px);
    z-index: 3;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-ticker-inner {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
    will-change: transform;
}

.hero-ticker-inner:hover { animation-play-state: paused; }

.hero-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11.5px;
    color: #64748b;
    letter-spacing: 0.08em;
    border-right: 1px solid rgba(99,102,241,0.15);
}

.hero-ticker-item span {
    color: #818cf8;
    font-weight: 700;
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── ENTRY ANIMATION ── */
@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   SCROLL CUE
════════════════════════════════════════ */
.hero-scroll-cue {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: heroReveal 0.6s 1.2s ease forwards;
}

.hero-scroll-cue span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #475569;
}

.hero-scroll-mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(99,102,241,0.4);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.hero-scroll-mouse::before {
    content: '';
    width: 3px;
    height: 7px;
    background: #818cf8;
    border-radius: 99px;
    animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* ════════════════════════════════════════
   TABLET  768px – 1199px
════════════════════════════════════════ */
@media (max-width: 1199px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding: 60px 40px;
        gap: 40px;
    }

    .hero-right {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: flex-start;
        animation: heroReveal 0.85s 0.5s ease forwards;
    }

    .hero-stat-card,
    .hero-trust-badge {
        max-width: calc(50% - 8px);
        flex: 1;
        min-width: 180px;
    }
}

/* ════════════════════════════════════════
   MOBILE  < 768px
════════════════════════════════════════ */
@media (max-width: 767px) {
    .hero-section {
        min-height: 100svh;
        padding-top: 64px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 48px 20px 80px;
        gap: 36px;
        text-align: center;
    }

    .hero-eyebrow { margin: 0 auto 20px; }

    .hero-container h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
    .hero-container h2 { font-size: 1rem; max-width: 100%; }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .services-list {
        grid-template-columns: 1fr 1fr;
        justify-items: start;
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero-stat-card,
    .hero-trust-badge {
        max-width: calc(50% - 5px);
        min-width: 140px;
        flex: 1;
    }

    .hsc-value { font-size: 28px; }

    .hero-scroll-cue { display: none; }
}

@media (max-width: 400px) {
    .services-list { grid-template-columns: 1fr; }
    .hero-stat-card,
    .hero-trust-badge { max-width: 100%; }
}

/* ════════════════════════════════════════
   SECTION TRANSITION — Hero → Courses
   White wave curves down into sky section
════════════════════════════════════════ */
.hero-wave {
    position: absolute;
    bottom: 44px; /* sits above the ticker strip */
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 72px;
}