:root {
    --main-bg: #181820;
    --card-bg: #23232b;
    --accent: #9f3ef4;
    --accent2: #ffb300;
    --success: #43a047;
    --danger: #e53935;
    --text: #f5f5f5;
    --shadow: 0 4px 24px #000a;
    --radius: 16px;
}

body {
    font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
    background: var(--main-bg) url('https://www.transparenttextures.com/patterns/stardust.png') repeat fixed;
    color: var(--text);
    margin: 0;
    min-height: 100vh;
    position: relative;
}

/* NAVBAR GENERAL */
.navbar {
    background: rgba(23, 1, 25, 0.742);
    box-shadow: 0 2px 12px #000a;
    padding: 0.7rem 0;
    z-index: 1000 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0;
    padding: 0 0.5em;
    width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent2);
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
}

.navbar-brand img {
    height: 42px;
    margin-right: 12px;
    vertical-align: middle;
}

.navbar-nav {
    display: flex;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}





.navbar-nav li a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
   padding: 0.4em 0.7em;
    border-radius: 10px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    display: flex;
    align-items: center;
   gap: 0.3em;
    font-size: 1.08em;
}

.navbar-nav li a:hover,
.navbar-nav li a.active {
    background: linear-gradient(90deg, #4c0b51 60%, var(--accent2) 100%);
    color: #23232b;
    box-shadow: 0 2px 12px #ffb30033;
}

/* NAVBAR MOBILE HEADER */
.navbar-mobile-header {
    display: none;
    align-items: center;
    gap: 0.7em;
}

.navbar-toggle {
    background: none;
    border: none;
    color: var(--accent2);
    font-size: 2.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3em;
    padding: 0.2em 0.5em;
}

.navbar-mobile-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 0.2em;
    box-shadow: 0 2px 8px #0002;
    background: #23232b;
}

/* PARTE 2 de 4 - Responsive Navbar y Banner */
@media (max-width: 900px) {
    .navbar-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0 0.5em;
    }

    .navbar-mobile-header {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0.2em 0.3em;
    }

    .navbar-brand {
        display: none !important;
    }

    .navbar-nav {
        flex-direction: column;
        background: #0f011aea;
        position: fixed;
        top: 0;
        left: -100vw;
        width: 85vw;
        max-width: 240px;
        height: 100vh;
        padding-top: 0;
        z-index: 9999;
        box-shadow: 2px 0 16px rgba(138, 8, 8, 0.667);
        transition: left 0.3s cubic-bezier(.4, 2, .6, 1);
        gap: 0.2em;
        border-radius: 0 18px 18px 0;
        overflow-y: auto;
        display: none;
    }

    .navbar-nav.open {
        left: 0;
        display: flex;
    }

    .navbar-nav li {
        width: 100%;
    }

    .navbar-nav li a {
        width: 100%;
        font-size: 1.1em;
        padding: 1em 1.5em;
        border-radius: 0;
        border-bottom: 1px solid #18182044;
        color: #ffb300;
        background: none;
    }

    .navbar-nav li a:hover {
        background: #181820;
        color: var(--accent);
    }

    .navbar-nav .navbar-menu-brand {
        display: flex !important;
        align-items: center;
        font-size: 1.2em;
        font-weight: bold;
        color: var(--accent2);
        padding: 1em 1.5em;
        border-bottom: 1px solid #18182044;
        background: none;
        gap: 0.5em;
        margin-bottom: 0.5em;
        text-decoration: none;
        pointer-events: auto;
    }

    .navbar-nav .navbar-menu-brand img {
        height: 32px;
        margin-right: 8px;
        border-radius: 50%;
        box-shadow: 0 2px 8px #0002;
        background: #23232b;
    }
}



@media (min-width: 901px) {
    .navbar-mobile-header {
        display: none !important;
    }

    .navbar-brand {
        display: flex !important;
    }

    .navbar-nav {
        display: flex !important;
        position: static !important;
        height: auto !important;
        width: auto !important;
        background: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding-top: 0 !important;
        left: 0 !important;
        gap: 0.2rem;
    }

    .navbar-nav .navbar-menu-brand {
        display: none !important;
    }
}

/* Banner y HERO mejorados para móvil */
.banner-video-container {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: #181820;
    margin-bottom: 0;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 340px;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(24, 24, 32, 0.7) 0%, rgba(24, 24, 32, 0.95) 100%);
    z-index: 2;
}

.banner-content {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 4vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60vw;
    color: #fff;
    text-shadow: 0 2px 12px #000a;
    padding: 1.5em 1em;
}

.banner-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: var(--accent2);
    text-shadow: 0 2px 12px #000a;
}

.banner-desc {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #fff;
    text-shadow: 0 2px 12px #000a;
    line-height: 1.3;
    word-break: break-word;
    white-space: normal;
}

.banner-btns {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.banner-btn {
    background: var(--accent2);
    color: #23232b;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    padding: 0.7em 1.5em;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: 0 2px 8px #0002;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.banner-btn:hover {
    background: var(--accent);
    color: #fff;
}

.banner-btn-outline {
    background: transparent;
    color: var(--accent2);
    border: 2px solid var(--accent2);
}

.banner-btn-outline:hover {
    background: var(--accent2);
    color: #23232b;
}

/* PARTE 3 de 4 - Banner Responsive y Hero */
@media (max-width: 700px) {

    html,
    body {
        font-size: 15px;
    }

    .banner-video-container {
        height: 200px;
    }

    .banner-video {
        min-height: 200px;
    }

    .banner-title {
        font-size: 1.1rem;
    }

    .banner-content {
        left: 2vw;
        max-width: 98vw;
        padding: 0.5em 0.2em;
        font-size: 1em;
        position: static;
        height: auto;
        top: auto;
        text-align: left;
    }

    .banner-desc {
        font-size: 1em;
        word-break: break-word;
        white-space: normal;
    }

    .banner-btns {
        flex-direction: column;
        gap: 0.5em;
        align-items: flex-start;
    }

    .hero-img {
        max-width: 120px;
    }

    .benefits-section {
        padding: 1em 0.2em;
        margin: 1em 0 1em 0;
    }

    .row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1em !important;
    }

    .col,
    .video-card,
    .plan-card,
    .feature-card,
    .contact-card {
        min-width: 90vw !important;
        max-width: 98vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .floating-buttons {
        right: 8px;
        bottom: 8px;
        gap: 8px;
    }

    .floating-btn {
        width: 38px;
        height: 38px;
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .floating-buttons {
        right: 10px;
        bottom: 10px;
        gap: 10px;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .banner-content {
        max-width: 98vw;
    }

    .row {
        flex-direction: column;
    }

    .col {
        min-width: 100%;
    }
}

/* HERO SECTION */
.landing-hero {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2em 1em 1em 1em;
    text-align: center;
}

.gradient-title {
    background: linear-gradient(90deg, var(--accent2) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.hero-lead {
    font-size: 1.3em;
    margin-bottom: 1.2em;
    color: #fff;
    text-shadow: 0 2px 12px #000a;
}

.hero-btns {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2em;
}

.btn {
    background: var(--accent2);
    color: #23232b;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    padding: 0.7em 1.5em;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: 0 2px 8px #0002;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.btn:hover {
    background: var(--accent);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--accent2);
    border: 2px solid var(--accent2);
}

.btn-outline:hover {
    background: var(--accent2);
    color: #23232b;
}

.hero-img {
    margin-top: 2em;
    max-width: 300px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 4px 24px #000a;
    background: #23232b;
}

/* PARTE 4 de 4 - Cards, Beneficios, Footer, Intro Splash y Extras */

/* BENEFITS SECTION */
.benefits-section {
    padding: 2em 0;
    background: none;
    margin: 2em 0 2em 0;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent2);
    margin-bottom: 1.5em;
    text-align: center;
}

.row {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    justify-content: center;
}

.col {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px #000a;
    padding: 1.5em 1em;
    min-width: 260px;
    max-width: 340px;
    flex: 1 1 260px;
    margin-bottom: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-card i {
    font-size: 2.5em;
    color: var(--accent2);
    margin-bottom: 0.5em;
}

.benefit-card h3 {
    font-size: 1.2em;
    color: var(--accent);
    margin-bottom: 0.5em;
    text-align: center;
}

.benefit-card p {
    font-size: 1em;
    color: #eee;
    text-align: center;
    margin: 0;
}

/* FOOTER */
footer {
    background: #23232b;
    color: #fff;
    padding: 1.2em 0;
    text-align: center;
    font-size: 1em;
    margin-top: 2em;
    box-shadow: 0 -2px 12px #000a;
}

footer .brand {
    color: var(--accent2);
    font-weight: bold;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1200;
}

.floating-btn {
    background: var(--accent2);
    color: #23232b;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px #0002;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    position: relative;
}

.floating-btn:hover {
    background: var(--accent);
    color: #fff;
}

.floating-btn .btn-label {
    display: none;
}

@media (max-width: 700px) {
    .floating-buttons {
        right: 8px;
        bottom: 8px;
        gap: 8px;
    }

    .floating-btn {
        width: 38px;
        height: 38px;
        font-size: 1em;
    }
}

/* Intro Splash */
.intro-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    background: #181820;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
}

.intro-splash.hide {
    opacity: 0;
    pointer-events: none;
}

.intro-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    filter: blur(18px) brightness(0.5);
    z-index: 0;
    pointer-events: none;
}

.intro-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
    pointer-events: none;
}

.intro-bg-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.0) 60%, rgba(0, 0, 0, 0.55) 100%);
}

#intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    background: transparent;
    transition: filter 0.3s;
}

.intro-overlay {
    position: absolute;
    z-index: 4;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.intro-logo,
.intro-title {
    pointer-events: auto;
}

.intro-logo {
    width: 110px;
    margin-bottom: 1.2em;
    filter: drop-shadow(0 2px 12px #ffb30099);
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid var(--accent2);
    background: #23232b;
    transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
    box-shadow: 0 0 24px 6px #ffb30055, 0 0 60px 12px #ff5e6233;
    outline: none;
}

.intro-logo:hover,
.intro-logo:focus {
    box-shadow: 0 0 48px 18px #ffb30099, 0 0 80px 24px #ff5e6299;
    border-color: var(--accent);
    transform: scale(1.07);
    background: #181820;
}

.intro-title {
    position: fixed;
    top: 10px;
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 900;
    margin-bottom: 1.2em;
    text-shadow: 0 2px 12px #000a;
    letter-spacing: 2px;
}

.intro-title .brand {
    color: var(--accent2);
}

.logo-bottom-right {
    position: fixed !important;
    right: 32px !important;
    bottom: 15px !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    width: 80px !important;
    height: 80px !important;
    z-index: 1001;
    transition: all 0.6s cubic-bezier(.4, 2, .6, 1);
    box-shadow: 0 4px 24px #000a;
    transform: none !important;
}

.logo-middle-top {
    position: fixed !important;
    left: 50% !important;
    top: 100px !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    width: 80px !important;
    height: 80px !important;
    z-index: 1001;
    transition: all 0.6s cubic-bezier(.4, 2, .6, 1);
    box-shadow: 0 4px 24px #000a;
    transform: translateX(-50%) !important;
}

@media (max-width: 700px) {
    #intro-video {
        object-fit: contain !important;
    }

    .intro-logo {
        width: 64px;
    }

    .intro-title {
        font-size: 1.3rem;
    }

    .logo-bottom-right {
        width: 54px !important;
        height: 54px !important;
        right: 10px !important;
        bottom: 10px !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }
}

@media (max-width: 900px) {
    .intro-title {
        font-size: 2rem;
    }

    .intro-logo {
        width: 90px;
    }
}

@media (max-width: 600px) {
    .logo-bottom-right {
        width: 44px !important;
        height: 44px !important;
        right: 8px !important;
        bottom: 8px !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }
}

@media (max-width: 400px) {
    .intro-title {
        font-size: 1.1rem;
    }

    .intro-logo {
        width: 44px;
    }
}

/* Detalles visuales extra */
.glow-effect {
    box-shadow: 0 0 24px 6px #ffb30055, 0 0 60px 12px #ff5e6233;
    border-radius: 50%;
    animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
    from {
        box-shadow: 0 0 24px 6px #ffb30055, 0 0 60px 12px #ff5e6233;
    }

    to {
        box-shadow: 0 0 48px 18px #ffb30099, 0 0 80px 24px #ff5e6299;
    }
}

::-webkit-scrollbar {
    width: 8px;
    background: var(--card-bg);
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .navbar-nav.open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(24, 24, 32, 0.7);
        z-index: -1;
        pointer-events: none;
    }
}

@media (max-width: 900px) {
    .navbar-nav.open {
        box-shadow: 2px 0 16px #000a;
    }

    body::after {
        content: "";
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(24, 24, 32, 0.7);
        z-index: 9998;
    }

    .navbar-nav.open~body::after {
        display: block;
    }
}

/* Overlay para cerrar menú hamburguesa */
.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(24, 24, 32, 0.7);
    z-index: 9998;
}

@media (max-width: 900px) {
    .navbar-nav.open~.navbar-overlay {
        display: block;
    }

    .navbar-close-btn-li {
        display: flex !important;
        justify-content: flex-end;
        width: 100%;
        background: none;
        border-bottom: 1px solid #18182044;
    }

    .navbar-close-btn {
        background: none;
        border: none;
        color: var(--accent2);
        font-size: 2.2em;
        padding: 0.3em 0.7em;
        cursor: pointer;
    }
}

/* Fuerza el color de los enlaces del menú para todos los estados */
.navbar-nav a,
.navbar-nav a:visited,
.navbar-nav a:link,
.navbar-nav a:active {
    color: #e9d5c9d5 !important;
    /* O el color que prefieras */
    text-decoration: none !important;
}

.navbar-nav a:hover {
    color: #fff !important;
    /* O el color que prefieras al pasar el mouse */
}

/* Oculta el landing-hero en escritorio (mayor a 900px) */
@media (min-width: 701px) {
    .hero-content {
        display: none !important;
    }
}


/* ICONOS Y TITULOS DE TARJETAS (aplica a todas las páginas de tarjetas) */
.feature-card i,
.plan-card i,
.video-card i,
.contact-card i,
.benefit-card i {
    color: var(--accent2) !important;
    /* Amarillo dorado */
    font-size: 2.2em;
    margin-bottom: 0.5em;
    text-shadow: 0 2px 12px #000a;
    display: block;
    text-align: center;
}

.feature-card h5,
.plan-card h4,
.video-card h4,
.contact-card h4,
.benefit-card h3 {
    color: var(--accent) !important;
    /* Morado */
    font-weight: bold;
    margin-bottom: 0.5em;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Si quieres que los títulos de FAQ/documentación también sean morados: */
.faq-card {
    margin-bottom: 1.2em;
    border-radius: 12px;
    background: #23232b;
    box-shadow: 0 2px 12px #000a;
    overflow: hidden;
    transition: box-shadow 0.18s;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--accent2);
    font-size: 1.08em;
    font-weight: bold;
    text-align: left;
    padding: 1em 1.2em 1em 1em;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    gap: 0.7em;
    /* Espacio uniforme entre icono y texto */
    justify-content: space-between;
    transition: background 0.18s;
}

.faq-question i.fas {
    color: var(--accent);
    /* Morado para el icono */
    margin-right: 0.5em;
    min-width: 1.5em;
    /* Asegura alineación y separación */
    font-size: 1.2em;
}

.faq-question:hover,
.faq-card.active .faq-question {
    background: #1a1a22;
}

.faq-toggle-icon {
    margin-left: 1em;
    transition: transform 0.2s;
}

.faq-card.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #23232b;
    color: #eee;
    font-size: 1em;
    padding: 0 1.2em;
    transition: max-height 0.28s cubic-bezier(.4, 2, .6, 1), padding 0.18s;
}

.faq-card.active .faq-answer {
    padding: 1em 1.2em 1.2em 1.2em;
    max-height: 400px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5em;
    margin: 0 auto 2em auto;
    width: 100%;
}

.plan-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.2em 1.5em 2.5em 1.5em;
    min-width: 320px;
    max-width: 350px;
    margin: 0 0.5em 2em 0.5em;
    border: 2.5px solid var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: border 0.2s, box-shadow 0.2s;
}

.plan-card h4 {
    color: var(--accent);
    font-size: 1.3em;
    margin: 0.5em 0 0.2em 0;
    font-weight: 700;
    text-align: center;
}

.plan-card .price {
    color: var(--success);
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0.7em;
    text-align: center;
}

.plan-card i.fas.fa-cube,
.plan-card i.fas.fa-gem,
.plan-card i.fas.fa-crown {
    font-size: 2.5em;
    color: var(--accent2);
    margin-bottom: 0.2em;
    display: block;
    text-align: center;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 1em 0 1.5em 0;
    width: 100%;
}


.plan-card ul li {
    color: #f5f5f5;
    font-size: 1.08em;
    padding: 0.4em 0 0.4em 0.2em;
    display: flex;
    align-items: flex-start;
    gap: 0.7em;
    border-bottom: 1px solid #23232b;
    min-height: 2.2em;
    line-height: 1.4;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    overflow-wrap: break-word;
    word-break: break-word;
}


.plan-feature-title-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    width: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.plan-card ul li,
.plan-feature-title-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    width: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.plan-card ul li.sin-feature,
.plan-card ul li.sin-feature .plan-feature-title,
.plan-card ul li.sin-feature .plan-feature-desc {
    color: #888a93 !important;
    /* Gris opaco */
    opacity: 0.7;
    font-weight: 500;
}

.plan-feature-title {
    color: var(--accent2);
    font-weight: 700;
    margin-right: 0.2em;
    white-space: normal;
    display: inline;
}

.plan-feature-desc {
    color: #fff;
    font-weight: 400;
    display: inline;
    white-space: normal;
    word-break: break-word;
}

.btn {
    background: var(--accent2);
    color: #23232b;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px #ffb30033;
    font-weight: bold;
    font-size: 1.1em;
    padding: 0.8em 0;
    width: 100%;
    margin-top: 1em;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7em;
}

.btn-outline {
    background: transparent;
    color: var(--accent2);
    border: 2px solid var(--accent2);
    box-shadow: none;
}

.btn-gradient {
    background: linear-gradient(90deg, var(--accent2) 60%, var(--accent) 100%);
    color: #23232b;
}

.btn:hover,
.btn-gradient:hover {
    background: var(--accent);
    color: #fff;
}

@media (max-width: 900px) {
    .plan-card {
        min-width: 90vw !important;
        max-width: 98vw !important;
        padding: 1.2em 0.5em 1em 0.5em;
    }

    .plan-card ul li {
        font-size: 1em;
        padding: 0.3em 0 0.3em 0.2em;
    }
}

/* Iconos de check y times en los planes */
.plan-card .fa-check {
    color: var(--accent2) !important;
    /* Amarillo dorado */
    font-size: 1.2em;
    margin-right: 0.4em;
}

.plan-card .fa-times {
    color: var(--danger) !important;
    /* Rojo */
    font-size: 1.2em;
    margin-right: 0.4em;
}

.plan-card .text-success {
    color: var(--accent2) !important;
}

.plan-card .text-danger {
    color: var(--danger) !important;
}

.plan-card .price {
    color: var(--success);
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.7em;
    text-align: center;
}

.hero-image-container {
    width: 80%;
    max-width: 50%;
    margin: 6.5em auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 300px;
    /* Ajusta la altura a tu gusto */
    background: #181820;
    border-radius: 20%;
    position: relative;
    box-shadow: 0 0 22px 1px var(--accent2), 0 0 0 6px #fff1 inset;
    /* Resplandor dorado y un leve borde blanco interno */
    transition: box-shadow 0.3s;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    border-radius: 20%;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 2, 1, 0.314);
    /* Oscuro, baja opacidad */
    border-radius: 18px;
    pointer-events: none;
}

@media (max-width: 700px) {
    .hero-image-container {
        height: 250px;
    }
}

/* Links de contacto (Telegram y Gmail) con color accent (morado) */
.contact-card a,
.contact-card a:visited,
.contact-card a:active,
.contact-card a:link {
    color: var(--accent) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s;
}

.contact-card a:hover {
    color: var(--accent2) !important;
    text-decoration: underline;
}

/* Logo menú móvil solo visible en móvil */
.navbar-mobile-logo-menu {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1.2em 0 0.5em 0;
}

@media (max-width: 900px) {
    .navbar-mobile-logo-menu {
        display: flex !important;
    }
}

@media (min-width: 901px) {
    .navbar-mobile-logo-menu {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .plan-card {
        min-width: 90vw !important;
        max-width: 98vw !important;
    }

    .plan-card ul li {
        font-size: 1em;
        padding: 0.3em 0 0.3em 0.2em;
    }
}

.intro-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2em 0 1.5em 0;
    width: 100%;
    cursor: none;
}

/* Tarjeta de video expandida y centrada */
.video-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px #000a;
    padding: 1.5em 1em 2em 1em;
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 260px;
    max-width: 370px;
    flex: 1 1 300px;
    transition: box-shadow 0.18s, transform 0.18s, max-width 0.4s cubic-bezier(.4, 2, .6, 1), z-index 0.2s;
    position: relative;
    z-index: 1;
}

.video-card.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 96vw;
    width: 96vw;
    min-width: 0;
    box-shadow: 0 8px 48px #000c, 0 0 0 9999px rgba(0, 0, 0, 0.65);
    z-index: 2147483647 !important;
    background: var(--card-bg, #181820);
    padding: 2em 0 2em 0;
    animation: expandCard 0.25s cubic-bezier(.4, 2, .6, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes expandCard {
    0% {
        transform: translate(-50%, -50%) scale(0.92);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}
.video-card h4 {
color: var(--accent2) !important;
}
.video-card i {
    color: var(--accent) !important;
}
.video-demo {
    width: 100%;
    max-width: 340px;
    height: 200px;
    border-radius: 14px;
    box-shadow: 0 2px 16px #0004;
    transition: all 0.35s cubic-bezier(.4, 2, .6, 1);
    margin: 0 auto 1em auto;
    display: block;
    background: #181820;
    z-index: 99999999;
}
.video-section-content {
    display: none;
        flex-wrap: wrap;
    gap: 1.5em;
    justify-content: center;
}
.faq-section-content {
    display: none;
}
.faq-section-toggle {
    font-size: 1.4em;         /* Más grande */
    padding: 1em 2em;         /* Más espacio */
    width: 100%;              /* Que ocupe todo el ancho */
    background: (#2d2d5a, #161624);
    color: #171212;
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;          /* Mano al pasar el mouse */
    transition: background 0.2s;
    text-align: left;
    font-weight: bold;
}
.faq-section-toggle:hover,
.faq-section-toggle:focus {
    background: var(--accent2, #4444aa);
}
.video-card.expanded .video-demo {
    width: 90vw;
    max-width: 900px;
    height: 50vw;
    max-height: 70vh;
    min-height: 240px;
    margin: 0 auto 1em auto;
    border-radius: 18px;
    background: #181820;
    box-shadow: 0 6px 32px #0007;
    transition: all 0.35s cubic-bezier(.4, 2, .6, 1);
    display: block;
    z-index: 99999999;
}
.video-section-toggle {
    font-size: 1.4em;
    padding: 1em 2em;
    width: 100%;
    background:#e1dbe1;
    color: #3d0c60;
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
    font-weight: bold;
}
.video-section-toggle:hover,
.video-section-toggle:focus {
    background: var(--accent2, #4444aa);
}
@media (max-width: 900px) {
    .video-card.expanded {
        max-width: 100vw;
        width: 100vw;
        padding:
         1em 0;
    }
    .row {
    flex-direction: column !important;
    gap: 1.5em !important;
    align-items: stretch !important;
}
.video-section {
    width: 100%;
    margin: 0 0 1.5em 0;
}

    .video-card.expanded .video-demo {
        width: 98vw;
        max-width: 98vw;
        height: 48vw;
        min-height: 160px;
    }
}

/* Asegura que el resto de las tarjetas no se superpongan */
.row {
    position: relative;
    z-index: 1;
}
.panel-container {
    max-width: 420px;
    margin: 4em auto 2em auto;
    background: #23232b;
    border-radius: 18px;
    box-shadow: 0 6px 32px #0007;
    padding: 2.5em 2em 2em 2em;
    color: #fff;
    box-sizing: border-box;
    text-align: center;
}
.user-info-card {
    background: #181820;
    border-radius: 12px;
    padding: 1.2em 1em;
    margin-bottom: 1.5em;
    box-shadow: 0 2px 12px #0003;
    text-align: left;
    font-size: 1.08em;
}
/* Panel layout */
.panel-flex {
    display: flex;
    gap: 2em;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 3em auto 2em auto;
    max-width: 1100px;
}

.panel-card {
    background: #23232b;
    border-radius: 18px;
    box-shadow: 0 6px 32px #0007;
    padding: 2em 1.5em 2em 1.5em;
    color: #fff;
    box-sizing: border-box;
    margin-bottom: 2em;
    min-width: 260px;
    max-width: 480px;
    width: 100%;
    overflow-x: auto;
    transition: max-width 0.2s, min-width 0.2s, padding 0.2s;
}

.panel-card-izq {
    flex: 1 1 260px;
    max-width: 340px;
    min-width: 200px;
}

.panel-card-der {
    flex: 2 1 520px;
    max-width: 700px;
    min-width: 220px;
}
.panel-section {
    margin-bottom: 2em;
}
.tabla-historial, #tabla-abonos table, #tabla-referidos table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}
.tabla-historial table, #tabla-abonos table, #tabla-referidos table {
    width: 100%;
}
.tabla-historial th, .tabla-historial td,
#tabla-abonos th, #tabla-abonos td,
#tabla-referidos th, #tabla-referidos td {
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    text-align: left;
    background: #23232b;
    color: #fff;
}
.tabla-historial th, #tabla-abonos th, #tabla-referidos th {
    background: #1a1a22;
    color: #ffb300;
}
.tabla-historial tr:nth-child(even),
#tabla-abonos tr:nth-child(even),
#tabla-referidos tr:nth-child(even) {
    background: #29293a;
}
/* Adaptabilidad para tablets y móviles */
@media (max-width: 1100px) {
    .panel-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5em;
    }
    .panel-card-izq, .panel-card-der {
        max-width: 98vw;
        min-width: 0;
    }
}

@media (max-width: 700px) {
 .panel-flex {
        flex-direction: column;
        gap: 1em;
        padding: 0 2vw;
    }
    .panel-card {
        padding: 1.2em 0.7em;
        font-size: 1em;
        min-width: 0;
        max-width: 100vw;
    }
    .panel-card-izq, .panel-card-der {
        max-width: 100vw;
        min-width: 0;
    }
      .panel-card-izq {
        min-height: unset !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .tabla-historial, #tabla-abonos table, #tabla-referidos table {
        font-size: 0.97em;
    }
    h2, h3, h4 {
        font-size: 1.1em;
    }
}

/* Moderniza tablas de abonos y referidos */
#tabla-abonos h4,
#tabla-referidos h4 {
    color: var(--accent2);
    font-size: 1.35em;
    font-weight: bold;
    margin-bottom: 0.7em;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px #000a;
    text-align: left;
}

#tabla-abonos table,
#tabla-referidos table {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 18px #0005;
    background: #23232b;
    margin-bottom: 1em;
}

#tabla-abonos th, #tabla-referidos th {
    background: linear-gradient(90deg, var(--accent2) 60%, var(--accent) 100%);
    color: #23232b;
    font-weight: bold;
    font-size: 1.08em;
    border: none;
    text-align: center;
    letter-spacing: 0.5px;
    padding: 12px 10px;
}

#tabla-abonos td, #tabla-referidos td {
    background: #23232b;
    color: #fff;
    border: none;
    padding: 10px 10px;
    font-size: 1.05em;
    text-align: center;
    transition: background 0.18s;
}

#tabla-abonos tr:nth-child(even),
#tabla-referidos tr:nth-child(even) {
    background: #29293a;
}

#tabla-abonos tr:hover,
#tabla-referidos tr:hover {
    background: #2d2d5a;
    color: var(--accent2);
    transition: background 0.18s, color 0.18s;
}

#tabla-abonos .total-abonos,
#tabla-referidos .total-referidos {
    font-weight: bold;
    color: var(--accent2);
    background: #181820;
    border-top: 2px solid var(--accent2);
    text-align: right;
    padding: 12px 10px;
    font-size: 1.1em;
}

details[open] > summary {
    color: var(--accent2);
    background: #181820;
    border-radius: 8px 8px 0 0;
    font-size: 1.08em;
    font-weight: bold;
    padding: 0.7em 1em;
    box-shadow: 0 2px 8px #0002;
}

details > summary {
    color: var(--accent);
    background: #340238;
    border-radius: 8px;
    font-size: 1.08em;
    font-weight: bold;
    padding: 0.7em 1em;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    outline: none;
}

details > summary:hover {
    background: #eabd0a;
    color: #23232b;
}

@media (max-width: 700px) {
    #tabla-abonos th, #tabla-referidos th,
    #tabla-abonos td, #tabla-referidos td {
        padding: 7px 4px;
        font-size: 0.97em;
    }
    #tabla-abonos h4,
    #tabla-referidos h4 {
        font-size: 1.1em;
    }
}
/* Título de tablas */
.tabla-titulo, #tabla-abonos h4, #tabla-referidos h4 {
    color: var(--accent2);
    font-size: 1.35em;
    font-weight: bold;
    margin-bottom: 0.7em;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px #000a;
    text-align: left;
}