:root {
    --primary-color: #0d9488;
    --primary-hover: #0f766e;
    --text-main: #0f172a;
    --text-muted: #334155;
    --glass-bg: rgba(255, 255, 255, 0.40);
    --glass-border: rgba(255, 255, 255, 0.5);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0f172a;
    color: var(--text-main);
    line-height: 1.6;
    /* Previene la aparición de la barra de scroll y ancla la pantalla */
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Background Hero */
.hero {
    position: relative;
    width: 100%;
    height: 100%;
    /* Servimos la versión de extrema compresión webp */
    background-image: url('bg.webp');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.4) 0%, rgba(2, 6, 23, 0.1) 100%);
    z-index: 1;
}

/* Light Frosted Glass Container */
.glass-container {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

header {
    margin-bottom: 1.5rem;
}

.brand-logo {
    max-height: 65px;
    width: auto;
    object-fit: contain;
}

/* Typography & Content */
.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.3);
    color: var(--primary-hover);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -1px;
}

.description {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

/* Call to Action */
.actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.button.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px -10px var(--primary-color);
}

.button.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px var(--primary-hover);
}

footer {
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

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

/* Responsive constraints */
@media (max-width: 768px) {
    .glass-container {
        padding: 2.5rem 1.5rem;
    }
    .headline {
        font-size: 2.5rem;
    }
}

/* Escalado proporcional real (Zoom reescala el Box Model) para que quepa todo dentro de 100vh sin cortar */
@media (max-height: 700px) {
    .glass-container { zoom: 0.85; }
}
@media (max-height: 600px) {
    .glass-container { zoom: 0.70; }
}
@media (max-height: 480px) {
    .glass-container { zoom: 0.55; }
}
@media (max-height: 380px) {
    .glass-container { zoom: 0.45; }
}
