/* ================================
   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;
}

/* 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);
}

/* ================================
   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-legal-links {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-bottom .footer-legal-links {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-bottom .footer-legal-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom .footer-legal-links a:hover {
    color: #22d3ee;
    text-decoration: none;
}

.footer-credit a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-credit a:hover {
    color: #22d3ee;
    text-decoration: none;
}

/* ================================
   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);
    }
}

/* ================================
   PÁGINAS LEGALES
================================ */
.legal-content {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 4rem;
    background: var(--color-bg);
}

.container-legal {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.back-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    transform: translateX(-5px);
}

.legal-title {
    font-size: 2.5rem;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

.legal-date {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

/* CAJA CONTENEDORA CON SCROLL */
.legal-text-box {
    background: var(--color-bg-alt);
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 2rem;
}

/* Barra de scroll cyan */
.legal-text-box::-webkit-scrollbar {
    width: 8px;
}

.legal-text-box::-webkit-scrollbar-track {
    background: rgba(34, 211, 238, 0.1);
    border-radius: 10px;
}

.legal-text-box::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 10px;
}

.legal-text-box::-webkit-scrollbar-thumb:hover {
    background: #1ebdd4;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.legal-content p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.legal-content strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.legal-content li {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.acceptance-box {
    background: var(--color-bg-alt);
    border: 2px solid var(--color-secondary);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.acceptance-box h3 {
    color: var(--color-secondary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--color-secondary);
}

.checkbox-item label {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    cursor: pointer;
}

.btn-accept {
    width: 100%;
    padding: 1rem;
    background: var(--color-secondary);
    color: var(--color-bg);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
    opacity: 0.5;
    pointer-events: none;
}

.btn-accept.active {
    opacity: 1;
    pointer-events: auto;
}

.btn-accept.active:hover {
    background: #1ebdd4;
    transform: scale(1.02);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 968px) {
    .pricing-cards-dual {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title-main {
        font-size: 2.3rem;
        font-weight: 900;
        line-height: 1.1;
    }

    .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;
    }

    .pricing-tabs {
        flex-direction: column;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
    }

    .pricing-card-single {
        padding: 1rem;
    }

    .price-amount {
        font-size: 1.4rem;
    }

    /* PÁGINAS LEGALES RESPONSIVE */
    .legal-title {
        font-size: 1.8rem;
    }

    .container-legal {
        padding: 0 1rem;
    }

    .legal-text-box {
        padding: 1.5rem;
        max-height: 400px;
    }
}

/* ================================
   FORMULARIO MULTI-PASO (REGISTRO)
================================ */
.registro-section {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 4rem;
    background: var(--color-bg);
}

.registro-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.registro-titulo {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.registro-subtitulo {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

/* BARRA DE PROGRESO */
.progress-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.progress-bar-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(34, 211, 238, 0.2);
    z-index: 0;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: var(--color-secondary);
    z-index: 1;
    transition: width 0.4s ease;
    width: 0%;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    border: 2px solid rgba(34, 211, 238, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.step-circle.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-bg);
}

.step-circle.completed {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.step-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 80px;
}

.step-label.active {
    color: var(--color-secondary);
    font-weight: 600;
}

/* PASOS DEL FORMULARIO */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-card {
    background: var(--color-bg-alt);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

.step-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.4rem;
}

.step-card-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* CAMPOS */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-group label span.required {
    color: var(--color-secondary);
    margin-left: 3px;
}

.form-group label span.optional {
    color: var(--color-text-muted);
    font-weight: 400;
    font-size: 0.8rem;
    margin-left: 5px;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 12px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--color-secondary);
    background: rgba(34, 211, 238, 0.05);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.form-control::placeholder {
    color: rgba(160, 160, 160, 0.5);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2322D3EE' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 3rem;
}

select.form-control option {
    background: #1a1a1a;
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ALERTA INFORMATIVA */
.info-box {
    background: rgba(30, 58, 138, 0.2);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.info-box strong {
    color: var(--color-secondary);
}

.info-box.warning {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.info-box.warning strong {
    color: #fbbf24;
}

/* UPLOAD */
.upload-area {
    border: 2px dashed rgba(34, 211, 238, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.upload-area:hover {
    border-color: var(--color-secondary);
    background: rgba(34, 211, 238, 0.05);
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.upload-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.upload-text strong {
    color: var(--color-secondary);
}

.file-name {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--color-secondary);
    display: none;
}

/* CHECKBOXES LEGALES */
.legal-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(34, 211, 238, 0.15);
}

.legal-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-secondary);
}

.legal-check label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    cursor: pointer;
}

.legal-check label a {
    color: var(--color-secondary);
    text-decoration: underline;
    font-weight: 600;
}

/* BOTONES DE NAVEGACIÓN */
.form-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-prev {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    border: 2px solid rgba(34, 211, 238, 0.3);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-prev:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-next {
    flex: 1;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-submit {
    flex: 1;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    background: var(--color-secondary);
    border: none;
    color: var(--color-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-submit:hover {
    background: #1ebdd4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.4);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* PANTALLA DE ÉXITO */
.success-screen {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.success-screen.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.success-text {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .step-label {
        font-size: 0.6rem;
        max-width: 60px;
    }

    .step-card {
        padding: 1.5rem;
    }

    .registro-titulo {
        font-size: 1.8rem;
    }
}