:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #e50914;
    /* Netflix-like red */
    --accent-gradient: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(229, 9, 20, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(50, 20, 150, 0.15) 0%, transparent 40%);
    z-index: -1;
    animation: pulseBackground 10s ease-in-out infinite alternate;
}

@keyframes pulseBackground {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

/* Header */
.brand-logo {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo .highlight {
    color: var(--accent-color);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* Content Card */
.glass-effect {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease;
}

.glass-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(229, 9, 20, 0.1);
}

.glass-effect h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Form */
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    width: 100%;
}



input[type="email"] {
    flex: 1;
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    background: var(--accent-gradient);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #4ade80;
    /* Green success */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.form-feedback.visible {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

/* Logo Image Styles */
.brand-logo-img {
    width: 100%;
    max-width: 320px;
    /* Much larger max width */
    height: auto;
    margin: 0 auto 1.5rem auto;
    /* Center and add margin */
    display: block;
    /* Optional: If the logo has black text and needs to be white, use a filter */
    /* filter: brightness(0) invert(1); */
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #1a1a1a;
    background: linear-gradient(145deg, #1e1e1e, #141414);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.visible .modal {
    transform: scale(1);
}

.modal-icon {
    color: #4ade80;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 15px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 50%;
}

.modal h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.modal p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.modal .btn-primary {
    width: 100%;
    justify-content: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }

    .container {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .brand-logo-img {
        max-width: 220px;
        margin: 3rem auto 1.5rem auto;
    }

    .tagline {
        font-size: 1rem;
    }

    .glass-effect {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .glass-effect h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}