/* ========================================
   HERO SECTION COMMON
   ======================================== */

.product-hero {
    display: grid;
    border-bottom: 2px solid rgba(0, 215, 117, 0.3);
    grid-template-columns: 40% 60%;
    gap: var(--space-lg);
    align-items: stretch;           /* estira ambas columnas al mismo alto */
}

/* Mobile responsive for product hero */
@media (max-width: 768px) {
    .product-hero {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-md) !important;
    }
}

.product-hero-visual {
    height: 100%;                   /* iguala la altura de la fila */
    display: flex;
    align-items: center;            /* centra verticalmente */
    position: relative;
    padding: var(--space-lg);
    justify-content: center;
}

@media (max-width: 768px) {
    .product-hero-visual {
        padding: var(--space-sm) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .product-hero-visual .product-hero-image {
        max-width: 100% !important;
        max-height: 300px !important;
    }
}

/* ========================================
   HERO IMAGE WRAPPER
   ======================================== */

/* Base hero image wrapper - shared between products and indicators */
.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;

    /*box-shadow: 
        0 20px 60px rgba(0, 215, 117, 0.2),
        0 0 0 4px rgba(0, 215, 117, 0.5);
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%),
        radial-gradient(circle at 20% 50%, rgba(0, 215, 117, 0.1) 0%, transparent 50%);
    padding: 3px;*/
}

/* Hero images base styles */
.hero-image-wrapper img {
    display: block;
}

.product-hero-visual .product-hero-image {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
}



/* Grid Pattern Overlay */
.product-hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 215, 117, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 215, 117, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.live-badge-hero {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--doit-green);
    color: var(--doit-dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse-live 2s infinite;
    z-index: 10;
}

/* Hero Content */
.product-hero-content {
    padding: 0 0 var(--space-lg) 0;
}

@media (max-width: 768px) {
    .product-hero-content {
        padding: var(--space-sm) !important;
        width: 100% !important;
    }
}

/* Hero Container - Similar to doittrading-hero-v2 */
.product-hero-container {
    background: linear-gradient(135deg, rgba(0, 215, 117, 0.08) 0%, rgba(0, 215, 117, 0.02) 100%);
    border: 1px solid var(--doit-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.product-hero-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold) ;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    color: var(--doit-text);
    background: linear-gradient(135deg, var(--doit-text) 0%, var(--doit-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .product-hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .product-hero-title {
        font-size: 1.5rem !important;
    }
}

.product-hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--doit-green);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
    font-weight: var(--font-weight-semibold);
}

@media (max-width: 768px) {
    .product-hero-subtitle {
        font-size: var(--font-size-base) !important;
        text-align: center;
        margin-bottom: var(--space-md) !important;
    }
}

/* ========================================
   PRODUCT PRICE SECTION - COMMON
   ======================================== */

.product-price-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid var(--doit-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    margin-top: var(--space-lg);
}

/* Price Savings Badge */
.price-savings {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--doit-green);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
    z-index: 2;
}

/* Countdown Timer */
.countdown-timer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--doit-red);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    animation: pulse-countdown 3s infinite;
}

@keyframes pulse-countdown {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

@keyframes pulse-savings {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.countdown-display {
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

/* Hero Price Display - Unified styling for all products */
.hero-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    font-size: 3rem;
    font-weight: var(--font-weight-black);
    color: var(--doit-gold);
    font-family: var(--font-mono);
    line-height: 1;
}

/* Price elements inside hero-price */
.hero-price .price-current {
    font-size: 3rem;
    font-weight: var(--font-weight-black);
    color: var(--doit-gold);
    font-family: var(--font-mono);
}

.hero-price .price-original,
.hero-price .original-price {
    font-size: 1.8rem !important;
    text-decoration: line-through !important;
    color: var(--doit-text-dark) !important;
    opacity: 0.7;
}

/* Responsive adjustments for hero-price */
@media (max-width: 768px) {
    .hero-price {
        font-size: 2rem !important;
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .hero-price .price-current {
        font-size: 2rem !important;
    }
    
    .hero-price .price-original,
    .hero-price .original-price {
        font-size: 1.4rem !important;
    }
    
    /* Product price section mobile fixes */
    .product-price-section {
        padding: var(--space-md) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .price-savings,
    .countdown-timer {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        margin-bottom: var(--space-sm);
        display: inline-block;
        width: auto;
    }
}

/* Warning Messages */
.price-warning {
    color: var(--doit-red);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
    margin-top: var(--space-sm);
}

.stock-warning {
    color: var(--doit-red);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    margin-top: var(--space-xs);
}

/* Last Purchase Info */
.last-purchase-info {
    font-size: var(--font-size-sm);
    color: var(--doit-text-muted);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-md);
    animation: subtle-pulse 4s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ========================================
   BENEFITS OVERVIEW - COMMON
   ======================================== */

.benefits-overview {
    margin: var(--space-xl) 0;
}

.benefits-overview h3 {
    color: var(--doit-green) !important;
    text-align: center;
    margin-bottom: var(--space-lg) !important;
    font-size: var(--font-size-2xl);
}

.benefits-overview .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .benefits-overview .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md) !important;
    }
}

@media (max-width: 480px) {
    .benefits-overview .benefit {
        padding: var(--space-sm) !important;
    }
    
    .benefits-overview .benefit .icon {
        font-size: var(--font-size-2xl) !important;
    }
}

.benefits-overview .benefit {
    background: rgba(0, 215, 117, 0.03);
    border: 1px solid var(--doit-border);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-all);
}

.benefits-overview .benefit:hover {
    background: rgba(0, 215, 117, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 215, 117, 0.2);
}

.benefits-overview .benefit .icon {
    font-size: var(--font-size-4xl);
    display: block;
    margin-bottom: var(--space-sm);
}

.benefits-overview .benefit strong {
    color: var(--doit-green) !important;
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.benefits-overview .benefit p {
    color: var(--doit-text-muted) !important;
    font-size: var(--font-size-sm) !important;
    margin: 0 !important;
    line-height: 1.5;
}

/* ---------------------------------------------------------------
   Pain/Antipecado Section (Pecados Framework)
   --------------------------------------------------------------- */
.product-pain-section {
    padding: 2rem 0;
    margin-bottom: 1.5rem;
}

.product-pain-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.5rem;
}

.product-pain-section .pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.product-pain-section .pain-card {
    background: rgba(255, 59, 59, 0.04);
    border: 1px solid rgba(255, 59, 59, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.product-pain-section .pain-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.75rem;
}

.product-pain-section .pain-card h3 {
    color: #ff6b6b;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-pain-section .pain-card p {
    color: var(--doit-text-muted, #A0A0A0);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ---------------------------------------------------------------
   Founder Story Section
   --------------------------------------------------------------- */
.founder-story-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 215, 117, 0.1);
    margin-top: 1.5rem;
}

.founder-story-section .founder-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.founder-story-section h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.founder-story-section p {
    color: var(--doit-text, #E5E5E5);
    line-height: 1.8;
    font-size: 0.95rem;
}

.founder-story-section .founder-proof {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--doit-green, #00D775);
}

.founder-story-section .founder-proof a {
    color: var(--doit-green, #00D775);
    text-decoration: underline;
}

/* ---------------------------------------------------------------
   Product Objections Section
   --------------------------------------------------------------- */
.product-objections-section {
    padding: 2rem 0;
}

.product-objections-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.3rem;
}

.product-objections-section .objections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.product-objections-section .objection-card {
    background: var(--doit-dark-secondary, #111);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1.25rem;
}

.product-objections-section .objection-card h4 {
    color: var(--doit-gold, #FFD700);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.product-objections-section .objection-card p {
    color: var(--doit-text-muted, #A0A0A0);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* ---------------------------------------------------------------
   Responsive: Pain, Founder, Objections
   --------------------------------------------------------------- */
@media (max-width: 768px) {
    .product-pain-section .pain-grid {
        grid-template-columns: 1fr;
    }
    .product-objections-section .objections-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------
   Flowing Product Details (replaces tabs)
   --------------------------------------------------------------- */
.product-detail-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-detail-section:first-child {
    border-top: none;
}

.product-detail-section h2 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.product-detail-section h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.product-detail-section p {
    color: var(--doit-text-muted, #A0A0A0);
    line-height: 1.7;
}

.product-detail-section ul,
.product-detail-section ol {
    color: var(--doit-text-muted, #A0A0A0);
    line-height: 1.7;
    padding-left: 1.5rem;
}

.product-detail-section li {
    margin-bottom: 0.5rem;
}
