/* ============================================================
   SEW AND COUNT — styles.css
   Paleta: sand #E5CB90 | cream #FFF3C8 | teal #34A99D | ocean #458393
   Font: Arial Nova Light (fallback: Helvetica Neue / Arial)
   Motyw: nowoczesny biznesowy + akcenty „ściegu" (dashed lines)
   ============================================================ */

/* === RESET & ZMIENNE === */
:root {
  --sand:       #E5CB90;
  --sand-deep:  #C9A960;
  --cream:      #FFF3C8;
  --cream-soft: #FFFBEA;
  --teal:       #34A99D;
  --teal-dark:  #278A80;
  --ocean:      #458393;
  --ocean-deep: #2C5966;
  --ink:        #22414B;
  --muted:      #5F7880;
  --white:      #FFFFFF;
  --line:       rgba(69, 131, 147, 0.16);
  --stitch:     rgba(69, 131, 147, 0.35);
  --shadow:     0 24px 48px -24px rgba(44, 89, 102, 0.25);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
img   { max-width: 100%; display: block; }
a     { color: inherit; }
p     { margin-bottom: 16px; }

body {
  font-family: 'Arial Nova Light', 'Arial Nova', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: 'Arial Nova Light', 'Arial Nova', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 5.5vw, 62px); }
h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 24px; }
h3 { font-size: 22px; }
em {
  font-style: normal;
  color: var(--teal);
}
strong { font-weight: 600; }

/* === LAYOUT HELPERS === */
.container        { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 780px;  margin: 0 auto; padding: 0 32px; }
section           { padding: 104px 0; }

/* === UTILITIES === */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 20px;
}
/* „nitka" przed eyebrow — motyw ściegu */
.eyebrow::before {
  content: '';
  width: 34px;
  height: 0;
  border-top: 2px dashed var(--teal);
  opacity: 0.8;
}

.section-warm {
  background: var(--cream-soft);
  border-top: 1px dashed var(--stitch);
  border-bottom: 1px dashed var(--stitch);
}
.section-dark {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: var(--cream-soft);
}
.section-dark h2       { color: var(--white); }
.section-dark em       { color: var(--sand); }
.section-dark p        { color: rgba(255, 251, 234, 0.88); }
.section-dark .eyebrow { color: var(--sand); }
.section-dark .eyebrow::before { border-top-color: var(--sand); }

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}
.logo em {
  font-weight: 300;
  text-transform: lowercase;
  color: var(--teal);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 2px dashed transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}
.nav-cta {
  display: inline-block;
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 100px;
  border-bottom: none !important;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-dark); }

/* === BUTTONS === */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  padding: 18px 38px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 12px 24px -12px rgba(52, 169, 157, 0.6);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  background: var(--teal-dark);
  box-shadow: 0 16px 32px -12px rgba(52, 169, 157, 0.7);
}
.cta-btn .arrow       { transition: transform 0.2s; }
.cta-btn:hover .arrow { transform: translateX(4px); }
.cta-btn--accent        { background: var(--sand); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(229, 203, 144, 0.5); }
.cta-btn--accent:hover  { background: var(--cream); box-shadow: 0 16px 32px -12px rgba(229, 203, 144, 0.6); }
.cta-micro {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* === HERO === */
.hero {
  padding: 88px 0 108px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 500px at 85% 10%, rgba(255, 243, 200, 0.65) 0%, transparent 60%),
    radial-gradient(ellipse 600px 480px at 5% 90%, rgba(52, 169, 157, 0.08) 0%, transparent 60%),
    var(--white);
}
/* dekoracyjny „ścieg" biegnący przez hero */
.hero::before {
  content: '';
  position: absolute;
  top: 120px;
  left: -5%;
  width: 110%;
  height: 0;
  border-top: 2px dashed rgba(229, 203, 144, 0.5);
  transform: rotate(-4deg);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
  outline: 2px dashed var(--stitch);
  outline-offset: 10px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(44, 89, 102, 0.18) 100%);
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: var(--cream);
  border: 1px solid var(--sand);
  color: var(--ocean-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero h1 { margin-bottom: 28px; }
.hero-sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 44px;
  line-height: 1.55;
}

/* === PROBLEM LIST === */
.problem-list { list-style: none; margin: 36px 0; padding: 0; }
.problem-list li {
  padding: 18px 0 18px 40px;
  border-bottom: 1px dashed var(--stitch);
  position: relative;
  font-size: 17px;
}
/* „igła" — kropka + kreska */
.problem-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 29px;
  width: 22px; height: 0;
  border-top: 2px dashed var(--teal);
}
.problem-list li:last-child { border-bottom: none; }
.problem-conclusion {
  font-size: 19px;
  font-weight: 600;
  color: var(--ocean-deep);
  padding: 20px 24px;
  background: var(--cream);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
}
.lead { font-size: 19px; }

/* === PRODUCT IMAGE === */
.product-image-wrapper {
  margin: 64px auto 0;
  max-width: 920px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  outline: 2px dashed var(--stitch);
  outline-offset: 10px;
}
.product-image-wrapper img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* === FEATURES GRID === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 72px;
}
.feature {
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 20px 40px -24px rgba(52, 169, 157, 0.35);
}
.feature-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  background: rgba(52, 169, 157, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.feature h3 { margin-bottom: 12px; font-size: 20px; font-weight: 600; }
.feature p  { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }

/* === WHY IT WORKS — SPLIT LAYOUT === */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.4);
  outline: 2px dashed rgba(255, 243, 200, 0.4);
  outline-offset: 10px;
}
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-footnote {
  font-size: 15px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 243, 200, 0.35);
}

/* === METRICS === */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.metric {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 243, 200, 0.25);
  border-radius: 14px;
  padding: 26px 24px;
  backdrop-filter: blur(4px);
}
.metric-val {
  font-size: 26px;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.metric-lbl {
  font-size: 13px;
  color: rgba(255, 251, 234, 0.75);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* === PRICING === */
.pricing-header { text-align: center; }
.pricing-header .eyebrow::before { display: none; }
.pricing-header .eyebrow::after {
  content: '';
  width: 34px;
  border-top: 2px dashed var(--teal);
  opacity: 0.8;
}
.pricing-header .eyebrow { gap: 12px; }
.pricing-header .eyebrow::before { display: inline-block; }
.pricing-intro {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 64px;
  font-size: 18px;
  color: var(--muted);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 24px 48px -24px rgba(52, 169, 157, 0.3);
}
.pricing-card.featured {
  background: linear-gradient(160deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: var(--cream-soft);
  border: none;
  position: relative;
  box-shadow: var(--shadow);
}
.pricing-card.featured::before {
  content: 'NAJPOPULARNIEJSZE';
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--sand);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card.featured h3        { color: var(--white); }
.pricing-card.featured .price    { color: var(--sand); }
.pricing-card.featured ul li     { color: rgba(255, 251, 234, 0.9); }
.pricing-card.featured ul li::before   { color: var(--sand); }
.pricing-card.featured .pricing-target { color: var(--sand); }
.pricing-card.featured .pricing-desc   { color: rgba(255, 251, 234, 0.75); }
.pricing-card.featured .price-note     { color: rgba(255, 251, 234, 0.65); }
.pricing-card.featured .pricing-tiers  { border-top-color: rgba(255, 243, 200, 0.3); }
.pricing-card.featured .pricing-tier-price { color: var(--sand); }

.pricing-target {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.pricing-card h3   { font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.pricing-desc      { font-size: 15px; color: var(--muted); margin-bottom: 28px; line-height: 1.5; }
.price {
  font-size: 44px;
  font-weight: 300;
  color: var(--ocean-deep);
  margin-bottom: 6px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-note        { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.pricing-card ul   { list-style: none; padding: 0; margin: 0 0 28px; flex-grow: 1; }
.pricing-card ul li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 15px;
  line-height: 1.45;
}
.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 10px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
}
.pricing-tiers {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px dashed var(--stitch);
}
.pricing-tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  font-size: 14px;
}
.pricing-tier-name  { font-weight: 600; letter-spacing: 0.02em; }
.pricing-tier-price { color: var(--teal-dark); font-weight: 600; }
.pricing-footer-note {
  text-align: center;
  margin: 48px auto 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 60ch;
}

/* === ABOUT === */
.about {
  background:
    radial-gradient(ellipse 600px 400px at 90% 15%, rgba(255, 243, 200, 0.6) 0%, transparent 60%),
    var(--white);
  padding: 120px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
  outline: 2px dashed var(--stitch);
  outline-offset: 10px;
}
.about-image img  { width: 100%; height: 100%; object-fit: cover; }
.about p          { font-size: 18px; line-height: 1.7; }
.about-signature {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  color: var(--teal-dark);
  padding-top: 20px;
  border-top: 2px dashed var(--stitch);
  display: inline-block;
}

/* === HOW TO BUY === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.step {
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.step:hover { transform: translateY(-3px); border-color: var(--sand); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px dashed var(--sand-deep);
  color: var(--ocean-deep);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* === FAQ === */
.faq-item             { border-bottom: 1px dashed var(--stitch); padding: 24px 0; }
.faq-item:first-of-type { border-top: 1px dashed var(--stitch); }
.faq-q {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  user-select: none;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--teal-dark); }
.faq-q::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--teal);
  transition: transform 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  color: var(--muted);
  font-size: 16px;
  padding: 12px 48px 0 0;
}
.faq-item.open .faq-a { display: block; }

/* === FINAL CTA === */
.final-cta {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: var(--cream-soft);
  padding: 0;
  overflow: hidden;
}
.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 600px;
}
.final-cta-image {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
.final-cta-content {
  padding: 100px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
/* delikatny „ścieg" w tle CTA */
.final-cta-content::before {
  content: '';
  position: absolute;
  top: 48px; left: 64px; right: 64px;
  height: 0;
  border-top: 2px dashed rgba(255, 243, 200, 0.3);
  pointer-events: none;
}
.final-cta h2 { color: var(--white); position: relative; z-index: 1; }
.final-cta em { color: var(--sand); }
.final-cta .eyebrow { color: var(--sand); }
.final-cta .eyebrow::before { border-top-color: var(--sand); }
.final-cta p {
  color: rgba(255, 251, 234, 0.8);
  margin: 0 0 40px;
  font-size: 18px;
  position: relative;
  z-index: 1;
}
.final-cta .cta-btn { align-self: flex-start; position: relative; z-index: 1; }

/* === FOOTER === */
footer {
  background: var(--ink);
  color: rgba(255, 251, 234, 0.55);
  padding: 40px 0;
  border-top: 3px solid var(--teal);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links          { display: flex; gap: 24px; }
.footer-links a        { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover  { color: var(--sand); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid      { grid-template-columns: 1fr; gap: 48px; }
  .why-grid       { grid-template-columns: 1fr; gap: 48px; }
  .about-grid     { grid-template-columns: 1fr; gap: 48px; }
  .final-cta-grid { grid-template-columns: 1fr; }
  .final-cta-content { padding: 80px 32px; }
  .final-cta-content::before { left: 32px; right: 32px; }
}
@media (max-width: 720px) {
  .nav-links     { display: none; }
  section        { padding: 72px 0; }
  .hero          { padding: 56px 0 72px; }
  .hero-sub      { font-size: 18px; }
  h2             { font-size: 32px; }
  .pricing-card  { padding: 34px 26px; }
  .pricing-card.featured { margin-top: 14px; }
  .metrics-grid  { grid-template-columns: 1fr; }
  .hero-image,
  .product-image-wrapper,
  .about-image   { outline-offset: 6px; }
}
