:root {
  --jade-dark: #2b2b2b;
  --deep-purple: #1e1030;
  --card-bg: #3a2f4a;
  --lucky-gold: #ffd700;
  --lucky-gold-orange: #ffb347;
  --fortune-pink: #ff1493;
  --fortune-purple: #800080;
  --zen-blue: #4cc9f0;
  --neko-white: #fdfdfd;
  --text-secondary: #a89bb8;
  --imperial-red: #c41e3a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--neko-white);
  background: var(--jade-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--lucky-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--fortune-pink);
}

/* ── Background layer (separate from scene) ── */

.essence-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.essence-bg__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  transition: opacity 1s ease, background-image 1s ease;
}

.essence-bg--dashboard .essence-bg__image {
  background-image: url("assets/bg_dashboard.png");
}

.essence-bg--laboratory .essence-bg__image {
  background-image: url("assets/bg_laboratory.png");
}

.essence-bg__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 16, 48, 0.92) 0%,
    rgba(43, 43, 43, 0.88) 45%,
    rgba(58, 47, 74, 0.9) 100%
  );
}

.essence-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.essence-bg__glow--pink {
  width: 55vw;
  height: 55vw;
  top: -10%;
  right: -15%;
  background: var(--fortune-pink);
}

.essence-bg__glow--blue {
  width: 45vw;
  height: 45vw;
  bottom: 10%;
  left: -10%;
  background: var(--zen-blue);
}

/* ── Layout ── */

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lucky-gold);
  margin-bottom: 12px;
}

.section__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--lucky-gold), var(--fortune-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
}

/* ── Header ── */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(30, 16, 48, 0.72);
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

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

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
}

.brand__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neko-white);
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--jade-dark);
  background: var(--lucky-gold);
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--lucky-gold);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ── Hero / Marketing ── */

.hero {
  padding: 80px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 20, 147, 0.15);
  border: 1px solid rgba(255, 20, 147, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fortune-pink);
  margin-bottom: 20px;
}

.hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero__title span {
  background: linear-gradient(90deg, var(--lucky-gold) 0%, var(--fortune-pink) 60%, var(--zen-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--lucky-gold);
  color: var(--jade-dark);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.5);
  color: var(--jade-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--neko-white);
  border: 1px solid rgba(253, 253, 253, 0.25);
}

.btn--ghost:hover {
  border-color: var(--lucky-gold);
  color: var(--lucky-gold);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__bottle {
  width: min(320px, 80%);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

.hero__ingredient {
  position: absolute;
  width: 72px;
  opacity: 0.85;
  animation: orbit 12s linear infinite;
}

.hero__ingredient--1 { top: 5%; left: 0; animation-delay: 0s; }
.hero__ingredient--2 { top: 20%; right: -5%; width: 60px; animation-delay: -3s; }
.hero__ingredient--3 { bottom: 15%; left: 5%; width: 64px; animation-delay: -6s; }
.hero__ingredient--4 { bottom: 5%; right: 10%; width: 56px; animation-delay: -9s; }

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

@keyframes orbit {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(3deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(10px) rotate(-3deg); }
}

/* ── Features ── */

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

.feature-card {
  background: rgba(58, 47, 74, 0.65);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lucky-gold), var(--fortune-pink));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: var(--shadow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── Journey showcase ── */

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

.journey-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: rgba(30, 16, 48, 0.55);
  border: 1px solid rgba(76, 201, 240, 0.15);
  transition: all var(--transition);
}

.journey-card:hover {
  border-color: rgba(255, 215, 0, 0.35);
  transform: scale(1.02);
}

.journey-card__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.journey-card__step {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--zen-blue);
  margin-bottom: 8px;
}

.journey-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.journey-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ── Stats strip ── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.stat {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 20, 147, 0.06));
  border: 1px solid rgba(255, 215, 0, 0.12);
}

.stat__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
}

.stat__value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lucky-gold);
}

.stat__label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ── Privacy & Support cards ── */

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.legal-card {
  background: rgba(58, 47, 74, 0.55);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius);
  padding: 36px 32px;
  backdrop-filter: blur(14px);
}

.legal-card--full {
  grid-column: 1 / -1;
}

.legal-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-card__title img {
  width: 36px;
  height: 36px;
}

.legal-card h3 {
  font-size: 1rem;
  color: var(--lucky-gold);
  margin: 24px 0 8px;
}

.legal-card p,
.legal-card li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-card li {
  margin-bottom: 6px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 215, 0, 0.1);
}

.contact-item__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--zen-blue);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 0.95rem;
  color: var(--neko-white);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  color: var(--neko-white);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-item__question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--lucky-gold);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.is-open .faq-item__answer {
  max-height: 200px;
  padding-bottom: 18px;
}

/* ── Footer ── */

.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  text-align: center;
}

.footer__logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
}

.footer__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

/* ── Scroll reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero__grid,
  .features__grid,
  .journey__track,
  .legal-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    text-align: center;
  }

  .hero__desc,
  .section__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(30, 16, 48, 0.95);
    padding: 16px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.12);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .header__inner {
    position: relative;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 48px 0 64px;
    min-height: auto;
  }
}
