/* Wspólne style podstron produktowych (Aplikacja, Notatki, Kurs) */
.app-page p{font-size:19px;line-height:1.75}
    .app-page h5{font-size:22px}
    .pre-label{color:var(--color-primary);font-weight:700;letter-spacing:.5px;text-transform:uppercase;font-size:16px;display:inline-block;margin-bottom:6px}

    /* --- hero --- */
    .app-hero{background:#f9f2ea;padding:70px 0 90px;overflow:hidden}
    .app-hero h1{font-size:52px;line-height:1.1;margin:14px 0 12px}
    .app-hero p.title2_top{font-size:28px;line-height:1.35;color:var(--color-body);margin-bottom:24px}
    .app-hero p.description{font-size:21px;line-height:1.7;max-width:560px}
    .app-hero .btns{display:flex;gap:18px;flex-wrap:wrap;margin-top:30px}
    .app-badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border-radius:40px;padding:9px 18px;font-size:16px;font-weight:700;color:var(--color-heading);box-shadow:0 6px 20px -10px rgba(35,31,64,.25);margin-top:28px}
    .app-badge i{color:var(--color-primary);font-size:19px}

    .phones{position:relative;height:560px;max-width:520px;margin:0 auto}
    .phones .blob{position:absolute;inset:40px 10px 20px 30px;border-radius:46% 54% 40% 60%/55% 45% 55% 45%;background:#a7b49e;opacity:.45}
    .phones .blob.chem{background:#6abbe8;opacity:.35;inset:120px 60px 0 120px;border-radius:60% 40% 55% 45%/45% 55% 45% 55%}
    .phone{position:absolute;width:250px;filter:drop-shadow(0 30px 40px rgba(35,31,64,.22))}
    .phone img{width:100%;height:auto;display:block}
    .phones .phone.a{left:20px;top:0;transform:rotate(-5deg)}
    .phones .phone.b{right:10px;top:70px;transform:rotate(5deg)}
    .duo{display:flex;justify-content:center;gap:22px}
    .duo .phone{position:static;width:240px}
    .duo .phone:nth-child(2){margin-top:60px}

    /* --- przegląd --- */
    .app-features{padding:90px 0 50px;background:#fff}
    .app-feature{background:#f9f2ea;border-radius:20px;padding:36px 30px;height:100%;text-align:center}
    .app-feature .ic{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;font-size:32px;color:#fff}
    .ic.bio{background:#8c9d82}.ic.chem{background:#6abbe8}.ic.prim{background:var(--color-primary)}
    .app-feature h5{margin-bottom:10px}
    .app-feature p{font-size:18px;margin:0}

    /* --- sekcje --- */
    .app-row{padding:90px 0}
    .app-row.alt{background:#f9f2ea}
    .app-row h3,.app-sec-title h3{font-size:42px;margin-bottom:18px}
    .app-sec-title{max-width:820px;margin:0 auto 50px;text-align:center}
    .app-list{list-style:none;padding:0;margin:22px 0 0}
    .app-list li{position:relative;padding-left:40px;margin-bottom:16px;font-size:18px;line-height:1.6;color:var(--color-body)}
    .app-list li::before{content:"\eb7b";font-family:'remixicon';position:absolute;left:0;top:1px;width:26px;height:26px;border-radius:50%;background:#8c9d82;color:#fff;font-size:15px;display:grid;place-items:center}
    .app-list li b{color:var(--color-heading)}

    /* kroki „jak działa" */
    .how{counter-reset:how;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;margin-top:50px}
    .how-step{background:#fff;border-radius:20px;padding:30px 28px 26px;position:relative;box-shadow:0 10px 30px -18px rgba(35,31,64,.25)}
    .app-row:not(.alt) .how-step{background:#f9f2ea;box-shadow:none}
    .how-step::before{counter-increment:how;content:counter(how);width:46px;height:46px;border-radius:50%;background:var(--how,#8c9d82);color:#fff;font-size:22px;font-weight:700;display:grid;place-items:center;margin-bottom:16px}
    .how.chem{--how:#6abbe8}
    .how-step h5{margin-bottom:10px}
    .how-step p{font-size:18px;margin:0}

    /* oś powtórek */
    .reps{background:#fff;border-radius:26px;padding:48px 44px;margin-top:60px;box-shadow:0 20px 50px -30px rgba(35,31,64,.3)}
    .reps h4{font-size:32px;margin-bottom:12px}
    .timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:40px 0 30px;position:relative}
    .timeline::before{content:"";position:absolute;left:10%;right:10%;top:31px;height:4px;background:#8c9d82;border-radius:4px}
    .tl{text-align:center;position:relative;padding:0 8px}
    .tl .dot{width:66px;height:66px;border-radius:50%;margin:0 auto 14px;display:grid;place-items:center;font-size:26px;color:#fff;background:#8c9d82;position:relative;box-shadow:0 0 0 7px #fff}
    .tl.start .dot{background:var(--color-heading)}
    .tl b{display:block;font-size:20px;color:var(--color-heading);margin-bottom:4px}
    .tl span{font-size:16px;color:var(--color-body);line-height:1.45;display:block}

    /* fiszki: Wiem / Do powtórki */
    .flow{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:10px}
    .flow-card{border-radius:20px;padding:28px 28px 24px;background:#fff}
    .flow-card .tag{display:inline-block;border-radius:30px;padding:7px 18px;font-weight:700;font-size:17px;color:#fff;margin-bottom:14px}
    .flow-card.know .tag{background:#8c9d82}
    .flow-card.again .tag{background:#9e8bd4}
    .flow-card p{font-size:18px;margin:0}

    .why{display:grid;grid-template-columns:1fr 1fr;gap:30px}
    .why-box{background:#f9f2ea;border-radius:24px;padding:38px 36px}
    .why-box h4{font-size:28px;margin-bottom:6px}

    .subjects{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:10px}
    .subj{border-radius:22px;padding:32px 30px;color:#fff}
    .subj.bio{background:#8c9d82}.subj.chem{background:#6abbe8}
    .subj h5{color:#fff;margin-bottom:10px}
    .subj p{color:#fff;font-size:18px;margin:0;opacity:.95}

    .subj{display:flex;flex-direction:column}
    .subj .subj-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;padding-top:4px;margin-top:auto}
    .subj p{margin-bottom:22px !important}
    .subj-btn{display:inline-flex;align-items:center;gap:8px;background:#fff;border-radius:12px;padding:11px 16px;font-weight:700;font-size:16px;line-height:1;transition:transform .15s,box-shadow .15s}
    .subj-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px -8px rgba(35,31,64,.35)}
    .subj.bio .subj-btn{color:#5e7356}.subj.chem .subj-btn{color:#3e6c8e}
    .subj-btn i{font-size:18px}

    /* przyciski sklepów z aplikacjami (linki do uzupełnienia, gdy apka będzie w sklepach) */
    .store-btns{display:flex;flex-wrap:wrap;gap:14px}
    .store-btn{display:inline-flex;align-items:center;gap:12px;background:#231F40;color:#fff;border-radius:14px;padding:11px 22px 11px 18px;min-width:200px;transition:transform .15s,box-shadow .15s}
    .store-btn:hover{color:#fff;transform:translateY(-2px);box-shadow:0 12px 24px -12px rgba(35,31,64,.6)}
    .store-btn i{font-size:30px;line-height:1}
    .store-btn small{display:block;font-size:12px;opacity:.8;line-height:1.2;font-weight:500}
    .store-btn b{display:block;font-size:19px;line-height:1.2}
    .app-hero .hero-stores{margin-top:56px}
    .app-hero .store-btns{justify-content:center}
    .app-download{background:#f9f2ea;padding:80px 0;text-align:center}
    .app-download h3{font-size:40px;margin-bottom:12px}
    .app-download p{max-width:640px;margin:0 auto 30px}
    .app-download .store-btns{justify-content:center}

    .app-steps{padding:90px 0;background:#fff}
    .step{text-align:center;padding:0 14px}
    .step .num{width:68px;height:68px;border-radius:50%;background:#f9f2ea;color:var(--color-primary);font-size:30px;font-weight:700;display:grid;place-items:center;margin:0 auto 18px}
    .step h5{margin-bottom:8px}
    .step p{font-size:18px}

    .app-cta{margin:0 auto 40px;max-width:1110px;border-radius:26px;background:#8c9d82;color:#fff;padding:56px 40px;text-align:center}
    .app-cta h3{color:#fff;font-size:38px;margin-bottom:12px}
    .app-cta p{color:#f3f5ee;font-size:20px;margin-bottom:28px}
    .app-cta .edu-btn{background:#fff;color:var(--color-heading)}
    .app-cta .edu-btn.color-chemb{background:#6abbe8;color:#fff}

    @media (max-width:991px){
        .app-hero h1{font-size:42px}
        .app-hero p.title2_top{font-size:23px}
        .phones{height:470px;margin-top:40px}
        .phone{width:210px}
        .app-row h3,.app-sec-title h3{font-size:32px}
        .app-row .order-lg-2,.app-row .order-lg-1{margin-bottom:40px}
        .duo .phone{width:46%}
        .timeline{grid-template-columns:1fr;gap:22px;text-align:left}
        .timeline::before{left:31px;right:auto;top:20px;bottom:20px;width:4px;height:auto}
        .tl{display:grid;grid-template-columns:66px 1fr;column-gap:18px;text-align:left;align-items:center}
        .tl .dot{margin:0;grid-row:span 2}
        .why,.subjects,.flow{grid-template-columns:1fr}
        .reps{padding:34px 24px}
    }
    @media (max-width:575px){
        .app-page p{font-size:18px}
        .phones{height:400px}
        .phone{width:175px}
        .phones .phone.a{left:0}.phones .phone.b{right:0}
        .app-cta{margin:0 16px 40px;padding:40px 22px}
        .why-box{padding:28px 22px}
    }

/* --- nagłówek ze zdjęciami (Notatki, Kurs) --- */
.hero-pics{position:relative;display:flex;justify-content:center;align-items:flex-end;gap:0;min-height:420px}
.hero-pics img{width:300px;max-width:50%;height:auto;filter:drop-shadow(0 26px 34px rgba(35,31,64,.18))}
.hero-pics img + img{margin-left:-30px;margin-bottom:40px}
.hero-pics.solo img{width:380px;max-width:90%}

/* --- karty produktów na podstronach --- */
.prod{background:#f9f2ea;border-radius:24px;padding:36px 34px;height:100%}
.app-row.alt .prod{background:#fff}
.prod .ic{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;font-size:30px;color:#fff;margin-bottom:18px}
.prod h4{font-size:28px;margin-bottom:10px}
.prod p{font-size:18px}

/* --- wyróżniony cytat / ramka --- */
.note-box{background:#fff;border-left:6px solid var(--color-primary);border-radius:16px;padding:26px 30px;margin-top:30px;box-shadow:0 14px 34px -24px rgba(35,31,64,.35)}
.note-box p{margin:0}

/* --- sekcja zdjęć notatek --- */
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.gallery img{width:100%;border-radius:18px;box-shadow:0 24px 50px -28px rgba(35,31,64,.45);background:#fff}

@media (max-width:991px){
    .hero-pics{min-height:0;margin-top:30px}
    .gallery{grid-template-columns:1fr}
}

/* --- spójnie ze stroną główną --- */
.app-hero .btns{gap:14px}
.h-pill{display:inline-flex;align-items:center;gap:12px;border-radius:60px;padding:8px 26px 8px 8px;font-size:19px;font-weight:700;color:#fff;transition:transform .15s,box-shadow .15s}
.h-pill:hover{transform:translateY(-3px);color:#fff;box-shadow:0 14px 26px -14px rgba(35,31,64,.5)}
.h-pill .ic{width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.25);display:grid;place-items:center;font-size:22px}
.h-pill.chem{background:#6abbe8}.h-pill.bio{background:#8c9d82}
.app-list li{padding-left:46px}
@media (max-width:767px){
  .top-bar-news{font-size:14px !important;line-height:1.4;padding:18px 18px 10px !important}
  .app-hero{padding:40px 0 60px}
  .app-hero h1{font-size:38px}
  .app-hero p.title2_top{font-size:21px}
  .app-hero p.description{font-size:17px}
  .h-pill{font-size:16px;padding:6px 20px 6px 6px}
  .h-pill .ic{width:38px;height:38px;font-size:18px}
}
@media (max-width:399px){
  .phones{height:340px}
  .phone{width:150px}
  .duo{gap:12px}
}

/* ramka „maksymalnie cztery powtórki” w sekcji powtórek */
.reps .reps-limit{background:#f9f2ea;box-shadow:none;margin-top:26px}
.reps .reps-limit p{font-size:17px;line-height:1.65}
.reps .reps-limit p + p{margin-top:12px}
.reps .reps-limit .ex{color:var(--color-heading)}
