@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

.tdv-premium,
.tdv-premium *,
.tdv-premium *::before,
.tdv-premium *::after {
  box-sizing: border-box;
}

.tdv-premium {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #fff;
  isolation: isolate;
}

.tdv-premium__section {
  width: 100%;
  max-width: 100%;
  position: relative;
}

.tdv-premium__section--white {
  background: #fff;
}

.tdv-premium__section--warm {
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 80, 122, 0.13), transparent 32%),
    radial-gradient(circle at 86% 22%, rgba(0, 242, 234, 0.16), transparent 30%),
    linear-gradient(180deg, #fff7f8 0%, #f8fcff 100%);
}

.tdv-premium__container {
  width: min(1320px, calc(100% - 48px));
  max-width: 100%;
  margin: 0 auto;
  padding: 86px 0;
}

.tdv-premium__header {
  width: min(760px, 100%);
  max-width: 100%;
  margin: 0 auto 38px;
  text-align: center;
}

.tdv-premium__header h2 {
  margin: 0;
  color: #131827;
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.14;
  font-weight: 850;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tdv-premium__header h2 span {
  background: linear-gradient(135deg, #ff2f6d 0%, #8f4dff 48%, #00c8d7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tdv-premium__header p {
  margin: 14px auto 0;
  color: #5b6475;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tdv-premium__grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.tdv-premium__card {
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --tdv-accent: #ff3f75;
  --tdv-accent-2: #00c8d7;
  --tdv-soft: rgba(255, 63, 117, 0.11);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 245px;
  padding: 26px;
  border: 1px solid rgba(18, 24, 39, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 18% 12%, var(--tdv-soft), transparent 34%);
  box-shadow: 0 16px 44px rgba(24, 31, 48, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
  transition:
    opacity 0.7s ease,
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
  will-change: transform;
}

.tdv-premium__card:nth-child(2) { --tdv-accent: #00b9c7; --tdv-accent-2: #ff3f75; --tdv-soft: rgba(0, 185, 199, 0.12); }
.tdv-premium__card:nth-child(3) { --tdv-accent: #8f4dff; --tdv-accent-2: #ff7a45; --tdv-soft: rgba(143, 77, 255, 0.12); }
.tdv-premium__card:nth-child(4) { --tdv-accent: #ff7a45; --tdv-accent-2: #00c8d7; --tdv-soft: rgba(255, 122, 69, 0.12); }
.tdv-premium__card:nth-child(5) { --tdv-accent: #11a36a; --tdv-accent-2: #00c8d7; --tdv-soft: rgba(17, 163, 106, 0.12); }
.tdv-premium__card:nth-child(6) { --tdv-accent: #3157ff; --tdv-accent-2: #ff3f75; --tdv-soft: rgba(49, 87, 255, 0.11); }
.tdv-premium__card:nth-child(7) { --tdv-accent: #d04f9b; --tdv-accent-2: #00b9c7; --tdv-soft: rgba(208, 79, 155, 0.12); }
.tdv-premium__card:nth-child(8) { --tdv-accent: #c98200; --tdv-accent-2: #8f4dff; --tdv-soft: rgba(201, 130, 0, 0.12); }

.tdv-premium__card.is-visible {
  opacity: 1;
  transform: translateY(0) perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
}

.tdv-premium__shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--fg-mx) var(--fg-my), color-mix(in srgb, var(--tdv-accent) 24%, transparent), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tdv-premium__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tdv-accent) 12%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.tdv-premium__card:hover {
  border-color: color-mix(in srgb, var(--tdv-accent) 45%, rgba(18, 24, 39, 0.12));
  box-shadow: 0 24px 68px rgba(24, 31, 48, 0.15);
  transform: translateY(-7px) perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
}

.tdv-premium__card:hover .tdv-premium__shine,
.tdv-premium__card:hover::before {
  opacity: 1;
}

.tdv-premium__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  max-width: 100%;
  border-radius: 16px;
  color: var(--tdv-accent);
  background: linear-gradient(135deg, #fff, var(--tdv-soft));
  border: 1px solid color-mix(in srgb, var(--tdv-accent) 18%, transparent);
  box-shadow: 0 12px 26px var(--tdv-soft);
  transition: transform 0.28s ease, color 0.28s ease, background 0.28s ease;
}

.tdv-premium__icon i {
  font-size: 1.15rem;
  line-height: 1;
}

.tdv-premium__card:hover .tdv-premium__icon {
  color: #fff;
  background: linear-gradient(135deg, var(--tdv-accent), var(--tdv-accent-2));
  transform: translateY(-3px) scale(1.05) rotate(-3deg);
}

.tdv-premium__card h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  color: #151b2c;
  font-size: 1.06rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tdv-premium__card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tdv-accent), var(--tdv-accent-2));
  transition: width 0.28s ease;
}

.tdv-premium__card:hover h3::after {
  width: 72px;
}

.tdv-premium__card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: #5c6575;
  font-size: 0.94rem;
  line-height: 1.66;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tdv-premium__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  color: var(--tdv-accent);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  opacity: 0.18;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tdv-premium__card:hover .tdv-premium__cta {
  opacity: 1;
  transform: translateY(0);
}

.tdv-premium__step {
  isolation: isolate;
}

.tdv-premium__step::after {
  content: attr(data-step);
  position: absolute;
  right: 18px;
  top: 12px;
  z-index: 0;
  color: color-mix(in srgb, var(--tdv-accent) 14%, transparent);
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.28s ease, color 0.28s ease;
  pointer-events: none;
}

.tdv-premium__step:hover::after {
  color: color-mix(in srgb, var(--tdv-accent) 22%, transparent);
  transform: translateY(-4px) scale(1.04);
}

.tdv-premium__step-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 100%;
  margin-bottom: 16px;
  color: var(--tdv-accent);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tdv-premium__step .tdv-premium__icon {
  width: 48px;
  height: 48px;
}

@media (min-width: 1200px) {
  .tdv-premium__container {
    width: min(1320px, calc(100% - 64px));
    padding: 92px 0;
  }

  .tdv-premium__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .tdv-premium__header p {
    font-size: 1.04rem;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .tdv-premium__container {
    width: min(1080px, calc(100% - 48px));
    padding: 78px 0;
  }

  .tdv-premium__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .tdv-premium__card {
    padding: 24px;
  }

  .tdv-premium__header p {
    font-size: 0.98rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tdv-premium__container {
    width: min(920px, calc(100% - 40px));
    padding: 66px 0;
  }

  .tdv-premium__header {
    margin-bottom: 30px;
  }

  .tdv-premium__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .tdv-premium__card {
    min-height: 220px;
    padding: 22px;
  }

  .tdv-premium__card h3 {
    font-size: 1rem;
  }

  .tdv-premium__card p {
    font-size: 0.92rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .tdv-premium__container {
    width: min(100% - 30px, 680px);
    padding: 52px 0;
  }

  .tdv-premium__header {
    margin-bottom: 24px;
  }

  .tdv-premium__header p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .tdv-premium__grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .tdv-premium__card {
    min-height: auto;
    padding: 22px;
    border-radius: 18px;
  }

  .tdv-premium__cta {
    max-width: 100%;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .tdv-premium__container {
    width: min(100% - 24px, 420px);
    padding: 44px 0;
  }

  .tdv-premium__header {
    margin-bottom: 22px;
  }

  .tdv-premium__header p {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .tdv-premium__grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .tdv-premium__card {
    min-height: auto;
    padding: 20px;
    border-radius: 16px;
  }

  .tdv-premium__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .tdv-premium__card h3 {
    font-size: 0.98rem;
  }

  .tdv-premium__card p {
    font-size: 0.89rem;
  }

  .tdv-premium__step::after {
    font-size: 3.6rem;
  }
}

@media (max-width: 374px) {
  .tdv-premium__container {
    width: min(100% - 18px, 360px);
    padding: 38px 0;
  }

  .tdv-premium__header {
    margin-bottom: 18px;
  }

  .tdv-premium__header p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .tdv-premium__grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .tdv-premium__card {
    min-height: auto;
    padding: 17px;
    border-radius: 15px;
  }

  .tdv-premium__icon,
  .tdv-premium__step .tdv-premium__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .tdv-premium__icon i {
    font-size: 1rem;
  }

  .tdv-premium__card h3 {
    margin-top: 18px;
    font-size: 0.94rem;
  }

  .tdv-premium__card p {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .tdv-premium__cta,
  .tdv-premium__step-label {
    font-size: 0.78rem;
  }

  .tdv-premium__step::after {
    right: 12px;
    top: 10px;
    font-size: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tdv-premium__card,
  .tdv-premium__card *,
  .tdv-premium__card::before,
  .tdv-premium__step::after {
    transition: none !important;
    animation: none !important;
  }

  .tdv-premium__card,
  .tdv-premium__card.is-visible,
  .tdv-premium__card:hover {
    transform: none !important;
  }

  .tdv-premium__card {
    opacity: 1;
  }
}