:root {
  --mz-green-600: #205900;
  --mz-green-700: #174200;
  --mz-cream: #fff1b6;
  --mz-cream-50: #fff8d9;
  --mz-brown: #554419;
  --mz-coral: #ff6b3d;
  --mz-coral-dark: #e55a2f;
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 30px 60px rgba(17, 24, 10, 0.28);
  --mz-serif: "The Seasons", Georgia, serif;
  --mz-sans: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--mz-sans);
  background: radial-gradient(circle at top, #1f4305, #0f1a05);
  color: var(--mz-cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

.hidden {
  display: none !important;
}

.offer-page {
  padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.offer-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
}

.logo {
  font-family: var(--mz-serif);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 0.01em;
  color: var(--mz-cream);
  text-decoration: none;
}

.hero {
  background: rgba(7, 14, 5, 0.65);
  border-radius: 32px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 4vw, 32px);
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--mz-serif);
  font-size: clamp(32px, 4vw, 54px);
  margin: 0 0 12px;
}

.hero-copy {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  align-items: center;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.hero-loader,
.hero-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.hero-loader {
  padding: 12px 0 8px;
}

.spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--mz-coral);
  margin: 0 auto 18px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.hero-result img {
  border-radius: 28px;
  border: 3px solid var(--mz-coral);
  box-shadow: var(--shadow-sm);
  width: min(200px, 100%);
      margin-bottom: -32px;
}

.result-actions {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 10px;
}

.btn.sm {
  padding: 8px 16px;
  font-size: 14px;
}

.hero-result .note {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.offer-text h2 {
  font-family: var(--mz-serif);
  font-size: clamp(26px, 3.5vw, 42px);
  margin: 0 0 16px;
}

.offer-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
}

.offer-style-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-top: 32px;
}

.offer-style-heading h3 {
  font-family: var(--mz-serif);
  font-size: clamp(22px, 3vw, 28px);
  margin: 0;
}

.offer-style-strip {
  margin-top: 32px;
  margin-inline: calc(-1 * clamp(16px, 4vw, 48px));
  width: calc(100% + 2 * clamp(16px, 4vw, 48px));
  overflow: hidden;
}

.offer-style-track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 1fr;
  grid-auto-columns: minmax(160px, clamp(150px, 20vw, 220px));
  gap: 16px;
  width: max-content;
  animation: style-scroll var(--marquee-duration, 38s) linear infinite;
  align-items: stretch;
  padding-bottom: 8px;
  will-change: transform;
}

.offer-style-strip .style-preview {
  border-radius: 14px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

/* use shared style-scroll keyframes below for consistency */

.plan-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.plan-option {
  flex: 1 1 260px;
  min-height: 88px;
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  padding: 24px 20px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.plan-option-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.plan-name {
  font-weight: 600;
}

.plan-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.plan-tag.highlight {
  border-color: var(--mz-coral);
  color: var(--mz-coral);
  background: rgba(255, 107, 61, 0.1);
}

.plan-price {
  margin: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  color: var(--mz-cream);
}

.plan-price-block {
  margin-left: auto;
  text-align: right;
  min-width: 100px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.plan-price .currency {
  font-size: 16px;
  margin-top: 6px;
  opacity: 0.9;
}

.plan-price .price-major {
  font-size: clamp(34px, 4vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.plan-price .price-decimal {
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-6px);
}

.plan-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plan-check::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}

.plan-option.selected {
  border-color: var(--mz-coral);
  background: rgba(255, 107, 61, 0.12);
  box-shadow: 0 20px 45px rgba(255, 107, 61, 0.25);
  transform: translateY(-2px);
}

.plan-option.selected .plan-check {
  border-color: var(--mz-coral);
}

.plan-option.selected .plan-check::after {
  background: var(--mz-coral);
}

.plan-saving-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 10px;
  letter-spacing: 0.18em;
  border-radius: 999px;
  padding: 4px 14px;
  background: rgba(20, 32, 14, 0.95);
  color: var(--mz-coral);
  border: 1px solid rgba(255, 107, 61, 0.5);
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 10px 25px rgba(255, 107, 61, 0.2);
}

.plan-benefits {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  align-items: flex-start;
  text-align: center;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  max-width: none;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mz-coral);
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-icon svg path {
  fill: currentColor;
}

.plan-cta {
  width: 100%;
  margin: 18px 0 36px;
  font-size: 16px;
  padding: 16px;
}

.btn {
  border: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 14px 24px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.btn.secondary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--mz-cream);
}

.btn:not(.secondary) {
  background: var(--mz-coral);
  color: var(--mz-cream);
  box-shadow: 0 20px 40px rgba(255, 107, 61, 0.3);
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-cta .btn-icon svg,
.plan-cta .btn-icon svg * {
  fill: currentColor;
  stroke: none;
}

.social-proof {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  padding: 32px clamp(20px, 4vw, 44px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
}

.social-proof .section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.social-proof .section-heading h2 {
  margin: 12px auto 0;
  font-size: clamp(26px, 3vw, 34px);
  max-width: 560px;
}

.social-carousel-shell {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
}

.social-carousel-shell::before,
.social-carousel-shell::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
}

.social-carousel-shell::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 14, 5, 0.85), transparent);
}

.social-carousel-shell::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 14, 5, 0.85), transparent);
}

.social-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.social-carousel::-webkit-scrollbar {
  display: none;
}

.social-carousel-track {
  display: flex;
  gap: 16px;
  padding-inline: 0;
}

.social-carousel-track article {
  flex: 0 0 calc(100% - 80px);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-carousel-track article:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.social-carousel-track article h3 {
  margin: 0;
  font-size: 18px;
}

.social-subtitle {
  margin: 0;
  font-weight: 600;
  color: var(--mz-coral);
  font-size: 14px;
}

.social-carousel-track article p:last-of-type {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
}

.social-drag-hint {
  text-align: right;
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.social-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.35);
  color: var(--mz-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.social-nav.prev { left: 8px; }
.social-nav.next { right: 8px; }

@media (max-width: 760px) {
  .social-nav { display: none; }
}

.style-carousel {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 28px;
  padding: 28px 0 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.style-carousel header {
  margin-bottom: 18px;
  padding: 0 28px;
}

.style-carousel h2 {
  margin: 6px 0 0;
}

.style-marquee {
  overflow: hidden;
}

.carousel-track {
  --marquee-rows: 1;
  --card-width: clamp(160px, 18vw, 220px);
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--marquee-rows), auto);
  grid-auto-columns: var(--card-width);
  column-gap: 18px;
  row-gap: 14px;
  width: max-content;
  min-width: 100%;
  animation: style-scroll var(--marquee-duration, 60s) linear infinite;
  will-change: transform;
}

.style-preview {
  width: var(--card-width);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.35));
  padding: 8px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.style-preview img {
  width: 100%;
  height: clamp(220px, 32vw, 320px);
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.carousel-fallback {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

@keyframes style-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-style-track,
  .carousel-track {
    animation: none;
  }
}

.faq {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.faq h2 {
  margin-top: 0;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.faq-list article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
}

.faq-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  margin-top: 40px;
  padding: 28px clamp(20px, 4vw, 60px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(7, 14, 5, 0.85), rgba(7, 14, 5, 0.65));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.footer-logo {
  font-family: var(--mz-serif);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 0.04em;
  color: var(--mz-cream);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-info {
  font-weight: 500;
}

.footer-separator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--mz-cream);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.footer-link:focus-visible,
.footer-link:hover {
  border-color: var(--mz-coral);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.footer-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mz-coral);
}

.footer-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-link-text {
  text-transform: lowercase;
}

@media (max-width: 760px) {
  .header-brand {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero {
    padding: 20px;
  }

  .carousel-track {
    --marquee-rows: 2;
    --card-width: min(60vw, 200px);
    column-gap: 14px;
  }

  .style-preview img {
    height: min(260px, 60vw);
  }

  .offer-style-strip {
    margin-top: 20px;
    margin-inline: calc(-1 * clamp(16px, 4vw, 48px));
    width: calc(100% + 2 * clamp(16px, 4vw, 48px));
  }

  .offer-style-track {
    grid-template-rows: repeat(1, minmax(0, auto));
    /* prefer variable-driven duration; JS sets --marquee-duration */
    --marquee-duration: 26s;
    gap: 12px;
  }

  .plan-option {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: center;
  }

  .plan-check {
    margin-bottom: 0;
  }

  .plan-price-block {
    width: auto;
    min-width: 90px;
    justify-content: flex-end;
    text-align: right;
    margin-left: auto;
  }

  .faq {
    padding: 24px;
  }

  .social-carousel-shell {
    margin: 0;
  }

  .social-carousel-track {
    padding-inline: 8px;
    gap: 12px;
  }

  .social-carousel-track article {
    flex: 0 0 calc(100% - 64px);
  }

  .site-footer {
    padding: 20px;
  }

  .footer-content {
    gap: 10px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 4px;
  }
}
