/* ============================================
   GLOBAL STYLES
   ============================================ */

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

:root {
    --bg-dark: #0A0F14;
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --accent-blue: #00AEEF;
    --accent-blue-light: #00D4FF;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* ============================================
   VIDEO BACKGROUND
   ============================================ */

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 20, 0.5) 0%,
        rgba(10, 15, 20, 0.4) 50%,
        rgba(10, 15, 20, 0.5) 100%
    );
    z-index: 0;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

.logo-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
    flex-shrink: 0;
}

/* ============================================
   PORTAL BUTTON
   ============================================ */

.portal-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-blue);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
}

.portal-btn:hover {
    background-color: var(--accent-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 174, 239, 0.3);
}

/* ============================================
   LOGO
   ============================================ */

.logo {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--accent-blue);
    text-align: center;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
    text-shadow:
        0 0 10px rgba(0, 174, 239, 0.5),
        0 0 20px rgba(0, 174, 239, 0.3),
        0 0 30px rgba(0, 174, 239, 0.2);
    white-space: nowrap;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    padding: 2rem;
    max-width: 90%;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    white-space: normal;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--accent-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 174, 239, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

/* ============================================
   EMAIL INPUT WRAPPER
   ============================================ */

/* ============================================
   FOOTER SECTION
   ============================================ */

.footer-section {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    background: transparent;
    padding: 1.5rem 2rem 2rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    width: 100%;
}

.email-input-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.email-input-form {
    display: flex;
    align-items: center;
    gap: 0;
    background-color: rgba(10, 15, 20, 0.554);
    border: 2px solid rgba(0, 174, 239, 0.5);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    width: 100%;
    transition: all 0.3s ease;
}

.email-input-form:focus-within {
    background-color: rgba(10, 15, 20, 0.95);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.4);
}

.email-input-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    outline: none;
    padding: 0;
}

.email-input-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-submit-btn {
    background: transparent;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.email-submit-btn:hover {
    color: var(--accent-blue-light);
    transform: translateX(2px);
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
    width: 100%;
    order: 1;
}

.footer-copyright p {
    margin: 0;
}

.footer-copyright strong {
    color: var(--accent-blue);
    font-weight: 600;
}

/* ============================================
   MODALS & FORMS
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: rgba(10, 15, 20, 0.95);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 174, 239, 0.3);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 174, 239, 0.2);
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--accent-blue);
}



.thank-you-content {
    text-align: center;
}

.thank-you-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.thank-you-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.thank-you-content .btn {
    min-width: 150px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .logo-section {
        padding-top: 1.5rem;
    }

    .footer-section {
        padding: 1.2rem 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .logo-section {
        padding-top: 1rem;
    }

    .hero {
        padding: 1.5rem;
        max-width: 95%;
    }

    .footer-section {
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.8rem;
    }

    .email-input-wrapper {
        max-width: 90%;
    }

    .portal-btn {
        top: 1.5rem;
        right: 1.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo-section {
        padding-top: 0.75rem;
    }

    .logo {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .hero {
        padding: 1rem;
        max-width: 100%;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: clamp(1rem, 2.2vw, 1.3rem);
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    }

    .footer-section {
        padding: 0.8rem 1rem 1.2rem;
        gap: 0.6rem;
    }

    .email-input-wrapper {
        max-width: 100%;
    }

    .email-input-form {
        padding: 0.6rem 1rem;
    }

    .email-submit-btn {
        padding: 0.4rem;
    }

    .email-submit-btn svg {
        width: 16px;
        height: 16px;
    }

    .portal-btn {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .modal-content {
        padding: 1.5rem;
        max-width: 90%;
    }

    .modal-content h2 {
        font-size: 1.4rem;
    }

    .modal-content p {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

