/* ErektoMax landing — style. Kolory: --d ciemny, --l jasny, --g gradient przycisków. */

:root {
  --d: #141414;
  --l: #fff;
  --g: linear-gradient(135deg, #b73ced, #773cee);
  --p: #773cee;
  --m: #6b6b76;
  --soft: #f4f1fa;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  height: 100%;
}
body {
  font-family: Manrope, system-ui, sans-serif;
  background: var(--d);
  color: var(--d);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 60px 0;
}
.is-dark {
  background: var(--d);
  color: #fff;
}
.is-light {
  background: var(--l);
}
h1,
h2 {
  line-height: 1.15;
  font-weight: 800;
}
h1 {
  font-size: clamp(30px, 7vw, 52px);
}
h2 {
  font-size: clamp(25px, 5vw, 38px);
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--g);
  color: #fff;
  font:
    700 16px Manrope,
    sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(119, 60, 238, 0.35);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.nav b {
  font-size: 18px;
  color: #fff;
}
.nav nav {
  display: none;
  gap: 26px;
}
.nav nav a {
  color: #cfcfd6;
  text-decoration: none;
  font-size: 15px;
}
.nav .btn {
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
}
.hero {
  padding: 34px 0 56px;
  text-align: center;
}
.hero-grid {
  display: grid;
  gap: 22px;
}
.hero-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border: 1px solid #3a3a44;
  border-radius: 999px;
  font-size: 13px;
  color: #cfcfd6;
}
.hero-subtitle {
  margin-top: 14px;
  color: #cfcfd6;
  font-size: 17px;
}
.pack-wrap {
  display: flex;
  justify-content: center;
  padding: 26px 0;
  background: radial-gradient(closest-side, rgba(119, 60, 238, 0.5), transparent 72%);
}

.pack-img {
  width: 235px;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}
.ingredients-mix {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.ingredient-group {
  display: grid;
  gap: 12px;
  align-content: start;
}
.ingredients-mix img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.deal {
  position: relative;
  isolation: isolate;
  max-width: 400px;
  margin: 14px auto 0;
  padding: 34px 22px 24px;
  border-radius: 24px;
  background: #15101c;
  overflow: visible;
  text-align: center;
}
.deal::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: var(--g);
  z-index: -1;
  filter: blur(10px);
  opacity: 0.35;
  animation: gl 3.2s ease-in-out infinite alternate;
}
.deal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 2px solid #9a45f0;
  pointer-events: none;
}
@keyframes gl {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 0.4;
  }
}
.deal small {
  display: block;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: #c9a6ff;
}
.deal-old {
  font-size: 24px;
  color: #a9a9b3;
  margin-top: 6px;
}
.deal-old s {
  text-decoration-color: #ff4d6d;
  text-decoration-thickness: 3px;
}
.deal-new {
  font-size: 68px;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
}
.deal p {
  margin-top: 10px;
  font-size: 16px;
  color: #fff;
}
.deal p b {
  color: #e2c8ff;
}
.deal p s {
  color: #a9a9b3;
}
.deal em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12.5px;
  color: #a9a9b3;
}
.deal-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d6d, #b73ced);
  font-weight: 800;
  font-size: 18px;
  transform: rotate(6deg);
  box-shadow: 0 8px 24px rgba(255, 77, 109, 0.45);
  animation: pp 1.8s ease-in-out infinite;
}
.deal-badge:empty {
  display: none;
}
@keyframes pp {
  50% {
    transform: rotate(6deg) scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .deal::before,
  .deal-badge {
    animation: none;
  }
}
.doc-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.doc-modal.is-open {
  display: flex;
}
.doc-box {
  position: relative;
  background: #fff;
  color: var(--d);
  border-radius: 22px;
  max-width: 720px;
  width: 100%;
  max-height: 86vh;
  overflow: auto;
  padding: 30px 24px;
}
.doc-box h3 {
  font-size: 22px;
  margin: 0 40px 12px 0;
}
.doc-box h4 {
  margin: 16px 0 6px;
  font-size: 15px;
}
.doc-box p {
  font-size: 14.5px;
  color: #444;
  margin-bottom: 8px;
}
.doc-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #eee;
  font-size: 16px;
  cursor: pointer;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.hero-price {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.hero-price::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--g);
}
.hero-old-price {
  font-size: 18px;
  font-weight: 600;
  color: #a9a9b3;
  margin-left: 12px;
  text-decoration-color: #ff4d6d;
}
.hero-badge {
  font-size: 14px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--g);
  color: #fff;
  margin-left: 10px;
  vertical-align: middle;
}
.hero-badge:empty {
  display: none;
}
.hero-price {
  font-size: 40px;
  font-weight: 800;
}
.lowest-price {
  font-size: 13px;
  color: #a9a9b3;
  margin: 2px 0 18px;
}
.about-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.about-grid .pack-wrap {
  background: radial-gradient(closest-side, rgba(183, 60, 237, 0.2), transparent 72%);
}
.about-grid p {
  color: var(--m);
  font-size: 17px;
}
.cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.card {
  background: var(--soft);
  border-radius: 18px;
  padding: 20px;
}
.card small {
  display: block;
  color: var(--m);
  font-size: 13px;
}
.card b {
  font-size: 18px;
}
.is-dark .card {
  background: #1f1f26;
}
.is-dark .card small {
  color: #a9a9b3;
}
.note {
  margin-top: 20px;
  color: #a9a9b3;
  font-size: 15px;
}
.steps {
  display: grid;
  gap: 14px;
  counter-reset: s;
}
.step {
  background: var(--soft);
  border-radius: 18px;
  padding: 20px 20px 20px 70px;
  position: relative;
  font-weight: 700;
}
.is-dark .step {
  background: #1f1f26;
}
.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center;
}
.step span {
  display: block;
  font-weight: 500;
  color: var(--m);
  font-size: 15px;
}
.is-dark .step span {
  color: #a9a9b3;
}
details {
  background: var(--soft);
  border-radius: 16px;
  margin-bottom: 10px;
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 20px;
  font-weight: 700;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--p);
  transition: transform 0.25s;
}
details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
details p {
  padding: 0 20px 18px;
  color: var(--m);
}
.offer-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}
form {
  background: #fff;
  color: var(--d);
  border-radius: 22px;
  padding: 24px;
}
form p {
  font-size: 15px;
  margin-bottom: 16px;
}
label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 12px 0 6px;
}
input,
select {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid #ddd8e8;
  border-radius: 14px;
  padding: 0 14px;
  font:
    500 16px Manrope,
    sans-serif;
}
input:focus,
select:focus {
  outline: 2px solid var(--p);
  border-color: transparent;
}

.field-error {
  color: #d6204a;
  font-size: 13px;
  min-height: 18px;
  margin-top: 4px;
}
form .btn {
  width: 100%;
  margin-top: 14px;
}
.form-legal {
  font-size: 12.5px;
  color: var(--m);
  margin-top: 12px;
}
.form-message {
  padding: 18px;
  border-radius: 14px;
  font-weight: 700;
  margin-top: 14px;
}
.is-success {
  background: #ece4ff;
}
.is-error {
  background: #ffe3ea;
  color: #a3173a;
}
footer {
  background: #0e0e0e;
  color: #a9a9b3;
  padding: 40px 0 calc(100px + env(safe-area-inset-bottom, 0px));
  font-size: 14px;
}
footer .container {
  display: grid;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.sticky-cta .btn {
  width: 100%;
}
.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 90px;
  z-index: 50;
  background: #fff;
  color: var(--d);
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: none;
}
.cookie-banner.is-open {
  display: block;
}
.cookie-banner div {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.cookie-banner .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: none;
}
.cookie-banner .btn.btn-secondary {
  background: #eee;
  color: var(--d);
}
.reviews {
  background: var(--soft);
}
.reviews-grid {
  display: grid;
  gap: 14px;
}
.review-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
}
.review-card p {
  margin: 8px 0 12px;
  color: var(--m);
}
.review-card b {
  font-size: 14px;
}
.review-stars {
  color: var(--p);
  letter-spacing: 2px;
  font-size: 18px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  footer {
    padding-bottom: 30px;
  }
  .hero {
    text-align: left;
  }
  .sticky-cta {
    display: none;
  }
  .nav nav {
    display: flex;
  }
  section {
    padding: 90px 0;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 10px 40px;
    align-items: center;
  }
  .hero-grid .pack-wrap {
    grid-column: 2;
    grid-row: 1/3;
  }
  .pack-img {
    width: 320px;
  }
  .about-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step {
    padding: 70px 20px 22px;
  }
  .step::before {
    left: 20px;
    top: 20px;
    transform: none;
  }
  .offer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .cookie-banner {
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: 380px;
  }
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ingredients-mix {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .ingredient-group {
    display: contents;
  }
  .ingredients-mix .card {
    order: 0;
  }
  .ingredients-mix img {
    order: 1;
    height: 320px;
    min-height: 0;
    margin-top: 8px;
  }
  footer .container {
    grid-template-columns: 1fr 1fr;
  }
}

.offer-text {
  text-align: center;
}
