/* ==========================================================================
   twojdzwonek.pl — Jasna, flagowa strona produktowa (Samsung editorial style)
   Alabastrowo-perłowa lekkość + kontrastowe ujęcia matowego sprzętu + lightbox
   ========================================================================== */

:root {
  --bg-page: #f5f7fc;
  --bg-white: #ffffff;
  --bg-pearl: #f2f5fb;
  --bg-soft-blue: #eaf1fd;
  --bg-obsidian: #080d18;

  --text-dark: #0b1220;
  --text-muted: #526077;
  --text-light: #f8fafc;

  --accent: #0f62fe;
  --accent-hover: #004fd9;
  --accent-soft: rgba(15, 98, 254, 0.14);
  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);

  --shadow-sm: 0 6px 20px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 18px 44px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 28px 64px rgba(11, 18, 32, 0.16);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1200px;
  --header-h: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 32px, 860px);
}

/* Header (Jasny, szklany) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(15, 98, 254, 0.55);
}

.brand-tld {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.26);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--bg-pearl);
  border-color: rgba(15, 23, 42, 0.28);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-buy-now {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.04rem;
}

/* Jasny Flagship Hero */
.hero {
  background:
    radial-gradient(circle at 82% 24%, rgba(15, 98, 254, 0.11), transparent 46%),
    radial-gradient(circle at 12% 10%, rgba(14, 165, 233, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fc 100%);
  padding-top: clamp(40px, 6vh, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(44px, 6vh, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 18px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.text-gradient {
  background: linear-gradient(110deg, #0b1220 10%, #0f62fe 68%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 530px;
}

.hero-price-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-price-net {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
}

.hero-price-brutto {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-trust-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-trust-pills li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}

.hero-device-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-obsidian);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.hero-device-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 62% center;
}

.hero-device-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2);
}

/* Quick Specs Bar */
.quick-specs-bar {
  background: var(--bg-white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.quick-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-block: 24px;
}

.quick-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quick-spec-val {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.quick-spec-lbl {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding-block: clamp(64px, 8.5vw, 108px);
}

.section-white {
  background: var(--bg-white);
}

.section-pearl {
  background: var(--bg-pearl);
}

.section-checkout {
  background: linear-gradient(180deg, #eef3fc 0%, #f6f8fc 100%);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-title {
  margin: 0 0 14px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.04rem;
  margin: 0 0 24px;
}

/* Bento Grid (Jasne, czyste kafle + 1 akcentowy) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-pearl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  border-color: rgba(15, 98, 254, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.bento-wide {
  grid-column: span 2;
}

.bento-accent {
  background:
    radial-gradient(circle at 90% 15%, rgba(15, 98, 254, 0.16), transparent 55%),
    linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
  border-color: rgba(15, 98, 254, 0.2);
}

.bento-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.bento-card h3 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.32rem;
  line-height: 1.25;
  color: var(--text-dark);
}

.bento-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.mini-wave {
  margin-top: 8px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 34px;
}

.mini-wave span {
  width: 6px;
  border-radius: 99px;
  background: linear-gradient(180deg, #60a5fa, #0f62fe);
}
.mini-wave span:nth-child(odd) { height: 16px; }
.mini-wave span:nth-child(3n) { height: 32px; }
.mini-wave span:nth-child(4n) { height: 24px; }
.mini-wave span:nth-child(5n) { height: 11px; }

/* Interaktywna galeria panelu WWW w ramce przeglądarki (spójna z jasnym designem) */
.ui-showcase {
  display: grid;
  gap: 20px;
}

.ui-showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ui-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ui-tab:hover {
  border-color: var(--accent);
  color: var(--text-dark);
}

.ui-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 98, 254, 0.24);
}

.ui-tab-num {
  font-size: 0.76rem;
  font-weight: 800;
  opacity: 0.78;
}

.browser-frame {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  background: #f8faff;
  border-bottom: 1px solid var(--border-subtle);
}

.browser-dots {
  display: inline-flex;
  gap: 7px;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-dots span:nth-child(1) { background: #fca5a5; }
.browser-dots span:nth-child(2) { background: #fcd34d; }
.browser-dots span:nth-child(3) { background: #86efac; }

.browser-url {
  flex: 1;
  max-width: 520px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-zoom-btn {
  border: 1px solid var(--border-subtle);
  background: var(--bg-white);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.browser-zoom-btn:hover {
  background: var(--bg-soft-blue);
  border-color: var(--accent);
}

.browser-viewport {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f5f7fc;
  cursor: zoom-in;
}

.browser-viewport img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.ui-showcase-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.ui-showcase-footer h3 {
  margin: 0 0 4px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.12rem;
}

.ui-showcase-footer p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 600px;
}

.ui-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 96px);
  gap: 10px;
}

.ui-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-pearl);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ui-thumb:hover {
  opacity: 1;
}

.ui-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.ui-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

/* Hardware Showcase */
.hardware-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: 48px;
}

.port-list {
  margin: 0;
  display: grid;
  gap: 18px;
}

.port-item {
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.port-item dt {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.port-item dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.hardware-figure {
  margin: 0;
}

.hardware-figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hardware-figure figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
}

/* Lifestyle & Schedule Preview */
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 48px;
}

.lifestyle-photo {
  margin: 0;
}

.lifestyle-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.schedule-preview {
  margin-top: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.schedule-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.schedule-badge {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.schedule-tabs {
  display: inline-flex;
  background: var(--bg-pearl);
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
}

.sched-tab {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.sched-tab.is-active {
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.schedule-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.schedule-rows li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 12px;
  background: var(--bg-pearl);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.schedule-rows strong {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.schedule-rows em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #fff;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

/* Spec Matrix */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spec-card {
  background: var(--bg-pearl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.spec-card h3 {
  margin: 0 0 20px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.28rem;
}

.spec-dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.spec-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-dl dt {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.spec-dl dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  font-size: 0.93rem;
}

/* Configurator ("Kup teraz") */
.configurator-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.config-photo-card {
  background: var(--bg-obsidian);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.config-photo-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: #dbeafe;
  font-size: 0.88rem;
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.box-contents {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.box-contents h3 {
  margin: 0 0 12px;
  font-size: 1.04rem;
}

.box-contents ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.purchase-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: #e5ecf8;
  padding: 6px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.mode-tab {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-muted);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.mode-tab span {
  font-weight: 700;
  font-size: 0.92rem;
}

.mode-tab small {
  font-size: 0.78rem;
  opacity: 0.85;
}

.mode-tab.is-active {
  background: #fff;
  color: var(--text-dark);
  border-color: rgba(15, 98, 254, 0.25);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.hardware-highlight-card {
  margin-bottom: 22px;
  cursor: default;
}

.upsell-hardware-tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 0.87rem;
  color: #14532d;
}

.plan-cards {
  display: grid;
  gap: 12px;
}

.plan-card {
  display: block;
  position: relative;
  background: #fff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-card.is-selected,
.plan-card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.plan-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.plan-name {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.plan-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.plan-price strong {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.12rem;
  color: var(--text-dark);
}

.plan-price small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.variant-pill {
  display: inline-block;
  background: var(--bg-soft-blue);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.variant-pill-green {
  background: #dcfce7;
  color: #15803d;
}

.variant-pill-soft {
  background: var(--bg-pearl);
  color: var(--text-muted);
}

.activation-note {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: 0.87rem;
  color: #1e3a8a;
  line-height: 1.5;
}

.included-pack-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: #14532d;
}

.included-pack-banner p {
  margin: 4px 0 0;
  color: #166534;
  font-size: 0.84rem;
}

.variant-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.config-group {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}

.config-legend {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.addon-list {
  display: grid;
  gap: 10px;
}

.addon-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.addon-item:hover {
  border-color: var(--accent);
}

.addon-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.addon-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.92rem;
}

.addon-info small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.addon-price {
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.9rem;
}

.addon-price.is-free {
  color: #15803d;
  background: #dcfce7;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.qty-row .config-legend {
  margin-bottom: 0;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-pearl);
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-btn:hover {
  background: #dce5f4;
}

.qty-stepper input {
  width: 52px;
  border: 0;
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  background: transparent;
}

.summary-box {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.summary-total {
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 1.05rem;
}

.summary-total strong {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.55rem;
  color: var(--text-dark);
}

.summary-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.payment-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.payment-badges span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-pearl);
  padding: 5px 10px;
  border-radius: 8px;
}

/* Sekcja zaufania (Na rynku od 2022, lokalnie i zdalnie) */
.trust-banner {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.trust-banner-copy .section-lead {
  margin-bottom: 0;
}

.trust-metrics {
  display: grid;
  gap: 14px;
}

.trust-metric {
  background: var(--bg-pearl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-metric strong {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.2rem;
  color: var(--accent);
}

.trust-metric span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-whatsapp-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.btn-whatsapp {
  background: #16a34a;
  color: #ffffff;
  padding: 12px 22px;
  font-size: 0.94rem;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.24);
}

.btn-whatsapp:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.faq-whatsapp-hint {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Native <details> FAQ Accordion (Jasny styl, Modern Web Guidance) */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  background: var(--bg-pearl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 22px;
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 20px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::before {
  content: '';
  inline-size: 9px;
  block-size: 9px;
  flex-shrink: 0;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  rotate: -45deg;
}

.accordion details[open] > summary::before {
  rotate: 45deg;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.22s ease;
  }
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.28s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-answer {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
}

/* Footer (Jasny, czytelny z pełnymi danymi firmy) */
.site-footer {
  background: var(--bg-pearl);
  border-top: 1px solid var(--border-subtle);
  padding-block: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-meta {
  margin: 8px 0 0;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.footer-meta a {
  color: var(--accent);
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.link-btn {
  background: none;
  border: 0;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
}

.link-btn:hover {
  color: var(--text-dark);
}

/* Pełnoekranowy Lightbox <dialog> dla zrzutów ekranu oprogramowania */
dialog.lightbox-dialog {
  width: min(95vw, 1340px);
  max-height: 94dvh;
  padding: 20px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: #0b101b;
  color: #f8fafc;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.65);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lightbox-counter {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 98, 254, 0.25);
  color: #93c5fd;
}

.lightbox-title {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  background: #05070c;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-stage img {
  max-height: 74dvh;
  width: auto;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 16, 27, 0.8);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--accent);
}

.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.lightbox-caption {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: #cbd5e1;
  text-align: center;
}

/* Native Modal <dialog> (Checkout + Prawne, Modern Web Guidance) */
dialog.modal-dialog {
  width: min(100% - 28px, 520px);
  max-height: 90dvh;
  padding: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.3);
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(8, 13, 24, 0.65);
  backdrop-filter: blur(8px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-title {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-pearl);
  color: var(--text-dark);
  font-size: 1rem;
  cursor: pointer;
}

.modal-order-pill {
  background: var(--bg-soft-blue);
  color: #0b4fa8;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-dark);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.form-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 500;
}

.form-demo-box {
  padding: 14px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #78350f;
  font-size: 0.88rem;
}

.modal-secure-note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.legal-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: grid;
  gap: 10px;
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
}

/* Scroll-driven reveal animations (Modern Web Guidance) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fade-lift {
      from {
        opacity: 0;
        transform: translateY(22px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal {
      animation: fade-lift auto ease-out backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}

/* Sticky Mobile Buy Bar */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 1024px) {
  .screen-launchers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .main-nav,
  .header-price {
    display: none;
  }

  .hero-grid,
  .hardware-layout,
  .lifestyle-grid,
  .spec-grid,
  .configurator-layout,
  .trust-banner {
    grid-template-columns: 1fr;
  }

  .quick-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid,
  .screen-launchers {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }

  .mobile-sticky-info {
    display: flex;
    flex-direction: column;
  }

  .mobile-sticky-label {
    font-size: 0.76rem;
    color: var(--text-muted);
  }

  .mobile-sticky-price {
    font-size: 1.05rem;
    color: var(--text-dark);
  }

  .site-footer {
    padding-bottom: 92px;
  }
}
