:root {
  --color-bg: #07111f;
  --color-bg-soft: #0d1b2e;
  --color-bg-card: #13243b;
  --color-bg-table: #0b182a;
  --color-primary: #d8a85b;
  --color-primary-dark: #a8752d;
  --color-accent: #7b4f24;
  --color-warning: #f3c779;
  --color-danger: #c96250;
  --color-text: #fff6e6;
  --color-text-soft: #e2d3bd;
  --color-muted: #b8a78e;
  --color-border: rgba(216, 168, 91, 0.18);
  --color-border-strong: rgba(216, 168, 91, 0.45);
  --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.38);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  color: var(--color-text);
  background:
    radial-gradient(
      circle at top left,
      rgba(216, 168, 91, 0.18),
      transparent 34rem
    ),
    radial-gradient(
      circle at top right,
      rgba(20, 55, 96, 0.44),
      transparent 32rem
    ),
    repeating-linear-gradient(
      135deg,
      rgba(216, 168, 91, 0.035) 0 1px,
      transparent 1px 18px
    ),
    linear-gradient(180deg, #06101d 0%, #0b1b31 46%, #07111f 100%);
  text-rendering: optimizeLegibility;
}

body::selection {
  color: #07111f;
  background: var(--color-primary);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  height: 58px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 58px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  color: var(--color-text);
  background: rgba(255, 246, 230, 0.045);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.header-actions a:first-child {
  color: #07111f;
  background: linear-gradient(
    135deg,
    #f2d088,
    var(--color-primary) 48%,
    #b77d31
  );
  box-shadow: 0 12px 28px rgba(216, 168, 91, 0.26);
}

.header-actions a:hover,
.header-actions a:focus {
  color: #07111f;
  background: var(--color-primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #07111f;
  background: linear-gradient(
    135deg,
    #f2d088,
    var(--color-primary) 48%,
    #b77d31
  );
  box-shadow: 0 12px 28px rgba(216, 168, 91, 0.26);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(216, 168, 91, 0.38);
  background: linear-gradient(135deg, #ffe0a0, var(--color-primary), #b77d31);
}

.button:focus-visible {
  outline: 3px solid rgba(216, 168, 91, 0.36);
  outline-offset: 3px;
}

.button.secondary {
  color: var(--color-text);
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus {
  color: #07111f;
  background: var(--color-primary);
}

.section {
  max-width: var(--container);
  margin: 28px auto;
  padding: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.02)
    ),
    var(--color-bg-card);
  box-shadow: var(--shadow-card);
}

.section:first-of-type {
  position: relative;
  margin-top: 34px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(216, 168, 91, 0.2),
      transparent 24rem
    ),
    linear-gradient(
      135deg,
      rgba(123, 79, 36, 0.18),
      rgba(255, 246, 230, 0.035)
    ),
    var(--color-bg-card);
}

.section:first-of-type::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.16;
  background:
    linear-gradient(
      30deg,
      transparent 0 42%,
      rgba(216, 168, 91, 0.28) 42% 43%,
      transparent 43% 100%
    ),
    linear-gradient(
      150deg,
      transparent 0 45%,
      rgba(216, 168, 91, 0.18) 45% 46%,
      transparent 46% 100%
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 42px,
      rgba(216, 168, 91, 0.16) 42px 44px,
      transparent 44px 86px
    );
  pointer-events: none;
}

.section:first-of-type::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  z-index: 0;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(216, 168, 91, 0.34);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 22px rgba(216, 168, 91, 0.035);
  opacity: 0.42;
  pointer-events: none;
}

.section:first-of-type > * {
  position: relative;
  z-index: 1;
}

.hero-banner {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-strong);
  background: #050d18;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: block;
  padding: 34px;
  text-align: center;
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
}

.hero-copy h1 {
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.hero-copy p {
  max-width: 100%;
}

h1 {
  margin: 0 0 22px;
  max-width: 900px;
  color: var(--color-text);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 18px;
  color: var(--color-text);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

h3 {
  margin: 28px 0 12px;
  color: var(--color-text);
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 18px;
  color: var(--color-text-soft);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 18px 0 22px;
  padding-left: 0;
  color: var(--color-text-soft);
}

li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 30px;
}

ul li {
  list-style: none;
}

ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 16px rgba(216, 168, 91, 0.45);
}

ol {
  counter-reset: item;
}

ol li {
  list-style: none;
  counter-increment: item;
}

ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #07111f;
  background: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 23px;
  text-align: center;
}

strong {
  color: var(--color-text);
}

table {
  width: 100%;
  margin: 24px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-table);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.035);
}

tr:first-child td {
  color: var(--color-text);
  background: rgba(216, 168, 91, 0.15);
  font-weight: 800;
}

td {
  padding: 15px 17px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft);
  vertical-align: top;
}

td:last-child {
  border-right: 0;
}

tr:last-child td {
  border-bottom: 0;
}

.author-block {
  max-width: var(--container);
  margin: 28px auto;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(216, 168, 91, 0.12), rgba(18, 48, 85, 0.18)),
    var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

.author-block::before {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0 7%, transparent 8%),
    linear-gradient(135deg, #f2d088, var(--color-primary), var(--color-accent));
}

footer {
  margin-top: 48px;
  border-top: 1px solid var(--color-border);
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(216, 168, 91, 0.14),
      transparent 28rem
    ),
    linear-gradient(180deg, #07111f 0%, #050d18 100%);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px 22px;
  display: block;
  text-align: center;
}

.footer-brand {
  color: var(--color-text);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.footer-brand p {
  margin: 12px auto 0;
  max-width: 760px;
  color: var(--color-muted);
  font-size: 15px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 24px;
}

.payment-methods span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 108px;
  padding: 10px 16px;
  border: 1px solid var(--color-border-strong);
  border-radius: 14px;
  color: var(--color-text);
  background:
    linear-gradient(145deg, rgba(216, 168, 91, 0.18), rgba(7, 17, 31, 0.54)),
    rgba(255, 246, 230, 0.045);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.payment-methods span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 14px rgba(216, 168, 91, 0.62);
}

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

.pros-cons > * {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 246, 230, 0.045);
}

.pros-cons h3 {
  margin-top: 0;
}

.pros-cons ul {
  margin-bottom: 0;
}

.comparison-table {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}

.comparison-table table {
  min-width: 680px;
  margin: 0;
}

.comparison-table td:first-child {
  color: var(--color-text);
  font-weight: 800;
}

.content-image {
  margin: 22px 0 26px;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(216, 168, 91, 0.16), rgba(7, 17, 31, 0.42)),
    var(--color-bg-soft);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.content-image img {
  display: block;
  width: 100%;
  height: auto;
}

.faq-container {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.faq-item {
  position: relative;
  padding: 20px 58px 20px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 246, 230, 0.045);
  overflow: hidden;
}

.toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.faq-question {
  margin: 0;
  padding-right: 10px;
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.35;
}

.icon {
  position: absolute;
  top: 21px;
  right: 20px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: rgba(216, 168, 91, 0.1);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
}

.icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.22s ease,
    opacity 0.22s ease,
    margin 0.22s ease;
}

.toggle:checked ~ .faq-answer {
  max-height: 320px;
  margin-top: 14px;
  opacity: 1;
}

.toggle:checked ~ .icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

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

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .section,
  .author-block {
    margin: 20px 14px;
    padding: 24px;
  }

  .hero-content {
    padding: 34px 24px;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    max-width: 900px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .header-inner {
    padding: 14px;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section,
  .author-block {
    padding: 20px;
    border-radius: var(--radius-md);
  }

  .author-block {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 21px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  td {
    padding: 13px 14px;
  }

  .faq-item {
    padding: 18px 52px 18px 18px;
  }
}
