/* Header CTA button */
.tp-header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 21px;
  border: 1px solid rgba(255, 23, 31, 0.65);
  border-radius: 6px;
  background: transparent;
  color: #FF171F;
  font-family: var(--tp-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: auto;
  overflow: hidden;
}

.tp-header-cta .icon {
  display: none;
}

.tp-header-cta .text {
  color: #FF171F;
  position: relative;
  z-index: 2;
}

.tp-header-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 23, 31, 0.35), transparent);
  animation: tp-shine 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes tp-shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.tp-header-cta:hover {
  background: rgba(255, 23, 31, 0.1);
  border-color: #FF171F;
}

@media screen and (max-width: 991px) {
  .tp-header-cta {
    display: none;
  }
}

/* Hero */
.tp-hero {
  padding: 60px 0 0;
}

.tp-hero__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: radial-gradient(circle at 22% 45%, rgba(237, 27, 36, 0.19) 0%, rgba(237, 27, 36, 0) 34%),
              linear-gradient(147deg, rgba(27, 3, 6, 1) 0%, rgba(10, 12, 16, 1) 60%, rgba(7, 9, 12, 1) 100%);
  border: 1px solid var(--tp-white-8);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0px 26px 80px 0px rgba(0, 0, 0, 0.36);
}

.tp-hero__content {
  padding: 92px 44px 44px;
  display: flex;
  flex-direction: column;
}

.tp-hero__label {
  color: var(--tp-coral);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.tp-hero__title {
  margin: 26px 0 0;
  color: var(--tp-athens);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.0667em;
  text-transform: uppercase;
}

.tp-hero__subtitle {
  margin: 28px 0 0;
  color: var(--tp-iron);
  font-size: 18.7px;
  line-height: 1.58;
}

.tp-hero__actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Buttons */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 12px;
  font-family: var(--tp-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  min-width: 170px;
  min-height: 52px;
  box-sizing: border-box;
}

.tp-btn--primary {
  background: linear-gradient(166deg, rgba(255, 29, 26, 1) 0%, rgba(205, 5, 8, 1) 100%);
  color: var(--tp-athens);
  border-color: var(--tp-white-54);
  box-shadow: 0px 15px 34px 0px rgba(255, 0, 15, 0.35), 0px 0px 0px 2px rgba(255, 255, 255, 0.12), inset 0px 0px 24px 1px rgba(255, 255, 255, 0.08);
}

.tp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 20px 45px 0px rgba(255, 0, 15, 0.45), 0px 0px 0px 2px rgba(255, 255, 255, 0.18), inset 0px 0px 28px 1px rgba(255, 255, 255, 0.12);
}

.tp-btn--outline {
  background: rgba(255, 255, 255, 0.024);
  color: var(--tp-athens);
  border-color: var(--tp-white-22);
}

.tp-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.tp-btn__arrow {
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

.tp-price-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 170px;
  min-height: 52px;
  padding: 10px 20px 10px 70px;
  background: rgba(32, 0, 4, 0.34);
  border: 1px solid var(--tp-white-54);
  border-radius: 12.7px;
  box-shadow: 0px 14px 30px 0px rgba(237, 27, 36, 0.20);
  text-align: left;
  box-sizing: border-box;
}

.tp-price-badge__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 41px;
}

.tp-price-badge__label {
  color: var(--tp-coral);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.tp-price-badge__value {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  margin-top: 3px;
}

.tp-hero__features {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.tp-hero__feature {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-left: 18px;
  color: var(--tp-iron);
  font-size: 14px;
  line-height: 1.14;
}

.tp-hero__feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 48px;
  background: #FF2A24;
}

.tp-hero__feature-text {
  display: block;
}

.tp-hero__media {
  position: relative;
  min-height: 520px;
}

.tp-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
}

.tp-hero__media-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 10, 13, 0.78) 0%, rgba(8, 10, 13, 0) 16%),
              linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.28) 100%),
              radial-gradient(circle at 60% 46%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.13) 100%);
}

/* Platforms */
.tp-platforms {
  padding: 22px 0 0;
}

.tp-platforms__wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 23px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--tp-white-10);
  border-radius: 18px;
}

.tp-platforms__title {
  flex-shrink: 0;
  width: 240px;
  color: var(--tp-mischka);
  font-size: 16px;
  line-height: 1.45;
}

.tp-platforms__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 21px;
  flex: 1;
}

.tp-platforms__item {
  color: var(--tp-gray-chateau);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}

/* Section header */
.tp-section-header {
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 760px;
  margin-bottom: 34px;
}

.tp-section-header__label {
  color: var(--tp-coral);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tp-section-header__title {
  margin: 0;
  color: var(--tp-athens);
  font-size: 57.6px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.0417em;
}

.tp-section-header__subtitle {
  margin: 5px 0 0;
  color: var(--tp-aluminium);
  font-size: 18px;
  line-height: 1.6;
}

/* Tariffs */
.tp-tariffs {
  padding: 90px 0 0;
}

.tp-tariffs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tp-tariff {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 31px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  background-color: #0D1014;
  border: 1px solid var(--tp-white-10);
  border-radius: 20px;
  box-shadow: 0px 18px 45px 0px rgba(0, 0, 0, 0.18);
}

.tp-tariff--hit {
  border-color: var(--tp-crimson-95);
}

.tp-tariff--hit::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0px 24px 65px 0px rgba(237, 27, 36, 0.13), 0px 0px 0px 2px rgba(237, 27, 36, 0.2);
  pointer-events: none;
}

.tp-tariff__hit {
  position: absolute;
  top: -13px;
  left: 25px;
  padding: 7px 13px;
  background: var(--tp-crimson);
  color: var(--tp-athens);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 7px;
  z-index: 2;
}

.tp-tariff__name {
  margin: 0;
  padding-bottom: 1px;
  color: var(--tp-athens);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-tariff__desc {
  margin: 7px 0 0;
  color: var(--tp-aluminium);
  font-size: 14px;
  line-height: 1.4;
}

.tp-tariff__price {
  margin: 26px 0 22px;
  color: var(--tp-coral);
  font-size: 33px;
  font-weight: 700;
  line-height: 1;
}

.tp-tariff__list {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tp-tariff__list li {
  position: relative;
  padding-left: 26px;
  color: var(--tp-iron-3);
  font-size: 15px;
  line-height: 1.45;
}

.tp-tariff__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--tp-coral);
  font-size: 15px;
  font-weight: 800;
}

.tp-tariff .tp-btn {
  margin-top: 28px;
}

.tp-tariff .tp-btn--primary {
  background: linear-gradient(172deg, rgba(255, 55, 64, 1) 0%, rgba(184, 7, 14, 1) 100%);
  box-shadow: 0px 18px 38px 0px rgba(237, 27, 36, 0.26);
}

.tp-tariff .tp-btn--primary:hover {
  box-shadow: 0px 22px 46px 0px rgba(237, 27, 36, 0.36);
}

/* Services */
.tp-services {
  padding: 90px 0 0;
}

.tp-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}

.tp-service-card {
  display: flex;
  flex-direction: column;
  gap: 9.9px;
  padding: 27px;
  background: radial-gradient(circle at 100% 0%, rgba(237, 27, 36, 0.1) 0%, rgba(237, 27, 36, 0) 43%), #0D1014;
  border: 1px solid var(--tp-white-10);
  border-radius: 18px;
}

.tp-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--tp-crimson-55);
  border-radius: 14px;
  color: var(--tp-coral);
  font-size: 22px;
  line-height: 1;
}

.tp-service-card__name {
  margin: 0;
  color: var(--tp-athens);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.tp-service-card__desc {
  margin: 0;
  color: var(--tp-aluminium);
  font-size: 16px;
  line-height: 1.55;
}

.tp-service-card__price {
  margin-top: auto;
  padding-top: 10px;
  color: var(--tp-coral);
  font-size: 16px;
  font-weight: 700;
}

/* Steps */
.tp-steps {
  padding: 90px 0 0;
}

.tp-steps__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding-top: 30px;
}

.tp-step {
  position: relative;
  padding-top: 30px;
  border-top: 1px dashed var(--tp-crimson-56);
}

.tp-step__num {
  position: absolute;
  top: -24px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--tp-bunker);
  border: 1px solid var(--tp-crimson-75);
  border-radius: 24px;
  color: var(--tp-athens);
  font-size: 16px;
  font-weight: 700;
}

.tp-step__name {
  margin: 18px 0 0;
  color: var(--tp-athens);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.tp-step__desc {
  margin: 8px 0 0;
  color: var(--tp-aluminium);
  font-size: 13px;
  line-height: 1.5;
}

/* Facts */
.tp-facts {
  padding: 90px 0 0;
}

.tp-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
}

.tp-fact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 27px 27px 62px;
  background: var(--tp-bunker);
  border: 1px solid var(--tp-white-10);
  border-radius: 18px;
}

.tp-fact__value {
  color: var(--tp-coral);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.tp-fact__label {
  color: var(--tp-iron-2);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

/* CTA */
.tp-cta {
  padding: 88px 0 110px;
}

.tp-cta__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 43px;
  min-height: 170px;
  background: radial-gradient(circle at 80% 50%, rgba(237, 27, 36, 0.17) 0%, rgba(237, 27, 36, 0) 27%),
              linear-gradient(167deg, rgba(44, 7, 10, 1) 0%, rgba(16, 19, 24, 1) 93%);
  border: 1px solid var(--tp-crimson-30);
  border-radius: 22px;
}

.tp-cta__content {
  max-width: 747px;
}

.tp-cta__title {
  margin: 0;
  color: var(--tp-athens);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.11;
}

.tp-cta__subtitle {
  margin: 12px 0 0;
  color: var(--tp-aluminium);
  font-size: 17px;
  line-height: 1.4;
}

.tp-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-shrink: 0;
}

.tp-cta__actions .tp-btn {
  min-width: 235px;
}

/* Responsive */
@media screen and (max-width: 1366px) {
  .tp-hero__title {
    font-size: 48px;
  }

  .tp-section-header__title {
    font-size: 48px;
  }

  .tp-tariffs__grid,
  .tp-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tp-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 991px) {
  .tekhpodderzhka-page {
    padding-top: 70px;
  }

  .tp-hero {
    padding-top: 48px;
  }

  .tp-hero__wrapper {
    grid-template-columns: 1fr;
  }

  .tp-hero__content {
    padding: 48px 28px 34px;
  }

  .tp-hero__media {
    min-height: 360px;
    order: -1;
  }

  .tp-hero__title {
    font-size: 36px;
  }

  .tp-hero__subtitle {
    font-size: 16px;
  }

  .tp-hero__features {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .tp-hero__feature::before {
    height: 36px;
  }

  .tp-platforms__wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .tp-platforms__title {
    width: auto;
  }

  .tp-platforms__list {
    justify-content: flex-start;
  }

  .tp-section-header__title {
    font-size: 36px;
  }

  .tp-tariffs__grid,
  .tp-services__grid {
    grid-template-columns: 1fr;
  }

  .tp-steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
  }

  .tp-step {
    padding-top: 40px;
  }

  .tp-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-cta__wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .tp-cta__title {
    font-size: 28px;
  }
}

@media screen and (max-width: 767px) {
  .tekhpodderzhka-page {
    padding-top: 62px;
  }

  .tp-hero {
    padding-top: 36px;
  }

  .tp-hero__content {
    padding: 30px 22px;
  }

  .tp-hero__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .tp-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .tp-price-badge {
    padding-left: 70px;
  }

  .tp-price-badge__icon {
    width: 40px;
    height: 38px;
  }

  .tp-platforms__wrapper {
    padding: 20px 22px;
  }

  .tp-platforms__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
  }

  .tp-platforms__item {
    text-align: left;
    font-size: 13px;
  }

  .tp-section-header__title {
    font-size: 26px;
  }

  .tp-tariff,
  .tp-service-card,
  .tp-fact {
    padding: 24px;
  }

  .tp-tariff__price {
    font-size: 28px;
  }

  .tp-services__grid {
    gap: 16px;
  }

  .tp-steps__grid {
    grid-template-columns: 1fr;
  }

  .tp-facts__grid {
    grid-template-columns: 1fr;
  }

  .tp-fact {
    padding-bottom: 24px;
  }

  .tp-cta__wrapper {
    padding: 30px 22px;
  }

  .tp-cta__title {
    font-size: 22px;
  }

  .tp-cta__actions {
    width: 100%;
  }

  .tp-cta__actions .tp-btn {
    width: 100%;
    min-width: unset;
  }
}