/* =========================================================
   Noctalis · Votanika — Landing (mobile-first, premium)
   Palette: #FFFFFF #7CB89A #5FA882 #4A8F6F #1A1A1A
   ========================================================= */

:root {
  --white: #ffffff;
  --mint: #7cb89a;
  --green: #5fa882;
  --green-deep: #4a8f6f;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --muted: #5c6570;
  --border: rgba(26, 26, 26, 0.08);
  --shadow: 0 16px 48px rgba(74, 143, 111, 0.16);
  --shadow-soft: 0 8px 28px rgba(74, 143, 111, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 480px;
  --grad: linear-gradient(180deg, #ffffff 0%, #e8f5ef 45%, #7cb89a 100%);
  --grad-soft: linear-gradient(165deg, #ffffff 0%, #f3faf6 55%, #d8eee3 100%);
  --section-gap: 3.25rem;
  --sticky-cta-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.has-sticky-cta {
  padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px));
}

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

a {
  color: var(--green-deep);
}

strong {
  font-weight: 600;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--green-deep);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ----- Topbar ----- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.brand {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.brand-dot {
  color: var(--muted);
  letter-spacing: 0;
}

.brand-product {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-soft);
  padding: 0 0 3rem;
}

.hero__botanical {
  position: relative;
  width: 100%;
  height: clamp(140px, 32vw, 220px);
  overflow: hidden;
}

.hero__botanical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.02);
}

.hero__botanical-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.2) 0%, rgba(26, 26, 26, 0.05) 40%, transparent 62%),
    linear-gradient(180deg, transparent 50%, rgba(243, 250, 246, 0.65) 82%, #f3faf6 100%);
  pointer-events: none;
}

.hero__botanical-label {
  position: absolute;
  left: 1.35rem;
  bottom: 0.9rem;
  margin: 0;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}


.hero__glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(124, 184, 154, 0.45), transparent 70%);
  pointer-events: none;
}

.hero__content {
  padding: 1.25rem 1.35rem 0;
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(95, 168, 130, 0.35);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 8vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero h1 .accent {
  color: var(--green-deep);
  display: inline-block;
  margin-top: 0.1em;
}

.hero__pitch {
  margin: 0 auto 1.5rem;
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Product frame — packaging-like wash */
.hero__product {
  position: relative;
  margin: 0 auto 1.75rem;
  max-width: 360px;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 22px;
  background: linear-gradient(165deg, #ffffff 0%, #f4fbf7 40%, #cfe9db 100%);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.hero__product-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(180deg, transparent 50%, rgba(124, 184, 154, 0.22) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__product picture,
.hero__product img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 14px;
  object-fit: contain;
  background: transparent;
}

.hero__bullets {
  list-style: none;
  margin: 0 auto 1.25rem;
  padding: 0;
  max-width: 340px;
  text-align: left;
}

.hero__bullets li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.7rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}

.hero__bullets li:last-child {
  border-bottom: none;
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(95, 168, 130, 0.25);
}

/* Trust chips */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1.75rem;
  max-width: 400px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(95, 168, 130, 0.3);
  border-radius: 999px;
  white-space: nowrap;
}

.trust-chip__icon {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--green);
  flex-shrink: 0;
}

.trust-chip__icon svg {
  display: block;
}

.hero__micro {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.55rem;
  min-height: 48px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 3px solid rgba(95, 168, 130, 0.55);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 8px 24px rgba(74, 143, 111, 0.4);
}

.btn--primary:hover {
  box-shadow: 0 10px 28px rgba(74, 143, 111, 0.5);
}

.btn--lg {
  padding: 1.1rem 2rem;
  font-size: 1.1rem;
  min-height: 52px;
  width: 100%;
  max-width: 320px;
}

.btn--block {
  width: 100%;
  max-width: none;
}

.btn--ghost {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--mint);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(124, 184, 154, 0.12);
}

/* ----- Sections shared ----- */
.section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  color: var(--ink);
}

.benefits,
.howto,
.product-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-gap) 1.35rem;
}

/* ----- Benefits ----- */
.benefits {
  background: var(--white);
}

.benefits__grid {
  display: grid;
  gap: 1.1rem;
}

.card {
  padding: 1.4rem 1.3rem;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-soft);
}

.card__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--white);
  border: 1px solid rgba(95, 168, 130, 0.25);
  box-shadow: 0 4px 12px rgba(74, 143, 111, 0.12);
}

.card__icon svg {
  display: block;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ----- Offer strip ----- */
.offer {
  padding: 0.5rem 1.35rem var(--section-gap);
}

.offer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.1rem 1.5rem 2rem;
  text-align: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--mint) 0%, var(--green) 45%, var(--green-deep) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offer__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.offer__price {
  margin: 0 0 0.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1;
}

.offer__currency {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.55rem;
  letter-spacing: -0.02em;
  opacity: 0.95;
}

.offer__amount {
  font-size: clamp(3.5rem, 14vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.offer__note {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.95;
  letter-spacing: 0.01em;
}

.offer__cod {
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.offer .btn--primary {
  background: var(--white);
  color: var(--green-deep);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.offer .btn--primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.offer .btn--primary:focus-visible {
  outline-color: rgba(255, 255, 255, 0.8);
}

/* ----- How to ----- */
.howto {
  background: #f8fcfa;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.howto .section-title,
.howto__steps {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.howto__steps {
  list-style: none;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  display: grid;
  gap: 1rem;
}

.howto__steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.step-num {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.howto__steps strong {
  display: block;
  margin-bottom: 0.15rem;
}

.howto__steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ----- Order form ----- */
.order {
  padding: var(--section-gap) 1.35rem 3.5rem;
  background: var(--grad-soft);
  scroll-margin-top: 4rem;
}

.order__panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.35rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.order__panel h2 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  text-align: center;
}

.order__lead {
  margin: 0 0 1.65rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: 1.2rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.9rem 1.05rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fafafa;
  border: 1.5px solid #d8dde3;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: #c5cdd6;
}

.field input:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(95, 168, 130, 0.22);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #b91c1c;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.15);
}

.field__error {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #b91c1c;
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 200px;
}

.qty input {
  text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
  min-height: 48px;
}

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

.qty__btn {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--green-deep);
  background: #eef8f3;
  border: 1.5px solid var(--mint);
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.qty__btn:hover {
  background: rgba(124, 184, 154, 0.35);
}

.qty__btn:focus-visible {
  outline: 3px solid rgba(95, 168, 130, 0.55);
  outline-offset: 2px;
}

.qty__btn:active {
  background: var(--mint);
  color: var(--white);
}

/* Order summary above submit (static — sticky overlapped fields) */
.form__summary {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0;
  padding: 0.95rem 1.1rem;
  background: #f3faf6;
  border: 1px solid rgba(95, 168, 130, 0.28);
  border-radius: var(--radius-sm);
}

.form__summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.form__summary-row strong {
  font-size: 1.1rem;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.form__summary-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.form__trust {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Success state */
.success {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.success__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(95, 168, 130, 0.4);
}

.success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.success p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.success__detail {
  font-size: 0.9rem;
  padding: 0.85rem;
  background: #f3faf6;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
}

.success .btn {
  margin-top: 1rem;
}

/* ----- Specs ----- */
.product-detail {
  padding-bottom: 2.5rem;
}

.specs {
  margin: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.specs > div:last-child {
  border-bottom: none;
}

.specs > div:nth-child(odd) {
  background: #f8fcfa;
}

.specs dt {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-deep);
}

.specs dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ----- Footer ----- */
.footer {
  padding: 2.25rem 1.35rem 2.75rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.footer__brand {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer__place {
  margin: 0 0 1.35rem;
  font-size: 0.9rem;
  color: var(--mint);
}

.disclaimer {
  max-width: 440px;
  margin: 0 auto 1.25rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ----- Sticky mobile CTA ----- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(26, 26, 26, 0.08);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(74, 143, 111, 0.35);
  -webkit-tap-highlight-color: transparent;
}

.sticky-cta__btn:focus-visible {
  outline: 3px solid rgba(95, 168, 130, 0.55);
  outline-offset: 3px;
}

.sticky-cta__btn:active {
  transform: scale(0.98);
}

/* ----- Larger phones / desktop centered ----- */
@media (min-width: 640px) {
  :root {
    --max: 560px;
    --section-gap: 3.75rem;
  }

  .hero {
    padding-top: 2.75rem;
    padding-bottom: 3.5rem;
  }

  .hero__product {
    max-width: 400px;
    padding: 1.25rem;
  }

  .btn--lg {
    max-width: 360px;
  }

}

@media (min-width: 900px) {
  :root {
    --max: 640px;
  }

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

  .hero h1 {
    font-size: 2.75rem;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .sticky-cta,
  .card {
    transition: none;
  }
}


/* Brand logo lockup (final Noctalis mark) */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (min-width: 640px) {
  .brand-logo { height: 48px; }
}
.footer__place a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
