/* =========================================
   VARIABLES Y TEMAS (LIGHT/DARK)
   ========================================= */
:root {
    /* TEMA CLARO */
    --color-primary: #0A2540;      /* Azul Marino Profundo */
    --color-secondary: #8FBC8F;    /* Verde Salvia */
    --color-bg: #F9F6F0;           /* Blanco Hueso */
    --color-surface: #FFFFFF;      /* Tarjetas Blancas */
    --color-text: #1F2937;         /* Texto oscuro */
    --color-text-muted: #4B5563;
    --color-cta: #FF8C00;          /* Naranja Ámbar */
    --color-cta-hover: #E07B00;
    --color-bump-bg: #FFFBEB;      /* Amarillo urgencia sutil */
    --color-bump-border: #F59E0B;
    --color-border: #E5E7EB;
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    /* TEMA OSCURO (Ajuste Psicológico Ansiedad) */
    --color-primary: #1E293B;      /* Azul Noche Suave */
    --color-secondary: #A7F3D0;    /* Verde Menta Claro */
    --color-bg: #0F172A;           /* Fondo Oscuro Profundo (no negro puro) */
    --color-surface: #1E293B;      /* Tarjetas Oscuras */
    --color-text: #F8FAFC;         /* Blanco Suave (anti-fatiga visual) */
    --color-text-muted: #CBD5E1;
    --color-cta: #F59E0B;          /* Naranja brillante pero cálido */
    --color-cta-hover: #D97706;
    --color-bump-bg: #332701;      /* Fondo cálido oscuro */
    --color-bump-border: #F59E0B;
    --color-border: #334155;
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* =========================================
   RESET & BASE
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 5rem 0; }
.text-center { text-align: center; }
.section-desc { font-size: 1.15rem; color: var(--color-text-muted); max-width: 700px; margin: 0 auto 3rem auto; }

/* Botón Toggle Dark Mode */
.theme-toggle {
    position: fixed; bottom: 25px; right: 25px;
    background: var(--color-surface); border: 2px solid var(--color-border);
    border-radius: 50%; width: 55px; height: 55px;
    cursor: pointer; z-index: 1000; display: flex;
    align-items: center; justify-content: center; font-size: 1.4rem;
    box-shadow: var(--shadow-soft); transition: transform 0.2s ease;
}
.theme-toggle:hover { transform: scale(1.1); }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }

/* =========================================
   TIPOGRAFÍA E IMÁGENES
   ========================================= */
img.mockup-img { width: 100%; border-radius: 12px; }
.drop-shadow { filter: drop-shadow(0 25px 35px rgba(0,0,0,0.5)); }
.section-title { color: var(--color-text); font-size: 2.2rem; margin-bottom: 1rem; font-weight: 800; line-height: 1.2; }
[data-theme="light"] .section-title { color: var(--color-primary); }

.btn {
    display: inline-block; width: 100%; padding: 20px 24px; font-size: 1.2rem;
    font-weight: 800; text-align: center; border: none; border-radius: 8px;
    cursor: pointer; transition: all 0.3s ease;
}
.btn--primary { background-color: var(--color-cta); color: #fff; box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3); }
.btn--primary:hover { background-color: var(--color-cta-hover); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4); }

/* =========================================
   A. HERO
   ========================================= */
.hero { background-color: var(--color-primary); color: #FFF; padding: 6rem 0 5rem 0; }
.hero__grid { display: grid; gap: 4rem; align-items: center; }
.badge { background: rgba(143, 188, 143, 0.15); color: #A7F3D0; padding: 6px 18px; border-radius: 30px; font-weight: 600; display: inline-block; margin-bottom: 1.5rem; border: 1px solid rgba(167, 243, 208, 0.2); }
.hero__title { font-size: 2.6rem; margin-bottom: 1.2rem; line-height: 1.15; font-weight: 800; }
.hero__subtitle { font-size: 1.15rem; color: #E2E8F0; margin-bottom: 2.5rem; }
.security-text { font-size: 0.9rem; color: #A7F3D0; margin-top: 1rem; text-align: center; }

/* =========================================
   B. AGITACIÓN Y PUENTE
   ========================================= */
.agitation__cards { display: grid; gap: 2rem; margin-top: 2rem; }
.pain-card { background: var(--color-surface); padding: 2.5rem 2rem; border-top: 4px solid var(--color-secondary); border-radius: 12px; box-shadow: var(--shadow-soft); transition: transform 0.3s ease; }
.pain-card:hover { transform: translateY(-5px); }
.pain-card__icon { font-size: 3rem; margin-bottom: 1.5rem; }
.pain-card h3 { color: var(--color-text); margin-bottom: 0.8rem; font-size: 1.3rem; }

.bridge { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.bridge__content { max-width: 800px; margin: 0 auto; font-size: 1.15rem; color: var(--color-text-muted); text-align: center; }
.bridge__content p { margin-bottom: 1.5rem; }
.bridge__content strong { color: var(--color-text); }

/* =========================================
   C. SOLUCIÓN
   ========================================= */
.solution__grid { display: grid; gap: 4rem; align-items: center; }
.solution__list { list-style: none; margin-bottom: 2.5rem; }
.solution__list li { display: flex; align-items: flex-start; margin-bottom: 1.8rem; font-size: 1.1rem; }
.check-circle { background: var(--color-secondary); color: var(--color-primary); width: 28px; height: 28px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 900; margin-right: 18px; flex-shrink: 0; margin-top: 4px; }
.solution__list strong { display: block; color: var(--color-text); margin-bottom: 0.3rem; }

/* =========================================
   FAQ (Acordeón)
   ========================================= */
.accordion-container { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.accordion-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; }
.accordion-header { width: 100%; text-align: left; padding: 1.5rem; background: transparent; border: none; font-weight: 700; font-size: 1.1rem; color: var(--color-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: 'Inter', sans-serif; transition: background 0.3s; }
.accordion-header:hover { background: rgba(0,0,0,0.02); }
[data-theme="dark"] .accordion-header:hover { background: rgba(255,255,255,0.02); }
.accordion-header::after { content: '+'; font-size: 1.8rem; color: var(--color-cta); transition: transform 0.3s ease; font-weight: 400; }
.accordion-header.active::after { content: '-'; transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: var(--color-surface); }
.accordion-content p { padding: 0 1.5rem 1.5rem 1.5rem; color: var(--color-text-muted); font-size: 1.05rem; }

/* =========================================
   E. GARANTÍA
   ========================================= */
.guarantee__box { background: var(--color-primary); color: #FFF; display: flex; flex-direction: column; align-items: center; text-align: center; border: 2px dashed rgba(255,255,255,0.3); padding: 3rem; border-radius: 12px; gap: 1.5rem; }
.shield-icon { font-size: 4.5rem; filter: drop-shadow(0 0 20px rgba(255,140,0,0.6)); }
.guarantee__text h3 { color: var(--color-cta); margin-bottom: 0.8rem; font-size: 1.8rem; }
.guarantee__text p { font-size: 1.1rem; max-width: 600px; line-height: 1.6; }

/* =========================================
   D. CHECKOUT Y ORDER BUMPS
   ========================================= */
.checkout__grid { display: grid; gap: 3rem; }
.checkout__title { color: var(--color-text); font-size: 1.8rem; margin-bottom: 0.5rem; }
[data-theme="light"] .checkout__title { color: var(--color-primary); }
.checkout__subtitle { color: var(--color-text-muted); margin-bottom: 2.5rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.6rem; }
.form-group input { width: 100%; padding: 16px; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); border-radius: 8px; font-size: 1rem; transition: border-color 0.3s; }
.form-group input:focus { outline: none; border-color: var(--color-cta); box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1); }

.gateway-logos { text-align: center; margin-top: 1.5rem; }
.gateway-logos img { border-radius: 4px; max-width: 100%; opacity: 0.8; }

.checkout__summary-col { background: var(--color-surface); padding: 2.5rem; border-radius: 12px; border: 1px solid var(--color-border); position: sticky; top: 20px; box-shadow: var(--shadow-soft); }
.summary__title { color: var(--color-text); margin-bottom: 1.5rem; border-bottom: 2px solid var(--color-border); padding-bottom: 1rem; }
.summary__item { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 1.5rem; font-size: 1.1rem; }

/* Order Bumps */
.order-bump { background: var(--color-bump-bg); border: 2px dashed var(--color-bump-border); padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; cursor: pointer; transition: filter 0.3s ease; }
.order-bump:hover { filter: brightness(0.95); }
.order-bump__header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0.5rem; }
.bump-checkbox { width: 24px; height: 24px; accent-color: var(--color-cta); margin-top: 2px; cursor: pointer; }
.bump-label { font-weight: 800; color: var(--color-cta); font-size: 1.1rem; cursor: pointer; }
.order-bump__desc { font-size: 0.95rem; color: var(--color-text-muted); padding-left: 36px; line-height: 1.4; }

.summary__total { display: flex; justify-content: space-between; font-size: 1.6rem; font-weight: 900; color: var(--color-text); margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid var(--color-border); }
[data-theme="light"] .summary__total { color: var(--color-primary); }

/* Media Queries (Desktop) */
@media (min-width: 992px) {
    .hero__grid, .solution__grid { grid-template-columns: 1fr 1fr; }
    .agitation__cards { grid-template-columns: repeat(3, 1fr); }
    .guarantee__box { flex-direction: row; text-align: left; padding: 4rem; }
    .checkout__grid { grid-template-columns: 1.1fr 1fr; }
    .hero__title { font-size: 3.2rem; }
}

/* Animaciones */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   D. CHECKOUT Y ORDER BUMPS (Con Imágenes)
   ========================================= */
/* ... (Mantén tu CSS de formulario y títulos igual) ... */

/* Estructura del Order Bump */
.order-bump { 
    background: var(--color-bump-bg); 
    border: 2px dashed var(--color-bump-border); 
    padding: 1.2rem; 
    border-radius: 10px; 
    margin-bottom: 1.5rem; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}
.order-bump:hover { 
    background-color: rgba(245, 158, 11, 0.1); /* Efecto hover sutil */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.order-bump__layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.order-bump__img-container {
    flex-shrink: 0; /* Evita que la imagen se aplaste */
}

.bump-img {
    width: 80px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    object-fit: cover;
}

.order-bump__content {
    flex-grow: 1;
}

.order-bump__header { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    margin-bottom: 0.5rem; 
}

.bump-checkbox { 
    width: 22px; 
    height: 22px; 
    accent-color: var(--color-cta); 
    margin-top: 3px; 
    cursor: pointer; 
    flex-shrink: 0;
}

.bump-label { 
    font-weight: 800; 
    color: var(--color-cta); 
    font-size: 1.05rem; 
    cursor: pointer; 
    line-height: 1.3;
}

.order-bump__desc { 
    font-size: 0.9rem; 
    color: var(--color-text-muted); 
    line-height: 1.45; 
    margin-top: 4px;
}

/* Media Queries para móviles muy pequeños */
@media (max-width: 480px) {
    .order-bump__layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .order-bump__header {
        justify-content: center;
    }
    .order-bump__desc {
        padding-left: 0;
    }
}