/* ============================================
   OFERTA.CSS - Style dla stron sprzedażowych
   (Brandbook EagleGym)
   ============================================ */

/* --- SALES SECTIONS --- */
.split-section { padding: var(--section-spacing) 0; display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
@media(min-width: 992px) { .split-section { grid-template-columns: 1fr 1fr; } }

.problem-visual {
    height: 350px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(45, 90, 61, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.mechanism-flow { display: flex; align-items: center; gap: 15px; margin-top: 20px; opacity: 0.8; }
.flow-arrow { color: var(--color-charcoal-soft); }
.solution-list { list-style: none; margin-top: 20px; }
.solution-list li { margin-bottom: 15px; display: flex; gap: 15px; align-items: flex-start; }
.solution-list svg { min-width: 20px; height: 20px; color: var(--color-forest); margin-top: 3px; }

/* --- COMPARISON CARDS (Brandbook) --- */
.comparison-grid { display: grid; grid-template-columns: 1fr; gap: 30px; position: relative; max-width: 900px; margin: 40px auto; }
@media(min-width: 768px) { .comparison-grid { grid-template-columns: 1fr 1fr; gap: 50px; } }

.comp-card {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(45, 90, 61, 0.08);
    position: relative;
    transition: var(--transition-speed);
    background: white;
    box-shadow: var(--shadow-sm);
}
.comp-card.bad {
    border-color: rgba(26, 26, 26, 0.1);
    opacity: 0.9;
}
.comp-card.good {
    border: 2px solid var(--color-forest);
    background: white;
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
    z-index: 2;
}

.comp-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; border-bottom: 1px solid rgba(45, 90, 61, 0.08); padding-bottom: 20px; }
.comp-header h3 { font-size: 1.2rem; margin: 0; color: var(--color-charcoal); }
.comp-icon { width: 32px; height: 32px; }
.bad .comp-icon { color: var(--color-charcoal-soft); }
.good .comp-icon { color: var(--color-forest); }

.comp-list { list-style: none; padding-top: 10px; }
.comp-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: var(--color-charcoal-soft);
    align-items: flex-start;
    line-height: 1.6;
}
.comp-list li:last-child { margin-bottom: 0; }
.comp-list li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.bad .comp-list li svg { color: var(--color-error); }
.good .comp-list li svg { color: var(--color-forest); }

.comp-list li strong {
    display: block;
    color: var(--color-charcoal);
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-family: var(--font-head);
}

.vs-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-sand);
    border: 1px solid rgba(45, 90, 61, 0.1);
    color: var(--color-charcoal-soft);
    font-weight: 700;
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}
@media(max-width: 767px) { .vs-badge { display: none; } }

/* --- DEMO SECTION --- */
.laptop-mockup { max-width: 800px; margin: 0 auto; background: var(--color-charcoal); border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow-lg); position: relative; }
.laptop-screen { background: var(--color-sand-dark); aspect-ratio: 16/9; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.play-btn { width: 70px; height: 70px; background: var(--color-forest); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: var(--shadow-md); cursor: pointer; transition: 0.3s; }
.play-btn:hover { transform: scale(1.1); background: var(--color-forest-dark); }

.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.benefit-icon { width: 40px; height: 40px; color: var(--color-forest); margin-bottom: 20px; stroke-width: 1.5; }

/* Founder Letter (Brandbook: testimonial style) */
.founder-letter {
    background: white;
    border: 1px solid rgba(45, 90, 61, 0.08);
    border-left: 4px solid var(--color-forest);
    padding: 50px;
    border-radius: var(--radius-lg);
    margin-top: 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.founder-letter h3 { font-size: 1.5rem; }
.founder-letter p { margin-bottom: 1.2rem; font-size: 1.05rem; }
.signature {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--color-forest);
    margin-top: 20px;
    font-size: 1.3rem;
    display: block;
}

/* Pricing (Brandbook) */
.pricing-section {
    padding: var(--space-4xl) 0;
    background: white;
    border-top: 1px solid rgba(45, 90, 61, 0.08);
    position: relative;
}
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 50px; align-items: stretch; }
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(45, 90, 61, 0.08);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    background: var(--color-sand);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-speed);
}
.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.pricing-card.recommended {
    border: 2px solid var(--color-forest);
    box-shadow: var(--shadow-md);
    background: white;
    transform: scale(1.02);
    z-index: 10;
}
.pricing-card.recommended:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
@media(max-width: 991px) { .pricing-card.recommended { transform: scale(1); } }

.price { font-size: 3rem; font-family: var(--font-head); font-weight: 700; color: var(--color-charcoal); margin: 15px 0 5px 0; }
.price-anchor { font-size: 0.85rem; color: var(--color-forest); font-weight: 500; margin-bottom: 20px; display: block; }
.value-stack { margin: 25px 0; padding: 20px 0; border-top: 1px dashed rgba(45, 90, 61, 0.15); border-bottom: 1px dashed rgba(45, 90, 61, 0.15); }
.value-item { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 8px; color: var(--color-charcoal-soft); }
.value-total { display: flex; justify-content: space-between; font-weight: 700; color: var(--color-forest); margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(45, 90, 61, 0.1); }
.pricing-features { list-style: none; margin: 20px 0; flex-grow: 1; }
.pricing-features li { margin-bottom: 12px; color: var(--color-charcoal-soft); display: flex; gap: 12px; font-size: 0.95rem; align-items: center; }
.pricing-features li svg { width: 18px; height: 18px; color: var(--color-forest); min-width: 18px; }

/* Bonus Highlight */
.bonus-highlight { color: var(--color-forest); font-weight: 700; }

/* Guarantee (Brandbook) */
.guarantee-box {
    margin: 60px auto;
    max-width: 800px;
    padding: 40px;
    border: 2px solid var(--color-forest);
    border-radius: var(--radius-lg);
    text-align: center;
    background: rgba(45, 90, 61, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}
.guarantee-seal { position: absolute; top: -10px; right: -10px; opacity: 0.1; width: 150px; height: 150px; color: var(--color-forest); transform: rotate(15deg); }
@media(min-width: 768px) { .guarantee-box { flex-direction: row; text-align: left; } }

/* Modules Grid - responsive */
@media(max-width: 600px) {
    .modules-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .modules-grid img {
        border-radius: 6px !important;
    }
}
@media(max-width: 400px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
