:root {
  --bg-0: #050505;
  --bg-1: #080808;
  --bg-2: #0d0d0d;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted-2: rgba(255, 255, 255, 0.56);
  --gold-1: #fff2b2;
  --gold-2: #ffd36a;
  --gold-3: #ffb900;
  --gold-4: #ffe7a3;
  --gold-5: #d4a64a;
  --teal: #4f9f93;
  --rose: #b86b6b;
  --card: rgba(12, 12, 12, 0.86);
  --card-2: rgba(14, 14, 14, 0.92);
  --gold-line: rgba(255, 185, 0, 0.26);
  --gold-line-2: rgba(255, 185, 0, 0.16);
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.62);
  --shadow-gold: 0 26px 70px rgba(255, 185, 0, 0.14), 0 22px 54px rgba(0, 0, 0, 0.62);
  --max: 1120px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 185, 0, 0.10) 0, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(79, 159, 147, 0.10) 0, transparent 44%),
    radial-gradient(circle at 50% 105%, rgba(184, 107, 107, 0.08) 0, transparent 42%),
    linear-gradient(to bottom, var(--bg-0), var(--bg-1), var(--bg-2));
  background-attachment: fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.10;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 260px 260px;
}

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

p,
h1,
figure {
  margin: 0;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 185, 0, 0.14);
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.68));
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  min-height: 70px;
  gap: 18px;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 185, 0, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, #ffffff 0%, var(--gold-1) 25%, var(--gold-3) 56%, #fff 100%);
  box-shadow: 0 0 26px rgba(255, 185, 0, 0.28);
}

.brand-mark::before,
.brand-mark::after {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: rgba(43, 29, 7, 0.64);
  content: "";
}

.brand-mark::after {
  margin-top: -2px;
  transform: rotate(90deg);
}

.topbar-line {
  width: min(360px, 42vw);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-2), rgba(255, 185, 0, 0.05));
}

.topbar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  box-shadow: 0 0 14px rgba(255, 185, 0, 0.45);
}

.topbar-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 16px;
  padding: 12px 0;
}

.brand-flag {
  flex: 0 0 auto;
  width: 48px;
  height: 32px;
  border-radius: 4px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.20), transparent 45%, rgba(0, 0, 0, 0.12)),
    linear-gradient(to bottom, #f5f2eb 0% 33.333%, #2452a1 33.333% 66.667%, #bd3b42 66.667% 100%);
  box-shadow:
    0 0 0 1px rgba(255, 211, 106, 0.38),
    0 0 20px rgba(255, 185, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.30);
}

.topbar-title {
  color: var(--gold-4);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(255, 185, 0, 0.12);
}

.topbar-home .topbar-line {
  flex: 1 1 24px;
  min-width: 24px;
  max-width: 360px;
}

.topbar-home .topbar-dot {
  flex: 0 0 9px;
}

@media (max-width: 760px) {
  .topbar-brand {
    padding: 10px 0;
  }

  .topbar-title {
    font-size: 16px;
  }

  .topbar-home .topbar-line,
  .topbar-home .topbar-dot {
    display: none;
  }
}

main {
  overflow: hidden;
}

section {
  position: relative;
  padding: 72px 0;
}

section.alt {
  border-top: 1px solid var(--gold-line-2);
  border-bottom: 1px solid var(--gold-line-2);
  background: linear-gradient(180deg, rgba(255, 185, 0, 0.035), rgba(255, 255, 255, 0.018));
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: center;
  padding: 84px 0 72px;
}

.hero::before,
.hero::after {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 185, 0, 0.10);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: 5%;
  right: -180px;
}

.hero::after {
  bottom: -260px;
  left: -260px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr;
  max-width: 900px;
  gap: 24px;
}

.hero-image {
  position: relative;
  justify-self: center;
  width: min(100%, 760px);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 34px rgba(255, 185, 0, 0.18));
}

.hero-image::before {
  position: absolute;
  inset: 10% 8% 6%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 185, 0, 0.20), transparent 54%),
    radial-gradient(circle at 50% 58%, rgba(255, 242, 178, 0.12), transparent 58%);
  filter: blur(28px);
  content: "";
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, 0.86) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, 0.86) 70%, transparent 100%);
}

.hero-algorithm {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}

.hero-algorithm p {
  color: var(--gold-2);
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.28;
  text-shadow: 0 0 18px rgba(255, 185, 0, 0.14);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 18%, var(--gold-3) 40%, var(--gold-4) 62%, var(--gold-5) 82%, var(--gold-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(255, 185, 0, 0.18), 0 12px 34px rgba(255, 185, 0, 0.10);
}

.hero-lead {
  display: grid;
  max-width: 700px;
  margin-top: 28px;
  gap: 10px;
}

.hero-lead p {
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 24px);
}

.hero-lead p:last-child {
  color: var(--text);
  font-weight: 800;
}

.two-cols,
.split-panel,
.moment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gold-card,
.text-card,
.copy-panel,
.statement-panel,
.wide-gold,
.soul-card,
.research-card,
.deep-card,
.final-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.text-card,
.copy-panel,
.soul-card,
.research-card,
.deep-card,
.final-card {
  border: 1px solid var(--gold-line-2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    var(--card);
}

.gold-card,
.statement-panel,
.wide-gold {
  border: 1px solid rgba(255, 185, 0, 0.34);
  color: rgba(43, 29, 7, 0.95);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(135deg, var(--gold-1), var(--gold-2) 28%, var(--gold-3) 62%, var(--gold-5));
  box-shadow: var(--shadow-gold);
}

.gold-card p,
.statement-panel p,
.wide-gold p {
  color: rgba(43, 29, 7, 0.95);
  font-weight: 800;
}

.text-card,
.gold-card {
  padding: clamp(22px, 3.2vw, 34px);
}

.text-card p,
.gold-card p {
  font-size: clamp(20px, 2.5vw, 27px);
  line-height: 1.38;
}

.ribbon-stack {
  display: grid;
  gap: 14px;
}

.ribbon-stack p {
  position: relative;
  padding: 20px 22px 20px 28px;
  border: 1px solid var(--gold-line-2);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  background: linear-gradient(90deg, rgba(255, 185, 0, 0.11), rgba(255, 255, 255, 0.03));
}

.ribbon-stack p::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 14px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--gold-2), var(--gold-5));
  content: "";
}

.copy-panel,
.statement-panel,
.soul-card,
.research-card,
.deep-card,
.final-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
}

.copy-panel p,
.soul-card p,
.research-card p,
.deep-card p,
.final-card p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.soul-card {
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.soul-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--teal), transparent);
  content: "";
}

.soul-card p:nth-last-child(-n + 3) {
  color: var(--text);
}

.soul-intro {
  color: var(--text);
  font-weight: 800;
}

.karma-line {
  color: var(--text);
  font-size: clamp(24px, 3.8vw, 38px);
  font-weight: 900;
  line-height: 1.14;
}

.karma-line span {
  background: linear-gradient(135deg, #fff9d8 0%, #ffe37f 22%, #ffc400 48%, #fff2ad 72%, #e3b040 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 196, 0, 0.30);
}

.statement-panel {
  align-content: center;
}

.statement-panel p {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.22;
}

.wide-gold {
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.wide-gold p {
  max-width: 940px;
  margin: 0 auto;
  font-size: clamp(25px, 4vw, 44px);
  line-height: 1.1;
}

.research-card {
  gap: 22px;
}

.research-card::before,
.deep-card::before,
.final-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-3), transparent);
  content: "";
}

.research-lines {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 185, 0, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 185, 0, 0.055);
}

.research-lines p {
  color: var(--text);
}

.deep-card {
  max-width: 900px;
}

.deep-card p:first-child {
  color: var(--gold-2);
  font-size: clamp(27px, 4.4vw, 44px);
  font-weight: 900;
  line-height: 1.08;
}

.final-section {
  padding-bottom: 94px;
}

.second-part {
  border-top: 1px solid var(--gold-line);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 185, 0, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(255, 185, 0, 0.045), rgba(255, 255, 255, 0.018));
}

.second-part-title {
  margin-bottom: 24px;
}

.second-part-title p {
  color: var(--gold-2);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.12;
  text-shadow: 0 0 18px rgba(255, 185, 0, 0.16);
}


.final-card {
  max-width: 980px;
  margin: 0 auto;
}

.final-card p:last-child {
  color: var(--text);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.24;
}

.payment-section {
  padding-top: 28px;
  padding-bottom: 96px;
}

.payment-card {
  display: grid;
  justify-items: center;
  max-width: 560px;
  gap: 16px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 185, 0, 0.34);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 242, 178, 0.20), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--card-2);
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.payment-label {
  color: var(--gold-2);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.1;
}

.payment-message {
  display: grid;
  gap: 8px;
  max-width: 460px;
  margin-bottom: 4px;
  font-size: clamp(18px, 2.8vw, 25px);
  font-weight: 850;
  line-height: 1.22;
  text-shadow: 0 0 18px rgba(255, 185, 0, 0.24), 0 3px 18px rgba(255, 185, 0, 0.14);
}

.payment-message p {
  background: linear-gradient(135deg, #fff7c9 0%, #ffe27c 24%, #ffc928 48%, #fff0a6 72%, #d9a93b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.payment-message span {
  background: linear-gradient(135deg, #ffffff 0%, #fff3b0 22%, #ffd12e 50%, #fff6c9 78%, #e1af3e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 950;
  text-shadow: 0 0 22px rgba(255, 201, 40, 0.32);
}

.payment-price {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 24%, var(--gold-3) 54%, var(--gold-4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: clamp(46px, 8vw, 76px);
  font-weight: 900;
  line-height: 1.12;
  padding-bottom: 0.06em;
  text-shadow: 0 0 20px rgba(255, 185, 0, 0.18);
}

.payment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 52px;
  border: 0;
  border-radius: var(--radius);
  color: rgba(43, 29, 7, 0.96);
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 32%, var(--gold-3) 68%, var(--gold-5));
  box-shadow: 0 18px 42px rgba(255, 185, 0, 0.18);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  padding: 30px 0 36px;
  border-top: 1px solid rgba(255, 185, 0, 0.12);
  background: rgba(5, 5, 5, 0.92);
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 185, 0, 0.34);
  border-radius: 50%;
  color: #2b1d07;
  background:
    radial-gradient(circle at 30% 20%, #ffffff 0%, var(--gold-1) 25%, var(--gold-2) 48%, var(--gold-3) 70%, var(--gold-5) 100%);
  box-shadow: 0 0 28px rgba(255, 185, 0, 0.22), 0 16px 34px rgba(0, 0, 0, 0.48);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.telegram-link:hover,
.telegram-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255, 211, 106, 0.30), 0 18px 40px rgba(0, 0, 0, 0.54);
  outline: none;
}

.telegram-link svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-grid,
  .two-cols,
  .split-panel,
  .moment-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .topbar-inner {
    min-height: 58px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .topbar-brand {
    gap: 12px;
  }

  .brand-flag {
    width: 42px;
    height: 28px;
  }

  .topbar-title {
    font-size: 15px;
  }

  .topbar-home .topbar-line,
  .topbar-home .topbar-dot {
    display: none;
  }

  section {
    padding: 48px 0;
  }

  .hero {
    padding: 42px 0 48px;
  }

  .hero-grid {
    gap: 26px;
  }

  .text-card,
  .gold-card,
  .copy-panel,
  .statement-panel,
  .soul-card,
  .research-card,
  .deep-card,
  .final-card,
  .payment-card {
    padding: 22px;
  }

  .ribbon-stack p {
    padding: 18px 18px 18px 24px;
  }
}
