:root {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #f4f4f5;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus: rgba(255, 255, 255, 0.3);
    --error: #ef4444;
    --success: #10b981;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.2) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 60vw;
    height: 60vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, rgba(150, 150, 150, 0.15) 0%, transparent 70%);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Layout */
.top-banner {
    background-color: #ffffff; /* Fondo blanco para disimular el fondo del logo */
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem; /* Más espacio arriba para que el contenido no pegue con el banner */
    width: 100%;
    z-index: 1;
}

.brand-logo {
    max-height: 100px; /* Tamaño ideal para el banner */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.brand-text {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

/* Content */
.content {
    max-width: 600px;
    text-align: center;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--input-border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(to right, #ffffff, #666666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Form */
.form-container {
    width: 100%;
    position: relative;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    position: relative;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 100px;
    padding: 0.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--input-focus);
    box-shadow: 0 0 30px var(--accent-glow);
    background: rgba(255, 255, 255, 0.05);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    padding: 0 1.5rem;
    outline: none;
    width: 100%;
}

input[type="email"]::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn span {
    position: relative;
    z-index: 2;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    z-index: 2;
}

.submit-btn:hover .arrow-icon {
    transform: translateX(5px);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-status.show {
    opacity: 1;
    transform: translateY(0);
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--error);
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 4rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Animations */
.slide-down {
    animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(-30px);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
    animation-delay: 0.2s;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

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

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    .container {
        padding: 2rem 1rem 1rem;
    }
    
    .top-banner {
        padding: 1rem 0;
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .input-group:focus-within {
        box-shadow: none;
        background: transparent;
    }

    input[type="email"] {
        background: var(--input-bg);
        border: 1px solid var(--input-border);
        border-radius: 100px;
        padding: 1.2rem 1.5rem;
        margin-bottom: 0.5rem;
    }

    input[type="email"]:focus {
        border-color: var(--input-focus);
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 1.25rem;
    }

    .headline {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .brand-logo {
        max-height: 70px;
    }
}