/* ===========================================
   Hero Variants - Per-page gradients
   =========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    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%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--apex-primary) 0%, var(--apex-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.hero-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Home hero gradient */
.hero-home .hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(34, 211, 238, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(167, 139, 250, 0.08), transparent);
}

/* Phrones hero gradient */
.hero-phrones .hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.2), transparent),
        radial-gradient(ellipse 60% 40% at 20% 70%, rgba(34, 211, 238, 0.15), transparent),
        radial-gradient(ellipse 50% 30% at 80% 50%, rgba(56, 189, 248, 0.1), transparent);
}

/* Sentinelle hero gradient */
.hero-sentinelle .hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(13, 27, 42, 0.4), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(245, 158, 11, 0.12), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(34, 197, 94, 0.08), transparent);
}

/* Solutions hero gradient */
.hero-solutions .hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 30% 70%, rgba(56, 189, 248, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 70% 50%, rgba(251, 146, 60, 0.08), transparent);
}

/* About hero gradient */
.hero-about .hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 70% 60%, rgba(245, 158, 11, 0.1), transparent);
}

/* Sub-page hero (shorter) */
.hero-sub {
    min-height: 60vh;
}

/* SVG animation container in hero */
.hero-svg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.3;
}

.hero-svg-container svg {
    width: 100%;
    height: 100%;
}
