/* Motixor — editorial dark / tech-wellness 2026 */

:root {
  --color-bg: #0c0f14;
  --color-bg-elevated: #12161c;
  --color-bg-alt: #181e27;
  --color-surface: rgba(24, 30, 39, 0.72);
  --color-accent: #00d4aa;
  --color-accent-dim: rgba(0, 212, 170, 0.15);
  --color-accent-hover: #33e0c0;
  --color-text: #e8eaef;
  --color-text-muted: #9aa3b2;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(0, 212, 170, 0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --header-blur: blur(16px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% -20%, rgba(0, 212, 170, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(88, 101, 242, 0.06), transparent 45%);
  background-attachment: fixed;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 20, 0.75);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.logo:hover {
  opacity: 0.92;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.25);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 212, 170, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--secondary:hover {
  background: var(--color-accent-dim);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn--light {
  background: var(--color-bg);
  color: var(--color-accent);
  border: 2px solid var(--color-border-strong);
}

.btn--light:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  padding: 48px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(55%, 640px);
  height: 120px;
  background: linear-gradient(135deg, transparent 40%, var(--color-accent-dim));
  pointer-events: none;
}

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

.hero__content {
  padding: 24px 0 56px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  padding: 8px 18px;
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--color-text);
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.hero__text {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero__image {
  min-height: 420px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 92%);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -32px;
  position: relative;
  z-index: 2;
}

.feature-card {
  padding: 28px 20px;
  text-align: center;
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-right: none;
  transition: border-color 0.2s ease;
}

.feature-card:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.feature-card:last-child {
  border-right: 1px solid var(--color-border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.feature-card:hover {
  border-color: var(--color-border-strong);
}

.feature-card__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 10px;
  filter: grayscale(0.2);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

/* Reviews */
.reviews {
  padding: 88px 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.reviews__inner {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 56px;
  align-items: start;
}

.reviews__lead {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.reviews__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 28px;
  line-height: 1.3;
}

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

.review-card {
  padding: 28px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.review-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
  border: 2px solid var(--color-accent);
}

.review-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 14px;
  line-height: 1.65;
}

.review-card__author {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

/* Ingredients */
.ingredients {
  padding: 88px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0 auto 48px;
  max-width: 620px;
  text-align: center;
}

.ingredients__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.ingredient-card {
  padding: 28px;
  background: var(--color-surface);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.ingredient-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 10px;
}

.ingredient-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

.ingredients__image {
  display: flex;
  justify-content: center;
}

.ingredients__img {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

/* How to use */
.how-to-use {
  padding: 88px 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

.how-to-use .section-lead {
  margin-bottom: 44px;
}

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

.step {
  padding: 36px 32px;
  background: linear-gradient(145deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  color: var(--color-text);
  border-radius: var(--radius);
  position: relative;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent);
}

.step__number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--color-accent);
  opacity: 0.35;
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
}

.step h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 12px;
  position: relative;
}

.step p {
  font-size: 0.975rem;
  margin: 0;
  color: var(--color-text-muted);
  position: relative;
}

/* Benefits */
.benefits {
  padding: 88px 0;
}

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

.benefit-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  transition: border-color 0.2s ease;
}

.benefit-card:hover {
  border-color: var(--color-border-strong);
}

.benefit-card__icon {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px;
}

.benefit-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* CTA */
.cta {
  padding: 88px 0;
  background: linear-gradient(160deg, var(--color-bg-alt) 0%, #0a1620 50%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--color-accent-dim), transparent 70%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta__box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta__box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--color-text);
}

.cta__line {
  width: 64px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 auto 22px;
  border-radius: 2px;
}

.cta__box p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  line-height: 1.75;
}

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

.faq .container {
  max-width: 900px;
}

.faq__image {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius);
  margin: 0 0 40px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.faq .section-title,
.faq .section-lead {
  text-align: left;
}

.faq .section-lead {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 28px;
}

.accordion {
  max-width: 100%;
}

.accordion__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.accordion__trigger {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-bg-alt);
  transition: background 0.2s ease;
}

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

.accordion__trigger::-webkit-details-marker {
  display: none;
}

.accordion__trigger::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.accordion__item[open] .accordion__trigger::after {
  content: "−";
}

.accordion__content {
  padding: 0 24px 20px;
}

.accordion__content p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.9375rem;
}

/* Footer */
.footer {
  padding: 56px 0 40px;
  background: #080a0e;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.footer__disclaimer {
  font-size: 0.8125rem;
  margin: 0 0 20px;
  max-width: 820px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.footer__legal {
  font-size: 0.8125rem;
  margin: 0 0 20px;
  max-width: 900px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

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

.footer__legal a:hover {
  text-decoration: underline;
}

.footer__contact {
  font-size: 0.875rem;
  margin: 0 0 28px;
  line-height: 1.85;
  color: var(--color-text);
}

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

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-bottom: 28px;
}

.footer__nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.footer__nav a:hover {
  color: var(--color-accent);
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(154, 163, 178, 0.65);
  margin: 0;
}

/* Legal inner pages */
.page-content {
  padding: 72px 0 96px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

.page-body {
  max-width: 720px;
}

.page-body h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 28px 0 10px;
}

.page-body h2:first-of-type {
  margin-top: 0;
}

.page-body p,
.page-body li {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0 0 14px;
}

.page-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

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

.page-body a:hover {
  text-decoration: underline;
}

.page-body__cta {
  margin: 24px 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__image {
    min-height: 360px;
    order: -1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero__features {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .feature-card {
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }

  .feature-card:nth-child(2n) {
    border-right: none;
  }

  .feature-card:first-child {
    border-radius: var(--radius-sm) 0 0 0;
  }

  .feature-card:nth-child(2) {
    border-radius: 0 var(--radius-sm) 0 0;
  }

  .feature-card:nth-child(3) {
    border-radius: 0 0 0 var(--radius-sm);
  }

  .feature-card:last-child {
    border-radius: 0 0 var(--radius-sm) 0;
  }

  .reviews__inner {
    grid-template-columns: 1fr;
  }

  .reviews__carousel {
    grid-template-columns: 1fr;
  }

  .ingredients__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 32px 0 0;
  }

  .hero__features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-radius: 0 !important;
    border-right: 1px solid var(--color-border) !important;
  }

  .feature-card:first-child {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
  }

  .feature-card:last-child {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important;
  }

  .reviews,
  .ingredients,
  .how-to-use,
  .benefits,
  .cta,
  .faq {
    padding: 64px 0;
  }

  .cta__box p {
    font-size: 1rem;
  }

  .footer__nav {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .header__inner {
    min-height: 60px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .btn {
    padding: 13px 22px;
    font-size: 0.875rem;
    text-align: center;
  }

  .hero .btn--primary,
  .reviews .btn--secondary,
  .cta .btn--light {
    width: 100%;
  }

  .hero__image {
    min-height: 280px;
  }
}
