/* 
   Sales Page: ZOE vs. BIOS — El Upgrade de Naturaleza
   Aesthetic: Mobile-First / App Landing Style
   Base: El Código de las 7 Palabras (adapted)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0b0f19;
    --card-bg: rgba(30, 41, 59, 0.4);
    --gold: #f59e0b;
    --gold-glow: rgba(245, 158, 11, 0.3);
    --crimson: #ef4444;
    --wine: #0f4c8a;
    --zoe-color: #22d3a0;      /* Teal — vida, abundancia, Zoe */
    --bios-color: #ef4444;     /* Rojo — esfuerzo, fatiga, BIOS */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Container Centrado (Efecto App en PC) */
.sales-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-dark);
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Announcement Bar */
.sticky-bar {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--wine);
    color: #fff;
    padding: 0.6rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 1000;
}

.sticky-bar-inner {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

#countdown {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    font-weight: 900;
}

.bar-countdown-label {
    color: var(--gold);
    animation: blink-yellow 1.2s ease-in-out infinite;
}

@keyframes blink-yellow {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.countdown-expired {
    animation: pulse-red 0.8s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

/* Sections Base */
.section {
    padding: 3rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Content Container */
.section-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

/* Typography */
.headline {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.subheadline {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Buttons */
.btn-gold {
    background: var(--gold);
    color: #0b0f19;
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 99px;
    text-decoration: none;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 4px 15px var(--gold-glow);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-gold:hover {
    transform: scale(1.03);
}

/* Sticky Bottom CTA */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.floating-cta .btn-gold {
    max-width: 90%;
    background: var(--wine);
    color: #fff;
    box-shadow: 0 4px 15px rgba(123, 26, 46, 0.45);
    white-space: nowrap;
    font-size: 0.95rem;
}

/* == HERO == */
.hero-section {
    padding: 0;
    flex-direction: column;
    gap: 0;
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 28%;
    background: linear-gradient(to top, rgba(11,15,25,1) 0%, rgba(11,15,25,0) 100%);
    pointer-events: none;
}

.hero-image-fade--20 {
    height: calc(20% + 2px);
    bottom: -2px;
    background: linear-gradient(to top, rgba(11,15,25,1) 0%, rgba(11,15,25,0) 100%);
}

.hero-image-fade--top {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: calc(20% + 2px);
    background: linear-gradient(to bottom, rgba(11,15,25,1) 0%, rgba(11,15,25,0) 100%);
    pointer-events: none;
}

.hero-content {
    padding: 0.8rem 1.5rem 2.5rem;
    background: var(--bg-dark);
}

.hero-content--overlap {
    margin-top: -50px;
    padding-top: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 15, 25, 0.0)  0%,
        rgba(11, 15, 25, 0.85) 30%,
        rgba(11, 15, 25, 1.0)  55%
    );
}

.hero-content--overlap-150 {
    margin-top: -90px;
    padding-top: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 15, 25, 0.0)  0%,
        rgba(11, 15, 25, 0.85) 30%,
        rgba(11, 15, 25, 1.0)  55%
    );
}

/* == TRUST BADGES == */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.trust-badges span {
    white-space: nowrap;
}

/* == ZOE VS BIOS SPLIT == */
.zoe-bios-split {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.split-side {
    flex: 1;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.bios-side {
    background: rgba(239, 68, 68, 0.08);
    border-right: 1px solid rgba(255,255,255,0.06);
}

.zoe-side {
    background: rgba(34, 211, 160, 0.08);
}

.split-label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.8rem;
    border-radius: 6px;
}

.bios-label {
    color: var(--bios-color);
    background: rgba(239, 68, 68, 0.12);
}

.zoe-label {
    color: var(--zoe-color);
    background: rgba(34, 211, 160, 0.12);
}

.split-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    padding: 0 0.4rem;
    min-width: 2.2rem;
    background: rgba(255,255,255,0.03);
}

.split-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bios-side .split-list li {
    font-size: 0.82rem;
    color: #fca5a5;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.4;
}

.bios-side .split-list li::before {
    content: '✖';
    position: absolute;
    left: 0;
    color: var(--bios-color);
    font-size: 0.65rem;
    top: 0.15rem;
}

.zoe-side .split-list li {
    font-size: 0.82rem;
    color: #6ee7b7;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.4;
}

.zoe-side .split-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--zoe-color);
    font-size: 0.65rem;
    top: 0.15rem;
}

/* == LAS 4 ESTACIONES == */
.estaciones-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
    text-align: left;
}

.estacion-item {
    display: flex;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.2rem;
    align-items: flex-start;
    transition: border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.estacion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    border-radius: 3px 0 0 3px;
}

.estacion-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.estacion-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(245, 158, 11, 0.2);
    min-width: 2rem;
    line-height: 1;
    padding-top: 0.1rem;
}

.estacion-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.estacion-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 0.04em;
    margin: 0;
}

.estacion-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* == EL FRUTO == */
.frutos-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
    text-align: left;
}

.fruto-item {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: border-color 0.2s;
}

.fruto-item:hover {
    border-color: rgba(34, 211, 160, 0.3);
}

.fruto-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.fruto-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0;
}

.fruto-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* == VALUE STACK == */
.value-stack-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.stack-item {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stack-item-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.stack-cover {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    height: 100px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    display: block;
}

.stack-item h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.05rem;
}

.stack-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.stack-item .price-tag {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stack-item .price-tag span {
    text-decoration: line-through;
    color: var(--crimson);
}

.tag-gratis {
    display: inline-block;
    background: var(--gold);
    color: #000 !important;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none !important;
    letter-spacing: 0.03em;
}

/* == PRICE REVEAL == */
.price-reveal {
    margin-top: 1.5rem;
    width: 100%;
    background: rgba(245, 158, 11, 0.05);
    border: 2px dashed var(--gold);
    border-radius: 16px;
    padding: 1.5rem;
}

.price-reveal .original-total {
    font-size: 1rem;
    opacity: 0.6;
    text-decoration: line-through;
}

.price-reveal .final-offer {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0.3rem 0;
}

.guarantee-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* == TESTIMONIOS == */
.testimonials-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.testimonial-card .quote {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--gold);
    font-size: 0.9rem;
}

.testimonial-card .subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* == FAQ == */
.faq-list {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.faq-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 1rem 1.2rem;
}

.faq-q {
    font-weight: 700;
    color: var(--gold);
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
}

.faq-a {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* == Animations == */
.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
