.gm-page {
  --lp-red: var(--krasnyy, #e30613);
  --lp-yellow: var(--zheltyy, #fffc0d);
  --lp-bg: var(--chernyy, #1a1a1a);
  --lp-card-bg: var(--svetlyy-chernyy, #313131);
  --lp-text-main: var(--belyy, #fff);
  --lp-text-sec: var(--seryy, #e5e5e5);
  --lp-border: var(--temnyy-seryy, #464646);

  font-family: inherit;
  color: var(--lp-text-main);
  background-color: var(--lp-bg);
  width: 100%;
  max-width: 1180px;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}
.gm-page *,
.gm-page *::before,
.gm-page *::after {
  box-sizing: border-box;
}
.gm-page svg {
  display: block;
}

/* ==========================================
   Hero
   ========================================== */
.gm-hero {
  padding: 0 0 64px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255, 252, 13, 0.08), transparent 70%);
}
.gm-hero .breadcrumbs {
  padding-top: 24px;
}
.gm-hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 48px;
  padding-top: 24px;
}
.gm-hero__left {
  flex: 1 1 440px;
  min-width: 300px;
}
.gm-hero__right {
  flex: 1 1 380px;
  min-width: 300px;
  display: flex;
  align-items: center;
}
.gm-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-yellow);
  background: rgba(255, 252, 13, 0.08);
  border-radius: 999px;
}
.gm-title {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 18px;
}
.gm-highlight {
  color: var(--lp-yellow);
}
.gm-subtitle {
  font-size: 18px;
  color: var(--lp-text-sec);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 520px;
}

/* Hero stats */
.gm-stats {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  margin-bottom: 28px;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  flex-wrap: wrap;
}
.gm-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--lp-text-main);
  line-height: 1.1;
}
.gm-stat-label {
  font-size: 13px;
  color: var(--lp-text-sec);
  margin-top: 4px;
  max-width: 150px;
}

/* Buttons */
.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.gm-btn--primary {
  background: var(--lp-red);
  border-color: var(--lp-red);
  color: #fff;
  box-shadow: 0 4px 15px rgba(227, 6, 19, 0.35);
}
.gm-btn--primary:hover {
  background: #c2000b;
  border-color: #c2000b;
  transform: translateY(-2px);
  color: #fff;
}
.gm-btn--secondary {
  background: transparent;
  border-color: var(--lp-border);
  color: var(--lp-text-main);
}
.gm-btn--secondary:hover {
  border-color: var(--lp-yellow);
  background: rgba(255, 255, 255, 0.04);
}
.gm-btn--large {
  padding: 18px 40px;
  font-size: 17px;
}
.gm-btn--small {
  padding: 9px 18px;
  font-size: 13px;
}
.gm-btn--block {
  width: 100%;
}

/* ==========================================
   Demo (signature widget)
   ========================================== */
.gm-demo {
  width: 100%;
  background: var(--lp-card-bg);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 28px;
}
.gm-demo__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-text-main);
  margin-bottom: 16px;
}
.gm-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.gm-formats__pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg);
  color: var(--lp-text-sec);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gm-formats__pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.gm-formats__pill svg {
  width: 16px;
  height: 16px;
}
.gm-formats__pill:has(input:checked) {
  background: var(--lp-yellow);
  border-color: var(--lp-yellow);
  color: var(--lp-bg);
}
.gm-formats__pill:hover {
  border-color: var(--lp-yellow);
}
.gm-demo__textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 14px;
  color: var(--lp-text-main);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.gm-demo__textarea:focus {
  border-color: var(--lp-yellow);
  outline: none;
}
.gm-demo__textarea::placeholder {
  color: var(--lp-text-sec);
}
.gm-demo__note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--lp-text-sec);
  text-align: center;
  opacity: 0.85;
}

/* ==========================================
   Section title / features grid
   ========================================== */
.gm-section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  color: var(--lp-text-main);
  margin: 0 0 12px;
}
.gm-section-lead {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 44px;
  color: var(--lp-text-sec);
  font-size: 15px;
}
.gm-features {
  padding: 72px 0;
}
.gm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gm-card {
  background: var(--lp-card-bg);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 30px 26px;
  transition: all 0.25s ease;
}
.gm-card:hover {
  border-color: var(--lp-border);
  transform: translateY(-4px);
}
.gm-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 252, 13, 0.08);
  border-radius: 12px;
  color: var(--lp-yellow);
  margin-bottom: 20px;
}
.gm-card-icon svg {
  width: 24px;
  height: 24px;
}
.gm-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--lp-text-main);
}
.gm-card-text {
  font-size: 14px;
  color: var(--lp-text-sec);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   Gallery of ready-made themes
   ========================================== */
.gm-gallery {
  padding: 0 0 72px;
}
.gm-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gm-gallery__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--lp-border);
  background: var(--lp-card-bg);
  aspect-ratio: 16/9;
}
.gm-gallery__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gm-gallery__item:hover .gm-gallery__thumb {
  transform: scale(1.06);
}
.gm-gallery__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}
.gm-gallery__title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 4px;
}
.gm-gallery__badge {
  display: inline-block;
  font-size: 11px;
  color: var(--lp-yellow);
  opacity: 0.9;
}
.gm-gallery__note {
  text-align: center;
  margin-top: 24px;
  color: var(--lp-text-sec);
  font-size: 14px;
}

/* ==========================================
   Calculator
   ========================================== */
.gm-calculator {
  padding: 0 0 72px;
}
.gm-calc__note {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--lp-text-sec);
  font-size: 14px;
}
.gm-calc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  background: var(--lp-card-bg);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 36px;
}
.gm-calc__controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.gm-calc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.gm-calc__row--cards {
  flex-direction: column;
  align-items: stretch;
}
.gm-calc__label {
  font-size: 14px;
  color: var(--lp-text-sec);
}
.gm-calc__label b {
  color: var(--lp-text-main);
}
.gm-calc__toggle {
  display: inline-flex;
  flex-wrap: wrap;
  background: var(--lp-bg);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.gm-calc__toggle-btn {
  border: none;
  background: transparent;
  color: var(--lp-text-sec);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.gm-calc__toggle-btn.is-active {
  background: var(--lp-yellow);
  color: var(--lp-bg);
}
.gm-calc__slider {
  width: 100%;
  margin-top: 12px;
  accent-color: var(--lp-yellow);
}
.gm-calc__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--lp-bg);
  border-radius: 16px;
  padding: 28px;
  gap: 8px;
}
.gm-calc__price {
  font-size: 30px;
  font-weight: 800;
  color: var(--lp-text-main);
}
.gm-calc__price span {
  color: var(--lp-yellow);
}
.gm-calc__tokens {
  font-size: 13px;
  color: var(--lp-text-sec);
  min-height: 18px;
}
.gm-calc__hint {
  font-size: 12px;
  color: var(--lp-text-sec);
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 12px;
}
.gm-calc__result .gm-btn {
  width: 100%;
}

/* ==========================================
   Steps
   ========================================== */
.gm-steps {
  padding: 0 0 72px;
}
.gm-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gm-step {
  background: var(--lp-card-bg);
  border-radius: 16px;
  padding: 28px;
}
.gm-step-num {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-yellow);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.gm-step p {
  color: var(--lp-text-sec);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   Final CTA
   ========================================== */
.gm-final-cta {
  padding: 72px 0;
  text-align: center;
  background: radial-gradient(60% 80% at 50% 0%, rgba(227, 6, 19, 0.12), transparent 70%);
  border-radius: 24px;
}
.gm-final-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}
.gm-final-cta__title {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 16px;
}
.gm-final-cta__text {
  font-size: 17px;
  color: var(--lp-text-sec);
  line-height: 1.6;
  margin: 0 0 32px;
}
.gm-final-cta__action {
  margin-bottom: 28px;
}
.gm-final-cta__features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--lp-text-sec);
  font-size: 14px;
}
.gm-final-cta__features li {
  position: relative;
  padding-left: 20px;
}
.gm-final-cta__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-yellow);
}

/* ==========================================
   FAQ section spacing (site-wide .new__faq* classes are styled globally)
   ========================================== */
.gm-page .new__faq {
  padding: 0 0 60px;
}

/* ==========================================
   Mobile sticky CTA
   ========================================== */
.gm-sticky {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  align-items: center;
  gap: 12px;
  background: var(--svetlyy-chernyy, #313131);
  border: 1px solid var(--temnyy-seryy, #464646);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(140%);
  transition: transform 0.3s ease;
}
.gm-sticky.is-visible {
  transform: translateY(0);
}
.gm-sticky__text {
  flex: 1;
  font-size: 13px;
  color: var(--belyy, #fff);
  line-height: 1.4;
}
.gm-sticky__close {
  background: transparent;
  border: none;
  color: var(--seryy, #e5e5e5);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .gm-title {
    font-size: 36px;
  }
  .gm-grid,
  .gm-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gm-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gm-calc__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 768px) {
  .gm-hero__grid {
    padding-top: 16px;
    gap: 28px;
  }
  .gm-title {
    font-size: 28px;
  }
  .gm-subtitle {
    font-size: 16px;
    max-width: none;
  }
  .gm-stats {
    gap: 18px;
  }
  .gm-stat-value {
    font-size: 22px;
  }
  .gm-section-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .gm-section-lead {
    margin-bottom: 28px;
  }
  .gm-features,
  .gm-calculator,
  .gm-steps,
  .gm-final-cta,
  .gm-gallery {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .gm-grid,
  .gm-steps__grid {
    grid-template-columns: 1fr;
  }
  .gm-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gm-calc__grid {
    padding: 22px;
  }
  .gm-final-cta__title {
    font-size: 26px;
  }
  .gm-demo {
    padding: 18px;
  }
  .gm-sticky {
    display: flex;
  }
}
@media (max-width: 480px) {
  .gm-title {
    font-size: 24px;
  }
  .gm-stats {
    flex-direction: column;
    gap: 14px;
  }
  .gm-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gm-page * {
    transition: none !important;
  }
}
