/* Refined Stripe-Inspired Hero Background - Darkened and High Contrast */
:root {
    --hero-bg: #0d0d0d;
    --c1: #064e3b; /* Very dark teal */
    --c2: #022b22; /* Deep forest green */
    --c3: #011f18; /* Darkest green */
    --c4: #033a2e; /* Muted deep teal */
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    background-color: var(--hero-bg);
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 150%;
    background: linear-gradient(
        150deg,
        rgba(13, 13, 13, 1) 15%,
        rgba(10, 10, 10, 1) 40%,
        rgba(8, 8, 8, 1) 70%,
        rgba(16, 163, 127, 0.03) 90%
    );
    transform: skewY(-12deg);
    z-index: -1;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.stripe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(120px);
    opacity: 0.35; /* Even lower opacity for maximum text contrast */
}

.stripe {
    position: absolute;
    width: 100%;
    height: 200%;
    top: -50%;
}

.stripe-1 {
    background: radial-gradient(circle at 20% 30%, var(--c1) 0%, transparent 65%);
    animation: flow 30s ease-in-out infinite alternate;
}

.stripe-2 {
    background: radial-gradient(circle at 80% 70%, var(--c2) 0%, transparent 65%);
    animation: flow 35s ease-in-out infinite alternate-reverse;
}

.stripe-3 {
    background: radial-gradient(circle at 50% 50%, var(--c3) 0%, transparent 70%);
    animation: flow 40s ease-in-out infinite alternate;
}

.stripe-4 {
    background: radial-gradient(circle at 10% 90%, var(--c4) 0%, transparent 55%);
    animation: flow 25s ease-in-out infinite alternate-reverse;
}

@keyframes flow {
    0% { transform: translate(-5%, -5%) rotate(0deg); }
    100% { transform: translate(5%, 5%) rotate(5deg); }
}

.noise-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Enhanced contrast for hero text */
.hero-title {
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.hero-subtitle {
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

section:not(.hero) {
    position: relative;
    background-color: #0d0d0d;
    z-index: 5;
}
