/* „Zrozumieć Nastolatka" sales page, overrides on top of the KED design system
   (.ked-page). Two jobs only:
     1. a slightly WARMER lean, this product is about an emotional relationship,
        not productivity, so eyebrows / module accents borrow the amber tone
        (the green CTA + brand accents stay). Mirrors the ebook „Nie pytaj" page.
     2. the ZN-specific 3-module curriculum section + a few small helpers. */

.ked-page.zn-page {
    /* Use the exact brand warm (#f59e0c, same as --ked-warm) so the amber
       accents match the rest of Produkacja instead of being a near-miss shade. */
    --zn-warm: #f59e0c;
    --zn-warm-soft: rgba(245, 158, 12, 0.12);
}

/* Warm the hero glow a touch (the KED hero is pure-green by default) */
.zn-page .ked-hero::before,
.zn-page .ked-hero::after {
    /* if the base hero uses a radial green tint, blend a warm note over it */
    filter: hue-rotate(-6deg) saturate(1.02);
}

/* ── Intro video eyebrow ─────────────────────────────────────────────────── */
.zn-page .zn-video-eyebrow {
    font-family: var(--ked-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--zn-warm);
    text-align: center;
    margin: 0 0 22px;
}

/* ── 6-module curriculum: stacked rows with a photo slot ─────────────────── */
.zn-page .zn-mod-stack {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 56px;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.zn-page .zn-mod-row {
    display: grid;
    grid-template-columns: 230px 1fr;
    grid-gap: 32px;
    gap: 32px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--ked-line);
    border-radius: var(--ked-r-lg);
    padding: 34px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.zn-page .zn-mod-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--zn-warm), var(--ked-green-400));
    opacity: 0.85;
}

.zn-page .zn-mod-row:hover {
    border-color: var(--ked-line-2);
    transform: translateY(-3px);
}

@media (max-width: 860px) {
    .zn-page .zn-mod-row {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 22px;
    }
}

/* Photo slot: real module image when provided, styled placeholder otherwise.
   Kept small on purpose (a slide shot / module cover, not a hero visual). */
.zn-page .zn-mod-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    border-radius: var(--ked-r-md, 12px);
    border: 1px solid var(--ked-line);
}

.zn-page .zn-mod-thumb-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border-radius: var(--ked-r-md, 12px);
    border: 1px solid rgba(245, 158, 12, 0.25);
    background:
        radial-gradient(120% 120% at 20% 10%, rgba(245, 158, 12, 0.14), transparent 55%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    padding: 18px;
    text-align: center;
}

@media (max-width: 860px) {
    .zn-page .zn-mod-thumb {
        max-width: 320px;
    }
}

.zn-page .zn-mod-thumb-num {
    font-family: var(--ked-display);
    font-size: 44px;
    line-height: 1;
    color: var(--zn-warm);
    font-weight: 500;
}

.zn-page .zn-mod-thumb-cap {
    font-family: var(--ked-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ked-t-4);
}

.zn-page .zn-mod-tag {
    font-family: var(--ked-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--zn-warm);
    margin: 0 0 12px;
}

.zn-page .zn-mod-content h3 {
    font-family: var(--ked-display);
    font-size: clamp(21px, 2.4vw, 26px);
    line-height: 1.15;
    color: var(--ked-t-1);
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 0 0 14px;
}

.zn-page .zn-mod-hook {
    font-family: var(--ked-display);
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ked-t-2);
    margin: 0 0 6px;
}

.zn-page .zn-mod-hook-note {
    font-family: var(--ked-mono);
    font-size: 11.5px;
    letter-spacing: 0.04em;
    color: var(--zn-warm);
    margin: 0 0 14px;
}

.zn-page .zn-mod-body {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ked-t-3);
    margin: 0 0 12px;
}

.zn-page .zn-mod-points {
    list-style: none;
    margin: 6px 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zn-page .zn-mod-points li {
    display: flex;
    gap: 11px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ked-t-2);
}

.zn-page .zn-module-dot {
    color: var(--zn-warm);
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.4;
}

.zn-page .zn-mod-exercise {
    background: var(--zn-warm-soft);
    border: 1px solid rgba(245, 178, 44, 0.28);
    border-radius: 12px;
    border-radius: var(--ked-r-md, 12px);
    padding: 14px 18px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ked-t-2);
    margin: 0 0 14px;
}

.zn-page .zn-mod-exercise-label {
    display: block;
    font-family: var(--ked-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--zn-warm);
    margin-bottom: 6px;
}

.zn-page .zn-mod-outcome {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ked-green-300);
}

/* ── Materials grid ──────────────────────────────────────────────────────── */
.zn-page .zn-materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 22px;
    gap: 22px;
    margin-top: 52px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 760px) {
    .zn-page .zn-materials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}

.zn-page .zn-material {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--ked-line);
    border-radius: var(--ked-r-lg);
    padding: 28px 30px;
}

.zn-page .zn-material-icon {
    font-size: 26px;
    color: var(--zn-warm);
    display: block;
    margin-bottom: 14px;
}

.zn-page .zn-material h4 {
    font-family: var(--ked-display);
    font-size: 19px;
    color: var(--ked-t-1);
    font-weight: 500;
    margin: 0 0 10px;
}

.zn-page .zn-material p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ked-t-3);
    margin: 0;
}

/* ── Survey-quote cards („Ten kurs napisali z nami rodzice") ─────────────── */
.zn-page .zn-quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 22px;
    gap: 22px;
    margin-top: 52px;
}

@media (max-width: 980px) {
    .zn-page .zn-quotes-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

.zn-page .zn-quote-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--ked-line);
    border-radius: var(--ked-r-lg);
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zn-page .zn-quote-text {
    font-family: var(--ked-display);
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
    color: var(--ked-t-1);
    margin: 0;
    flex-grow: 1;
}

.zn-page .zn-quote-answer {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ked-green-300);
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid var(--ked-line);
}

/* ── Trust band near buy zones: real, verifiable proof facts ─────────────── */
.zn-page .zn-trust-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 22px auto 18px;
    max-width: 640px;
}

.zn-page .zn-trust-band span {
    font-family: var(--ked-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--ked-t-3);
    white-space: nowrap;
}

.zn-page .zn-trust-band span::before {
    content: "✓ ";
    color: var(--ked-green-300);
}

@media (max-width: 640px) {
    .zn-page .zn-trust-band span {
        white-space: normal;
        text-align: center;
    }
}

/* ── Honest transparency note in the recap (no fabricated testimonials) ──── */
.zn-page .zn-transparency-note {
    max-width: 560px;
    margin: 0 auto 26px;
    text-align: center;
    font-family: var(--ked-display);
    font-style: italic;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ked-t-2);
}

/* ── Secondary "pay by card via Stripe" link under the CTA ───────────────── */
.zn-page .zn-stripe-link {
    margin: 12px auto 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    color: var(--ked-t-3, rgba(255, 255, 255, 0.6));
}

.zn-page .zn-stripe-link a {
    color: #2ad167;
    color: var(--ked-success, #2ad167);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    font-weight: 500;
}

.zn-page .zn-stripe-link a:hover {
    opacity: 0.85;
}

.zn-page .zn-stripe-link a.zn-stripe-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* ── Newsletter premiere-price launch (999 zł until deadline) ─────────────── */
.zn-page .zn-launch-banner {
    padding: 12px 20px;
    text-align: center;
    font-size: 14.5px;
    line-height: 1.5;
    color: #fff;
    color: var(--ked-t-1, #fff);
    background: rgba(42, 209, 103, 0.12);
    border-bottom: 1px solid rgba(42, 209, 103, 0.3);
}

.zn-page .zn-launch-banner strong {
    color: #2ad167;
    color: var(--ked-success, #2ad167);
    white-space: nowrap;
}

.zn-page .zn-price-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-family: var(--ked-mono, 'JetBrains Mono', monospace);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    color: #2ad167;
    color: var(--ked-success, #2ad167);
    margin-bottom: 6px;
}

.zn-page .zn-price-was {
    margin-left: 12px;
    font-size: 0.46em;
    font-weight: 400;
    text-decoration: line-through;
    opacity: 0.5;
    vertical-align: middle;
    white-space: nowrap;
}

.zn-page .zn-launch-note {
    max-width: 480px;
    margin: 14px auto 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    color: var(--ked-t-2, rgba(255, 255, 255, 0.72));
}

.zn-page .zn-launch-note strong {
    color: #2ad167;
    color: var(--ked-success, #2ad167);
    white-space: nowrap;
}

/* ── Value echo under the final button ───────────────────────────────────── */
.zn-page .zn-final-anchor {
    margin: 10px auto 0;
    max-width: 480px;
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ked-t-3);
}

/* ── Mikołaj section: mirrored about-grid (photo on the right) ───────────── */
/* DOM order is text-then-photo, so mirror the base 280px/1fr template instead
   of using `order` (which would drop the photo into the wide 1fr column). */
@media (min-width: 761px) {
    .zn-page .zn-mikolaj-grid {
        grid-template-columns: 1fr 280px;
    }
}

/* ── Proof note under the placeholder testimonial ────────────────────────── */
.zn-page .zn-proof-note {
    text-align: center;
    margin: 36px auto 0;
    font-family: var(--ked-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--ked-t-4);
}

/* The module accent (warm) also tints the pillar numbers so the three-beat
   outcome section visually rhymes with the curriculum modules. */
.zn-page .ked-pillar-num {
    color: var(--zn-warm);
}

/* ── Hero: quiet direct buy-link for the ready few (under the scroll CTA) ─── */
.zn-page .zn-hero-direct {
    display: block;
    margin-top: 14px;
    font-family: var(--ked-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--ked-t-3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.zn-page .zn-hero-direct:hover {
    color: var(--zn-warm);
}

/* ── Relief line after the dark pull-quote break ─────────────────────────── */
.zn-page .zn-pull-quote-relief {
    max-width: 640px;
    margin: 22px auto 0;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ked-t-3);
}

/* ── „Gotowe zdanie" demonstration block (under the offer summary) ───────── */
.zn-page .zn-example {
    max-width: 640px;
    margin: 44px auto 0;
    padding: 28px 32px;
    background: var(--zn-warm-soft);
    border: 1px solid rgba(245, 178, 44, 0.28);
    border-radius: var(--ked-r-lg);
    text-align: center;
}

.zn-page .zn-example-label {
    font-family: var(--ked-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--zn-warm);
}

.zn-page .zn-example-line {
    font-family: var(--ked-display);
    font-size: clamp(19px, 2.2vw, 24px);
    line-height: 1.35;
    color: var(--ked-t-1);
    margin: 14px 0 12px;
}

.zn-page .zn-example-note {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ked-t-3);
    margin: 0;
}

/* ── Soft CTA under the Vision payoff ────────────────────────────────────── */
.zn-page .zn-vision-cta {
    text-align: center;
    margin-top: 40px;
}

/* ── Price anchor + guarantee line in the recap CTA ──────────────────────── */
.zn-page .zn-price-anchor {
    max-width: 560px;
    margin: 0 auto 22px;
    text-align: center;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ked-t-3);
}

.zn-page .zn-guarantee-line {
    max-width: 480px;
    margin: 16px auto 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ked-green-300);
}

/* ── Honest „first opinions coming" note from Marysia in the proof slot ───── */
.zn-page .zn-proof-note-card {
    max-width: 620px;
    margin: 40px auto 0;
    padding: 30px 36px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--ked-line);
    border-radius: var(--ked-r-lg);
    text-align: center;
}

.zn-page .zn-proof-note-card p {
    font-family: var(--ked-display);
    font-style: italic;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ked-t-2);
    margin: 0;
}

.zn-page .zn-proof-sig {
    font-family: var(--ked-hand) !important;
    font-style: normal !important;
    font-size: 21px !important;
    color: var(--ked-t-1) !important;
    margin-top: 16px !important;
}

/* ── Felt-urgency line before the Vision CTA ─────────────────────────────── */
.zn-page .zn-vision-urgency {
    max-width: 600px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ked-t-2);
}

/* ── Hero: tighter + more intimate than the KED default (which caps at 80px).
   The ZN headline is emotional, not a slogan, so it reads better a notch
   smaller and with less vertical air. ───────────────────────────────────── */
.zn-page .ked-hero {
    padding: 72px 0 88px;
}

.zn-page .ked-hero h1 {
    font-size: clamp(32px, 4.6vw, 56px);
    margin-bottom: 24px;
}

.zn-page .ked-hero-sub {
    max-width: 600px;
}

/* Price must never wrap as „1" / „990" — keep the recap number and the
   hero meta chips on a single line. */
.zn-page .ked-big {
    white-space: nowrap;
}

.zn-page .ked-hero-meta span {
    white-space: nowrap;
}

