/* Sekcja "Domena i poczta" na stronie glownej (Kacper 06.10.2026): tekst po lewej, po prawej mockup panelu klienta (panel.klikamy.net),
   w ktorym kursor dodaje kolejne skrzynki. Animacje: js/dp.js. Kolory panelu jak w panel2 (tlo #f6f7f9, tekst #0f172a, linie #e2e8f0). */
.dp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 88px); align-items: center; max-width: 1440px; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(48px, 6vw, 96px); }
.dp__badge .ico { width: 15px; height: 15px; color: var(--accent); }
.dp__badge { padding-left: 11px; }
.dp__lista { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.dp__lista li { display: flex; align-items: center; gap: 14px; }
.dp__lista li > b { font-size: 15.5px; font-weight: 500; color: var(--ink); }
.dp__lista li > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.dp__lista b { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.dp__ik { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--accent); }
.dp__ik .ico { width: 18px; height: 18px; }
.dp__ceny { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.dp__ceny span { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 13.5px; color: var(--soft); }
.dp__ceny b { font-weight: 600; color: var(--ink); }
.dp__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 22px; }

/* mockup panelu: ciemna ramka jak panel.klikamy.net, jasna tresc */
.dp__scena { position: relative; }
.dp__panel { position: relative; overflow: hidden; padding: 0 8px 8px; border-radius: 18px; background: #111827; box-shadow: 0 40px 80px -40px rgba(17, 24, 39, .5); font-family: var(--font); }
.dp__bar { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 10px; color: #cbd5e1; font-size: 12.5px; }
.dp__logo .klik { display: block; width: 18px; height: 18px; fill: #fff; }
.dp__crumb i { margin: 0 4px; font-style: normal; color: #64748b; }
.dp__crumb b { font-weight: 500; color: #fff; }
.dp__tresc-p { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: #f6f7f9; }
.dp__karta { padding: 16px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #0f172a; }
.dp__dom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "at id stan" "st st st2"; gap: 14px 12px; align-items: center; }
.dp__at { grid-area: at; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #eff4ff; color: #2563eb; }
.dp__at svg { width: 20px; height: 20px; }
.dp__id { grid-area: id; display: flex; flex-direction: column; min-width: 0; }
.dp__id b { font-size: 16px; font-weight: 600; }
.dp__id small { font-size: 12.5px; color: #64748b; }
.dp__stan { grid-area: stan; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #f0fdf4; font-size: 12px; font-weight: 500; color: #15803d; }
.dp__stan i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.dp__stat { grid-area: st2; display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 1px solid #e2e8f0; }
.dp__stat--szer { grid-area: st; padding-left: 0; border: 0; }
.dp__stat small { font-size: 11.5px; color: #64748b; }
.dp__stat b { font-size: 14px; font-weight: 600; }
.dp__stat b i { font-style: normal; font-weight: 400; color: #64748b; }
.dp__pasek { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: #e2e8f0; }
.dp__pasek span { display: block; width: 12%; height: 100%; border-radius: inherit; background: #2563eb; }
.dp__khead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dp__khead b { font-size: 14.5px; font-weight: 600; }
.dp__nowa { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 32px; white-space: nowrap; padding: 0 12px; border-radius: 8px; background: #2563eb; font-size: 12.5px; font-weight: 500; color: #fff; transition: background-color .15s, transform .12s; }
.dp__nowa svg { width: 14px; height: 14px; }
.dp__nowa.is-klik, .dp__ok.is-klik { transform: scale(.94); background: #1d4ed8; }
.dp__form { display: flex; gap: 8px; margin-bottom: 10px; animation: dp-in .3s cubic-bezier(.2, .8, .2, 1); }
.dp__form[hidden] { display: none; }
.dp__pole { display: flex; flex: 1; align-items: center; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid #2563eb; border-radius: 8px; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.dp__pole em { font-style: normal; color: #64748b; }
.dp__kursor { display: inline-block; width: 1.5px; height: 16px; margin: 0 1px; background: #2563eb; animation: kai-kursor 1s steps(2) infinite; }
@keyframes kai-kursor { 50% { opacity: 0; } }
.dp__ok { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 8px; background: #2563eb; font-size: 12.5px; font-weight: 500; color: #fff; transition: transform .12s, background-color .15s; }
.dp__skrz { margin: 0; padding: 0; list-style: none; }
.dp__skrz li { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 12px; align-items: center; padding: 10px 2px; border-top: 1px solid #e2e8f0; font-size: 13.5px; }
.dp__skrz li.is-nowa { animation: dp-wiersz .9s cubic-bezier(.2, .8, .2, 1); }
@keyframes dp-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes dp-wiersz { 0% { opacity: 0; transform: translateY(-6px); background: #eff4ff; } 40% { opacity: 1; transform: none; background: #eff4ff; } 100% { background: transparent; } }
.dp__adr { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.dp__akt { padding: 2px 8px; border-radius: 999px; background: #f0fdf4; font-size: 11.5px; font-weight: 500; color: #15803d; }
.dp__uz { font-size: 12.5px; color: #64748b; text-align: right; }
.dp__mysz { position: absolute; top: 0; left: 0; z-index: 3; width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); transform: translate(70%, 40%); transition: transform .8s cubic-bezier(.65, 0, .35, 1); pointer-events: none; }

@media (max-width: 1000px) {
  .dp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .dp__tresc-p { padding: 8px; }
  .dp__karta { padding: 12px; }
  .dp__stan { justify-self: start; }
  .dp__skrz li { grid-template-columns: minmax(0, 1fr) auto; }
  .dp__uz { display: none; }
  .dp__crumb { font-size: 11px; }
  .dp__khead b { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .dp__mysz { display: none; } }
/* stala wysokosc karty skrzynek: miejsce na formularz i 4 skrzynki, panel nie rosnie w trakcie animacji */
.dp__karta:last-child { min-height: 262px; }
@media (max-width: 480px) { .dp__karta:last-child { min-height: 250px; } }

/* panel bogatszy (Kacper 06.10.2026): boczne menu, waznosc, plakietka SSL, komunikat "Skrzynka utworzona", robocik z dymkiem */
.dp__srodek { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 8px; }
.dp__menu { display: flex; flex-direction: column; gap: 2px; padding: 6px 4px; }
.dp__menu span { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; color: #94a3b8; }
.dp__menu span .ico { width: 15px; height: 15px; }
.dp__menu span.is-on { background: rgba(255, 255, 255, .1); color: #fff; }
.dp__dom { grid-template-columns: 40px minmax(0, 1fr) minmax(0, .9fr) auto; grid-template-areas: "at id id stan" "st st st2 st3"; } /* nazwa tuz przy ikonce @ (Kacper 06.10.2026) */
.dp__stat--3 { grid-area: st3; }
.dp__robot { position: absolute; right: 6px; bottom: -44px; z-index: 5; display: flex; align-items: flex-end; gap: 4px; pointer-events: none; }
.dp__robot img { width: 116px; height: auto; filter: drop-shadow(0 16px 24px rgba(17, 24, 39, .35)); animation: dp-unos 3.2s ease-in-out infinite; }
@keyframes dp-unos { 50% { transform: translateY(-6px); } }
.dp__dymek { position: relative; max-width: 270px; min-height: 44px; margin-bottom: 92px; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 16px 16px 4px 16px; background: #f1f5f9; box-shadow: 0 18px 40px -18px rgba(17, 24, 39, .35); font-size: 13.5px; line-height: 1.45; color: #0f172a; opacity: 0; transform: translateY(6px) scale(.96); transform-origin: right bottom; transition: opacity .15s, transform .2s cubic-bezier(.2, .8, .2, 1); } /* szary (Kacper 06.10.2026) */
.dp__dymek.is-on { opacity: 1; transform: none; }
.dp__dkursor { display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; background: #2563eb; vertical-align: -2px; animation: kai-kursor 1s steps(2) infinite; }

@media (max-width: 640px) {
  .dp__srodek { grid-template-columns: minmax(0, 1fr); }
  .dp__menu { display: none; }
  .dp__dom { grid-template-areas: "at id id id" "stan stan stan stan" "st st st st" "st2 st2 st3 st3"; }
  .dp__stat--3, .dp__stat:not(.dp__stat--szer) { padding-left: 0; border-left: 0; }
  .dp__robot img { width: 84px; }
  .dp__dymek { max-width: 200px; margin-bottom: 64px; font-size: 12.5px; }
  .dp__robot { right: -4px; bottom: -30px; }
  .dp { padding-bottom: 72px; }
}

/* boxy domena / poczta jak w bocznej kolumnie /domeny/ (Kacper 06.10.2026) */
.dp__boxy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 480px; margin-top: 26px; }
.dpb { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 132px; padding: 18px 18px; border-radius: 20px; color: #fff; isolation: isolate; }
.dpb > :not(.hero25__tlo):not(.dpb__luk) { position: relative; z-index: 2; }
.dpb__h { margin: 0 0 14px; font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 40; font-size: 17px; font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.dpb__h b { font-family: var(--font); font-weight: 600; letter-spacing: -0.01em; }
.dpb--luk { background: #000; }
.dpb__luk { position: absolute; z-index: 1; inset: 18% -14% -6% -14%; width: 128%; height: 88%; filter: blur(6px); animation: dpb-luk 11s ease-in-out infinite alternate; }
@keyframes dpb-luk { from { transform: translateY(4%) rotate(1.5deg); } to { transform: translateY(-5%) rotate(-1.5deg); } }
.dpb--hero { background: linear-gradient(165deg, #060b24 0%, #0d1b55 50%, #1a37a6 100%); }
.dpb--hero .hero25__tlo .b1 { width: 360px; height: 360px; }
.dpb--hero .hero25__tlo .b2 { width: 320px; height: 320px; }
.dpb__btn { align-self: flex-start; margin-top: auto; height: 34px; padding: 0 15px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }
.dpb__btn:hover { background: #e8eeff; }
@media (max-width: 480px) { .dp__boxy { grid-template-columns: minmax(0, 1fr); } .dpb { min-height: 150px; } }
@media (prefers-reduced-motion: reduce) { .dpb__luk { animation: none; } }
.dp__zamow { margin-top: 14px; }
.dp__zamow .ico { width: 17px; height: 17px; }
