/* ==========================================================================
   Podnajmij.pl — Style CSS (Coming Soon + Waitlist)
   ========================================================================== */

:root {
  color-scheme: light dark;
  --canvas: light-dark(#f8f7f3, #141513);
  --surface: light-dark(#ffffff, #1f201d);
  --surface-soft: light-dark(#f0f0e9, #272924);
  --ink: light-dark(#20231e, #f4f2eb);
  --muted: light-dark(#696d64, #a8aba1);
  --line: light-dark(#e3e4dc, #353830);
  --accent: #d9f36a;
  --accent-ink: #24271c;
  --accent-hover: #c9e857;
  --orange: #f28b62;
  --green: light-dark(#315e49, #9dc8a9);
  --green-bg: light-dark(#e7f2ec, #1f3328);
  --shadow: 0 22px 64px rgba(35, 42, 27, .09);
  --shadow-lg: 0 28px 75px rgba(20, 25, 16, .16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 999px;
  --max: 1180px;
  --transition-fast: .18s ease;
  --transition-med: .3s cubic-bezier(.16, 1, .3, 1);
}

/* Wymuszenie motywu przez atrybut data-theme */
html[data-theme="light"] {
  color-scheme: light;
  --canvas: #f8f7f3;
  --surface: #ffffff;
  --surface-soft: #f0f0e9;
  --ink: #20231e;
  --muted: #696d64;
  --line: #e3e4dc;
  --green: #315e49;
  --green-bg: #e7f2ec;
  --shadow: 0 22px 64px rgba(35, 42, 27, .09);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #141513;
  --surface: #1f201d;
  --surface-soft: #272924;
  --ink: #f4f2eb;
  --muted: #a8aba1;
  --line: #353830;
  --green: #9dc8a9;
  --green-bg: #1f3328;
  --shadow: 0 22px 64px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
  transition: background-color var(--transition-med), color var(--transition-med);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.app {
  min-height: 100vh;
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  overflow-x: hidden;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   Pasek ogłoszeniowy (Top Notice)
   ========================================================================== */
.build-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  background: var(--accent);
  color: #24271c;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  border-bottom: 1px solid rgba(36, 39, 28, .12);
  position: relative;
  z-index: 100;
}

.build-notice .notice-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #315e49;
  box-shadow: 0 0 0 4px rgba(49, 94, 73, .18);
  animation: pulse-ring 2.2s infinite;
}

.build-notice strong {
  font-weight: 850;
  letter-spacing: .3px;
}

.build-notice a.notice-cta {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  margin-left: 6px;
  color: #171a11;
}
.build-notice a.notice-cta:hover {
  color: #000;
}

/* ==========================================================================
   Nawigacja (Topbar)
   ========================================================================== */
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(var(--canvas-rgb, 248, 247, 243), 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 90;
  transition: background-color var(--transition-med);
}

html[data-theme="dark"] .topbar {
  background: rgba(20, 21, 19, 0.88);
}
html[data-theme="light"] .topbar {
  background: rgba(248, 247, 243, 0.88);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.9px;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(217, 243, 106, .35);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand .dot {
  color: #8dae28;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 650;
}

.navlinks a {
  transition: color var(--transition-fast);
}

.navlinks a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Przełącznik motywu (Theme Toggle Button) */
.theme-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.theme-btn:hover {
  transform: rotate(18deg) scale(1.05);
  background: var(--surface-soft);
}
.theme-btn svg {
  width: 19px;
  height: 19px;
}

/* Przyciski ogólne */
.btn {
  border: 0;
  border-radius: var(--radius-sm);
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-dark {
  background: var(--ink);
  color: var(--canvas);
}

.btn-dark:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .20);
}

.btn-lime {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-lime:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(217, 243, 106, .4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Sekcja HERO
   ========================================================================== */
.hero {
  padding: 58px 0 62px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 850;
  color: var(--green);
  margin-bottom: 20px;
  background: var(--green-bg);
  padding: 6px 13px;
  border-radius: 99px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a3c548;
  box-shadow: 0 0 0 3px rgba(163, 197, 72, .3);
  animation: pulse-ring 2s infinite;
}

h1 {
  font-size: clamp(44px, 5.2vw, 70px);
  letter-spacing: -3.8px;
  line-height: .98;
  margin: 0;
  max-width: 630px;
  font-weight: 850;
}

h1 .highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  z-index: 0;
}

h1 .highlight:after {
  content: "";
  position: absolute;
  left: -4px;
  right: -6px;
  bottom: 4px;
  height: 19px;
  border-radius: 8px;
  background: var(--accent);
  z-index: -1;
  transform: rotate(-1.6deg);
}

.hero-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
  margin: 22px 0 28px;
}

/* ==========================================================================
   Komponent Zapisu na Listę Oczekujących (Hero Waitlist Card)
   ========================================================================== */
.waitlist-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 26px;
  max-width: 540px;
  position: relative;
  overflow: hidden;
}

.waitlist-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #9dc8a9, var(--accent));
}

.waitlist-card-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.4px;
}

.waitlist-card-desc {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
}

/* Selektor ról (Pills) */
.role-selector {
  display: inline-flex;
  gap: 6px;
  background: var(--surface-soft);
  padding: 4px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.role-pill input {
  display: none;
}

.role-pill.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.subscribe-form .form-row {
  display: flex;
  gap: 8px;
  position: relative;
}

.input-wrap {
  position: relative;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}

.subscribe-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
  padding: 0 16px 0 42px;
  font-size: 13px;
  font-weight: 600;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.subscribe-form input[type="email"]:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(217, 243, 106, .35);
  outline: none;
}

.subscribe-form .submit-btn {
  flex-shrink: 0;
  min-height: 48px;
  padding: 0 22px;
}

/* Spinner ładowania */
.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, .2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.submit-btn.loading .btn-text,
.submit-btn.loading svg {
  display: none;
}

.submit-btn.loading .btn-spinner {
  display: inline-block;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}

.waitlist-counter {
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.form-error-msg {
  color: #dc3545;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}

/* Karta sukcesu po zapisaniu */
.form-success-card {
  text-align: center;
  padding: 16px 8px;
}

.success-check-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 10px 24px rgba(217, 243, 106, .45);
}

.success-check-icon svg {
  width: 28px;
  height: 28px;
}

.form-success-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -.6px;
  font-weight: 850;
}

.form-success-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.referral-box {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.referral-desc {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}
.referral-desc span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}

/* Social Proof Avatars w Hero */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -9px;
  background-size: cover;
  background-position: center;
  background-color: #dce4d5;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #315e49;
}
.avatar-item:first-child { margin-left: 0; }

.social-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.social-text strong {
  color: var(--ink);
}

/* ==========================================================================
   Hero Artwork & Ilustracja
   ========================================================================== */
.hero-art {
  min-height: 450px;
  border-radius: 34px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e9d9;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
}

html[data-theme="dark"] .hero-art {
  background: #252822;
}

.art-orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: #c9da9d;
  top: 38px;
  right: 28px;
  opacity: .8;
}

html[data-theme="dark"] .art-orb {
  background: #394231;
}

.art-squiggle {
  position: absolute;
  left: 24px;
  bottom: 22px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(49, 94, 73, .35);
  border-radius: 50%;
}
.art-squiggle:before, .art-squiggle:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(49, 94, 73, .32);
  border-radius: 50%;
  inset: 12px;
}
.art-squiggle:after { inset: 24px; }

.room-scene {
  position: absolute;
  z-index: 1;
  width: 73%;
  height: 70%;
  bottom: 0;
  right: 8%;
  filter: drop-shadow(0 24px 22px rgba(44, 52, 36, .12));
  will-change: transform;
}

.floating-card {
  position: absolute;
  z-index: 2;
  background: #fffefa;
  color: #22271f;
  border: 1px solid rgba(29, 41, 25, .08);
  box-shadow: 0 18px 48px rgba(37, 47, 30, .14);
  border-radius: 17px;
  will-change: transform;
}

.price-card {
  width: 215px;
  top: 42px;
  left: 22px;
  padding: 15px 16px;
  transform: rotate(-3deg);
}

.price-card .tiny-label, .listing-copy .tiny-label {
  font-size: 9px;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: #7c8075;
  font-weight: 800;
}

.price-card strong {
  display: block;
  font-size: 24px;
  letter-spacing: -1px;
  margin-top: 6px;
}

.price-card span.sub {
  font-size: 11px;
  color: #77796f;
}

.price-pill {
  background: #e6f3bb;
  border-radius: 99px;
  font-size: 9px;
  padding: 6px 9px;
  color: #334325;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  font-weight: 800;
}

.saved-card {
  right: 18px;
  bottom: 34px;
  width: 210px;
  padding: 14px;
  transform: rotate(3deg);
}

.saved-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #77796f;
  font-size: 10px;
}

.heart {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f8e2d8;
  color: #b85638;
}

.saved-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 9px;
}

.saved-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #77796f;
  margin-top: 7px;
}

/* ==========================================================================
   Wyszukiwarka demonstracyjna (Search Shell)
   ========================================================================== */
.search-shell {
  margin-top: 46px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1.15fr 1fr .9fr auto;
  gap: 4px;
  position: relative;
  z-index: 4;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  min-width: 0;
}

.search-field + .search-field {
  border-left: 1px solid var(--line);
}

.field-icon {
  color: var(--green);
  flex: 0 0 auto;
}

.field-icon svg {
  width: 19px;
  height: 19px;
}

.field-text {
  min-width: 0;
  width: 100%;
}

.field-text label {
  display: block;
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 4px;
}

.field-text input, .field-text select {
  display: block;
  width: 100%;
  min-width: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  outline: 0;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

.field-text input::placeholder {
  color: var(--muted);
  opacity: .8;
}

.search-btn {
  align-self: stretch;
  padding-inline: 24px;
}

/* Baner alertu pod wyszukiwarką */
.search-alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface-soft);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 24px;
}

.search-alert-banner .alert-text {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.search-alert-banner .alert-text span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ==========================================================================
   Sekcje i Oferty Demonstracyjne
   ========================================================================== */
.section {
  padding: 82px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 850;
  font-size: 11px;
  color: var(--green);
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -2px;
  line-height: 1.06;
  margin: 0;
  font-weight: 850;
}

.section-desc {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
  max-width: 500px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  padding-bottom: 5px;
  white-space: nowrap;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.listing {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.listing:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.listing-art {
  height: 215px;
  position: relative;
  overflow: hidden;
  background: #e9daca;
}
.listing-art.art-two { background: #dce4d5; }
.listing-art.art-three { background: #dfd9ef; }
.listing-art svg { width: 100%; height: 100%; display: block; }

.demo-tag {
  position: absolute;
  left: 13px;
  top: 13px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(30, 40, 25, .08);
  border-radius: 99px;
  padding: 6px 11px;
  font-size: 9px;
  letter-spacing: .4px;
  font-weight: 850;
  color: #384232;
  backdrop-filter: blur(8px);
}

.save-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #30372b;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  backdrop-filter: blur(8px);
}

.save-btn:hover {
  transform: scale(1.1);
}

.save-btn[aria-pressed="true"] {
  background: #f7d7ce;
  color: #a3432f;
}

.save-btn svg { width: 16px; height: 16px; }

.listing-body {
  padding: 20px 20px 18px;
}

.listing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 9px;
}

.listing-top .location {
  display: flex;
  align-items: center;
  gap: 5px;
}

.availability {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.listing h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -.5px;
}

.features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  padding: 13px 0 15px;
  border-bottom: 1px solid var(--line);
}
.features span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.listing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  padding-top: 15px;
}

.listing-bottom strong {
  font-size: 21px;
  letter-spacing: -.8px;
}

.listing-bottom small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.arrow-round {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.listing:hover .arrow-round {
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateX(3px);
}

/* ==========================================================================
   Jak to działa (Steps)
   ========================================================================== */
.how {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 44px;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.step-no {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 22px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -.6px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  max-width: 300px;
}

/* ==========================================================================
   Sekcja VIP / Zamknięta Beta (Nowa sekcja Coming Soon)
   ========================================================================== */
.vip-band {
  padding: 30px 0 70px;
}

.vip-card {
  background: linear-gradient(135deg, #1d231b, #151a14);
  color: #f7f5ed;
  border-radius: 30px;
  padding: 50px 52px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(217, 243, 106, .2);
}

.vip-card:before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 243, 106, .15) 0%, transparent 70%);
  pointer-events: none;
}

.vip-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.vip-card .section-kicker {
  color: var(--accent);
}

.vip-card h2 {
  color: #ffffff;
}

.vip-card .vip-desc {
  color: #b7bfae;
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 24px;
  max-width: 480px;
}

.vip-perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.vip-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #dbe2d4;
}

.vip-perk-item .perk-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(217, 243, 106, .2);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.vip-form-box {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 28px;
}

.vip-form-box h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.vip-form-box p {
  margin: 0 0 18px;
  font-size: 12px;
  color: #a4ab9a;
}

.vip-form-box input[type="email"] {
  background: rgba(0, 0, 0, .35);
  border-color: rgba(255, 255, 255, .15);
  color: #fff;
}

/* ==========================================================================
   Panel Hosta (Masz wolne mieszkanie?)
   ========================================================================== */
.host-band {
  padding: 76px 0;
}

.host-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 28px;
  align-items: center;
  background: #252d24;
  color: #faf9f2;
  padding: 48px 50px;
  border-radius: 30px;
  overflow: hidden;
}

.host-panel:before {
  content: "";
  position: absolute;
  right: -80px;
  top: -140px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(217, 243, 106, .23);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(217, 243, 106, .045),
              0 0 0 50px rgba(217, 243, 106, .035),
              0 0 0 80px rgba(217, 243, 106, .025);
}

.host-panel .section-kicker {
  color: #d9f36a;
}

.host-panel h2 {
  max-width: 570px;
  color: #fff;
}

.host-panel p {
  color: #c1c8bb;
  line-height: 1.7;
  max-width: 510px;
  font-size: 14px;
  margin: 16px 0 24px;
}

.host-aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.host-icon {
  width: 104px;
  height: 104px;
  border-radius: 30px;
  background: var(--accent);
  color: #252d24;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .15);
}
.host-icon svg { width: 48px; height: 48px; }

.host-sticker {
  margin-top: 17px;
  color: #d9f36a;
  border: 1px solid rgba(217, 243, 106, .32);
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.faq-title p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  transition: color var(--transition-fast);
}

summary:hover {
  color: var(--green);
}

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

summary:after {
  content: "+";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 400;
  transition: transform var(--transition-fast);
}

details[open] summary:after {
  content: "−";
  background: var(--surface-soft);
}

details p {
  margin: 14px 42px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ==========================================================================
   Stopka (Footer)
   ========================================================================== */
.footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ==========================================================================
   Modal Wczesnego Dostępu
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 13, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 2;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  padding: 34px 32px;
  transform: translateY(20px) scale(.97);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1);
}

.modal.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-head h3 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -.6px;
  font-weight: 850;
}

.modal-head p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

/* ==========================================================================
   Powiadomienia Toast
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9999;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--canvas);
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 700;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity .25s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.toast.error {
  background: #2b1313;
  color: #ff9b9b;
  border: 1px solid #752929;
}

.toast.success {
  background: #14281e;
  color: #9fe2be;
  border: 1px solid #2d5e46;
}

.toast-action-btn {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

/* ==========================================================================
   Animacje i Efekty
   ========================================================================== */
@keyframes pulse-ring {
  0% { transform: scale(.95); opacity: .8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(.95); opacity: .8; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.shake {
  animation: shake .5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsywność (Media Queries)
   ========================================================================== */
@media (max-width: 980px) {
  .wrap { width: min(100% - 36px, 760px); }
  .navlinks { gap: 18px; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr .9fr; gap: 28px; }
  h1 { font-size: clamp(40px, 6.5vw, 60px); letter-spacing: -2.8px; }
  .hero-art { min-height: 380px; }
  .price-card { left: 12px; top: 26px; width: 182px; }
  .saved-card { right: 12px; bottom: 20px; width: 184px; }
  .search-shell { grid-template-columns: 1fr 1fr; }
  .search-field:nth-child(3) { border-left: 0; }
  .search-btn { min-height: 48px; }
  .listing-grid { gap: 14px; }
  .listing-art { height: 180px; }
  .vip-grid { grid-template-columns: 1fr; gap: 32px; }
  .vip-card { padding: 38px; }
  .host-panel { padding: 38px; }
  .faq-grid { gap: 38px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { height: 72px; }
  .brand { font-size: 20px; }
  .navlinks { display: none; }
  .hero { padding: 34px 0 28px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  h1 { font-size: clamp(38px, 11vw, 54px); letter-spacing: -2.5px; }
  .hero-art { min-height: 340px; border-radius: 24px; }
  .art-orb { width: 260px; height: 260px; right: 10px; top: 30px; }
  .room-scene { width: 84%; height: 68%; right: 2%; }
  .price-card { top: 18px; left: 10px; width: 160px; padding: 11px; }
  .price-card strong { font-size: 19px; }
  .saved-card { bottom: 16px; right: 8px; width: 168px; }
  .subscribe-form .form-row { flex-direction: column; }
  .subscribe-form .submit-btn { width: 100%; }
  .search-shell { margin-top: 24px; grid-template-columns: 1fr; padding: 8px; border-radius: 18px; gap: 0; }
  .search-field { padding: 12px 10px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--line); }
  .search-btn { margin-top: 8px; }
  .search-alert-banner { flex-direction: column; align-items: flex-start; }
  .section { padding: 52px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
  h2 { font-size: 32px; letter-spacing: -1.4px; }
  .listing-grid { grid-template-columns: 1fr; gap: 18px; }
  .listing-art { height: 215px; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .step { padding-top: 16px; }
  .vip-card { padding: 28px 22px; border-radius: 22px; }
  .vip-form-box { padding: 20px 16px; }
  .host-band { padding: 50px 0; }
  .host-panel { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 22px; }
  .host-panel h2 { font-size: 30px; }
  .host-aside { min-height: 140px; }
  .host-icon { width: 76px; height: 76px; border-radius: 22px; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .modal-card { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
