/* ─── Base & Utilities ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(74, 25, 66, 0.2);
    color: #4A1942;
}

/* ─── Hero Gradient ─── */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #1a0a18 0%,
        #2D0E28 20%,
        #4A1942 40%,
        #6b1a42 55%,
        #832050 70%,
        #4A1942 85%,
        #1a0a18 100%
    );
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(163, 48, 104, 0.15) 0%, transparent 50%);
}

/* ─── Hero Shimmer ─── */
.hero-shimmer {
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(212, 160, 23, 0.03) 50%,
        transparent 70%
    );
    animation: shimmer 8s ease-in-out infinite;
}

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

/* ─── Hero Animations ─── */
.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-headline {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 0.5s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 0.7s;
}

.hero-ctas {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 0.9s;
}

.hero-scroll-indicator {
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.4s;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ─── Hero Buttons ─── */
.hero-btn-primary {
    box-shadow: 0 4px 24px rgba(212, 160, 23, 0.25);
}

.hero-btn-primary:hover {
    box-shadow: 0 8px 32px rgba(212, 160, 23, 0.35);
    transform: translateY(-2px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ─── Section Eyebrow ─── */
.section-eyebrow {
    letter-spacing: 0.2em;
}

/* ─── Experience Pattern ─── */
.experience-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212, 160, 23, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px, 32px 32px;
}

/* ─── Contact Pattern ─── */
.contact-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 160, 23, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(163, 48, 104, 0.2) 0%, transparent 50%);
}

/* ─── Scroll Reveal ─── */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Default state is visible — JS adds the hidden state for progressive enhancement */

/* ─── Navbar Scrolled State ─── */
.navbar-scrolled {
    background: rgba(45, 14, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.3);
}

/* ─── Mobile Menu ─── */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ─── Form Focus States ─── */
input:focus,
textarea:focus {
    outline: none;
}

/* ─── Smooth Scroll ─── */
html {
    scroll-behavior: smooth;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.75rem;
    }

    .hero-headline br {
        display: none;
    }

    @media (min-width: 769px) {
        .hero-headline {
            font-size: 3.75rem;
        }
    }

    @media (min-width: 1024px) {
        .hero-headline {
            font-size: 4.5rem;
        }
    }

    @media (min-width: 1280px) {
        .hero-headline {
            font-size: 5rem;
        }
    }

    .section-eyebrow {
        letter-spacing: 0.15em;
    }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-eyebrow,
    .hero-headline,
    .hero-subtitle,
    .hero-ctas {
        opacity: 1;
        animation: none;
    }

    .hero-scroll-indicator {
        opacity: 1;
        animation: none;
    }
}
