:root {
    --bg-color: #0b0e1e; /* Azul muy oscuro casi negro */
    --card-gradient: linear-gradient(
        270deg,
        rgba(11, 15, 43, 1) 5%,
        rgba(99, 9, 33, 1) 47%
    );
    --card-gradient-reverse: linear-gradient(
        90deg,
        rgba(11, 15, 43, 1) 5%,
        rgba(99, 9, 33, 1) 47%
    );
    --text-white: #ffffff;
    --accent-red: #ff3b3b;
    --blue_square: #56a5ff;
    --purple_square: #c180ff;
    --green_square: #2add75;
}

@font-face {
    font-family: "Avenir";
    src: url("../fonts/Avenir\ Next\ LT\ W02\ Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Avenir Black";
    src: url("../fonts/Avenir-Black.woff2") format("woff2");
}

/* Reseteo total para la landing */
.pure-landing * {
    all: unset; /* Borra toda propiedad heredada */
    box-sizing: border-box;
    display: revert; /* Devuelve el display natural (block, inline, etc) */
}

/* Ahora define tus bases de nuevo de forma limpia */
.pure-landing {
    background-color: #050a1e; /* Tu azul oscuro */
    color: white;
    font-family: "Avenir", Tahoma, Geneva, Verdana, sans-serif !important;
    margin: 0;
    padding: 0;
}

/* Define el comportamiento de tus bloques */
.pure-landing h1,
.pure-landing h2 {
    display: block;
}
.pure-landing p {
    display: block;
}

html,
body {
    margin: 0;
    padding: 0;
}

#landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #07132f;
    background: linear-gradient(
        176deg,
        rgba(7, 19, 47, 1) 50%,
        rgba(0, 0, 1, 1) 75%
    );
    color: #fff;
}

/*===SECTION NAVBAR===*/

.navbar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #000000;
}

/*.main-navigation ul {
    display: flex;
    gap: 3rem;
    list-style-type: none;
}

.main-navigation a {
    text-decoration: none;
    color: white;
}*/

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

.hero-container {
    margin: 2rem 0;
}

.hero-container h1 {
    font-size: 3.5rem;
}

.hero-container h2 {
    font-size: 2.8rem;
}

.hero-container h1,
.hero-container h2 {
    margin: unset;
}

.hero-content {
    margin: 1rem 0;
    text-align: center;
}

.hero-content p {
    margin: unset;
    font-size: 1.5rem;
    font-weight: 600;
}

.video-container {
    width: 100%;
    max-width: 800px; /* Ajusta según tu diseño */
    margin: 4rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: #000;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

/*===SECTION INFO===*/

.info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.cards {
    display: flex;
    gap: 2rem;
}

.card {
    max-width: 20rem;
    padding: 2rem;
    border: 1px solid #6e6f7a;
    border-radius: 10px;
    background-color: #1a0f21;
}

.card p:first-of-type {
    font-size: 1.2rem;
}

.card > p {
    font-size: 1rem;
    font-weight: 500;
    margin: 1rem 0;
}

.data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    margin: 2rem 0;
    text-align: center;
}

.data-text h3 {
    margin: unset;
    font-weight: 700;
    font-size: 2.5rem;
}

.data-blue h3 {
    color: var(--blue_square);
}

.data-purple h3 {
    color: var(--purple_square);
}

.data-green h3 {
    color: var(--green_square);
}

.decoration_blue {
    content: "";
    background-color: var(--blue_square);
    width: 15px;
    height: 15px;
    box-shadow: 0 0 0.2rem 0.3rem rgba(86, 165, 255, 0.5);
    border-radius: 3px;
}

.decoration_purple {
    content: "";
    background-color: var(--purple_square);
    width: 15px;
    height: 15px;
    box-shadow: 0 0 0.2rem 0.3rem rgba(193, 128, 255, 0.5);
    border-radius: 3px;
}

.decoration_green {
    content: "";
    background-color: var(--green_square);
    width: 15px;
    height: 15px;
    box-shadow: 0 0 0.2rem 0.3rem rgba(42, 221, 117, 0.5);
    border-radius: 3px;
}

/*===SECTION ACTION===*/

.action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 680px;
}

.action h2 {
    font-size: 2.3rem;
}

.action-content {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.action-input {
    max-width: 650px;
    width: 100%;
    padding: 0.6rem 0;
    text-align: center;
    border: 1px solid #6e6f7a;
    border-radius: 15px !important;
    color: white;
    background-color: #271f32;
}

.action-input::placeholder {
    font-weight: 600;
    color: white;
}

.action-submit {
    width: 45% !important;
    padding: 0.6rem 0.5rem !important;
    border: none;
    border-radius: 15px !important;
    background-color: white !important;
    color: #000 !important;
}

.action-button {
    display: inline-block;
    width: 100%;
    max-width: 480px;
    margin: 2rem 0;
    padding: 0.5rem 1rem;
    box-shadow: 0 0 0.35rem 0.3rem rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
    background: #11181f;
    background: linear-gradient(
        180deg,
        rgba(17, 24, 31, 1) 10%,
        rgba(139, 18, 42, 1) 40%
    );
    color: white;

    transition: all 0.3s ease-in-out;
}

.action-button:hover {
    box-shadow: 0 0 0.5rem 0.5rem rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
    cursor: pointer;
}

.action-button:active {
    box-shadow: 0 0 0.5rem 0.5rem rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
    cursor: pointer;
}

.action-button:focus {
    outline: none;
}

/*===SECTION SUCCESSION===*/

.succession {
    margin: 2rem 0;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    font-family: "Avenir Black", sans-serif;
}

.header h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    font-weight: 800;
}

.header p {
    margin: 0;
}

.container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step-card {
    background: var(--card-gradient);
    border-radius: 25px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.content {
    flex: 1;
    z-index: 2;
}

.step-card h2 {
    font-family: "Avenir Black", sans-serif;
    position: absolute;
    font-size: 2rem;
    line-height: 30px;
    margin: 0 0 10px 0;
    top: -15px;
}

.step-card p {
    line-height: 1.5;
    font-size: 0.95rem;
    color: #e0e0e0;
}

/* Estilos específicos para las imágenes/iconos */
.visual {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-placeholder {
    font-size: 80px;
    opacity: 0.8;
}

/* Invertir orden para el paso 2 */
.step-card.reverse {
    flex-direction: row-reverse;
    background: var(--card-gradient-reverse);
}

.step-card.reverse .content {
    padding-left: 40px;
    text-align: end;
}

.step-card.reverse .content h2 {
    right: 30px;
    top: -25px;
}

/*===SECTION MEDIAQUERY===*/

@media (max-width: 768px) {
    .navbar-container {
        padding: 1rem 1rem;
    }

    .main-navigation ul {
        gap: 1.5rem;
    }

    .hero-container {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .cards {
        flex-direction: column;
        padding: 0 1rem;
    }

    .card {
        max-width: 100%;
    }

    .data {
        width: 90%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .action {
        padding: 0;
    }

    .action-content {
        flex-direction: column;
        align-items: center;
    }

    .action-content input,
    .action-content button {
        width: 90%;
        max-width: 400px;
    }

    .action-button {
        font-size: 1.5rem;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-container h1,
    .hero-container h2 {
        text-align: center;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-container {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .card {
        padding: 1rem;
    }

    .data h3 {
        font-size: 1.5rem;
    }

    .action h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .action-button {
        font-size: 1.2rem;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .step-card,
    .step-card.reverse {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .step-card h2 {
        position: relative;
    }

    .step-card p {
        max-width: 100%;
    }
    .visual {
        margin-top: 20px;
    }
}
