/* ════════════════════════════════
   NAVBAR — smukła, przezroczysta, jak apple.com
════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s var(--ease-out), border-color 0.3s;
}
nav.scrolled { padding: 12px 32px; border-bottom-color: var(--line); }
.nav-logo {
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: 0;
  text-decoration: none; color: var(--ink-muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 13px; font-weight: 500;
  padding: 8px 18px;
  background: var(--accent);
  color: white; text-decoration: none; border-radius: var(--radius-pill);
  transition: background 0.25s;
}
.nav-cta:hover { background: var(--accent-deep); }

/* ════════════════════════════════
   HERO — wyśrodkowany, jedna wielka historia, wizualizacja poniżej
════════════════════════════════ */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, var(--accent-pale) 0%, transparent 60%),
    var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 168px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  perspective: 1400px;
}

.hero-left {
  padding: 0 24px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 26px;
  position: relative; z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px; color: var(--ink-muted); font-weight: 500;
  width: fit-content;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.7); }
}

.hero-title {
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(52px, 7.2vw, 104px);
  line-height: 1.02;
  color: var(--ink);
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(18px, 1.7vw, 22px); color: var(--ink-muted); font-weight: 400;
  line-height: 1.5; max-width: 560px;
}

.hero-actions { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; justify-content: center; }

.hero-stats {
  display: flex; gap: 56px;
  padding-top: 12px;
  justify-content: center;
}
.stat-item { text-align: center; }
.stat-num {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 40px; color: var(--ink);
  line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 13px; color: var(--ink-muted); font-weight: 400;
  margin-top: 6px;
}

/* ── HERO SHOWCASE — mockup aplikacji, pod tekstem, jak product shot ── */
.hero-right {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 40px 24px 0;
  position: relative; z-index: 1;
}

.app-mockup-wrap {
  position: relative;
  width: 100%; max-width: 460px;
}

.app-mockup {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-style: preserve-3d;
}
.app-mockup-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.app-mockup-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.app-mockup-title {
  position: absolute; left: 0; right: 0; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--ink-muted);
  pointer-events: none;
}
.app-mockup-body { padding: 8px 20px; }
.app-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.app-row:last-child { border-bottom: none; }
.app-row-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-row-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-row-text { flex: 1; min-width: 0; }
.app-row-label { font-size: 14px; font-weight: 500; color: var(--ink); }
.app-row-value { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }

.app-toggle {
  width: 40px; height: 24px; border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s;
}
.app-toggle-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.3s var(--ease-out);
}
.app-toggle.on { background: var(--accent); border-color: var(--accent); }
.app-toggle.on .app-toggle-thumb { transform: translateX(16px); }

/* Status "na sztywno" (czujniki, tryby automatyczne) — bez toggle'a,
   bo nic tu nie da się ręcznie włączyć/wyłączyć. */
.app-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
}
.app-status.ok { background: var(--accent-pale); color: var(--accent-deep); }
.app-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* floating feature pills */
.pill {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 500; color: var(--ink);
  white-space: nowrap;
  transition: transform 0.1s linear;
}
.pill-icon {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-pale);
  flex-shrink: 0;
}
.pill-icon svg { width: 13px; height: 13px; fill: none; stroke: var(--accent-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pill-1 { top: -6%; right: -6%; transform: translateY(var(--pill1-y, 0px)); }
.pill-2 { bottom: -4%; left: -6%; transform: translateY(var(--pill2-y, 0px)); }

@media (max-width: 560px) {
  .pill-1, .pill-2 { position: static; margin-top: 14px; display: inline-flex; }
  .app-mockup-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
}

/* ════════════════════════════════
   SERVICES STRIP — cichy, monochromatyczny pasek
════════════════════════════════ */
.services-strip {
  background: var(--dark);
  padding: 0 48px;
  display: flex;
  overflow: hidden;
}
.strip-item {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 26px 0;
  border-right: 1px solid var(--dark-line);
  transition: background 0.25s;
  cursor: default;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(255,255,255,0.04); }
.strip-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.strip-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--on-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.strip-label { font-size: 13px; font-weight: 400; color: var(--on-dark-muted); white-space: nowrap; }

/* ════════════════════════════════
   WHY SECTION — pełnoekranowy ciemny blok, duży cytat + punkty
════════════════════════════════ */
.why {
  padding: 160px 48px;
  background: var(--white);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.why-visual { position: relative; display: block; }
.why-bg-circle { display: none; }

.why-cards-stack {
  position: sticky;
  top: 140px;
  z-index: 1;
  width: 100%;
  max-width: 380px;
}
.why-cards-stack > .reveal-3d:nth-child(1) { transition-delay: 0s; }
.why-cards-stack > .reveal-3d:nth-child(2) { transition-delay: .1s; }
.why-cards-stack > .reveal-3d:nth-child(3) { transition-delay: .2s; }

.why-card-visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: default;
}
.why-card-visual:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.why-card-visual:nth-child(2) { margin-left: 26px; }
.why-card-visual:nth-child(3) { margin-left: 12px; }

.why-card-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--surface);
}
.why-card-icon svg { width: 20px; height: 20px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke: var(--ink); }
.why-card-icon.green { background: var(--accent-pale); }
.why-card-icon.green svg { stroke: var(--accent-deep); }

.why-card-text h4 { font-size: 14px; font-weight: 600; color: var(--ink); }
.why-card-text p  { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

.why-content { display: flex; flex-direction: column; gap: 44px; }
.why-content .section-heading { margin-bottom: 0; }

.why-points { display: flex; flex-direction: column; gap: 8px; }
.why-point {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.why-point:last-child { border-bottom: 1px solid var(--line); }
.why-point-num {
  font-weight: 600;
  font-size: 15px; color: var(--ink-faint);
  line-height: 1.7; flex-shrink: 0;
  width: 28px;
}
.why-point-body h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 8px; }
.why-point-body p  { font-size: 15px; color: var(--ink-muted); line-height: 1.65; font-weight: 400; }

/* ════════════════════════════════
   OFFER SECTION — jasnoszare tło, białe karty
════════════════════════════════ */
.offer {
  padding: 140px 48px;
  background: var(--surface);
}
.offer-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
}
.offer-header-text {}
.offer-header-link {
  font-size: 15px; color: var(--accent); font-weight: 500;
  text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.25s var(--ease-out), color 0.2s;
}
.offer-header-link:hover { gap: 10px; color: var(--accent-deep); }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.offer-grid > .reveal-3d:nth-child(1) { transition-delay: 0s; }
.offer-grid > .reveal-3d:nth-child(2) { transition-delay: .07s; }
.offer-grid > .reveal-3d:nth-child(3) { transition-delay: .14s; }
.offer-grid > .reveal-3d:nth-child(4) { transition-delay: .21s; }
.offer-grid > .reveal-3d:nth-child(5) { transition-delay: .28s; }
.offer-grid > .reveal-3d:nth-child(6) { transition-delay: .35s; }
.offer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.offer-card::before { display: none; }
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.offer-card-big {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}

.offer-illustration { flex-shrink: 0; }

.offer-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s;
}
.offer-card:hover .offer-icon-wrap { transform: scale(1.06); }
.offer-icon-wrap svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.offer-card-content h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 10px; }
.offer-card-content p  { font-size: 15px; color: var(--ink-muted); line-height: 1.6; font-weight: 400; }

.offer-tag {
  display: inline-flex;
  align-items: center; gap: 6px;
  margin-top: 4px;
  padding: 5px 12px;
  background: var(--accent-pale);
  border-radius: var(--radius-pill);
  font-size: 12px; color: var(--accent-deep); font-weight: 500;
}

/* ════════════════════════════════
   CONTACT SECTION — pełna czerń
════════════════════════════════ */
.contact {
  padding: 140px 48px;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact::before { display: none; }

.contact-text { position: relative; z-index:1; }
.contact-text .section-eyebrow { color: var(--accent); }
.contact-text .section-heading { color: var(--on-dark); }
.contact-text .section-heading em { color: var(--ink-faint); }
.contact-desc {
  font-size: 17px; color: var(--on-dark-muted);
  font-weight: 400; line-height: 1.6;
  margin-top: 18px; margin-bottom: 36px;
  max-width: 480px;
}

.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-row {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none;
  padding: 18px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-md);
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.contact-row:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
  transform: translateX(4px);
}
.contact-row-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--on-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-row-label { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.04em; margin-bottom: 2px; }
.contact-row-value { font-size: 16px; color: var(--on-dark); font-weight: 500; }

.contact-visual {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 360px;
  backdrop-filter: blur(20px);
}
.contact-card-title {
  font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: white;
  margin-bottom: 24px;
}
.contact-feature-list { display: flex; flex-direction: column; gap: 14px; }
.contact-feature { display: flex; align-items: center; gap: 12px; }
.cf-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cf-check svg { width: 11px; height: 11px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cf-text { font-size: 14px; color: var(--on-dark-muted); font-weight: 400; }

.contact-card-person {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  display: flex; align-items: center; gap: 14px;
}
.person-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 16px; color: white;
  flex-shrink: 0;
}
.person-name { font-size: 14px; font-weight: 600; color: white; }
.person-role { font-size: 12px; color: var(--ink-faint); }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 28px 48px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-brand {
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.footer-brand span { color: var(--accent); }
.footer-copy {
  font-size: 12px; color: var(--ink-faint); font-weight: 400;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12px; color: var(--ink-muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }

/* ════════════════════════════════
   FAQ
════════════════════════════════ */
.faq { padding: 120px 48px; background: var(--white); }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-header { margin-bottom: 48px; text-align: center; }
.faq-header .section-eyebrow { justify-content: center; }
.faq-sub { font-size: 16px; color: var(--ink-muted); font-weight: 400; margin-top: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 26px 0; background: none; border: none; cursor: pointer;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink); text-align: left; transition: color 0.2s;
}
.faq-q:hover, .faq-q.open { color: var(--accent); }
.faq-icon { width: 18px; height: 18px; fill: none; stroke: var(--ink-muted); stroke-width: 2; flex-shrink: 0; transition: transform 0.3s ease; }
.faq-q.open .faq-icon { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 26px; }
.faq-a.open { display: block; }
.faq-a p { font-size: 16px; color: var(--ink-muted); font-weight: 400; line-height: 1.65; max-width: 680px; }

/* ════════════════════════════════
   RESPONSYWNOŚĆ — desktop breakpointy
════════════════════════════════ */
@media (max-width: 980px) {
  .why { grid-template-columns: 1fr; gap: 56px; }
  .why-cards-stack { position: static; max-width: 100%; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-card-big { grid-column: span 2; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 680px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card-big { grid-column: span 1; flex-direction: column; }
  .nav-links { display: none; }
  .hero-stats { gap: 32px; }
}
