/* ==========================================================================
   MotionNova / Arteolin — stylesheet
   naming: atomic utilities + component classes
   ========================================================================== */

/* --- Opinionated reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 600; color: var(--color-text); }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; border: none; background: none; font: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Color variables (basic-colors) --- */
:root {
  --color-primary: #ff7a29;
  --color-primary-dark: #e35f13;
  --color-secondary: #6b2d90;
  --color-accent: #2d1b4e;
  --color-text: #241f2e;
  --color-text-light: #6b6478;
  --color-bg: #faf7f5;
  --color-bg-alt: #fff3ea;
  --color-white: #ffffff;
  --color-success: #2f9e44;
  --color-danger: #d1345b;

  /* spacing (modular-8px) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;

  --border-radius: 14px;
  --shadow: 0 6px 20px rgba(45, 27, 78, .12);
  --transition: .25s ease;
}

/* --- typography (tech-minimalist) --- */
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; }
p { font-size: 1rem; line-height: 1.6; color: var(--color-text-light); }

/* --- utility classes (atomic) --- */
.d-flex { display: flex; }
.d-grid { display: grid; }
.flex-col { flex-direction: column; }
.jc-between { justify-content: space-between; }
.jc-center { justify-content: center; }
.ai-center { align-items: center; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.p-2 { padding: var(--space-2); }
.p-4 { padding: var(--space-4); }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.fw-bold { font-weight: 700; }
.fs-sm { font-size: .85rem; }
.fs-lg { font-size: 1.15rem; }
.bg-white { background: var(--color-white); }
.rounded { border-radius: var(--border-radius); }
.shadow { box-shadow: var(--shadow); }

/* --- layout container (percentage units) --- */
.wrap { width: 92%; max-width: 1200px; margin: 0 auto; }

/* --- base section rhythm --- */
.section { padding: var(--space-8) 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  color: #f4eefc;
}
.section--dark p, .section--dark li, .section--dark span { color: #d9c9ee; }
.section--dark h2, .section--dark h3 { color: #ffffff; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto var(--space-6); }
.section__label {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--color-primary); margin-bottom: var(--space-2);
}
.section__lead { color: var(--color-text-light); font-size: 1.05rem; }
.section--dark .section__lead { color: #d9c9ee; }

/* --- section divider (double-wave) --- */
.section-divider { position: relative; line-height: 0; }
.section-divider svg { display: block; width: 100%; height: 70px; }
.section-divider .w1 { fill: rgba(255, 122, 41, .18); }
.section-divider .w2 { fill: var(--color-bg-alt); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(45, 27, 78, .08);
}
.site-header__bar {
  width: 92%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-2) 0;
}
.site-header__logo { display: flex; align-items: center; gap: 8px; }
.site-header__logo img { height: 2rem; width: auto; }
.site-header__phone {
  display: none; align-items: center; gap: 6px; font-weight: 700; color: var(--color-accent);
}
.site-header__phone svg { width: 18px; height: 18px; fill: var(--color-primary); }

[data-mm-menu] ul {
  list-style: none; margin: 0; padding: 0;
}
.site-header__nav-link {
  display: block; padding: 14px 0; font-weight: 600; color: var(--mm-text, var(--color-text));
  border-bottom: 1px solid rgba(45, 27, 78, .08);
  transition: color var(--transition);
}
.site-header__nav-link:hover { color: var(--color-primary); text-decoration: none; }
.site-header__nav-cta {
  display: inline-block; margin-top: var(--space-2);
  background: var(--color-primary); color: #fff !important; text-align: center;
  padding: 14px; border-radius: var(--border-radius); font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 122, 41, .35);
}
.site-header__nav-phone {
  display: block; margin-top: var(--space-3); font-weight: 700; color: var(--color-accent) !important;
}

@media (min-width: 768px) {
  .site-header__phone { display: flex; }
  [data-mm-menu] ul { display: flex; flex-direction: row; align-items: center; gap: var(--space-4); }
  .site-header__nav-link { border-bottom: none; padding: 8px 0; }
  .site-header__nav-cta { margin-top: 0; padding: 10px 20px; }
  .site-header__nav-phone { display: none; }
}

[data-mm-header] {
  --mm-bg: #ffffff;
  --mm-text: #241f2e;
  --mm-primary: #ff7a29;
  --mm-overlay-bg: rgba(36, 31, 46, .55);
}
[data-mm-toggle] span { background: var(--color-accent); border-radius: 2px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: var(--space-8) 0 var(--space-6); }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; z-index: 0;
  padding: var(--space-8) 0;
}
.hero__slide.is-active { opacity: 1; position: relative; z-index: 1; }
.hero__slide:first-child { position: relative; }
.hero__bg-1 { background: linear-gradient(135deg, #ffb37a 0%, #ff7a29 45%, #c2185b 100%); }
.hero__bg-2 { background: linear-gradient(135deg, #6b2d90 0%, #c2185b 60%, #ff7a29 100%); }
.hero__bg-3 { background: linear-gradient(135deg, #2d1b4e 0%, #6b2d90 55%, #ff9d4d 100%); }

.hero__grid {
  width: 92%; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center;
}
.hero__content h1, .hero__content h2, .hero__content p, .hero__eyebrow { color: #fff; }
/* Only the first (initially-active) slide uses a real <h1> — a page must have
   exactly one. The other slides reuse the h1's size/weight via h2 so the
   carousel looks identical as it rotates. */
.hero__content h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; }
.hero__eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; background: rgba(255, 255, 255, .18); padding: 6px 14px;
  border-radius: 999px; margin-bottom: var(--space-3);
}
.hero__content p { color: rgba(255, 255, 255, .92); font-size: 1.1rem; margin: var(--space-2) 0 var(--space-4); }
.hero__rating { display: flex; align-items: center; gap: 8px; color: #fff; font-size: .9rem; margin-bottom: var(--space-3); }
.hero__stars { color: #ffd76a; letter-spacing: 2px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.hero__badge {
  font-size: .8rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .16);
  padding: 6px 12px; border-radius: 999px;
}
.hero__image-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero__blob {
  position: absolute; width: 92%; padding-top: 92%; border-radius: 46% 54% 60% 40% / 50% 46% 54% 50%;
  background: rgba(255, 255, 255, .16); z-index: 0;
}
.hero__image {
  position: relative; z-index: 1; width: 78%; border-radius: 24px;
  box-shadow: 0 24px 48px rgba(45, 27, 78, .35);
}
.hero__price {
  position: relative; z-index: 2; background: #fff; border-radius: var(--border-radius);
  padding: var(--space-2) var(--space-3); display: inline-flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow); margin-top: -32px;
}
.hero__price-old { text-decoration: line-through; color: var(--color-text-light); font-size: .95rem; }
.hero__price-new { font-size: 1.4rem; font-weight: 800; color: var(--color-primary-dark); }
.hero__price-badge {
  background: var(--color-danger); color: #fff; font-size: .75rem; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
}
.hero__dots { display: flex; gap: 8px; justify-content: center; margin-top: var(--space-4); position: relative; z-index: 2; }
.hero__price-wrap { margin-top: -20px; margin-bottom: var(--space-4); position: relative; z-index: 3; }
.hero__dot { width: 10px; height: 10px; padding: 10px; background-clip: content-box; box-sizing: content-box; border: none; border-radius: 50%; background-color: rgba(255, 255, 255, .5); cursor: pointer; }
.hero__dot.is-active { background-color: #fff; }

@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image-wrap { order: -1; margin-bottom: var(--space-4); }
}

/* --- button (shadow-pop) --- */
.btn {
  display: inline-block; border-radius: 10px; padding: .95rem 1.9rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); font-size: 1rem; border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-primary); color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 41, .45);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(255, 122, 41, .6); transform: translateY(-2px); text-decoration: none; }
.btn-outline {
  background: transparent; border-color: #fff; color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, .15); text-decoration: none; }
.btn-large { padding: 1.1rem 2.4rem; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ==========================================================================
   PROBLEM / WHY IT MATTERS
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-4); }
.why-card { background: var(--color-white); border-radius: var(--border-radius); padding: var(--space-4); box-shadow: var(--shadow); }
.why-card__num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--color-bg-alt); color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: var(--space-2);
}

/* ==========================================================================
   BENEFITS (ribbon-corner cards)
   ========================================================================== */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-4); }
.benefit-card {
  position: relative; padding: var(--space-4); border-radius: 12px; background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.benefit-card .ribbon {
  position: absolute; top: 14px; right: -34px; transform: rotate(45deg);
  background: var(--color-primary); color: #fff; padding: .25rem 2.5rem; font-size: .7rem; font-weight: 700;
}
.benefit-card__icon { font-size: 1.8rem; margin-bottom: var(--space-2); }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: var(--space-1); }

/* ==========================================================================
   COMPOSITION (our-dna)
   ========================================================================== */
.composition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-3); }
.ingredient-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--border-radius); padding: var(--space-3);
}
.ingredient-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.ingredient-card p { color: #e6d8f5; font-size: .92rem; }
.usage-box {
  margin-top: var(--space-5); background: rgba(255, 255, 255, .1); border-radius: var(--border-radius);
  padding: var(--space-4); text-align: center;
}
.usage-box p { color: #fff; font-size: 1rem; }

/* ==========================================================================
   SOCIAL PROOF (love-letters)
   ========================================================================== */
.proof-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-3); margin-bottom: var(--space-6); text-align: center; }
.proof-stat__num { font-size: 2rem; font-weight: 800; color: var(--color-primary-dark); }
.proof-stat__label { color: var(--color-text-light); font-size: .9rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-4); }
.testimonial-card { background: #fff; border-radius: var(--border-radius); padding: var(--space-4); box-shadow: var(--shadow); }
.testimonial-card__stars { color: #ffb400; margin-bottom: var(--space-2); }
.testimonial-card__name { font-weight: 700; margin-top: var(--space-2); }
.testimonial-card__meta { font-size: .8rem; color: var(--color-success); font-weight: 600; }

/* ==========================================================================
   HOW TO USE (magic)
   ========================================================================== */
.usage-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
.usage-step { text-align: center; padding: var(--space-3); }
.usage-step__icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--color-bg-alt); color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-2); font-size: 1.4rem; font-weight: 800;
}

/* ==========================================================================
   ORDER FORM (sidebar-form + scroll-reveal)
   ========================================================================== */
.order-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-6); align-items: flex-start; }
.order-info__step { display: flex; gap: var(--space-2); margin-bottom: var(--space-3); align-items: flex-start; }
.order-info { display: flex; flex-direction: column; }
.order-info__step-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem;
}
.order-form-card {
  position: sticky; top: 90px;
  background: #fff; border-radius: var(--border-radius); padding: var(--space-4);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(40px); transition: opacity .6s ease, transform .6s ease;
}
.order-form-card.is-revealed { opacity: 1; transform: translateY(0); }
.order-form-card__price { text-align: center; margin-bottom: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px dashed rgba(45, 27, 78, .15); }
.form-group { margin-bottom: var(--space-3); }
.form-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid rgba(45, 27, 78, .18); border-radius: 10px;
  font-size: 1rem; transition: border-color var(--transition);
}
.form-input:focus { outline: none; border-color: var(--color-primary); }
.form-checkbox { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--color-text-light); }
.form-checkbox input { margin-top: 3px; }
.form-error { color: var(--color-danger); font-size: .82rem; margin-top: 4px; display: none; }
.form-error.is-visible { display: block; }
.order-form-note { font-size: .78rem; color: var(--color-text-light); text-align: center; margin-top: var(--space-2); }

@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-form-card { position: static; }
}

/* ==========================================================================
   FAQ (boxed-shadow)
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 14px; padding: 1.75rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .07); margin-bottom: 1.25rem; }
.faq-q { font-weight: 700; margin-bottom: .6rem; }
.faq-a { color: var(--color-text-light); }

/* ==========================================================================
   TEAM / TRUST NOTE (with-team, text only)
   ========================================================================== */
.trust-note {
  max-width: 720px; margin: var(--space-6) auto 0; text-align: center; padding: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.trust-note p { color: #f0e6fa; font-style: italic; }
.trust-note__author { margin-top: var(--space-2); font-weight: 700; font-style: normal; color: #fff !important; }

/* ==========================================================================
   FOOTER (cta-band-footer)
   ========================================================================== */
.footer-cta { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-danger) 100%); color: #fff; text-align: center; padding: var(--space-6) 0; }
.footer-cta h2 { color: #fff; margin-bottom: var(--space-2); }
.footer-cta p { color: rgba(255, 255, 255, .9); margin-bottom: var(--space-3); }

.site-footer { background: #1c1424; color: #cbb9de; padding: var(--space-5) 0 var(--space-3); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-4); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--space-2); }
.site-footer p, .site-footer li, .site-footer span, .site-footer a { color: #cbb9de; font-size: .88rem; }
.site-footer a:hover { color: #fff; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__disclaimer {
  font-size: .8rem; color: #a996bd; border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: var(--space-3); margin-top: var(--space-3); text-align: center;
}
.site-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
  padding-top: var(--space-3); font-size: .8rem; color: #a996bd;
}

/* ==========================================================================
   MOBILE BOTTOM NAV (mobile_behavior: bottom-nav)
   ========================================================================== */
.bottom-nav { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 68px; }
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
    background: #fff; box-shadow: 0 -4px 16px rgba(45, 27, 78, .15);
    justify-content: space-around; padding: 8px 0;
  }
  .bottom-nav__item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: .68rem; font-weight: 700; color: var(--color-text); padding: 4px 10px;
  }
  .bottom-nav__item svg { width: 20px; height: 20px; fill: var(--color-primary); }
  .bottom-nav__item--primary { color: var(--color-primary-dark); }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-hero { padding: var(--space-6) 0 var(--space-4); background: var(--color-bg-alt); }
.legal-content { max-width: 780px; margin: 0 auto; padding: var(--space-6) 0; }
.legal-content h2 { margin: var(--space-4) 0 var(--space-2); }
.legal-content h3 { margin: var(--space-3) 0 var(--space-1); }
.legal-content p, .legal-content li { color: var(--color-text-light); margin-bottom: var(--space-2); }
.legal-content ul { padding-left: 1.2rem; list-style: disc; }
.legal-updated { font-size: .85rem; color: var(--color-text-light); margin-bottom: var(--space-3); }

.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: var(--space-3) 0; border-radius: 10px;
  box-shadow: inset -12px 0 12px -12px rgba(0, 0, 0, .12);
}
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 560px; }
.table-scroll th, .table-scroll td { text-align: left; padding: 10px 14px; border: 1px solid rgba(45, 27, 78, .12); font-size: .9rem; }
.table-scroll th { background: var(--color-bg-alt); }
.table-hint { font-size: .78rem; color: var(--color-text-light); margin-bottom: 6px; }

.success-box {
  max-width: 560px; margin: var(--space-6) auto; text-align: center; padding: var(--space-5);
  background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow);
}
.success-box__icon { font-size: 2.6rem; margin-bottom: var(--space-2); }

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: #1c1424; color: #e9def4; padding: var(--space-3);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
  transform: translateY(120%); transition: transform .4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__wrap { width: 92%; max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; }
.cookie-banner p { color: #cbb9de; font-size: .88rem; max-width: 640px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__btn { padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: .85rem; }
.cookie-banner__accept { background: var(--color-primary); color: #fff; }
.cookie-banner__reject { background: transparent; border: 1.5px solid #cbb9de; color: #e9def4; }
.cookie-banner__config { background: transparent; color: #ffd76a; text-decoration: underline; }

.cookie-modal {
  position: fixed; inset: 0; z-index: 1300; display: none; align-items: center; justify-content: center;
  background: rgba(28, 20, 36, .6); padding: var(--space-3);
}
.cookie-modal.is-visible { display: flex; }
.cookie-modal__box { background: #fff; border-radius: var(--border-radius); padding: var(--space-4); max-width: 520px; width: 100%; max-height: 84vh; overflow-y: auto; }
.cookie-modal__row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid rgba(45, 27, 78, .1); }
.cookie-modal__row:last-of-type { border-bottom: none; }
.cookie-modal__actions { display: flex; gap: 10px; margin-top: var(--space-3); flex-wrap: wrap; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
