:root {
  --bg: #060714;
  --bg-2: #0c0b24;
  --panel: rgba(21, 17, 51, .82);
  --panel-solid: #14102f;
  --text: #faf7ff;
  --muted: #c9c1d8;
  --gold: #f3cf7a;
  --violet: #b85cff;
  --pink: #ff66d9;
  --blue: #49c8ff;
  --line: rgba(255,255,255,.13);
  --shadow: 0 30px 80px rgba(0,0,0,.4);
  --radius: 28px;
  --container: 1180px;
  --header: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 18px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(184,92,255,.16), transparent 30rem),
    radial-gradient(circle at 90% 34%, rgba(73,200,255,.1), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.75) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255,255,255,.5) 0 1px, transparent 1.4px);
  background-size: 180px 180px, 270px 270px;
  background-position: 0 0, 70px 90px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, p, blockquote, figure { margin-top: 0; }
h1, h2, .brand strong { font-family: Georgia, "Times New Roman", serif; }
h1, h2 { line-height: 1.05; letter-spacing: -.035em; }
h2 { margin-bottom: 22px; font-size: clamp(2.35rem, 5vw, 4.8rem); }
p { color: var(--muted); }
::selection { color: #130c24; background: var(--gold); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 118px 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker::before { content: "✦"; color: var(--pink); }
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #111;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.header.scrolled {
  border-color: var(--line);
  background: rgba(6,7,20,.88);
  box-shadow: 0 15px 45px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand__symbol {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle, rgba(184,92,255,.28), rgba(8,8,24,.95));
  box-shadow: 0 0 28px rgba(184,92,255,.3);
  font-size: 1.7rem;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.18rem; font-weight: 600; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 28px; font-size: .91rem; font-weight: 700; }
.menu a { position: relative; color: #ede8f7; }
.menu a:not(.menu__contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.menu a:hover::after, .menu a:focus-visible::after { transform: scaleX(1); }
.menu__contact { padding: 11px 18px; border: 1px solid rgba(243,207,122,.55); border-radius: 999px; color: var(--gold) !important; background: rgba(243,207,122,.08); }
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}
.menu-button span { display: block; width: 21px; height: 2px; margin: 5px auto; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: 790px; padding: calc(var(--header) + 84px) 0 96px; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 72% 43%, rgba(184,92,255,.24), transparent 24rem),
    radial-gradient(circle at 21% 38%, rgba(73,200,255,.09), transparent 28rem),
    linear-gradient(180deg, rgba(6,7,20,.12), var(--bg));
}
.hero__stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .38;
  background-image: radial-gradient(circle, #fff 0 1px, transparent 1.7px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.hero__grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(55px, 7vw, 100px); }
.hero__content { animation: fade-up .7s ease both; }
.hero h1 { margin-bottom: 24px; font-size: clamp(4rem, 8.6vw, 8.3rem); font-weight: 500; }
.hero h1 span { display: block; color: var(--gold); text-shadow: 0 0 38px rgba(243,207,122,.22); }
.hero__lead { max-width: 680px; margin-bottom: 32px; font-size: clamp(1.18rem, 2.2vw, 1.55rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #160f28; background: linear-gradient(135deg, var(--gold), #fff0b9); box-shadow: 0 14px 34px rgba(243,207,122,.19); }
.button--outline { border-color: var(--line); color: #fff; background: rgba(255,255,255,.055); }
.button--full { width: 100%; }
.hero__numbers { display: flex; gap: 28px; margin-top: 42px; }
.hero__numbers span { color: rgba(255,255,255,.42); font-family: Georgia, serif; font-size: 1.35rem; letter-spacing: .12em; }
.portrait { position: relative; max-width: 510px; margin: 0 auto; animation: fade-up .85s .1s ease both; }
.portrait__halo {
  position: absolute;
  inset: -35px;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(from 25deg, transparent, rgba(73,200,255,.36), transparent, rgba(255,102,217,.38), transparent);
  filter: blur(12px);
  animation: rotate 14s linear infinite;
}
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(255,255,255,.18); border-radius: 50% 50% 25% 25%; box-shadow: var(--shadow); }
.portrait figcaption {
  position: absolute;
  right: 25px;
  bottom: 22px;
  left: 25px;
  display: flex;
  flex-direction: column;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 18px;
  background: rgba(7,7,22,.75);
  backdrop-filter: blur(13px);
}
.portrait figcaption span { color: var(--muted); font-size: .82rem; }

.split { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: clamp(52px,7vw,100px); }
.section-copy { max-width: 640px; }
.visual-card, .poster, .reflection__image { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-solid); box-shadow: var(--shadow); }
.card-image { cursor: zoom-in; }
.visual-card img, .reflection__image img { width: 100%; transition: transform .45s ease; }
.card-image:hover img { transform: scale(1.025); }
.visual-card figcaption, .poster figcaption { padding: 13px 17px; color: var(--muted); font-size: .78rem; text-align: center; }
blockquote { margin-bottom: 30px; color: #fff; font-family: Georgia, serif; font-size: clamp(1.45rem,3vw,2.45rem); line-height: 1.35; }
blockquote cite { display: block; margin-top: 18px; color: var(--gold); font-family: Inter, sans-serif; font-size: .9rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.number-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.number-cards article { display: grid; min-height: 100px; place-items: center; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(184,92,255,.12), rgba(255,255,255,.03)); }
.number-cards strong { color: var(--gold); font-family: Georgia, serif; font-size: 2rem; text-shadow: 0 0 18px rgba(255,102,217,.42); }

.course { background: linear-gradient(180deg, transparent, rgba(184,92,255,.065), transparent); }
.section-heading { max-width: 900px; margin: 0 auto 58px; text-align: center; }
.section-heading h2 { margin-bottom: 0; }
.course__grid { display: grid; grid-template-columns: minmax(310px,.82fr) minmax(0,1.18fr); align-items: start; gap: clamp(42px,6vw,78px); }
.poster { position: sticky; top: calc(var(--header) + 24px); }
.poster img { width: 100%; }
.course__intro { margin-bottom: 30px; font-size: 1.05rem; }
.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.detail-card { min-height: 124px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); }
.detail-card span { display: block; margin-bottom: 9px; color: var(--gold); font-size: .74rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.detail-card strong { display: block; font-size: 1.08rem; line-height: 1.35; }
.payment-message { display: flex; align-items: center; gap: 13px; margin: 17px 0; padding: 16px 18px; border: 1px solid rgba(243,207,122,.3); border-radius: 17px; background: rgba(243,207,122,.06); }
.payment-message span { color: var(--gold); font-size: 1.35rem; }
.payment-message p { margin: 0; color: #eee8f7; }

.numerology .split { grid-template-columns: minmax(0,1fr) minmax(320px,.8fr); }
.table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(13,11,35,.8); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 20px; border-bottom: 1px solid var(--line); text-align: left; }
thead th { color: var(--gold); background: rgba(184,92,255,.12); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
tbody th { width: 35%; color: var(--gold); font-family: Georgia, serif; font-size: 1.25rem; }
tbody td { color: #f0eaf8; letter-spacing: .16em; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.045); }
.table-photo { padding: 22px; }
.table-photo img { border-radius: 17px; }

.reflection { background: linear-gradient(90deg, rgba(255,102,217,.055), transparent 50%, rgba(73,200,255,.05)); }
.reflection__grid { display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); align-items: center; gap: clamp(50px,8vw,110px); }
.reflection__copy blockquote { max-width: 660px; margin-bottom: 0; }

.contact__panel {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  padding: 60px 30px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle at center, rgba(184,92,255,.16), transparent 34rem),
    rgba(10,9,29,.8);
  box-shadow: var(--shadow);
  text-align: center;
}
.contact__symbol { position: absolute; inset: 0; display: grid; place-items: center; opacity: .2; }
.contact__symbol img { width: min(78%, 500px); }
.contact__content { position: relative; z-index: 1; max-width: 760px; }
.contact__content p { max-width: 620px; margin: 0 auto 22px; }
.contact__number { display: block; margin-bottom: 26px; color: #fff; font-family: Georgia, serif; font-size: clamp(2.6rem,7vw,6.3rem); line-height: 1; text-shadow: 0 0 35px rgba(184,92,255,.4); }

.footer { padding: 32px 0 92px; border-top: 1px solid var(--line); background: rgba(4,5,15,.75); }
.footer__inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; }
.footer__inner > div { display: flex; flex-direction: column; }
.footer__inner span, .footer small { color: var(--muted); font-size: .8rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: .86rem; }
.mobile-call { display: none; }
.to-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(14,12,35,.9);
  box-shadow: 0 12px 28px rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .2s ease;
  cursor: pointer;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }

.lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 24px;
  background: rgba(2,3,10,.93);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(100%, 1100px); max-height: calc(100vh - 105px); border-radius: 18px; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.lightbox__close { position: fixed; top: 18px; right: 22px; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 1.8rem; cursor: pointer; }

@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  :root { --header: 74px; }
  .menu-button { display: block; }
  .menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(10,9,29,.98);
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu a { padding: 13px 14px; border-radius: 12px; }
  .menu a:hover { background: rgba(255,255,255,.06); }
  .menu a::after { display: none; }
  .menu__contact { margin-top: 6px; text-align: center; }
  .hero { min-height: auto; padding-top: calc(var(--header) + 72px); }
  .hero__grid, .split, .course__grid, .reflection__grid { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__numbers { justify-content: center; }
  .portrait { width: min(100%, 520px); margin-top: 22px; }
  .visual-card { width: min(100%, 620px); margin-inline: auto; }
  .section-copy { max-width: none; }
  .course__grid { max-width: 760px; margin-inline: auto; }
  .poster { position: static; }
  .numerology .split { grid-template-columns: 1fr; }
  .split--reverse-mobile .section-copy { order: 2; }
  .split--reverse-mobile .table-photo { order: 1; }
  .reflection__image { width: min(100%, 620px); margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer nav { justify-content: center; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  .brand small { display: none; }
  .hero { padding-top: calc(var(--header) + 55px); padding-bottom: 74px; }
  .hero h1 { font-size: clamp(3.25rem, 18vw, 5.4rem); }
  .hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .hero__numbers { gap: 18px; }
  .portrait figcaption { right: 15px; bottom: 14px; left: 15px; }
  .number-cards { gap: 8px; }
  .number-cards article { min-height: 78px; }
  .number-cards strong { font-size: 1.5rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: 0; }
  th, td { padding: 11px 14px; }
  .contact__panel { min-height: 460px; padding: 50px 18px; border-radius: 28px; }
  .contact__number { font-size: clamp(2.35rem, 13vw, 4rem); }
  .footer { padding-bottom: 104px; }
  .mobile-call {
    position: fixed;
    z-index: 950;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(243,207,122,.5);
    border-radius: 999px;
    color: #160f28;
    background: linear-gradient(135deg, var(--gold), #fff0b9);
    box-shadow: 0 16px 38px rgba(0,0,0,.45);
    font-weight: 900;
  }
  .to-top { right: 17px; bottom: 82px; }
}

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