:root {
  --bg: #10091d;
  --bg-deep: #090511;
  --bg-soft: #1b102c;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --text: #fff8ec;
  --muted: #cbbbd9;
  --gold: #d9b76f;
  --gold-soft: #f0dba0;
  --violet: #8d63d8;
  --rose: #d889a6;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(0, -16px, 0) rotate(3deg); }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(141, 99, 216, 0.24), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(216, 137, 166, 0.18), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.cosmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.orb--moon {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(217, 183, 111, 0.35), transparent 70%);
}

.orb--violet {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(141, 99, 216, 0.35), transparent 70%);
}

.star {
  position: absolute;
  color: var(--gold-soft);
  animation: twinkle 3s ease-in-out infinite;
}

.star--1 { top: 16%; left: 12%; }
.star--2 { top: 28%; right: 18%; animation-delay: -1s; }
.star--3 { bottom: 24%; left: 28%; animation-delay: -1.8s; }
.star--4 { bottom: 14%; right: 12%; animation-delay: -2.4s; }

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(16, 9, 29, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav__cta {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #130c20 !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg-deep));
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section__head h2,
.mentor__content h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.hero__text {
  max-width: 610px;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #160e22;
  background: linear-gradient(110deg, var(--gold), var(--gold-soft), var(--gold));
  background-size: 200% auto;
  animation: shimmer 5s linear infinite;
  box-shadow: 0 12px 34px rgba(217, 183, 111, 0.22);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__stats li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-soft);
}

.hero__stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.constellation {
  position: absolute;
  width: 260px;
  height: 180px;
  opacity: 0.22;
  background:
    radial-gradient(circle at 18% 18%, var(--gold-soft) 0 2px, transparent 3px),
    radial-gradient(circle at 54% 42%, var(--gold-soft) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 20%, var(--gold-soft) 0 1.5px, transparent 3px),
    radial-gradient(circle at 34% 76%, var(--gold-soft) 0 1.5px, transparent 3px),
    linear-gradient(28deg, transparent 18%, rgba(217, 183, 111, 0.3) 19%, transparent 20%),
    linear-gradient(138deg, transparent 39%, rgba(217, 183, 111, 0.25) 40%, transparent 41%);
}

.constellation--a { left: 6%; top: 18%; }
.constellation--b { right: 6%; bottom: 14%; transform: rotate(18deg); }

.astro-line {
  position: absolute;
  width: 280px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 183, 111, 0.28), transparent);
  opacity: 0.45;
}

.astro-line--a { top: 34%; right: 10%; transform: rotate(-24deg); }
.astro-line--b { bottom: 28%; left: 5%; transform: rotate(18deg); }

.hero__visual {
  position: relative;
  min-height: 560px;
}

.tarot-table {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(88vw, 570px);
  height: min(74vw, 500px);
  transform: translate(-50%, -50%);
}

.tarot-table::before {
  content: "";
  position: absolute;
  inset: 16% 2% 8%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(217, 183, 111, 0.12), transparent 62%),
    radial-gradient(ellipse, rgba(141, 99, 216, 0.16), transparent 70%);
  filter: blur(2px);
}

.illustrated-card {
  position: absolute;
  width: 190px;
  aspect-ratio: 0.72;
  padding: 0.65rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(240, 219, 160, 0.95), rgba(217, 183, 111, 0.72)),
    linear-gradient(160deg, #10091d, #2b1950);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  transform-origin: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.illustrated-card:hover {
  transform: translateY(-12px) rotate(0deg) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.52);
}

.illustrated-card__border {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(16, 9, 29, 0.55);
  border-radius: 15px;
  background: #10091d;
}

.illustrated-card__border::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  z-index: 2;
  border: 1px solid rgba(240, 219, 160, 0.38);
  border-radius: 11px;
  pointer-events: none;
}

.illustrated-card svg {
  width: 100%;
  height: 100%;
  display: block;
}

.illustrated-card__number {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.illustrated-card h3 {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  z-index: 3;
  transform: translateX(-50%);
  margin: 0;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.illustrated-card--moon {
  left: 0;
  top: 16%;
  z-index: 2;
  transform: rotate(-11deg);
  animation: float 8s ease-in-out infinite;
}

.illustrated-card--star {
  left: 34%;
  top: 2%;
  z-index: 3;
  transform: rotate(2deg);
  animation: float 8s ease-in-out infinite;
  animation-delay: -2s;
}

.illustrated-card--magician {
  right: 0;
  top: 22%;
  z-index: 2;
  transform: rotate(12deg);
  animation: float 8s ease-in-out infinite;
  animation-delay: -4s;
}

.section {
  padding: 6rem 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.03);
}

.section--dark {
  background:
    radial-gradient(circle at 15% 20%, rgba(217, 183, 111, 0.08), transparent 30%),
    rgba(0, 0, 0, 0.18);
}

.section__head {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section__head h2,
.mentor__content h2,
.contact h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.section__head p:last-child,
.mentor__content p,
.contact p {
  color: var(--muted);
}

.course-grid,
.method__steps,
.format-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.course-card,
.step,
.format-card,
.review,
.contact {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.course-card::before,
.format-card::before,
.review::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217, 183, 111, 0.14), transparent 55%);
  pointer-events: none;
}

.course-card--accent {
  background: linear-gradient(160deg, rgba(141, 99, 216, 0.2), rgba(255, 255, 255, 0.08));
}

.format-card span,
.step span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--gold-soft);
  background: rgba(217, 183, 111, 0.1);
  border: 1px solid rgba(217, 183, 111, 0.24);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.mini-card {
  position: relative;
  display: inline-grid;
  gap: 0.15rem;
  place-items: center;
  width: 3.4rem;
  height: 4.8rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(217, 183, 111, 0.34);
  border-radius: 10px;
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 50% 38%, rgba(217, 183, 111, 0.12), transparent 38%),
    linear-gradient(160deg, rgba(141, 99, 216, 0.24), rgba(16, 9, 29, 0.86));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.mini-card::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border: 1px solid rgba(217, 183, 111, 0.22);
  border-radius: 7px;
}

.mini-card i {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: normal;
}

.mini-card b {
  position: relative;
  z-index: 1;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-card h3,
.step h3,
.format-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
}

.course-card p,
.step p,
.format-card p,
.review p {
  margin: 0;
  color: var(--muted);
}

.course-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.course-card__meta span {
  color: var(--muted);
}

.course-card__meta strong {
  color: var(--gold-soft);
}

.mentor {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.portrait-card {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px solid rgba(217, 183, 111, 0.3);
  border-radius: calc(var(--radius) + 10px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(217, 183, 111, 0.16), transparent 38%),
    linear-gradient(160deg, rgba(141, 99, 216, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
}

.portrait-card__moon {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--gold-soft);
}

.portrait-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
}

.portrait-card p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
}

.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.check-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.contact__content {
  max-width: 650px;
}

.footer {
  padding: 2rem 0 calc(2.5rem + env(safe-area-inset-bottom));
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal--delay-1.is-visible { transition-delay: 0.1s; }
.reveal--delay-2.is-visible { transition-delay: 0.2s; }
.reveal--delay-3.is-visible { transition-delay: 0.3s; }

@media (max-width: 980px) {
  .hero__grid,
  .mentor {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 420px;
  }

  .zodiac-ring {
    width: 380px;
    right: -80px;
  }

  .course-grid,
  .method__steps,
  .format-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .header__inner {
    min-height: 4rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(16, 9, 29, 0.94);
    box-shadow: var(--shadow);
  }

  .nav--open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem;
    border-radius: 12px;
  }

  .hero {
    min-height: auto;
    padding: 5.5rem 0 3rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .hero__actions,
  .contact__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .hero__visual {
    min-height: 360px;
  }

  .tarot-table {
    width: min(96vw, 360px);
    height: 330px;
  }

  .illustrated-card {
    width: 128px;
    padding: 0.45rem;
    border-radius: 16px;
  }

  .illustrated-card__border {
    border-radius: 12px;
  }

  .illustrated-card__number {
    font-size: 0.72rem;
  }

  .illustrated-card h3 {
    bottom: 0.6rem;
    font-size: 1rem;
  }

  .illustrated-card--moon {
    left: 0;
    top: 24%;
  }

  .illustrated-card--star {
    left: 31%;
    top: 6%;
  }

  .illustrated-card--magician {
    right: 0;
    top: 28%;
  }

  .constellation--a {
    left: -5rem;
    top: 18%;
  }

  .constellation--b,
  .astro-line {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .course-card,
  .step,
  .format-card,
  .review,
  .contact {
    padding: 1.35rem;
  }

  .portrait-card {
    min-height: 360px;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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