/* ============================================================
   XILAXU — Main Stylesheet
   Minimalism / Swiss · Spectral + Mulish · Teal + Coral
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Mulish:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --color-bg:        #F0F4F7;
  --color-bg-alt:    #E8EDF2;
  --color-white:     #FFFFFF;
  --color-dark:      #1A2E3B;
  --color-dark-mid:  #2C3E50;
  --color-text:      #2D3748;
  --color-text-muted:#5A6A7A;
  --color-teal:      #2A9D8F;
  --color-teal-dark: #1F7A6E;
  --color-teal-light:#E6F4F2;
  --color-coral:     #E8734A;
  --color-coral-dark:#C95A32;
  --color-coral-light:#FDF0EA;
  --color-border:    #D8E2EC;
  --color-shadow:    rgba(26,46,59,0.10);

  --font-display: 'Spectral', Georgia, serif;
  --font-body:    'Mulish', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 2px 8px rgba(26,46,59,0.08);
  --shadow-md:   0 8px 32px rgba(26,46,59,0.12);
  --shadow-lg:   0 16px 48px rgba(26,46,59,0.14);

  --transition:  0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-dark);
  line-height: 1.2;
}

p { color: var(--color-text); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.container--narrow {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ── on-dark scope ── */
.on-dark { color: rgba(255,255,255,0.85); }
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 { color: #fff; }
.on-dark p { color: rgba(255,255,255,0.72); }
.on-dark a:not(.btn) { color: inherit; }
.on-dark .text-muted { color: rgba(255,255,255,0.55); }

/* ── Advertorial bar ── */
.advertorial-bar {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: 7px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 200;
}

.advertorial-bar a {
  color: var(--color-teal);
  text-decoration: underline;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}

.nav--scrolled {
  box-shadow: 0 4px 24px rgba(26,46,59,0.22);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--color-teal);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--color-teal); }

.nav__links a.active { color: var(--color-teal); }

.nav__cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 8px 20px;
  border-radius: 50px;
  transition: border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.nav__cta:hover {
  border-color: var(--color-teal);
  background: rgba(42,157,143,0.12);
  color: var(--color-teal);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.80);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform 0.15s ease;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  background: transparent;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Ghost → fill on hover (B3) */
.btn--primary {
  background: transparent;
  border-color: var(--color-coral);
  color: var(--color-coral);
}
.btn--primary:hover {
  background: var(--color-coral);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,115,74,0.35);
}

.btn--teal {
  background: transparent;
  border-color: var(--color-teal);
  color: var(--color-teal);
}
.btn--teal:hover {
  background: var(--color-teal);
  color: #fff;
  box-shadow: 0 4px 20px rgba(42,157,143,0.30);
}

.btn--dark {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}
.btn--dark:hover {
  background: var(--color-dark);
  color: #fff;
}

.btn--white {
  background: transparent;
  border-color: rgba(255,255,255,0.60);
  color: #fff;
}
.btn--white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn--filled-coral {
  background: var(--color-coral);
  border-color: var(--color-coral);
  color: #fff;
}
.btn--filled-coral:hover {
  background: var(--color-coral-dark);
  border-color: var(--color-coral-dark);
  box-shadow: 0 4px 20px rgba(232,115,74,0.40);
}

.btn--filled-teal {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #fff;
}
.btn--filled-teal:hover {
  background: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  box-shadow: 0 4px 20px rgba(42,157,143,0.35);
}

.btn--lg { font-size: 16px; padding: 16px 40px; }
.btn--sm { font-size: 13px; padding: 10px 20px; }

/* ── Photo Placeholders ── */
.photo-placeholder {
  background: linear-gradient(135deg, #ff6eb4, #ff3d9a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border-radius: inherit;
}
.photo-placeholder__icon { font-size: 32px; }
.photo-placeholder__label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: sans-serif;
  text-align: center;
  padding: 0 16px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ── Wave dividers ── */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 1;
}
.wave-divider svg { display: block; width: 100%; }

/* ── Marquee strip ── */
.marquee-strip {
  background: var(--color-teal);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  z-index: 2;
}

.marquee-strip__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee-strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Trust badges ── */
.trust-badges {
  padding: 48px 0;
  background: var(--color-white);
}

.trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  align-items: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.trust-badge:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.trust-badge__icon {
  width: 40px;
  height: 40px;
  color: var(--color-teal);
}

.trust-badge__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* ── Section labels (eyebrow) ── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 14px;
}

.section-label--coral { color: var(--color-coral); }
.section-label--white { color: rgba(255,255,255,0.65); }

/* ── Section titles ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title--white { color: #fff; }

.section-title em {
  font-style: italic;
  color: var(--color-teal);
}

.section-title .accent { color: var(--color-teal); }

.section-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ── Cards (Glassmorphism C3) ── */
.card {
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.80);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ── Product cards ── */
.product-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.product-card__image-wrap {
  background: var(--color-bg);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: var(--color-teal-light);
  border-radius: 50px;
  padding: 4px 10px;
  width: fit-content;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.3;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-coral);
}

.product-card__price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.product-card__cta {
  display: block;
  text-align: center;
  margin-top: auto;
  width: 100%;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-teal);
  background: transparent;
  border: 1.5px solid var(--color-teal);
  padding: 10px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.product-card__cta:hover {
  background: var(--color-teal);
  color: #fff;
}

/* ── How it works ── */
.how-it-works {
  padding: 80px 0;
  background: var(--color-white);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 52px;
  position: relative;
}

.how-steps::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(33.33% + 8px);
  right: calc(33.33% + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-teal-light) 100%);
  z-index: 0;
  pointer-events: none;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-teal-light);
  border: 2px solid var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.how-step__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.how-step__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-item {
  padding: 28px 24px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  color: var(--color-teal);
  flex-shrink: 0;
}

.feature-item__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
}

.feature-item__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── FAQ ── */
.faq { padding: 80px 0; }

.faq__list { margin-top: 48px; max-width: 760px; margin-inline: auto; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(8px);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  user-select: none;
  list-style: none;
}

.faq-item__q::marker,
.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-teal);
  transition: transform var(--transition);
}

.faq-item.faq--open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding: 0 24px;
}

.faq-item.faq--open .faq-item__a {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ── CTA / dark section ── */
.cta-dark {
  background: var(--color-dark);
  padding: 80px 0;
}

.cta-dark .section-title { color: #fff; }
.cta-dark .section-desc { color: rgba(255,255,255,0.68); max-width: 540px; }

/* ── Footer ── */
.footer {
  background: var(--color-dark);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer__brand-name span { color: var(--color-teal); }

.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 300px;
}

.footer__contact-info {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  line-height: 1.9;
}

.footer__contact-info a {
  color: var(--color-teal);
  transition: color var(--transition);
}

.footer__contact-info a:hover { color: var(--color-teal-dark); }

.footer__col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--color-teal); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

.footer__disclaimer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  max-width: 420px;
  line-height: 1.55;
  text-align: right;
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 680px;
  background: rgba(26,46,59,0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(42,157,143,0.30);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  z-index: 9999;
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
  display: none;
}

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

.cookie-banner__text {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 18px;
}

.cookie-banner__text a {
  color: var(--color-teal);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.cookie-btn--accept {
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
}
.cookie-btn--accept:hover { background: var(--color-teal-dark); }

.cookie-btn--reject {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.30);
}
.cookie-btn--reject:hover {
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}

.cookie-btn--configure {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border-color: transparent;
  font-weight: 600;
  text-decoration: underline;
  padding-inline: 8px;
}

.cookie-config {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.cookie-config.is-open { display: block; }

.cookie-config__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-config__label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-track::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-track { background: var(--color-teal); }
.toggle-switch input:checked + .toggle-track::before { transform: translateX(18px); }
.toggle-switch input:disabled + .toggle-track { opacity: 0.5; cursor: not-allowed; }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal__icon {
  width: 64px;
  height: 64px;
  background: var(--color-teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--color-teal);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.modal__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.modal__close {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 50px;
  background: var(--color-teal);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.modal__close:hover { background: var(--color-teal-dark); }

/* ── Spinner ── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.40);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* ── Hero J — Product + Floating Benefits ── */
.hero {
  background: var(--color-bg);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: var(--color-teal-light);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero__title .accent { color: var(--color-teal); }

.hero__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
}

.hero__stats {
  display: flex;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.hero__stat-item { display: flex; flex-direction: column; gap: 2px; }

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
}

.hero__stat-num .accent { color: var(--color-teal); }

.hero__stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero J — product + floating cards */
.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__product-wrap {
  position: relative;
  width: 340px;
  max-width: 100%;
}

.hero__product-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 40px rgba(42,157,143,0.18));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero__badge {
  position: absolute;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  z-index: 10;
  animation: fade-up 0.8s ease forwards;
  opacity: 0;
}

.hero__badge:nth-child(2) { animation-delay: 0.3s; }
.hero__badge:nth-child(3) { animation-delay: 0.5s; }
.hero__badge:nth-child(4) { animation-delay: 0.7s; }
.hero__badge:nth-child(5) { animation-delay: 0.9s; }

.hero__badge--tl { top: 8%; left: -18%; }
.hero__badge--tr { top: 8%; right: -18%; }
.hero__badge--bl { bottom: 18%; left: -20%; }
.hero__badge--br { bottom: 18%; right: -18%; }

.hero__badge__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-teal);
}

.hero__badge__text { display: flex; flex-direction: column; gap: 1px; }

.hero__badge__text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

.hero__badge__text span {
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Disclaimer bar ── */
.disclaimer-bar {
  background: var(--color-coral-light);
  border: 1px solid rgba(232,115,74,0.20);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--color-coral-dark);
  text-align: center;
  font-weight: 600;
}

/* ── Advertorial / pre-lander ── */
.article-section { padding: 60px 0; }

.article__header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.article__meta {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.article__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.article__title .accent { color: var(--color-teal); }

.article__lead {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

.article__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.80;
  color: var(--color-text);
}

.article__body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 40px 0 16px;
  border-left: 3px solid var(--color-teal);
  padding-left: 16px;
}

.article__body p { margin-bottom: 20px; }

.article__body ul {
  margin: 0 0 20px 20px;
  list-style: disc;
  color: var(--color-text);
}

.article__body ul li { margin-bottom: 8px; line-height: 1.65; }

.article__infobox {
  background: var(--color-teal-light);
  border-left: 4px solid var(--color-teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--color-dark);
}

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

.article__cta-block {
  background: var(--color-teal-light);
  border: 1px solid rgba(42,157,143,0.25);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  text-align: center;
  margin-top: 48px;
}

.article__cta-block h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.article__cta-block p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* ── Products section on homepage ── */
.products-preview {
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.products-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ── Catalog ── */
.catalog-page { padding: 60px 0 80px; }

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

.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 40px;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--color-border);
  background: rgba(255,255,255,0.72);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: var(--color-teal-light);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Checkout ── */
.checkout-page {
  padding: 48px 0 80px;
  background: var(--color-bg);
  min-height: 100vh;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.checkout-summary {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 28px;
  position: sticky;
  top: 80px;
}

.checkout-summary__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.checkout-product-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.checkout-product-line__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  object-fit: contain;
  flex-shrink: 0;
}

.checkout-product-line__info { flex: 1; }

.checkout-product-line__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.checkout-product-line__price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-coral);
  white-space: nowrap;
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-dark);
}

.checkout-summary__cod {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--color-teal-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-teal-dark);
}

.checkout-seller {
  margin-top: 20px;
  padding: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.checkout-seller__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.checkout-seller a {
  color: var(--color-teal);
}

.checkout-form-wrap {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 36px;
}

.checkout-form-section { margin-bottom: 32px; }

.checkout-form-section__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(42,157,143,0.12);
}

.form-field input.error,
.form-field select.error { border-color: #e74c3c; }

.form-field .error-msg {
  font-size: 12px;
  color: #e74c3c;
  display: none;
}

.form-field input.error + .error-msg,
.form-field select.error + .error-msg { display: block; }

.form-field .field-error {
  font-size: 12px;
  color: #e74c3c;
  display: none;
}
.form-field.has-error .field-error { display: block; }
.form-field.has-error input,
.form-field.has-error select { border-color: #e74c3c; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
  margin-bottom: 12px;
}

.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--color-teal);
  margin-top: 1px;
}

.checkout-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  background: var(--color-coral);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.checkout-submit:hover {
  background: var(--color-coral-dark);
  box-shadow: 0 6px 24px rgba(232,115,74,0.35);
}

.checkout-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.checkout-order-terms {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-top: 12px;
  text-align: center;
}

.checkout-order-terms a { color: var(--color-teal); text-decoration: underline; }

/* ── Spec table ── */
.table-scroll {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: var(--color-white);
}

.spec-table th,
.spec-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  font-family: var(--font-body);
}

.spec-table thead th {
  background: var(--color-dark);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
}

.spec-table__label {
  background: #f9fbfc;
  font-weight: 600;
  text-align: left;
  color: var(--color-dark);
}

.spec-table tbody th.spec-table__label { text-align: left; }

.spec-table__hl {
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
  font-weight: 700;
}

.spec-table thead th.spec-table__hl {
  background: var(--color-teal);
  color: #fff;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--color-dark);
  padding: 56px 0 60px;
  text-align: center;
}

.page-hero__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.50);
  margin-bottom: 14px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.page-hero__title .accent { color: var(--color-teal); }

.page-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-top: 16px;
  max-width: 560px;
  margin-inline: auto;
}

/* ── Catalog why section ── */
.why-section {
  padding: 72px 0;
  background: var(--color-white);
}

/* ── Legal pages ── */
.legal-content {
  padding: 56px 0 80px;
}

.legal-content h1 {
  font-size: clamp(24px, 4vw, 38px);
  margin-bottom: 8px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--color-dark);
  font-family: var(--font-display);
}

.legal-content p {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-content ul {
  margin: 0 0 16px 20px;
  list-style: disc;
}

.legal-content ul li {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.65;
}

.legal-content a { color: var(--color-teal); text-decoration: underline; }

/* ── Quantity selector ── */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--color-border);
  border-radius: 50px;
  overflow: hidden;
  background: var(--color-white);
  width: fit-content;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--color-dark);
  transition: background var(--transition);
}

.qty-btn:hover { background: var(--color-bg); }

.qty-input {
  width: 40px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border: none;
  outline: none;
  color: var(--color-dark);
  background: transparent;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { margin-top: 20px; }
  .hero__badge--tl { top: 0; left: 0; }
  .hero__badge--tr { top: 0; right: 0; }
  .hero__badge--bl { bottom: 0; left: 0; }
  .hero__badge--br { bottom: 0; right: 0; }
  .products-preview__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; gap: 0; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links--open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-dark);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    z-index: 99;
  }
  .nav__links--open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::after { display: none; }
  .products-preview__grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__disclaimer-text { text-align: left; }
  .checkout-form-wrap { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .hero__product-wrap { width: 260px; }
}

@media (max-width: 480px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .checkout-layout { gap: 24px; }
}

/* Progressive-enhancement safety (injected by builder): scroll-reveal blocks stay VISIBLE
   unless JS confirms it can animate them by adding .js-anim to <html>. Guarantees a
   truncated page or a failed script can never leave content permanently hidden. */
html:not(.js-anim) .reveal,
html:not(.js-anim) .reveal-left,
html:not(.js-anim) .reveal-right,
html:not(.js-anim) .reveal-scale,
html:not(.js-anim) .stagger-child {
  opacity: 1 !important;
  transform: none !important;
}
