/* PALETA DE COLORES WIN BRANDED Y FUENTE */
:root {
    --win-orange: #ff6600;
    --win-orange-gradient: linear-gradient(90deg, #ff6600 0%, #ff8c00 100%);
    --bg-dark-navy: #0a1128;
    --win-cyan: #00ffff;
    --win-cyan-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    --text-white: #ffffff;
    --font-primary: 'Poppins', sans-serif;
}

html {
    /* Evita que el menú fijo tape el título al terminar de deslizar */
    scroll-padding-top: 90px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark-navy);
    color: var(--text-white);
    /* Se eliminó el scroll-behavior: smooth de aquí para que JS tome el control */
    overflow-x: hidden;
}

/* IMÁGENES RESPONSIVAS (Esto arregla el problema de las fotos gigantes) */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* HEADER */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: rgba(10, 17, 40, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.win-logo {
    height: 40px;
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

    .main-nav a {
        color: var(--text-white);
        text-decoration: none;
        font-weight: 400;
        transition: color 0.3s;
    }

        .main-nav a:hover {
            color: var(--win-cyan);
        }

.btn-cta-nav {
    background: var(--win-orange-gradient);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}

/* HERO SECTION */
.hero-section {
    padding: 140px 10% 80px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    min-height: 80vh;
}

.hero-text {
    flex: 1;
}

    .hero-text h1 {
        font-size: 3rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

.brand-name {
    color: var(--win-orange);
}

.brand-name-color {
    color: var(--win-orange);
    font-weight: bold;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cccccc;
}

.btn-cta-main {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--win-cyan);
    color: var(--win-cyan);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: var(--win-cyan-shadow);
    transition: all 0.3s ease;
}

    .btn-cta-main:hover {
        background: var(--win-cyan);
        color: var(--bg-dark-navy);
    }

.hero-product {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* CARACTERÍSTICAS */
.features-section {
    padding: 60px 10%;
    text-align: center;
}

    .features-section h2 {
        margin-bottom: 40px;
        font-size: 2rem;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: var(--win-cyan);
        box-shadow: var(--win-cyan-shadow);
    }

    .feature-card img {
        height: 60px;
        margin-bottom: 20px;
        object-fit: contain;
    }

/* LIFESTYLE SPLIT SCREEN */
.lifestyle-section {
    padding: 60px 10%;
    display: flex;
    align-items: center;
    gap: 50px;
}

.image-panel, .text-panel {
    flex: 1;
}

    .text-panel p {
        font-size: 1.5rem;
        font-style: italic;
        color: #eeeeee;
    }

/* FORMULARIO DE ORDEN */
.order-section {
    padding: 80px 10%;
    display: flex;
    align-items: center;
    gap: 50px;
    background: linear-gradient(to right, rgba(10, 17, 40, 1) 0%, rgba(0, 50, 60, 0.5) 100%);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.lifestyle-side, .form-side {
    flex: 1;
}

.form-side {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--win-cyan);
    box-shadow: var(--win-cyan-shadow);
}

    .form-side h3 {
        margin-bottom: 25px;
        font-size: 1.8rem;
        text-align: center;
    }

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-bottom: 8px;
        font-size: 0.9rem;
        color: #cccccc;
    }

.input-field {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border-radius: 8px;
    font-size: 1rem;
}

    .input-field:focus {
        outline: none;
        border-color: var(--win-cyan);
    }

.offer-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
}

.highlight-text {
    color: var(--win-cyan);
    font-weight: bold;
}

.orange-cyan-gradient-btn {
    width: 100%;
    padding: 15px;
    background: var(--win-orange-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.3s ease;
}

    .orange-cyan-gradient-btn:hover {
        filter: brightness(1.1);
    }

.alert-success {
    background-color: rgba(0, 255, 100, 0.1);
    border: 1px solid #00ff64;
    color: #00ff64;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* FOOTER */
.main-footer {
    padding: 30px 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
}


/* =========================================
   DISEÑO RESPONSIVO (MÓVILES Y TABLETS)
   ========================================= */
@media (max-width: 768px) {

    /* 1. Ajustar márgenes */
    .hero-section, .features-section, .lifestyle-section, .order-section, .main-footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    /* 2. Header Móvil Limpio */
    .main-header {
        padding: 15px 5%;
        flex-wrap: nowrap; /* Evita que los elementos salten a la siguiente línea */
    }

    .win-logo {
        height: 30px;
    }

    /* Ocultamos "Funciones" y "Precio" en celular para no amontonar */
    .main-nav a:not(.btn-cta-nav) {
        display: none;
    }

    /* Arreglamos el botón para que nunca se parta en dos líneas */
    .btn-cta-nav {
        white-space: nowrap;
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* 3. Hero Section apilada */
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .btn-cta-main {
        font-size: 1rem;
        padding: 12px 20px;
    }

    /* 4. Secciones apiladas */
    .lifestyle-section, .order-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .form-side {
        padding: 25px 15px;
        width: 100%;
    }
}