/* 
 * Zolota Landing Page
 */

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

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    background: #000000;
    line-height: 1.6;
}

/* Desktop Scale Adjustment (80% Zoom Equivalent) */
@media (min-width: 1024px) {
    html {
        font-size: 80%;
        /* Roughly 12.8px base */
    }
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video,
.video-background .bg-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    z-index: 100;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Tagline */
.tagline-container {
    position: fixed;
    bottom: 6rem;
    left: 3rem;
    bottom: 6rem;
    left: 3rem;
    max-width: 31.25rem;
    /* 500px */
    text-align: left;
}

.tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    font-style: normal;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(1.25rem);
    /* 20px */
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 3rem;
    display: flex;
    justify-content: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-link:hover::after {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 1.5rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .tagline-container {
        bottom: 5rem;
        left: 1.5rem;
        right: 1.5rem;
        max-width: none;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .tagline {
        font-size: 1.1rem;
    }
}

/* Waitlist Section */
.waitlist-container {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(1.25rem);
    /* 20px */
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 25rem;
    /* 400px */
}

.input-group {
    display: flex;
    gap: 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: #ffffff;
}

.waitlist-form input[type="email"] {
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.waitlist-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.waitlist-form input[type="email"]:focus::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.waitlist-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.waitlist-btn:hover:not(:disabled) {
    color: #ffffff;
}

.waitlist-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}

.waitlist-message {
    font-size: 0.85rem;
    min-height: 1.25em;
    transition: opacity 0.3s ease;
}

.waitlist-message.success {
    color: rgba(16, 185, 129, 0.9);
    /* Greenish */
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

.waitlist-message.error {
    color: rgba(239, 68, 68, 0.9);
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive adjustments for waitlist */
@media (max-width: 768px) {
    .waitlist-container {
        margin-top: 1.5rem;
    }

    .waitlist-form {
        max-width: 100%;
    }
}