/* Wyjściowo — Landing Page Layout
   Extends style.css (design tokens, typography, buttons).
   All CSS variables come from style.css :root. */

/* ── Utility classes missing from style.css ── */
.text-accent { color: var(--accent); }
.numeral { font-family: var(--font-display); }

/* ── Navigation ── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: hsl(0 0% 100% / 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html.dark .lp-nav {
  background: hsl(20 10% 8% / 0.85);
}
.lp-nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) { .lp-nav-inner { padding-left: 40px; padding-right: 40px; } }
.lp-nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) { .lp-nav-links { display: flex; } }
.lp-nav-links a {
  text-decoration: none;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.lp-nav-links a:hover { color: var(--foreground); }
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Dark mode toggle ── */
.lp-dark-toggle {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.lp-dark-toggle:hover {
  background: var(--foreground);
  color: var(--background);
}

/* ── Section containers ── */
.lp-section {
  max-width: 1152px;
  margin: 0 auto;
  padding: 96px 24px;
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) { .lp-section { padding-left: 40px; padding-right: 40px; } }
.lp-section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 64px;
}

/* ── Hero ── */
.lp-hero {
  max-width: 1152px;
  margin: 0 auto;
  padding: 80px 24px 112px;
}
@media (min-width: 640px) { .lp-hero { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 768px) { .lp-hero { padding-top: 128px; padding-bottom: 160px; } }
.lp-hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .lp-hero-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; }
}
.lp-hero-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--muted);
  position: relative;
}
.lp-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Steps grid (01/02/03) ── */
.lp-step-grid {
  display: grid;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
}
@media (min-width: 768px) { .lp-step-grid { grid-template-columns: repeat(3, 1fr); } }
.lp-step-cell {
  background: var(--background);
  padding: 32px;
}
@media (min-width: 768px) { .lp-step-cell { padding: 40px; } }
.lp-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  display: block;
}

/* ── PDF report grid ── */
.lp-pdf-grid {
  display: grid;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
}
@media (min-width: 768px) { .lp-pdf-grid { grid-template-columns: repeat(2, 1fr); } }
.lp-pdf-cell {
  display: flex;
  flex-direction: column;
  background: var(--background);
}
.lp-pdf-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--muted);
}
.lp-pdf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-pdf-body {
  padding: 32px;
}
@media (min-width: 768px) { .lp-pdf-body { padding: 48px; } }

/* ── Occasions grid ── */
.lp-occasions-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .lp-occasions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-occasions-grid { grid-template-columns: repeat(3, 1fr); } }
.lp-occasion-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--muted);
  cursor: pointer;
}
.lp-occasion-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.lp-occasion-card:hover img { transform: scale(1.05); }
.lp-occasion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 40%, transparent 100%);
}
.lp-occasion-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

/* ── Pricing ── */
.lp-pricing-wrap {
  border: 1px solid var(--border);
  padding: 32px;
}
@media (min-width: 768px) { .lp-pricing-wrap { padding: 56px; } }
.lp-pricing-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) { .lp-pricing-grid { grid-template-columns: 1.2fr 1fr; } }
.lp-pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
  color: var(--accent);
}
.lp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .lp-feature-list {
    border-top: none;
    border-left: 1px solid var(--border);
    padding-left: 40px;
  }
}
.lp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.lp-feature-accent {
  color: var(--accent);
  font-family: var(--font-display);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ── Testimonials ── */
.lp-testimonials-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 768px) { .lp-testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.lp-testimonial {
  display: flex;
  flex-direction: column;
}
.lp-testimonial-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
}
.lp-testimonial-foot {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 24px;
}

/* ── FAQ ── */
.lp-faq-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 768px) { .lp-faq-grid { grid-template-columns: 1fr 2fr; } }
details.lp-faq-item {
  border-bottom: 1px solid var(--border);
}
details.lp-faq-item summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 1.125rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
}
details.lp-faq-item summary::-webkit-details-marker { display: none; }
details.lp-faq-item summary::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}
details.lp-faq-item[open] summary::after { transform: rotate(180deg); }
details.lp-faq-item .faq-body {
  padding: 0 0 24px;
}

/* ── Final CTA section ── */
.lp-cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--foreground);
  color: var(--background);
  text-align: center;
}
.lp-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}
.lp-cta-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--foreground), hsl(20 14% 8% / 0.85), hsl(20 14% 8% / 0.4));
  z-index: 0;
}
.lp-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1152px;
  margin: 0 auto;
  padding: 112px 24px;
}
@media (min-width: 640px) { .lp-cta-inner { padding-left: 40px; padding-right: 40px; } }
.lp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 9999px;
  text-decoration: none;
  background: var(--background);
  color: var(--foreground);
  transition: background 0.2s, color 0.2s;
}
.lp-cta-btn:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}
.lp-cta-note {
  margin-top: 24px;
  font-size: 0.8125rem;
  color: hsl(0 0% 100% / 0.6);
}

/* ── Footer ── */
.lp-footer {
  border-top: 1px solid var(--border);
}
.lp-footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 640px) { .lp-footer-inner { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 768px) {
  .lp-footer-inner { flex-direction: row; align-items: center; }
}
.lp-footer-links {
  display: flex;
  gap: 24px;
}
.lp-footer-links a {
  text-decoration: none;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.lp-footer-links a[href]:hover { color: var(--foreground); }
.lp-footer-links a:not([href]) { cursor: default; }

/* ── Nav CTA button ── */
.lp-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 9999px;
  text-decoration: none;
  background: var(--foreground);
  color: var(--background);
  transition: opacity 0.2s;
}
.lp-nav-cta:hover { opacity: 0.9; }

/* ── Hero CTA button ── */
.lp-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 9999px;
  text-decoration: none;
  background: var(--foreground);
  color: var(--background);
  transition: opacity 0.2s;
}
.lp-hero-cta:hover { opacity: 0.9; }
