/* ==========================================================================
   PULSE PRO THERAGUN - LANDING PAGE PRODUCTO DE ALTO CONVERSIÓN
   Estilo: High-Tech Sport & Recovery (Apple / Therabody Style)
   Fuentes: Plus Jakarta Sans (Encabezados y Acentos) & Inter (Cuerpo)
   ========================================================================== */

:root {
    --bg-page: #0a0b0e;
    --bg-surface: #111318;
    --bg-card: rgba(20, 24, 33, 0.75);
    
    --brand-accent: #ff4d29; /* Naranja atlético de alta energía */
    --brand-accent-glow: rgba(255, 77, 41, 0.35);
    --brand-cyan: #00d2ff;
    
    --text-primary: #ffffff;
    --text-secondary: #9aa2b4;
    --text-muted: #5e6678;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 77, 41, 0.4);
    
    --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-page);
}

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

/* ==========================================================================
   TOPBAR OFICIAL ZP STUDIO DEMO
   ========================================================================== */
.demo-topbar {
    background: rgba(10, 11, 14, 0.94);
    border-bottom: 1px solid rgba(255, 77, 41, 0.2);
    padding: 10px 24px;
    font-size: 0.82rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.demo-topbar span {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.demo-topbar span strong {
    color: var(--brand-accent);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.demo-back-btn {
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 77, 41, 0.1);
    border: 1px solid rgba(255, 77, 41, 0.3);
    transition: var(--transition);
}

.demo-back-btn:hover {
    background: var(--brand-accent);
    color: #fff;
    box-shadow: 0 0 16px var(--brand-accent-glow);
    transform: translateX(-3px);
}

/* ==========================================================================
   BANNER DE URGENCIA / OFERTA FLASH
   ========================================================================== */
.offer-banner {
    background: linear-gradient(90deg, #ff3b14, #ff5722, #e91e63);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 16px;
    text-align: center;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.countdown-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 800;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-logo .logo-dot {
    width: 10px;
    height: 10px;
    background: var(--brand-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--brand-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.btn-nav-cta {
    background: var(--brand-accent);
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--brand-accent-glow);
}

.btn-nav-cta:hover {
    background: #ff603e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--brand-accent-glow);
}

/* ==========================================================================
   HERO SECTION - PRODUCT SHOWCASE
   ========================================================================== */
.hero-product-section {
    max-width: 1280px;
    margin: 20px auto 80px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

/* Galería Interactiva de Producto */
.product-gallery-wrap {
    position: relative;
}

.product-main-card {
    background: radial-gradient(circle at center, rgba(30, 36, 48, 0.6) 0%, rgba(14, 16, 22, 0.9) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.badge-top-left {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 77, 41, 0.15);
    border: 1px solid rgba(255, 77, 41, 0.4);
    color: var(--brand-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.badge-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: var(--brand-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.product-hero-visual {
    width: 100%;
    max-width: 380px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.product-svg-display {
    width: 100%;
    height: auto;
    max-height: 380px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
    transition: var(--transition);
}

.gallery-thumbnails-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.thumb-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.thumb-btn:hover, .thumb-btn.active {
    background: rgba(255, 77, 41, 0.15);
    border-color: var(--brand-accent);
    color: #fff;
}

/* Columna de Detalles y Conversión */
.product-details-col {
    display: flex;
    flex-direction: column;
}

.review-stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars-svg {
    display: flex;
    color: #ffb800;
}

.review-count {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.product-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.product-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Precios con Descuento */
.price-block {
    display: flex;
    align-items: baseline;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
}

.price-original {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 600;
}

.price-discount-tag {
    background: var(--brand-accent);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
}

/* Selector de Variantes (Colores) */
.variants-wrap {
    margin-bottom: 24px;
}

.variant-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.variant-options-row {
    display: flex;
    gap: 12px;
}

.variant-choice {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.variant-choice:hover, .variant-choice.active {
    border-color: var(--brand-accent);
    background: rgba(255, 77, 41, 0.08);
}

.variant-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.variant-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

/* Selector de Cantidad + Botón de Compra Directa */
.buy-actions-row {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.quantity-stepper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 4px 8px;
}

.step-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.step-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.step-val {
    width: 30px;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.btn-buy-now {
    flex: 1;
    background: linear-gradient(135deg, #ff4d29 0%, #ff2a00 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 16px 28px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 10px 30px var(--brand-accent-glow);
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #ff603e 0%, #ff3b14 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px var(--brand-accent-glow);
}

/* Sellos de Confianza y Garantía */
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.trust-item svg {
    color: var(--brand-accent);
    flex-shrink: 0;
}

/* ==========================================================================
   SECCIÓN DE CARACTERÍSTICAS TÉCNICAS Y RECUPERACIÓN MUSCULAR
   ========================================================================== */
.features-section {
    max-width: 1280px;
    margin: 80px auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-tag {
    color: var(--brand-accent);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px var(--brand-accent-glow);
}

.feature-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(255, 77, 41, 0.12);
    border: 1px solid rgba(255, 77, 41, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ==========================================================================
   TABLA COMPARATIVA VS OTROS DISPOSITIVOS
   ========================================================================== */
.comparison-section {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 24px;
}

.comparison-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comp-table th, .comp-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.comp-table th {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.comp-table th.highlight-col {
    color: var(--brand-accent);
    background: rgba(255, 77, 41, 0.08);
}

.comp-table td.highlight-col {
    background: rgba(255, 77, 41, 0.05);
    font-weight: 800;
    color: #fff;
}

/* ==========================================================================
   RESEÑAS REALES / PRUEBA SOCIAL
   ========================================================================== */
.testimonials-section {
    max-width: 1280px;
    margin: 80px auto;
    padding: 0 24px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #00d2ff;
    font-size: 0.75rem;
    font-weight: 700;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 77, 41, 0.2);
    border: 1px solid var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--brand-accent);
}

.reviewer-meta h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.reviewer-meta span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   ========================================================================== */
.faq-section {
    max-width: 860px;
    margin: 80px auto;
    padding: 0 24px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--brand-accent);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
}

/* ==========================================================================
   CALL TO ACTION FINAL
   ========================================================================== */
.final-cta-section {
    max-width: 1100px;
    margin: 80px auto 120px;
    padding: 0 24px;
    text-align: center;
}

.final-cta-box {
    background: linear-gradient(135deg, rgba(255, 77, 41, 0.15) 0%, rgba(17, 19, 24, 0.95) 100%);
    border: 1px solid rgba(255, 77, 41, 0.35);
    border-radius: var(--radius-lg);
    padding: 60px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px var(--brand-accent-glow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.landing-footer {
    border-top: 1px solid var(--border-subtle);
    background: #06070a;
    padding: 32px 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-content a {
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================================================
   MODAL DE CHECKOUT SIMULADO
   ========================================================================== */
.checkout-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(6, 7, 10, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-modal.active {
    display: flex;
}

.checkout-card {
    background: #111319;
    border: 1px solid rgba(255, 77, 41, 0.4);
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px var(--brand-accent-glow);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 10px var(--brand-accent-glow);
}

/* ==========================================================================
   RESPONSIVIDAD MÓVIL
   ========================================================================== */
@media (max-width: 992px) {
    .hero-product-section {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .features-cards-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .buy-actions-row {
        flex-direction: column;
    }

    .quantity-stepper {
        justify-content: center;
        padding: 8px;
    }
}
