:root {
  color-scheme: dark;
  --ink: #fbf7ff;
  --muted: #c7bacf;
  --soft: #9484a4;
  --night: #050407;
  --panel: rgba(16, 12, 22, 0.78);
  --panel-strong: rgba(24, 17, 34, 0.92);
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff3fa4;
  --cyan: #24e5ff;
  --amber: #ffd166;
  --green: #89ffb1;
  --red: #ff6666;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 63, 164, 0.13), transparent 34rem),
    linear-gradient(250deg, rgba(36, 229, 255, 0.1), transparent 32rem),
    #050407;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 10px);
  opacity: 0.45;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.hero,
main,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-content: stretch;
  padding: 22px 0 52px;
  isolation: isolate;
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  min-height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  width: min(520px, 100%);
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

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

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(5, 4, 7, 0.94) 0%, rgba(5, 4, 7, 0.76) 42%, rgba(5, 4, 7, 0.44) 70%, rgba(5, 4, 7, 0.75) 100%),
    url("assets/euphoria-rue-mood.jpg") right center / auto 108% no-repeat;
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 63, 164, 0.28), transparent 24rem),
    radial-gradient(circle at 66% 22%, rgba(36, 229, 255, 0.18), transparent 30rem),
    linear-gradient(180deg, transparent 74%, #050407 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.52fr);
  gap: 28px;
  align-items: end;
  min-height: calc(94vh - 122px);
}

.hero-copy {
  max-width: 760px;
  padding: 68px 0 14px;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: 6.6rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow:
    0 0 26px rgba(255, 63, 164, 0.38),
    0 0 42px rgba(36, 229, 255, 0.2);
}

h2 {
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 690px;
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span,
.mockup-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--pink), #ff7bc2);
  color: #14030e;
  box-shadow: 0 14px 36px rgba(255, 63, 164, 0.32);
}

.button.secondary {
  min-height: 40px;
  border-color: rgba(36, 229, 255, 0.3);
  padding: 8px 14px;
  background: rgba(36, 229, 255, 0.045);
  color: var(--cyan);
  font-size: 0.94rem;
}

.button.check {
  width: fit-content;
  border-color: rgba(36, 229, 255, 0.38);
  background: rgba(36, 229, 255, 0.12);
  color: var(--cyan);
}

.mobile-buy {
  display: none;
}

.hero-note {
  max-width: 610px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-panel,
.payment-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(19, 13, 27, 0.86), rgba(10, 8, 15, 0.8));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 20px;
}

.payment-box span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.payment-box strong {
  color: var(--amber);
  font-size: 2.4rem;
  line-height: 1;
  white-space: nowrap;
}

.panel-buy {
  width: 100%;
  min-height: 58px;
  font-size: 1.04rem;
}

.access-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(137, 255, 177, 0.5);
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading > p:not(.kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.audience-grid,
.method-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.audience-item,
.method-grid > div,
.review-grid figure,
.mini-task,
.course-mockup,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 58px rgba(0, 0, 0, 0.22);
}

.audience-item,
.method-grid > div {
  padding: 22px;
}

.item-number {
  display: block;
  margin-bottom: 22px;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 950;
}

.audience-item p,
.method-grid p,
.timeline-item p,
.task-copy,
.author-copy p,
.faq-list p,
.final-copy p,
.payment-box p {
  margin-top: 10px;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.timeline-item {
  min-height: 182px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.timeline-item:nth-child(3n) {
  border-right: 0;
}

.timeline-item:nth-child(n + 4) {
  border-bottom: 0;
}

.timeline-item span {
  display: block;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
}

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

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.course-mockup {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 63, 164, 0.22), transparent 30%),
    linear-gradient(240deg, rgba(36, 229, 255, 0.16), transparent 34%),
    rgba(10, 8, 15, 0.9);
}

.mockup-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.mockup-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pink);
}

.mockup-top span:nth-child(2) {
  background: var(--amber);
}

.mockup-top span:nth-child(3) {
  background: var(--cyan);
}

.mockup-hero {
  padding: 34px;
  border-bottom: 1px solid var(--line);
}

.mockup-hero p {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mockup-hero h3 {
  margin-top: 10px;
  font-size: 3.8rem;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.mockup-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mockup-section {
  display: grid;
  gap: 14px;
  padding: 28px 34px 34px;
}

.mockup-line {
  width: 68%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mockup-line.wide {
  width: 92%;
}

.mockup-table {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  gap: 10px;
  margin-top: 10px;
}

.mockup-table span {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mini-task {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
}

.task-label {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.answers {
  display: grid;
  gap: 10px;
}

.answers label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pink);
}

.demo-result {
  min-height: 26px;
  margin-top: 0;
  color: var(--muted);
  font-weight: 800;
}

.demo-result.is-success {
  color: var(--green);
}

.demo-result.is-error {
  color: var(--red);
}

.review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.review-grid figure {
  padding: 22px;
}

.review-grid blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 760;
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.author-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 63, 164, 0.14), transparent 34%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.author-photo {
  display: grid;
  place-items: center;
  height: clamp(440px, 46vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 63, 164, 0.28), rgba(36, 229, 255, 0.14)),
    #120d19;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-photo--timur img {
  object-position: center 34%;
}

.author-photo--olga img {
  object-position: center 42%;
}

.author-copy {
  align-self: start;
}

.author-copy h3 {
  max-width: 520px;
  margin-top: 10px;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.stats strong {
  color: var(--ink);
}

.instagram {
  display: inline-flex;
  margin-top: 20px;
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

.instagram:hover {
  text-decoration: underline;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: center;
  margin: 42px 0 90px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 63, 164, 0.18), transparent 38%),
    linear-gradient(240deg, rgba(36, 229, 255, 0.14), transparent 42%),
    rgba(16, 12, 22, 0.88);
  box-shadow: var(--shadow);
}

.payment-box {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.payment-box .button {
  width: 100%;
}

#payment-status {
  min-height: 24px;
  font-size: 0.92rem;
}

.footer {
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.checkout-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 2, 5, 0.76);
  backdrop-filter: blur(14px);
}

.checkout-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 63, 164, 0.16), transparent 38%),
    linear-gradient(240deg, rgba(36, 229, 255, 0.12), transparent 44%),
    rgba(14, 10, 20, 0.96);
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.66);
}

.checkout-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 1.35rem;
  cursor: pointer;
}

.checkout-close:hover {
  color: var(--ink);
}

.checkout-step {
  display: none;
}

.checkout-step.is-active {
  display: block;
}

.checkout-step h2 {
  max-width: 420px;
  font-size: 2.5rem;
}

.checkout-copy,
.checkout-status,
.checkout-error {
  margin-top: 14px;
  color: var(--muted);
}

.checkout-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.checkout-form label {
  color: var(--ink);
  font-weight: 850;
}

.checkout-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  outline: none;
}

.checkout-form input:focus {
  border-color: rgba(36, 229, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(36, 229, 255, 0.14);
}

.checkout-form .button,
#checkout-payment-link,
#checkout-course-link,
#checkout-access-link-copy {
  width: 100%;
}

#checkout-access-link-copy {
  margin-top: 12px;
}

.checkout-form .button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.qr-frame {
  display: grid;
  place-items: center;
  margin: 22px auto 16px;
  width: min(100%, 300px);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.qr-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.checkout-error {
  min-height: 24px;
  color: var(--red);
  font-weight: 800;
}

body.checkout-open {
  overflow: hidden;
}

.status-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(255, 63, 164, 0.18), transparent 34rem),
    linear-gradient(250deg, rgba(36, 229, 255, 0.12), transparent 32rem),
    #050407;
}

.status-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  width: min(100% - 32px, 720px);
  margin: 0 auto;
  padding: 42px 0;
}

.status-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(255, 63, 164, 0.16), transparent 38%),
    linear-gradient(240deg, rgba(36, 229, 255, 0.12), transparent 44%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.status-card h1 {
  max-width: none;
  font-size: clamp(3rem, 9vw, 5.2rem);
}

.status-card p:not(.kicker) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.status-actions .button {
  width: min(100%, 360px);
}

@media (max-width: 960px) {
  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3rem;
  }

  .mockup-hero h3 {
    font-size: 3.2rem;
  }

  .hero-inner,
  .preview-layout,
  .author-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }

  .audience-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline,
  .method-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .timeline-item:nth-child(3n),
  .timeline-item:nth-child(n + 4) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item:last-child {
    border-bottom: 0;
  }

  .author-photo {
    height: min(620px, 118vw);
  }
}

@media (max-width: 680px) {
  .hero,
  main,
  .footer {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    min-height: auto;
    padding-bottom: 34px;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.86rem;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 4, 7, 0.55) 0%, rgba(5, 4, 7, 0.78) 36%, rgba(5, 4, 7, 0.98) 100%),
      url("assets/euphoria-rue-mood.jpg") center top / 100% auto no-repeat;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 48vh;
  }

  .hero-copy {
    display: contents;
    padding-top: 0;
  }

  .eyebrow {
    order: 1;
  }

  h1 {
    order: 2;
  }

  .hero-subtitle {
    order: 3;
  }

  .hero-badges {
    order: 4;
  }

  h1,
  .mockup-hero h3 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    order: 6;
  }

  .mobile-buy {
    display: none;
  }

  .hero-note {
    order: 7;
  }

  .hero-panel {
    order: 5;
    width: 100%;
    margin-top: 22px;
  }

  .audience-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .hero-panel,
  .audience-item,
  .method-grid > div,
  .mini-task,
  .mockup-hero,
  .mockup-section,
  .author-card,
  .final-cta {
    padding: 20px;
  }

  .mockup-table {
    grid-template-columns: 1fr;
  }

  .checkout-dialog {
    padding: 22px;
  }

  .checkout-step h2 {
    font-size: 2.15rem;
  }

  .status-card {
    padding: 24px;
  }

  .status-actions .button {
    width: 100%;
  }
}
