/* ============================================================
   patternART — Promotional Website Styles
   Design language: Sunset marketplace at golden hour
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors */
  --aubergine: #240029;
  --fuchsia: #000000;
  /*df37a7*/
  --heather: #6d526d;
  --glowstick: #ffcc11;
  --plum-tint: #d4ccd4;
  --smoke: #bbadbb;
  --canvas: #ffffff;
  --rose-glow: #ffbdd3;
  --warm-wash: #fff1bd;
  --sun-yellow: #ffcb0f;
  --forest: #15803d;
  --honeydew: #dcfce7;
  --mint: #bbf7d0;

  /* Gradients */
  --gradient-hero: linear-gradient(145deg, #fbf9f5, #fff8e7 40%, #fff1bd 70%, #ffcb0f);
  --gradient-hero-soft: linear-gradient(145deg, rgba(251, 249, 245, 0.4), rgba(255, 248, 231, 0.3) 40%, rgba(255, 241, 189, 0.2) 60%, rgba(255, 203, 15, 0.15));

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', ui-monospace, monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-5xl: 96px;
  --section-gap: 100px;

  /* Layout */
  --max-width: 1200px;
  --content-narrow: 720px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0px 0px 0px 1px rgba(41, 0, 41, 0.09), 0px 2px 4px rgba(32, 0, 36, 0.06);
  --shadow-elevated: 0px 0px 0px 1px rgba(32, 0, 36, 0.08), 0px 4px 8px rgba(32, 0, 36, 0.04), 0px 12px 24px rgba(32, 0, 36, 0.06), 0px 24px 48px rgba(32, 0, 36, 0.08);
  --shadow-glow: 0 0 40px rgba(223, 55, 167, 0.15), 0 0 80px rgba(255, 189, 211, 0.1);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.15s ease;
  --transition-mid: 0.25s ease;
  --transition-slow: 0.4s var(--ease-out-expo);
}

/* ---------- Language Visibility System ---------- */
[data-lang="zh"] [data-lang-content="en"] {
  display: none !important;
}

[data-lang="zh"] [data-lang-content="zh"] {
  display: block !important;
}

[data-lang="en"] [data-lang-content="zh"] {
  display: none !important;
}

[data-lang="en"] [data-lang-content="en"] {
  display: block !important;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--aubergine);
  background-color: var(--canvas);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--heather);
  line-height: 1.4;
}

.heading-display {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--aubergine);
}

.heading-lg {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--aubergine);
}

.heading-md {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--aubergine);
}

.heading-sm {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--aubergine);
}

.body-lg {
  font-size: 18px;
  line-height: 1.65;
  color: var(--heather);
}

.body-md {
  font-size: 16px;
  line-height: 1.6;
  color: var(--heather);
}

.body-sm {
  font-size: 14px;
  line-height: 1.55;
  color: var(--heather);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.section {
  padding: var(--section-gap) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--fuchsia);
  color: var(--canvas);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  background: #e8449f;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(223, 55, 167, 0.35), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: rgba(36, 0, 41, 0.06);
  color: var(--aubergine);
  box-shadow: inset 0 0 0 1px rgba(36, 0, 41, 0.1);
}

.btn--ghost:hover {
  background: rgba(36, 0, 41, 0.1);
  box-shadow: inset 0 0 0 1px rgba(36, 0, 41, 0.18);
}

.btn--dark {
  background: var(--canvas);
  color: var(--aubergine);
  font-weight: 700;
}

.btn--dark:hover {
  background: var(--warm-wash);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn svg,
.btn img {
  width: 18px;
  height: 18px;
}

/* Apple download badge */
.apple-badge {
  height: 44px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.apple-badge:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease, padding 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(36, 0, 41, 0.08);
  box-shadow: 0 4px 20px rgba(36, 0, 41, 0.04);
  padding: 10px 0;
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--aubergine);
}

.nav__logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

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

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--heather);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.nav__link:hover {
  color: var(--aubergine);
  background: rgba(36, 0, 41, 0.05);
}

.nav__lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--heather);
  border-radius: var(--radius-pill);
  border: 1px solid var(--plum-tint);
  transition: all var(--transition-fast);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  box-sizing: border-box;
  line-height: 1;
}

.nav__lang-toggle:hover {
  border-color: var(--heather);
  color: var(--aubergine);
  background: rgba(255, 255, 255, 0.9);
}

.btn--sm,
.nav__cta {
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav__cta {
  margin-left: 6px;
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--aubergine);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__mobile-menu {
  display: none;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 72px 0 32px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero__text {
  max-width: 580px;
}

.hero__eyebrow {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  background: rgba(36, 0, 41, 0.07);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--fuchsia);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.hero__title {
  margin-bottom: 16px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__title span.nowrap {
  white-space: nowrap;
}

.hero__subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(36, 0, 41, 0.75);
  margin-bottom: 24px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  transform: translateX(15px);
  /* Shift phone showcase exactly 15px right */
}

.hero__phone-frame {
  position: relative;
  width: 260px;
  height: 520px;
  border-radius: 38px;
  background: #1a1a1a;
  padding: 7px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 20px 50px rgba(36, 0, 41, 0.25),
    0 35px 80px rgba(36, 0, 41, 0.15);
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}

.hero__phone-frame:hover {
  transform: perspective(900px) rotateY(-1deg) rotateX(1deg) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 25px 60px rgba(36, 0, 41, 0.3),
    0 45px 100px rgba(36, 0, 41, 0.2);
}

.hero__phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: var(--gradient-hero);
  position: relative;
}

.hero__phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 14px;
  z-index: 2;
}

.hero__floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: 0 10px 30px rgba(36, 0, 41, 0.1), 0 1px 3px rgba(36, 0, 41, 0.05);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.hero__floating-card--1 {
  bottom: 60px;
  left: -32px;
  animation-delay: 0s;
}

.hero__floating-card--2 {
  top: 60px;
  right: -32px;
  animation-delay: -2.5s;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(36, 0, 41, 0.08);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--aubergine);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(36, 0, 41, 0.06);
}

.trust-badge svg {
  color: var(--forest);
  width: 14px;
  height: 14px;
}

/* Index Marketing FAQ Section */
.index-faq {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, var(--canvas) 0%, rgba(255, 241, 189, 0.15) 100%);
  position: relative;
}

.index-faq__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.index-faq__grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.index-faq__card {
  background: var(--canvas);
  border: 1px solid var(--plum-tint);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-mid);
  box-shadow: var(--shadow-card);
}

.index-faq__card:hover {
  border-color: var(--heather);
  box-shadow: var(--shadow-elevated);
}

.index-faq__card.active {
  border-color: var(--fuchsia);
  box-shadow: 0 4px 20px rgba(223, 55, 167, 0.1);
}

.index-faq__question {
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 650;
  color: var(--aubergine);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.index-faq__card.active .index-faq__question {
  color: var(--fuchsia);
}

.index-faq__indicator {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(36, 0, 41, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--heather);
  transition: all 0.35s ease;
}

.index-faq__card.active .index-faq__indicator {
  transform: rotate(45deg);
  background: rgba(223, 55, 167, 0.12);
  color: var(--fuchsia);
}

.index-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.3s ease;
  padding: 0 28px;
}

.index-faq__card.active .index-faq__answer {
  max-height: 280px;
  padding-bottom: 24px;
}

.index-faq__answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--heather);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero__card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heather);
  margin-bottom: 4px;
}

.hero__card-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--aubergine);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bob 2s ease-in-out infinite;
}

.hero__scroll-hint span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(36, 0, 41, 0.4);
  letter-spacing: 0.05em;
}

.hero__scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(36, 0, 41, 0.3), transparent);
}

@keyframes bob {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ---------- Scenes Section ---------- */
.scene {
  padding: 72px 0;
  position: relative;
}

.scene--wallpaper {
  padding: 72px 0;
}

.scene:nth-child(even) {
  background: rgba(36, 0, 41, 0.015);
}

.scene__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.scene__inner--reverse {
  direction: rtl;
}

.scene__inner--reverse>* {
  direction: ltr;
}

.scene__text {
  max-width: 480px;
}

.scene--wallpaper .scene__text {
  max-width: 540px;
}

.scene__eyebrow {
  margin-bottom: 14px;
}

.scene__title {
  margin-bottom: 16px;
}

.scene__desc {
  margin-bottom: 24px;
}

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

.scene__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.scene__feature-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(223, 55, 167, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fuchsia);
  font-size: 13px;
}

.scene__feature-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--aubergine);
  font-weight: 500;
}

.scene__visual {
  position: relative;
}

.scene__image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
  transition: transform var(--transition-mid);
}

.scene__image--wallpaper {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.scene__image--wallpaper img {
  width: 100%;
  height: auto;
  display: block;
}

.scene__image:hover {
  transform: scale(1.02);
}

.scene__image img {
  width: 100%;
  display: block;
}

/* ---------- Motifs Gallery ---------- */
.motifs {
  padding: var(--section-gap) 0;
  background: var(--aubergine);
  position: relative;
  overflow: hidden;
}

.motifs__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
}

.motifs__header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.motifs__header .eyebrow {
  color: var(--smoke);
  margin-bottom: 16px;
}

.motifs__header .heading-lg {
  color: var(--canvas);
}

.motifs__header .body-lg {
  color: var(--plum-tint);
  max-width: 560px;
  margin: 16px auto 0;
}

.motifs__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -10px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.motifs__scroll-track {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0 calc(-1 * var(--space-xl));
}

.motifs__scroll-inner {
  display: flex;
  gap: 16px;
  padding: 0 var(--space-xl);
  animation: scroll-motifs 40s linear infinite;
  width: max-content;
}

@keyframes scroll-motifs {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.motif-card {
  flex-shrink: 0;
  width: 160px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: default;
}

.motif-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.motif-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  height: 64px;
  line-height: 1;
}

.motif-card__icon svg {
  display: block;
}

.motif-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--canvas);
  margin-bottom: 4px;
}

.motif-card__sub {
  font-size: 11px;
  color: var(--smoke);
  letter-spacing: 0.01em;
}

/* ---------- Palette Section ---------- */
.palettes {
  padding: var(--section-gap) 0;
}

.palettes__header {
  text-align: center;
  margin-bottom: 56px;
}

.palettes__header .body-lg {
  max-width: 520px;
  margin: 16px auto 0;
}

.palettes__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.palette-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-mid);
  cursor: default;
  position: relative;
}

.palette-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.palette-card__swatch {
  height: 100px;
  position: relative;
}

.palette-card__info {
  padding: 14px 16px;
  background: var(--canvas);
}

.palette-card__name {
  font-size: 15px;
  font-weight: 650;
  color: var(--aubergine);
}

.palette-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--smoke);
  margin-top: 2px;
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--section-gap) 0;
  background: rgba(36, 0, 41, 0.015);
}

.how-it-works__header {
  text-align: center;
  margin-bottom: 64px;
}

.how-it-works__header .body-lg {
  max-width: 480px;
  margin: 16px auto 0;
}

.how-it-works__steps {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--plum-tint), var(--fuchsia), var(--glowstick));
  border-radius: 1px;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--canvas);
  border: 2px solid var(--plum-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  font-weight: 700;
  color: var(--fuchsia);
  position: relative;
  z-index: 1;
  transition: all var(--transition-mid);
}

.step:hover .step__number {
  border-color: var(--fuchsia);
  box-shadow: 0 0 0 6px rgba(223, 55, 167, 0.1);
}

.step__title {
  font-size: 18px;
  font-weight: 650;
  color: var(--aubergine);
  margin-bottom: 10px;
}

.step__desc {
  font-size: 14px;
  color: var(--heather);
  line-height: 1.6;
}

/* ---------- Dark CTA Section ---------- */
.cta-dark {
  padding: var(--section-gap) 0;
  background: var(--aubergine);
  position: relative;
  overflow: hidden;
}

.cta-dark__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 55, 167, 0.12), transparent 60%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-dark__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-dark__title {
  color: var(--canvas);
  margin-bottom: 18px;
}

.cta-dark__desc {
  font-size: 18px;
  color: var(--plum-tint);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.cta-dark__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--aubergine);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  opacity: 0.8;
}

.footer__brand span {
  font-size: 14px;
  font-weight: 600;
  color: var(--plum-tint);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 13px;
  color: var(--smoke);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--canvas);
}

.footer__copy {
  font-size: 12px;
  color: var(--smoke);
  opacity: 0.6;
}

/* ---------- Legal / Info Pages (Privacy & Support) ---------- */
.legal-page {
  padding: 130px 0 90px;
  background: var(--canvas);
}

.legal-page__header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--plum-tint);
}

.legal-page__header .eyebrow {
  margin-bottom: 12px;
}

.legal-page__updated {
  font-size: 13px;
  color: var(--smoke);
  margin-top: 8px;
}

.legal-page__content {
  max-width: 100%;
}

.legal-page__content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--aubergine);
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}

.legal-page__content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--aubergine);
  margin: 28px 0 10px;
}

.legal-page__content p {
  font-size: 15px;
  color: var(--heather);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 960px;
}

.legal-page__content ul {
  margin-bottom: 20px;
  padding-left: 24px;
  max-width: 960px;
}

.legal-page__content li {
  font-size: 15px;
  color: var(--heather);
  line-height: 1.75;
  margin-bottom: 8px;
  list-style: disc;
}

.legal-page__content a:not(.btn) {
  color: var(--fuchsia);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__content a:not(.btn):hover {
  color: var(--aubergine);
}

.legal-page__content .btn {
  text-decoration: none !important;
}

.legal-page__content .btn--primary {
  color: var(--canvas) !important;
}

/* FAQ Accordion */
.faq {
  margin-top: 24px;
  max-width: 100%;
}

.faq__item {
  border-bottom: 1px solid var(--plum-tint);
  transition: background 0.2s ease;
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--aubergine);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--fuchsia);
}

.faq__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(36, 0, 41, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
  color: var(--heather);
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
  background: rgba(223, 55, 167, 0.12);
  color: var(--fuchsia);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq__answer p {
  font-size: 15px;
  color: var(--heather);
  line-height: 1.75;
  max-width: 960px;
}

/* Support info cards (3-column grid matching Home page width) */
.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0 44px;
}

.support-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--canvas);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-mid);
}

.support-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.support-card__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--aubergine);
  margin-bottom: 14px;
  transition: all var(--transition-mid);
}

.support-card:hover .support-card__icon {
  color: var(--fuchsia);
  transform: translateY(-1px);
}

.support-card__icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2px;
  display: block;
}

.support-card__title {
  font-size: 16px;
  font-weight: 650;
  color: var(--aubergine);
  margin-bottom: 6px;
}

.support-card__value {
  font-size: 14px;
  color: var(--heather);
}

.support-card__value a {
  color: var(--fuchsia);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 860px) {
  .support-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll Reveal Animation (Instant-Load & Zero-Blank) ---------- */
.reveal {
  opacity: 1;
  transform: none;
}

/* Apply entrance effect progressively only when supported, never hiding content initially */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal:not(.visible) {
    opacity: 0.15;
    transform: translateY(16px);
  }

  .reveal {
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__text {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    transform: none;
  }

  .hero__phone-frame {
    width: 240px;
    height: 480px;
    transform: none;
  }

  .hero__phone-frame:hover {
    transform: none;
  }

  .hero__floating-card--1 {
    left: 0;
  }

  .hero__floating-card--2 {
    right: 0;
  }

  .scene__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .scene__inner--reverse {
    direction: ltr;
  }

  .scene__text {
    max-width: 560px;
    margin: 0 auto;
  }

  .scene__features {
    align-items: center;
  }

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

  .how-it-works__steps::before {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
    --space-xl: 20px;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
  }

  .nav__mobile-menu.open {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .nav__mobile-menu a,
  .nav__mobile-menu button {
    font-size: 20px;
    font-weight: 600;
    color: var(--aubergine);
    padding: 12px 24px;
  }

  .nav__mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--aubergine);
    cursor: pointer;
    background: none;
    border: none;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero__phone-frame {
    width: 200px;
    height: 400px;
  }

  .hero__floating-card {
    display: none;
  }

  .hero__scroll-hint {
    display: none;
  }

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

  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .palettes__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .palette-card__swatch {
    height: 72px;
  }

  .hero__phone-frame {
    width: 180px;
    height: 360px;
    border-radius: 32px;
    padding: 6px;
  }

  .hero__phone-screen {
    border-radius: 27px;
  }

  .hero__phone-notch {
    width: 80px;
    height: 22px;
    border-radius: 11px;
    top: 8px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }
}