﻿:root {
  --color-primary: #b30000;
  --color-accent: #ffcc00;
  --color-bg: #fff;
  --color-text: #222;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

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

.hero {
  position: relative;
  min-height: min(540px, 75vh);
  padding: clamp(30px, 6vw, 60px) 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  background: radial-gradient(circle at top, rgba(255,255,255,.18), transparent 35%),
    linear-gradient(180deg, #e50000 0%, #8b0000 100%);
  color: #fff;
  overflow: hidden;
}

.hero-bg-svg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-image {
  position: relative;
  z-index: 3; /* Obrazek pod fg-svg */
  width: min(440px, 86vw);
  max-height: 55vh;
  height: auto;
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 5; /* Tekst nad wszystkim */
  width: min(780px, 100%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-copy h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-copy p {
  margin: 0 auto 1.6rem;
  max-width: 44ch;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.6rem 3.8rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #111;
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.20);
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

section {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 40px 18px;
}

section.about,
section.product,
section.trust {
  padding-top: 28px;
}

.product-inner,
.about-content,
.trust-grid {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.product-inner {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  padding: 32px 32px;
}

.product-inner h2,
.about-content h2,
.trust-grid h2 {
  margin: 0 0 24px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--color-primary);
}

.product-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.product-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.3rem 1.15rem;
  border: 1px solid rgba(179, 0, 0, 0.12);
  border-radius: 18px;
  background: #fff7e0;
  color: #1f1f1f;
}

.feature-emoji {
  font-size: 2.4rem;
  line-height: 1;
  display: block;
}

.trust-grid {
  display: grid;
  place-items: center;
  gap: 1rem;
  text-align: center;
}

.trust-grid p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.trust-grid a.hero-cta {
  margin: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeIn 0.75s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-image {
    max-height: 45vh;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 0.96rem;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .hero-cta {
    width: 100%;
    padding: 1rem 1.2rem;
  }

  .product-inner {
    padding: 24px 20px;
  }

  section {
    padding: 32px 14px;
  }
}
