/* Mazo Waters — mobile-first styles */

:root {
  --color-primary: #0c4a6e;
  --color-primary-dark: #082f49;
  --color-accent: #0891b2;
  --color-accent-light: #22d3ee;
  --color-wa: #25d366;
  --color-wa-dark: #1da851;
  --color-bg: #f8fafc;
  --color-bg-alt: #f0f9ff;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-heading: "Fraunces", Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(12, 74, 110, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 74, 110, 0.12);
  --header-h: 72px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 720px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 48px;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--pay {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--pay:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(12, 74, 110, 0.35);
}

.btn--full {
  width: 100%;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
  min-height: 40px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 17px;
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
  text-decoration: none;
}

.header__logo img {
  border-radius: 8px;
}

.header__logo:hover {
  text-decoration: none;
}

.nav {
  display: none;
}

.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  padding: 32px 20px;
  gap: 24px;
  z-index: 99;
}

.nav.open .nav__list {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.nav.open .nav__link {
  font-size: 20px;
}

/* Hero */

.hero {
  padding: calc(var(--header-h) + 48px) 0 64px;
  background: linear-gradient(160deg, var(--color-bg-alt) 0%, var(--color-bg) 50%, #fff 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: rgba(8, 145, 178, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.hero__text {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero__note {
  font-size: 14px;
  color: var(--color-text-muted);
}

.hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 24px;
}

.hero__price-mrp {
  font-size: 18px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.hero__price-current {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
}

.hero__price-badge {
  font-size: 12px;
  font-weight: 600;
  background: rgba(37, 211, 102, 0.15);
  color: var(--color-wa-dark);
  padding: 4px 12px;
  border-radius: 50px;
}

.hero__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Trust strip */

.trust-strip {
  background: var(--color-primary);
  color: #fff;
  padding: 20px 0;
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.trust-strip__icon {
  font-size: 18px;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--cta {
  padding-bottom: 96px;
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Problem grid */

.problem-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.problem-card {
  background: var(--color-surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.problem-card__icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.problem-card p {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* Product showcase */

.product-showcase {
  display: grid;
  gap: 40px;
}

.product-gallery__main-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-gallery__main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-gallery__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.6;
  transition: opacity var(--transition), border-color var(--transition);
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
  opacity: 1;
  border-color: var(--color-accent);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info__name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.product-info__tagline {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.product-info__highlights {
  list-style: none;
  margin-bottom: 28px;
}

.product-info__highlights li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
}

.product-info__highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-wa);
  font-weight: 700;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 15px;
}

.specs-table th,
.specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.specs-table th {
  font-weight: 600;
  color: var(--color-primary);
  width: 40%;
  background: var(--color-bg-alt);
}

.specs-table td {
  color: var(--color-text);
}

.product-info__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-info__pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.product-info__mrp {
  font-size: 18px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-info__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.product-info__discount {
  font-size: 13px;
  font-weight: 600;
  background: #fef3c7;
  color: #b45309;
  padding: 4px 10px;
  border-radius: 6px;
}

.product-info__price-note {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Benefits */

.benefits-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.benefit-card {
  background: var(--color-surface);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  text-align: center;
}

.benefit-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* Steps */

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.step {
  text-align: center;
  max-width: 280px;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--color-text-muted);
}

.step__arrow {
  font-size: 24px;
  color: var(--color-accent);
  transform: rotate(90deg);
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Checkout */

.section--checkout {
  background: var(--color-bg-alt);
}

.checkout-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.checkout-form {
  background: var(--color-surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.checkout-error {
  color: #dc2626;
  font-size: 14px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

.checkout-secure {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 16px;
}

.checkout-summary {
  background: var(--color-surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.checkout-summary h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.checkout-summary__item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.checkout-summary__item img {
  border-radius: 8px;
  object-fit: cover;
}

.checkout-summary__item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.checkout-summary__item p {
  font-size: 13px;
  color: var(--color-text-muted);
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.checkout-summary__free {
  color: var(--color-wa-dark);
  font-weight: 600;
}

.checkout-summary__total {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: none;
  padding-top: 16px;
}

.checkout-summary__trust {
  list-style: none;
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.checkout-summary__trust li {
  padding: 6px 0;
}

/* Footer */

.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 48px;
}

.footer__inner {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
}

.footer__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer__brand img {
  border-radius: 8px;
}

.footer__brand strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}

.footer__brand p {
  font-size: 14px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact p {
  font-size: 15px;
  margin-bottom: 8px;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.85);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 32px;
}

.lightbox__prev {
  left: 12px;
}

.lightbox__next {
  right: 12px;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet+ */

@media (min-width: 640px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .product-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  .checkout-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .step__arrow {
    transform: none;
    margin-top: 12px;
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}