:root {
  --color-primary: #F9FAFB;
  --color-secondary: #E0E7FF;
  --color-accent: #F7FF00;
  --color-bg: linear-gradient(180deg, #FDFCFB 0%, #E2D1C3 100%);
  --color-bg-solid: #FDFCFB;
  --color-text: #1A1A1A;
  --color-text-heading: #1A1A1A;
  --font-main: 'DM Sans', system-ui, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-btn: 'Space Mono', monospace;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 26, 26, 0.08);
  --spacing: 1.5rem;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  background-color: var(--color-bg-solid);
  overflow-x: hidden;
}

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

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #4F46E5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-text-heading);
  margin: 0 0 var(--spacing);
  line-height: 1.2;
  overflow-wrap: break-word;
}

h2 { font-weight: 600; }

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); }

p {
  margin: 0 0 var(--spacing);
  overflow-wrap: break-word;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing) 1.5rem;
  background: rgba(253, 252, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 231, 255, 0.5);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
}

.header__brand:hover {
  color: #4F46E5;
}

.header__name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  position: relative;
}

.header__burger span {
  width: 24px;
  height: 3px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.header__nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
}

.header__nav a {
  color: var(--color-text);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.header__nav a:hover {
  color: #4F46E5;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1023px;
  height: 100vh;
  background: rgba(253, 252, 251, 0.98);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  border-right: 1px solid rgba(224, 231, 255, 0.6);
}

.nav-overlay.is-open {
  display: flex;
}

.nav-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-overlay li {
  margin-bottom: 1.25rem;
}

.nav-overlay a {
  font-size: 1.15rem;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.nav-overlay a:hover {
  color: #4F46E5;
}

@media (max-width: 1023px) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-overlay {
    display: none !important;
  }
}

main {
  padding-top: 72px;
  min-height: 100vh;
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  min-height: 75vh;
  align-items: center;
  padding-top: 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../img/activessa.webp') center 60% / 80% no-repeat;
  opacity: 0.08;
  z-index: -1;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #6366F1;
  opacity: 0.9;
}

.hero__trust span::after {
  content: ' • ';
  margin-left: 1rem;
  opacity: 0.5;
}

.hero__trust span:last-child::after {
  display: none;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__text h1 {
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero__headline-light {
  font-weight: 300;
  font-style: italic;
}

.hero__headline-strong {
  font-weight: 700;
}

.hero__sub {
  font-size: 1.05rem;
  margin: 1rem 0 1.5rem;
  max-width: 38ch;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero__stars {
  color: #F59E0B;
}

.hero__pricing {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.hero__price-old {
  text-decoration: line-through;
  color: rgba(26, 26, 26, 0.45);
  font-size: 1rem;
}

.hero__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #4F46E5;
}

.hero__figure {
  margin: 0;
  text-align: center;
}

.hero__figure img {
  margin: 0 auto;
  width: 280px;
  height: 350px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.hero__figure:hover img {
  transform: translateY(-6px);
}

.hero__figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.hero__cta-wrap {
  text-align: center;
}

.hero__cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-btn);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(247, 255, 0, 0.35);
}

@media (max-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero__figure {
    order: -1;
  }

  .hero__figure img {
    width: 200px;
    height: 250px;
  }
}

.order-section {
  background: rgba(224, 231, 255, 0.35);
  border-radius: var(--radius);
}

.order-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-form label {
  font-size: 0.9rem;
}

.order-form label span:not(.optional) {
  color: #DC2626;
}

.optional {
  font-weight: 400;
  color: rgba(26, 26, 26, 0.5) !important;
  font-size: 0.85em;
}

.order-form input,
.order-form textarea {
  padding: 0.75rem 1rem;
  font-family: var(--font-main);
  font-size: 1rem;
  background: var(--color-primary);
  border: 1px solid rgba(224, 231, 255, 0.8);
  border-radius: var(--radius);
  color: var(--color-text);
}

.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: #4F46E5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
}

.order-form textarea {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  font-size: 0.85rem;
  color: #DC2626;
  min-height: 1.2em;
}

.gdpr-label {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  cursor: pointer;
}

.gdpr-label input {
  margin-top: 4px;
}

.order-form__submit {
  padding: 1rem 2rem;
  background: #4F46E5;
  color: white;
  font-family: var(--font-btn);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.order-form__submit:hover {
  background: #4338CA;
  transform: scale(1.01);
}

.features__grid,
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card,
.benefit-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  border: 1px solid rgba(224, 231, 255, 0.6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.benefit-card:hover {
  border-color: #4F46E5;
  box-shadow: var(--shadow);
}

.feature-card h3,
.benefit-card h3 {
  color: #4F46E5;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.description,
.usage,
.ingredients {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.usage__list {
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
  padding-left: 1.5rem;
}

.usage__list li {
  margin-bottom: 0.75rem;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
}

.review-card cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(26, 26, 26, 0.6);
  font-style: normal;
}

.faq__list {
  max-width: 640px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(224, 231, 255, 0.7);
  padding: 1rem 0;
}

.faq__item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq__item summary::before {
  content: '+';
  color: #4F46E5;
  font-size: 1.2rem;
}

.faq__item[open] summary::before {
  content: '−';
}

.faq__item p {
  margin: 1rem 0 0 1.5rem;
  font-size: 0.95rem;
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(224, 231, 255, 0.5), rgba(247, 255, 0, 0.08));
  border-radius: var(--radius);
}

.cta-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  background: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-btn);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(247, 255, 0, 0.35);
}

.disclaimer {
  background: rgba(247, 255, 0, 0.1);
  border: 1px solid rgba(247, 255, 0, 0.25);
  font-size: 0.9rem;
  text-align: center;
}

.disclaimer p {
  margin: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(224, 231, 255, 0.6);
}

.footer__content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__copy {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(26, 26, 26, 0.65);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__nav a {
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: rgba(253, 252, 251, 0.98);
  border-top: 2px solid rgba(224, 231, 255, 0.8);
  z-index: 2000;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-banner__content h3 {
  margin-bottom: 0.5rem;
}

.cookie-banner__content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-banner__actions button {
  padding: 0.6rem 1.25rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cookie-accept {
  background: #4F46E5;
  color: white;
  font-weight: 600;
}

.cookie-reject {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(26, 26, 26, 0.3);
}

.cookie-settings {
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cookie-modal[hidden] {
  display: none !important;
}

.cookie-modal__content {
  max-width: 420px;
  padding: 2rem;
  background: var(--color-primary);
  border: 1px solid rgba(224, 231, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-modal__content h3 {
  margin-bottom: 1rem;
}

.cookie-modal__content label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.cookie-modal__save {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #4F46E5;
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-main);
}

.thank-you {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.thank-you__img {
  margin: 0 0 1.5rem;
}

.thank-you__img img {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.thank-you h1 {
  margin-bottom: 1rem;
}

.thank-you p {
  margin-bottom: 2rem;
  max-width: 400px;
}

.policy-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.policy-banner img {
  margin: 0 auto;
  width: 80px;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
}

.policy-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.policy-page h1 {
  margin-bottom: 0.5rem;
}

.policy-page .date {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: rgba(26, 26, 26, 0.6);
}

.policy-page h2 {
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-page p {
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .footer__content {
    flex-direction: column;
    text-align: center;
  }
}
