@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --bg-start: #070A10;
    --bg-end: #0B1020;
    --text-primary: #E9EEF7;
    --text-secondary: #9AA3B2;
    --cta-bg: #FFD400;
    --cta-text: #0B1020;
    --accent-glow: #28E0E9;
    --secondary-accent: #9B5CFF;
}

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

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--bg-start);
    color: var(--text-primary);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* The container is now transparent to show the video behind it */
.prelander-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    z-index: 1;
}

.overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(7, 10, 16, 0.5) 100%),
                linear-gradient(180deg, rgba(7, 10, 16, 0.3) 0%, rgba(7, 10, 16, 0.6) 100%);
    z-index: -1;
}

.top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.logo-wrapper #logo {
    width: 320px; /* Increased size to match reference image dominance */
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
}

.headline-wrapper {
    text-align: right;
    max-width: 850px;
}

.headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.98rem, 5.22vw, 3.78rem);
    font-weight: 800;
    line-height: 1.05;
    color: #FFFFFF;
    text-shadow: 0 0 15px rgba(40, 224, 233, 0.8), 0 0 30px rgba(40, 224, 233, 0.4);
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: -0.02em;
}

.subheadline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.44rem);
    color: #FFFFFF;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 24px;
    text-align: center;
    max-width: 800px;
}

.bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 20px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #FFD400 0%, #F27D26 100%);
    color: #0B1020;
    padding: 10px 32px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    transition: all 0.3s ease;
    border: 2px solid #FFFFFF;
    gap: 12px;
    position: relative;
    animation: cta-pulse 2s infinite ease-in-out;
}

@keyframes cta-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

.cta:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

.arrow-circle {
    width: 32px;
    height: 32px;
    background: #0B1020;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD400;
}

.arrow-circle svg {
    width: 18px;
    height: 18px;
}

.credibility {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .top-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .headline-wrapper {
        text-align: center;
    }
    .prelander-container {
        padding: 20px;
    }
    .logo-wrapper #logo {
        width: 160px;
    }
    .cta {
        padding: 10px 30px;
    }
    .arrow-circle {
        width: 32px;
        height: 32px;
    }
}
