/* Лендинг: как это работает + подсказка покупки */

.ft-how {
  position: relative;
  z-index: 1;
  padding: 36px 0 20px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-how-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 22px;
}

.ft-how-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #c8ff3d;
  box-shadow: 0 0 16px rgba(200, 255, 61, 0.65);
  animation: ft-how-dot 2.8s ease-in-out infinite;
}

@keyframes ft-how-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

.ft-how-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #f7f9f3;
  letter-spacing: -0.02em;
}

.ft-how-head p {
  margin: 0;
  color: #a8aea1;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ft-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
}

.ft-how-grid::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 61, 0.35), transparent);
  pointer-events: none;
}

.ft-how-card {
  position: relative;
  padding: 16px 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ft-how-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 255, 61, 0.22);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.ft-how-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(200, 255, 61, 0.55);
}

.ft-how-icon {
  position: absolute;
  top: 14px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(200, 255, 61, 0.12);
  border: 1px solid rgba(200, 255, 61, 0.25);
  color: #dfff79;
}

.ft-how-icon svg {
  width: 18px;
  height: 18px;
}

.ft-how-card h3 {
  margin: 10px 0 6px;
  padding-right: 44px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f7f9f3;
  line-height: 1.35;
}

.ft-how-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #9aa3a9;
}

.ft-how-cta {
  display: block;
  margin: 18px auto 0;
  min-height: 42px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #10130c;
  background: linear-gradient(105deg, #dfff79, #aeea24);
  box-shadow: 0 10px 28px rgba(174, 234, 36, 0.25);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.ft-how-cta:hover {
  transform: translateY(-2px);
}

.ft-buy-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(200, 255, 61, 0.2);
  background: linear-gradient(120deg, rgba(200, 255, 61, 0.1), rgba(10, 14, 20, 0.85));
}

.ft-buy-strip-badge {
  display: inline-block;
  margin-bottom: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10130c;
  background: #c8ff3d;
}

.ft-buy-strip-main p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #d8dde2;
}

.ft-buy-strip-go {
  flex-shrink: 0;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(200, 255, 61, 0.35);
  background: rgba(200, 255, 61, 0.12);
  color: #e8ff9a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.ft-buy-strip-go:hover {
  background: rgba(200, 255, 61, 0.2);
  transform: translateY(-1px);
}

.ft-calculator-panel {
  scroll-margin-top: 88px;
}

.calculator.ft-calculator-focus {
  animation: ft-calc-focus 0.6s ease;
  box-shadow:
    0 0 0 2px rgba(200, 255, 61, 0.45),
    0 18px 48px rgba(200, 255, 61, 0.15) !important;
}

@keyframes ft-calc-focus {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .ft-how-grid {
    grid-template-columns: 1fr;
  }

  .ft-how-grid::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-how-dot,
  .calculator.ft-calculator-focus {
    animation: none !important;
  }
}
