/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #0C0F14;
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(47, 108, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 108, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.9) 0%,
        transparent 25%,
        transparent 75%,
        rgba(255, 255, 255, 0.9) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilidades */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.header {
    padding: 40px 0 20px;
    text-align: center;
}

.logo {
    height: 160px;
    width: auto;
}

/* Hero */
.hero {
    padding: 20px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #2F6CFF 0%, #22D3EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.375rem;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: #2F6CFF;
    font-weight: 600;
}

/* Precio */
.pricing-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.price-original {
    font-size: 1.5rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-current {
    font-size: 2rem;
    font-weight: 600;
    color: #2F6CFF;
}

.price-label {
    background: linear-gradient(135deg, #2F6CFF 0%, #22D3EE 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contador */
.countdown-container {
    margin-bottom: 32px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    min-width: 80px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 600;
    color: #2F6CFF;
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
}

/* CTA Principal */
.btn-cta-main {
    background: linear-gradient(135deg, #2F6CFF 0%, #22D3EE 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 420px;
    width: 100%;
    height: 60px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.btn-main-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.btn-sub-text {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1;
}

.btn-cta-main:hover {
    background: linear-gradient(145deg, #2F6CFF 0%, #22D3EE 100%);
    transform: scale(1.02);
}

.btn-cta-main:focus {
    outline: 2px solid #2F6CFF;
    outline-offset: 2px;
}

.btn-cta-main:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Texto de pocas plazas */
.limited-spots-text {
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 12px;
    font-weight: 500;
    text-align: center;
}

/* Success Cases */
.success-cases {
    padding: 80px 0;
    background: #f9fafb;
}

.success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.success-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(47, 108, 255, 0.1);
}

.success-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.success-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

/* Visual Section */
.visual-section {
    padding: 80px 0 40px;
    overflow: hidden;
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
    color: #6b7280;
}

.image-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.marquee-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
}

@keyframes marqueeUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Early Access */
.early-access {
    padding: 40px 0 80px;
}

.early-access-card {
    background: white;
    padding: 48px;
    border-radius: 12px;
    border: 2px solid rgba(47, 108, 255, 0.2);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.early-access-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #0C0F14;
    line-height: 1.4;
}

.price-crossed {
    text-decoration: line-through;
    color: #9ca3af;
    font-weight: 600;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 100%;
    position: relative;
    border: 1px solid #e5e7eb;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background: #f3f4f6;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #0C0F14;
    text-align: center;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-form label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.modal-form input {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.modal-form input:focus {
    outline: none;
    border-color: #2F6CFF;
    box-shadow: 0 0 0 3px rgba(47, 108, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #2F6CFF 0%, #22D3EE 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modal-disclaimer {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin: 0;
}

/* Free Class */
.free-class {
    padding: 80px 0;
    background: #f9fafb;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: block;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* FAQ */
.faq {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
    color: #0C0F14;
}

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

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0C0F14;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #2F6CFF;
}

.faq-question:focus {
    outline: 2px solid #2F6CFF;
    outline-offset: 2px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    padding-bottom: 24px;
    color: #4b5563;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #f9fafb;
    padding: 48px 0;
    border-top: 1px solid #e5e7eb;
}

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

.footer-links {
    margin-bottom: 24px;
}

.footer-link {
    color: #4b5563;
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #2F6CFF;
}

.legal-disclaimer {
    font-size: 0.75rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Toast */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #1f2937;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 500;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1001;
    max-width: 350px;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: #10b981;
}

.toast.error {
    background: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .success-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .success-card {
        padding: 20px;
    }
    
    .logo {
        height: 80px;
    }
    
    .hero {
        padding: 40px 0 60px;
    }
    
    .hero-title {
        font-size: 2.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .pricing-block {
        flex-direction: column;
        gap: 8px;
    }
    
    .countdown {
        gap: 16px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 12px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .btn-cta-main {
        height: 56px;
        font-size: 16px;
        padding: 16px 24px;
    }
    
    .image-marquee {
        display: none;
    }
    
    .visual-section::after {
        content: '';
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .early-access-card {
        padding: 32px 24px;
    }
    
    .early-access-card h2 {
        font-size: 1.25rem;
    }
    
    .modal-content {
        padding: 24px;
        margin: 0 16px;
    }
    
    .toast {
        right: 16px;
        left: 16px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 12px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 8px;
    }
    
    .countdown-number {
        font-size: 1.25rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .price-original {
        font-size: 1.25rem;
    }
    
    .price-current {
        font-size: 1.75rem;
    }
}

/* Mobile carousel for images */
@media (max-width: 768px) {
    .image-marquee {
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .marquee-content {
        flex-direction: row;
        animation: none;
        width: max-content;
    }
    
    .marquee-image {
        width: 280px;
        height: 200px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }
    
    .success-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    
    .success-card {
        padding: 16px;
    }
    
    .success-image {
        height: 250px;
    }
}

/* Focus trap for modal */
.modal.show .modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-fix-center{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:24px 0;
}

.video-fix-center iframe,
.video-fix-center video{
  width:100%;
  max-width:720px;
  aspect-ratio:16/9;
  height:auto;
  border:0;
  border-radius:12px;
  display:block;
  float:none !important;
  position:static !important;
}

/* Quita "card blanca" del wrapper que contiene el video */
.video-wrap{
  display:flex;
  justify-content:center;
  margin:24px auto;
}

/* Detecta cualquier contenedor que envuelva el iframe y le quita estilos de tarjeta */
.video-wrap:where(*, :host) {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Por si el card está por encima de .video-wrap (padre inmediato) */
.video-wrap:parent,
.video-wrap:parent:where(*, :host){
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Estilo del iframe (opcional, no cambia el diseño general) */
.video-wrap iframe,
.video-wrap video{
  display:block;
  width:100%;
  max-width:1200px;
  aspect-ratio:16/9;
  height:auto;
  border:0;
  border-radius:12px;
}