/* Preview: Figma layout + cybertag.ru button styles */
html {
  font-size: 10px;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: #0a0a0b;
  color: #fff;
  font-family: "Proxima Nova", "Proxima Nova Rg", Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1232px, calc(100% - 48px));
  margin: 0 auto;
}

/* —— site buttons —— */
.btn,
a.btn {
  padding: 1.2rem 2rem;
  z-index: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 1000px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  font-weight: 600;
  font-size: 1em;
  text-align: center;
  line-height: 1.5;
  overflow: hidden;
  transition-property: border, border-color, color, background-color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
  box-sizing: border-box;
  cursor: pointer;
}
.btn::before,
a.btn::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 100%;
  right: 100%;
  width: 100%;
  padding-bottom: 100%;
  border-radius: 50%;
  transform-origin: center;
  transform: translate3d(50%, -50%, 0) scale3d(0, 0, 0);
  transition: transform 0.5s ease-in-out;
}
.btn:hover::before,
a.btn:hover::before {
  transform: translate3d(100%, -50%, 0) scale3d(2.5, 2.5, 2.5);
}

.btn-gradient,
a.btn-gradient {
  padding: 1.2rem 2.2rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff180a 0%, #e3007b 60%);
  color: #ffffff;
  font-size: 1.8rem;
}
.btn-gradient::before,
a.btn-gradient::before { background-color: #ffffff; }
.btn-gradient:hover,
a.btn-gradient:hover { color: #e80465; }
.btn-gradient span {
  margin-left: -.5rem;
  margin-right: calc(1rem - 0.275em);
  padding-right: 1rem;
  border-right: 1px solid #fff;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 0;
  transition: border-color 0.3s ease-in-out;
}
.btn-gradient:hover span { border-right-color: #e80465; }
.btn-gradient svg {
  display: inline-block;
  vertical-align: middle;
}
.btn-gradient svg path { fill: currentColor; transition: fill 0.3s ease-in-out; }

/* —— hero —— */
.hero {
  position: relative;
  min-height: 90rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8rem 2rem 8rem;
  background: #0a0a0b url("./assets/hero-bg.png") center top / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, rgba(255, 0, 55, 0) 0%, #0a0a0b 85%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(712px, 100%);
  text-align: center;
}
.hero__logo {
  display: block;
  margin: 0 auto 1.6rem;
  width: min(506px, 90%);
  height: auto;
}
.hero__title {
  margin: 0 0 4rem;
  font-size: clamp(2.8rem, 3.5vw, 5.6rem);
  font-weight: 600;
  line-height: 1.2;
}
.hero__actions {
  display: flex;
  justify-content: center;
}
.hero__actions .btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1000px;
  min-width: 36rem;
  padding: 1.6rem 4.8rem;
  font-size: 2rem;
}

/* —— bundles —— */
.bundles {
  padding: 8rem 0 10rem;
  display: flex;
  flex-direction: column;
  gap: 12rem;
}

.bundle {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 452px) 1fr;
  width: 100%;
  aspect-ratio: 1232 / 687;
  min-height: 0;
  border-radius: 2.4rem;
  background: #1f1f1f;
  overflow: visible;
}
.bundle#smart { aspect-ratio: 1232 / 719; }
.bundle#pro,
.bundle#elite { aspect-ratio: 1232 / 734; }
.bundle::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border-radius: 2.4rem;
  background: linear-gradient(90deg, #ff180a 0%, #e3007b 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.bundle::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 2.4rem;
  background: #1f1f1f;
  pointer-events: none;
}
.bundle:hover::before {
  opacity: 1;
}

.bundle__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 2.4rem;
  overflow: hidden;
  pointer-events: none;
}
.bundle__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bundle__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  padding: 4.8rem;
  width: 54.8rem;
  max-width: 100%;
}

.bundle__title {
  margin: 0 0 1.4rem;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
}
.bundle__subtitle {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 3.2rem;
  color: #fff;
}

.bundle__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 45.3rem;
  max-width: 100%;
}
.bundle__item {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  column-gap: 0.8rem;
  align-items: center;
  min-height: 3.2rem;
}
.bundle__qty {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 3.2rem;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  background: linear-gradient(90deg, #ff180a 0%, #e3007b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* background-clip: text обрезает глифы — небольшой запас */
  padding-right: 0.2rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.bundle__main {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-width: 0;
}
.bundle__name {
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 3.2rem;
  white-space: nowrap;
}
.bundle__item:has(.bundle__gift) .bundle__name {
  white-space: nowrap;
}
@media (max-width: 1300px) {
  .bundle__name { white-space: normal; }
}
.bundle__gift {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 1000px;
  background: linear-gradient(90deg, rgba(255, 24, 10, 0.7) 0%, rgba(227, 0, 123, 0.7) 100%);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 2.4rem;
  white-space: nowrap;
}

.bundle__footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 3.2rem;
  margin-top: auto;
}
.bundle__prices {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}
.bundle__price-old {
  margin: 0;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: #757b8a;
  text-decoration: line-through;
}
.bundle__price {
  margin: 0;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 4rem;
  color: #f82615;
}
.bundle__footer .btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 4.8rem;
  min-width: 17.3rem;
  padding: 0.8rem 4rem;
  border-radius: 1000px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bundle__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 15.3rem;
  height: 15.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.5rem;
  box-sizing: border-box;
  background: #f82615;
  border-radius: 2.4rem 0 2.4rem 0;
  box-shadow: 0 0 1.9rem #f82615;
  text-align: center;
  transition-property: bottom, right, padding, width, height;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
}
.bundle:hover .bundle__badge {
  right: -1rem;
  bottom: -1rem;
  padding: 2.5rem;
  width: 17.3rem;
  height: 17.3rem;
}
.bundle__badge-num {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1;
}
.bundle__badge-label {
  font-size: 2.2rem;
  line-height: 3.2rem;
}















@media (max-width: 1100px) {
  .hero { min-height: 70rem; padding-bottom: 5rem; }
  .bundle {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    min-height: 56rem;
  }
  .bundle#smart,
  .bundle#pro,
  .bundle#elite { aspect-ratio: auto; }
  .bundle__media img {
    object-fit: cover;
    object-position: right center;
  }
  .bundle__body {
    max-width: none;
    width: 100%;
    padding: 3.2rem;
  }
  .bundle__list { width: 100%; }
  .bundle__title { font-size: 3.2rem; }
  .bundle__name,
  .bundle__subtitle { font-size: 1.8rem; white-space: normal; }
  .bundle__qty { font-size: 2.4rem; }
  .bundle__item {
    grid-template-columns: 5.6rem minmax(0, 1fr);
  }
  .bundle__main { flex-wrap: wrap; gap: 0.8rem 1.6rem; }
  .bundle:hover .bundle__badge {
    right: -1rem;
    bottom: auto;
    top: -1rem;
  }
}
