/* =========================================================
   OgarniamRemont.pl — landing: design tokens, base, layout,
   nav, hero, buttons, badges, placeholders, dividers.
   Component-level styles (sections below the fold) live in
   sections.css.
   Brand: purple #4e1184, orange #fe904d. Font: Inter.
   ========================================================= */

:root {
  --c-purple: #4e1184;
  --c-purple-dark: #340a5a;
  --c-purple-50: #f5eefb;
  --c-orange: #fe904d;
  --c-orange-dark: #f57425;
  --c-ink: #1a1325;
  --c-ink-muted: #5b5469;
  --c-line: #e7e3ee;
  --c-bg: #ffffff;
  --c-bg-soft: #faf7fc;
  --shadow-sm: 0 1px 2px rgba(26, 19, 37, .04), 0 2px 8px rgba(26, 19, 37, .04);
  --shadow-md: 0 4px 12px rgba(26, 19, 37, .06), 0 12px 32px rgba(78, 17, 132, .08);
  --shadow-lg: 0 8px 24px rgba(26, 19, 37, .08), 0 24px 64px rgba(78, 17, 132, .12);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --max-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-purple); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
p { margin: 0 0 1em; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

/* ============= NAV ============= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--c-line);
  background: rgba(255, 255, 255, .96);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--c-ink); font-weight: 700; font-size: 18px;
}
.nav__logo:hover { text-decoration: none; }
.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  cursor: zoom-in;
}
.nav__logo--footer .nav__logo-img {
  height: 28px;
  max-width: 140px;
}
.nav__logo-text strong { color: var(--c-purple); }
.nav__links { margin-left: auto; display: flex; gap: 28px; }
.nav__links a { color: var(--c-ink-muted); font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--c-purple); text-decoration: none; }
.nav__cta { margin-left: 8px; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(254, 144, 77, .35);
}
.btn--primary:hover { background: var(--c-orange-dark); box-shadow: 0 10px 26px rgba(254, 144, 77, .45); }
.btn--ghost { background: #fff; color: var(--c-purple); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-purple); color: var(--c-purple-dark); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: 64px 0 72px;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(254, 144, 77, .12), transparent 60%),
    radial-gradient(900px 500px at -10% 0%, rgba(78, 17, 132, .08), transparent 60%),
    var(--c-bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__title { font-size: clamp(36px, 5vw, 60px); margin: 16px 0 16px; }
.hero__title-accent {
  background: linear-gradient(90deg, var(--c-purple), var(--c-orange));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 18px; color: var(--c-ink-muted);
  max-width: 560px; margin-bottom: 28px;
}
.hero__sub strong { color: var(--c-ink); }
.hero__cta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 18px; margin-bottom: 28px;
}
.hero__cta-note { color: var(--c-ink-muted); font-size: 14px; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero__proof li {
  display: flex; align-items: center; gap: 10px;
  color: var(--c-ink); font-size: 15px;
}
.hero__proof-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-purple-50);
  color: var(--c-purple);
  font-size: 12px; font-weight: 800;
}

/* ============= BADGE / TAG ============= */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .01em;
}
.badge--accent {
  background: var(--c-purple-50);
  color: var(--c-purple);
  border: 1px solid rgba(78, 17, 132, .15);
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 12px;
}
.tag--free { background: #e8f7ee; color: #117a3d; }
.tag--paid { background: #fff1e6; color: var(--c-orange-dark); }
.tag--soon { background: rgba(78, 17, 132, .10); color: var(--c-purple); border: 1px solid rgba(78, 17, 132, .18); }

/* ============= PLACEHOLDERS ============= */
.placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(135deg, rgba(78, 17, 132, .04) 0 12px, rgba(78, 17, 132, .07) 12px 24px);
  border: 2px dashed rgba(78, 17, 132, .25);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: var(--c-ink-muted);
  padding: 24px;
}
.placeholder--hero {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(400px 200px at 70% 20%, rgba(254, 144, 77, .15), transparent 60%),
    repeating-linear-gradient(135deg, rgba(78, 17, 132, .04) 0 12px, rgba(78, 17, 132, .07) 12px 24px);
  box-shadow: var(--shadow-lg);
}
.placeholder--avatar { aspect-ratio: 1 / 1; border-radius: 50%; width: 160px; margin: 0 auto; }
.placeholder__label {
  font-weight: 700; color: var(--c-purple);
  font-size: 14px; letter-spacing: .02em; text-transform: uppercase;
}
.placeholder__hint { margin-top: 8px; font-size: 13px; color: var(--c-ink-muted); }

/* ============= PRODUCT SCREENSHOTS (hero + features) ============= */
.hero-shot,
.feature-shot {
  width: 100%;
  margin: 0;
  cursor: zoom-in;
}
.hero-shot__img,
.feature-shot__img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}
.hero-shot__img { box-shadow: var(--shadow-lg); }

/* Ukryty nagłówek dla czytników ekranu (lightbox) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============= DIVIDER ============= */
.divider { display: flex; justify-content: center; gap: 8px; padding: 36px 0; }
.divider span { width: 8px; height: 8px; border-radius: 50%; background: rgba(78, 17, 132, .18); }

/* ============= SECTION HEAD (shared) ============= */
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head .eyebrow,
.eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: .12em;
  font-size: 12px; font-weight: 700;
  color: var(--c-orange-dark);
  margin-bottom: 12px;
}
.section__lede { margin-top: 12px; color: var(--c-ink-muted); font-size: 17px; }

/* ============= REDUCED MOTION ============= */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
