@font-face {
    font-family: 'Trajanus';
    src: url('fonts/trajanus.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-gold: #e9d397;
    --brand-blue: #01517e;
    --white: #ffffff;
    --white-alpha: rgba(255, 255, 255, 0.7);
    --font-heading: 'Trajanus', serif;
    --font-body: 'Trajanus', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background-color: #000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(233, 211, 151, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(233, 211, 151, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(233, 211, 151, 0);
    }
}

@keyframes expand-line {
    0% {
        height: 0;
        opacity: 0;
    }

    50% {
        height: 60px;
        opacity: 1;
    }

    100% {
        height: 60px;
        opacity: 0;
        transform: translateY(20px);
    }
}

.fade-up {
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 1.2s;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/delta-balamuc-hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 2rem;
}

/* Cinematic Overlays */
.vignette-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.35) 25%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.35) 75%,
            rgba(0, 0, 0, 0.95) 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(1, 81, 126, 0.3) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

/* Content */
.cinematic-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5vh;
}


.logo-wrapper {
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 150px;
    /* Small logo above title */
}

.main-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.cinematic-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -3px;
    word-spacing: -0.25em;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    text-transform: uppercase;
}

.cinematic-content h1 span {
    font-style: normal;
    color: var(--white);
    font-weight: 400;
}

.cinematic-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--white);
    /* Brighter text for better contrast */
    line-height: 2;
    /* Increased line height for legibility with this font */
    max-width: 600px;
    margin: 0 auto 3rem;
    /* Reduced space below description */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    word-spacing: 0.1em;
}

/* Form Styles - Minimalist Cinematic */
.early-access-form {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 4;
}

.early-access-form h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    word-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    transition: opacity 0.4s;
    line-height: 1.5;
    padding-bottom: 4px;
    display: inline-block;
    white-space: nowrap;
}

.form-row {
    display: flex;
    gap: 1rem;
    position: relative;
    transition: all 0.4s;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 1.25rem 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-gold);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    width: 60px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.submit-btn:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-blue);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

.form-terms {
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 0.2rem;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s, transform 0.4s;
    line-height: 1.5;
    white-space: nowrap;
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 0.15rem;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}

.whatsapp-cta svg {
    color: #25D366;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.whatsapp-cta:hover {
    color: #25D366;
    border-color: #25D366;
}

.whatsapp-cta:hover svg {
    transform: scale(1.15);
}

.success-message {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.success-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.success-message p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem !important;
    color: var(--brand-gold) !important;
    margin: 0 !important;
}


/* Responsive */
@media (max-width: 768px) {
    .logo-wrapper {
        max-width: 120px;
    }

    .cinematic-content h1 {
        white-space: normal;
    }

    .early-access-form h3,
    .form-terms {
        white-space: normal;
        /* Allow wrap on mobile */
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .submit-btn {
        width: 100%;
        margin-top: 1rem;
        padding: 1.25rem 0;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .scroll-indicator {
        display: none;
    }
}