/* ============================================================
   info-pages.css — wspólne style podstron "Informacje" (Daxon.pl)
   Ujednolicone z designem strony głównej (index.php)
   Dołączane na każdej podstronie: <link rel="stylesheet" href="assets/info-pages.css">
   ============================================================ */

/* ---- Hero podstron (jasne tło + gradient + siatka punktów) ---- */
.info-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(55,114,255,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 100%, rgba(88,189,125,0.10), transparent 55%),
    #ffffff;
  padding: 72px 0 72px;
}
.info-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,17,21,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,17,21,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.info-hero .container { position: relative; z-index: 2; }
.info-hero .info-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #eef0f4;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #6b7280;
  box-shadow: 0 2px 10px rgba(15,17,21,0.04);
}
.info-hero .info-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #58bd7d; animation: daxonPulse 2s infinite; }
@keyframes daxonPulse {
  0% { box-shadow: 0 0 0 0 rgba(88,189,125,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(88,189,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(88,189,125,0); }
}
.info-hero h2.title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 22px 0 18px;
  font-weight: 800;
  color: #0f1115;
}
.info-hero h2.title .accent,
.info-hero h2.title span.accent {
  background: linear-gradient(120deg, #3772ff, #6d5ef5 60%, #58bd7d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.info-hero p.desc {
  font-size: 18px; line-height: 1.6; color: #6b7280; max-width: 640px; margin: 0;
}

/* ---- Nagłówki sekcji (heading + eyebrow + accent) ---- */
.info-section { position: relative; padding: 72px 0; background: #fbfcfe; overflow: hidden; }
.info-section--white { background: #ffffff; }
.info-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(55,114,255,0.08), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(88,189,125,0.08), transparent 55%);
  pointer-events: none;
}
.info-section .container { position: relative; z-index: 2; }

.info-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.info-head__left { text-align: left; margin: 0 0 40px; }
.info-head .eyebrow,
.info-head__left .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #eef0f4; border-radius: 999px;
  padding: 7px 15px; font-size: 13px; font-weight: 700; color: #3772ff;
  letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(15,17,21,0.04);
}
.info-head .eyebrow .dot,
.info-head__left .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #3772ff; box-shadow: 0 0 0 4px rgba(55,114,255,0.15); }
.info-head h3.heading,
.info-head__left h3.heading {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #0f1115;
  letter-spacing: -0.02em; line-height: 1.12; margin: 18px 0 14px;
}
.info-head h3.heading .accent,
.info-head__left h3.heading .accent {
  background: linear-gradient(120deg, #3772ff, #6d5ef5 60%, #58bd7d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.info-head p.desc,
.info-head__left p.desc { font-size: 17px; line-height: 1.65; color: #6b7280; margin: 0; }

/* ---- Karty usług (svc-card, spójne ze stroną główną) ---- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-grid--4 { grid-template-columns: repeat(4, 1fr); }
.svc-card {
  position: relative;
  background: rgba(255,255,255,0.7);
  border: 1px solid #eef0f4; border-radius: 22px;
  padding: 38px 30px; backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(15,17,21,0.05);
  overflow: hidden;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, #3772ff, #6d5ef5, #58bd7d);
  opacity: 0; transition: opacity .28s;
}
.svc-card:hover { transform: translateY(-8px); border-color: rgba(55,114,255,0.35); box-shadow: 0 24px 50px rgba(55,114,255,0.14); }
.svc-card:hover::before { opacity: 1; }
.svc-icon {
  width: 62px; height: 62px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: #fff; font-size: 26px;
  transition: transform .28s;
}
.svc-card:hover .svc-icon { transform: scale(1.06) rotate(-3deg); }
.svc-icon.ic-1 { background: linear-gradient(135deg, #3772ff, #4f46e5); box-shadow: 0 10px 24px rgba(55,114,255,0.35); }
.svc-icon.ic-2 { background: linear-gradient(135deg, #58bd7d, #2e9e66); box-shadow: 0 10px 24px rgba(88,189,125,0.35); }
.svc-icon.ic-3 { background: linear-gradient(135deg, #6d5ef5, #8a4df0); box-shadow: 0 10px 24px rgba(109,94,245,0.35); }
.svc-icon.ic-4 { background: linear-gradient(135deg, #f5a623, #f0700a); box-shadow: 0 10px 24px rgba(245,166,35,0.35); }
.svc-card h5.title,
.svc-card h6.title { font-size: 20px; font-weight: 800; color: #0f1115; margin: 0 0 12px; letter-spacing: -0.01em; }
.svc-card h5.title a,
.svc-card h6.title a { color: inherit; text-decoration: none; }
.svc-card p { font-size: 15px; line-height: 1.65; color: #6b7280; margin: 0; }

/* ---- Kroki (work-step) ---- */
.info-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.work-step {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.7); border: 1px solid #eef0f4; border-radius: 20px;
  padding: 34px 24px 28px; text-align: center;
  backdrop-filter: blur(10px); box-shadow: 0 10px 28px rgba(15,17,21,0.05);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s;
}
.work-step:hover { transform: translateY(-8px); border-color: rgba(55,114,255,0.3); box-shadow: 0 22px 46px rgba(55,114,255,0.13); }
.work-step .step-num {
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 24px; font-weight: 800; color: #fff;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 6px #fbfcfe;
}
.work-step:nth-child(1) .step-num { background: linear-gradient(135deg, #3772ff, #4f46e5); box-shadow: 0 0 0 6px #fbfcfe, 0 12px 26px rgba(55,114,255,0.35); }
.work-step:nth-child(2) .step-num { background: linear-gradient(135deg, #6d5ef5, #8a4df0); box-shadow: 0 0 0 6px #fbfcfe, 0 12px 26px rgba(109,94,245,0.35); }
.work-step:nth-child(3) .step-num { background: linear-gradient(135deg, #58bd7d, #2e9e66); box-shadow: 0 0 0 6px #fbfcfe, 0 12px 26px rgba(88,189,125,0.35); }
.work-step:nth-child(4) .step-num { background: linear-gradient(135deg, #f5a623, #f0700a); box-shadow: 0 0 0 6px #fbfcfe, 0 12px 26px rgba(245,166,35,0.35); }
.work-step .step-kicker { font-size: 12px; font-weight: 700; color: #3772ff; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 8px; }
.work-step h6.title { font-size: 18px; font-weight: 800; color: #0f1115; margin: 0 0 12px; }
.work-step p { font-size: 14.5px; line-height: 1.6; color: #6b7280; margin: 0; }

/* ---- Lista punktowana (dobre praktyki / bezpieczeństwo) ---- */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid #eef0f4; border-radius: 16px;
  padding: 18px 20px; margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(15,17,21,0.04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.info-list li:hover { transform: translateY(-3px); border-color: rgba(55,114,255,0.3); box-shadow: 0 12px 28px rgba(55,114,255,0.1); }
.info-list li .i-checks {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #58bd7d, #2e9e66); color: #fff;
  font-size: 14px; font-weight: 800; box-shadow: 0 6px 14px rgba(88,189,125,0.35);
}
.info-list li span { font-size: 15px; line-height: 1.6; color: #374151; }
.info-list li span strong { color: #0f1115; }

/* ---- Tabela (metody płatności) ---- */
.info-table-wrap { border-radius: 20px; overflow: hidden; border: 1px solid #eef0f4; background: #fff; box-shadow: 0 20px 50px rgba(15,17,21,0.06); }
.info-table-wrap table.table { margin: 0; }
.info-table-wrap table.table thead th {
  background: #fbfcfe; color: #9ca3af; font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; padding: 16px 18px;
  border-bottom: 1px solid #eef0f4;
}
.info-table-wrap table.table tbody td {
  padding: 16px 18px; border-bottom: 1px solid #f1f3f7; font-size: 15px; color: #0f1115;
}
.info-table-wrap table.table tbody tr:last-child td { border-bottom: none; }
.info-table-wrap table.table tbody tr:hover { background: #f7f9ff; }

/* ---- Przyciski CTA ---- */
.btn-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #3772ff, #6d5ef5); color: #fff;
  font-weight: 700; font-size: 15px; padding: 15px 30px; border-radius: 999px;
  text-decoration: none; box-shadow: 0 12px 28px rgba(55,114,255,0.32);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(55,114,255,0.42); color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: #0f1115; border: 1px solid #eef0f4;
  font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 999px;
  text-decoration: none; box-shadow: 0 2px 10px rgba(15,17,21,0.04);
  transition: transform .18s ease, border-color .18s ease;
}
.btn-ghost:hover { transform: translateY(-2px); border-color: #d8dde6; color: #0f1115; }

/* ---- Sekcja CTA / gradient (zamiast section-sale) ---- */
.info-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #3772ff 0%, #58bd7d 100%);
  padding: 72px 0;
}
.info-cta .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #fff; letter-spacing: 0.04em; text-transform: uppercase;
}
.info-cta h3.heading { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 18px 0 14px; }
.info-cta p.desc { color: rgba(255,255,255,.95); font-size: 17px; line-height: 1.6; margin: 0 0 28px; }
.info-cta .btn-cta { background: #fff; color: #23262f; box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.info-cta .btn-cta:hover { background: #23262f; color: #fff; }

/* ---- FAQ accordion ---- */
.faq-item {
  background: #fff; border: 1px solid #eef0f4; border-radius: 16px;
  margin-bottom: 14px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(15,17,21,0.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover { border-color: rgba(55,114,255,0.3); box-shadow: 0 12px 28px rgba(55,114,255,0.08); }
.faq-item .faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px; cursor: pointer; width: 100%; background: transparent; border: none;
  font-size: 16px; font-weight: 700; color: #0f1115; text-align: left;
  font-family: inherit;
}
.faq-item .faq-q .chev { transition: transform .25s ease; color: #3772ff; font-size: 14px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-item .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item .faq-a-inner { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: #6b7280; }
.faq-item .faq-a-inner a { color: #3772ff; font-weight: 600; text-decoration: none; }

/* ---- Responsywność ---- */
@media (max-width: 1100px) {
  .info-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .info-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .info-hero { padding: 48px 0 48px; }
  .info-grid,
  .info-grid--4,
  .info-steps { grid-template-columns: 1fr; }
  .info-section { padding: 48px 0; }
}
