@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;800&display=swap');

:root {
    --bg-dark: #04130b;
    --accent-glow: rgba(16, 185, 129, 0.25);
    --gold-primary: #f59e0b;
    --gold-glow: rgba(245, 158, 11, 0.35);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --t-hero-slide: 0.8s;
    --t-title-fade: 0.6s;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- RESTORED HERO HAZE SWEEP --- */
.hero-haze {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 42%,
        rgba(16, 185, 129, 0.18) 50%,
        transparent 58%
    );
    pointer-events: none;
    z-index: 1;
    animation: hazeSweep 7s ease-in-out infinite alternate;
}

.page-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 2rem 1.5rem 1rem;
}

.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

/* --- PERFECTLY CENTERED TITLE --- */
.title-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 0;
    opacity: 0;
    animation: fadeUp var(--t-title-fade) ease-out forwards var(--t-hero-slide);
}

/* --- TOP RIGHT FLOATING BRIEF BUTTON --- */
.brief-form {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    opacity: 0;
    animation: fadeUp var(--t-title-fade) ease-out forwards calc(var(--t-hero-slide) + 0.4s);
}

.brief-btn {
    width: 3.25rem;
    height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
    border: none;
    box-shadow: 0 4px 15px var(--gold-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brief-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gold-glow);
    filter: brightness(1.1);
}

.brief-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.brief-tooltip {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: #1e293b;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.brief-form a:hover .brief-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Subtitles & Gold Gradient Tagline */
.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 600;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 0.5rem 0 1rem;
    opacity: 0;
    animation: fadeUp var(--t-title-fade) ease-out forwards calc(var(--t-hero-slide) + 0.2s);
}

.hero-subtitle {
    color: var(--text-main);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    margin: 0;
    opacity: 0;
    animation: fadeUp var(--t-title-fade) ease-out forwards calc(var(--t-hero-slide) + 0.3s);
}

.hero-subtitle-small {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeUp var(--t-title-fade) ease-out forwards calc(var(--t-hero-slide) + 0.4s);
}

/* --- ACTION BUTTONS (UNIFIED GOLD) --- */
.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp var(--t-title-fade) ease-out forwards calc(var(--t-hero-slide) + 0.5s);
}

.action-buttons a {
    text-decoration: none;
}

.action-btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 0.85rem 2.25rem;
    border-radius: 9999px;
    border: none;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
    box-shadow: 0 4px 20px var(--gold-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow);
    filter: brightness(1.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Keyframe Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hazeSweep {
    0% { transform: translate(-25%, 25%); }
    100% { transform: translate(25%, -25%); }
}

@media (max-width: 600px) {
    .brief-form {
        top: 1rem;
        right: 1rem;
    }
    .brief-btn {
        width: 2.75rem;
        height: 2.75rem;
    }
    .brief-icon {
        width: 1.15rem;
        height: 1.15rem;
    }
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    .action-buttons a, .action-btn {
        width: 100%;
    }
}