/* ================================
   RESET & VARIABLES
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales */
    --color-primary: #1E3A8A;
    /* Azul marino del logo */
    --color-secondary: #22D3EE;
    /* Cyan del logo */
    --color-bg: #0a0a0a;
    /* Negro profundo */
    --color-bg-alt: #1a1a1a;
    /* Gris muy oscuro */
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;

    /* Fuente */
    --font-primary: 'Poppins', sans-serif;

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ================================
   HEADER / NAVBAR
================================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 5px;
    transition: var(--transition);
}

/* ================================
   BUTTONS
================================ */
.btn-primary,
.btn-hero,
.btn-secondary,
.btn-plan,
.btn-contact {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.btn-hero {
    background: var(--color-secondary);
    color: var(--color-bg);
    font-weight: 700;
}

.btn-hero:hover {
    background: #1ebdd4;
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-bg);
}

.btn-plan {
    width: 100%;
    background: var(--color-primary);
    color: white;
    text-align: center;
}

.btn-plan:hover {
    background: var(--color-secondary);
    color: var(--color-bg);
}

.btn-contact {
    background: #25D366;
    color: white;
    font-size: 1.1rem;
}

.btn-contact:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.btn-cta {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-bg);
}

.btn-cta:hover {
    background: #1ebdd4;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.4);
}

/* ================================
   HERO SECTION
================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(30, 58, 138, 0.15), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(34, 211, 238, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title-main {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color-secondary);
    text-shadow: 0 0 25px rgba(34, 211, 238, 0.4);
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 1000px;
}

.hero-video {
    width: 70%;
    max-width: 750px;
    margin: 0 auto 2.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.highlight {
    color: var(--color-secondary);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ================================
   SECTIONS GENERAL
================================ */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-text), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   CÓMO FUNCIONA
================================ */
.how-it-works {
    background: var(--color-bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step {
    background: rgba(30, 58, 138, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.step p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ================================
   PLANES / PRICING
================================ */
.pricing {
    background: var(--color-bg);
    padding: 2rem 0 2.5rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-text), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* TABS */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.tab-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 50px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--color-secondary);
    background: rgba(34, 211, 238, 0.1);
}

.tab-btn.active {
    background: var(--color-secondary);
    color: var(--color-bg);
    border-color: var(--color-secondary);
}

/* TOGGLE PÍLDORA */
.pricing-period-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.period-pill {
    padding: 0.4rem 1.1rem;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.period-pill:hover {
    background: rgba(34, 211, 238, 0.1);
}

.period-pill.active {
    background: var(--color-secondary);
    color: var(--color-bg);
}

.pill-badge {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.1rem 0.35rem;
    border-radius: 10px;
    font-size: 0.6rem;
    margin-left: 0.3rem;
    font-weight: 700;
}

.period-pill.active .pill-badge {
    background: rgba(10, 10, 10, 0.3);
}

/* PRICING CONTENT */
.pricing-content {
    display: none;
}

.pricing-content.active {
    display: block;
}

/* 2 CARDS - TODO EN UNA PANTALLA */
.pricing-cards-dual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card-single {
    background: var(--color-bg-alt);
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 10px;
    padding: 1.25rem;
    transition: var(--transition);
}

.pricing-card-single:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.price-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.price-header h3 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 0.2rem;
}

.price-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
    font-size: 0.75rem;
}

.price-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.price-period {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.price-save {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

.btn-trial {
    display: block;
    width: 100%;
    padding: 0.55rem;
    background: var(--color-secondary);
    color: var(--color-bg);
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.btn-trial:hover {
    background: #1ebdd4;
    transform: scale(1.02);
}

.features-list {
    margin-bottom: 0.75rem;
}

.feature-item {
    padding: 0.35rem 0;
    color: var(--color-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
}

.feature-item:last-child {
    border-bottom: none;
}

.btn-contact-plan {
    display: block;
    width: 100%;
    padding: 0.5rem;
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.75rem;
}

.btn-contact-plan:hover {
    background: var(--color-secondary);
    color: var(--color-bg);
}

/* RESPONSIVE PRICING */
@media (max-width: 968px) {
    .pricing-cards-dual {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .pricing-tabs {
        flex-direction: column;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
    }

    .pricing-card-single {
        padding: 1rem;
    }

    .price-amount {
        font-size: 1.4rem;
    }
}

/* ================================
   FAQS
================================ */
.faqs {
    background: var(--color-bg-alt);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--color-secondary);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-secondary);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ================================
   CONTACTO
================================ */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--color-secondary);
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-title {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.contact-text {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ================================
   FOOTER
================================ */
.footer {
    background: var(--color-bg-alt);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(34, 211, 238, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-left {
    margin-bottom: 2rem;
}

.footer-left img {
    height: 70px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-left p {
    color: var(--color-text-muted);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-secondary);
    color: var(--color-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.footer-credit a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ================================
   WHATSAPP FLOTANTE
================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 10px 40px rgba(37, 211, 102, 0.8);
    }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .hero-title-main {
        font-size: 1.5rem;
    }

    .hero-video {
        width: 95%;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        border-bottom: 2px solid var(--color-secondary);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .btn-primary {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title-main {
        font-size: 2.3rem;
        font-weight: 900;
        line-height: 1.1;
    }

    .hero-video {
        width: 99%;
    }