@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");

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

.tiv-premium-content {
  --tiv-ink: #1f2430;
  --tiv-muted: #667085;
  --tiv-line: rgba(120, 93, 70, 0.16);
  --tiv-accent: #d66b4d;
  --tiv-accent-2: #8f5cff;
  --tiv-warm: #fff7ef;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--tiv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.tiv-premium-content .tiv-section,
.tiv-premium-content .tiv-container,
.tiv-premium-content .tiv-card-grid {
  width: 100%;
  max-width: 100%;
}

.tiv-premium-content .tiv-section {
  position: relative;
  padding: 86px 20px;
  overflow: hidden;
}

.tiv-premium-content .tiv-section-white {
  background: #fff;
}

.tiv-premium-content .tiv-section-warm {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 171, 126, 0.22), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(143, 92, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #fff9f3 0%, #fff2e8 100%);
}

.tiv-premium-content .tiv-container {
  max-width: 1240px;
  margin: 0 auto;
}

.tiv-premium-content .tiv-section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.tiv-premium-content .tiv-section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--tiv-ink);
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiv-premium-content .tiv-section-head h2 span {
  background: linear-gradient(135deg, #d66b4d 0%, #e7a34b 42%, #8f5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tiv-premium-content .tiv-section-head p {
  margin: 14px auto 0;
  max-width: 660px;
  color: var(--tiv-muted);
  font-size: 1.02rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiv-premium-content .tiv-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.tiv-premium-content .tiv-card {
  --fg-mx: 50%;
  --fg-my: 0%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --card-hue: #d66b4d;
  --card-hue-2: #8f5cff;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 244px;
  padding: 25px;
  border: 1px solid rgba(120, 93, 70, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), color-mix(in srgb, var(--card-hue) 18%, transparent), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,250,246,0.88));
  box-shadow: 0 14px 34px rgba(31, 36, 48, 0.07);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(22px);
  opacity: 0;
  transition:
    transform 420ms ease,
    opacity 520ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease,
    background 280ms ease;
  isolation: isolate;
}

.tiv-premium-content .tiv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-hue) 12%, transparent), transparent 45%),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--card-hue-2) 12%, transparent), transparent 32%);
  opacity: 0.72;
  z-index: -1;
  pointer-events: none;
}

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

.tiv-premium-content .tiv-card:hover {
  border-color: color-mix(in srgb, var(--card-hue) 42%, rgba(120, 93, 70, 0.18));
  box-shadow: 0 22px 56px rgba(31, 36, 48, 0.13);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-7px);
}

.tiv-premium-content .tiv-card h3 {
  position: relative;
  margin: 18px 0 10px;
  color: var(--tiv-ink);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiv-premium-content .tiv-card h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--card-hue), var(--card-hue-2));
  transition: width 260ms ease;
}

.tiv-premium-content .tiv-card:hover h3::after {
  width: 68px;
}

.tiv-premium-content .tiv-card p {
  margin: 0;
  color: var(--tiv-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiv-premium-content .tiv-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  max-width: 100%;
  border-radius: 16px;
  color: var(--card-hue);
  background: color-mix(in srgb, var(--card-hue) 12%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-hue) 18%, transparent);
  transition: transform 280ms ease, color 280ms ease, background 280ms ease;
}

.tiv-premium-content .tiv-icon i {
  font-size: 1.15rem;
  line-height: 1;
}

.tiv-premium-content .tiv-card:hover .tiv-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--card-hue), var(--card-hue-2));
  transform: translateY(-3px) scale(1.05) rotate(-3deg);
}

.tiv-premium-content .tiv-cta {
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  color: var(--card-hue);
  font-size: 0.88rem;
  font-weight: 800;
  opacity: 0.2;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiv-premium-content .tiv-card:hover .tiv-cta {
  opacity: 1;
  transform: translateY(0);
}

.tiv-premium-content .tiv-tilt {
  transform-style: preserve-3d;
}

.tiv-premium-content .tiv-process {
  min-height: 264px;
}

.tiv-premium-content .tiv-step-number {
  position: absolute;
  right: 18px;
  top: 12px;
  max-width: 42%;
  color: color-mix(in srgb, var(--card-hue) 16%, transparent);
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
  transition: transform 300ms ease, color 300ms ease;
}

.tiv-premium-content .tiv-process:hover .tiv-step-number {
  color: color-mix(in srgb, var(--card-hue) 24%, transparent);
  transform: translateY(-4px) scale(1.04);
}

.tiv-premium-content .tiv-card:nth-child(8n+1) { --card-hue: #d66b4d; --card-hue-2: #8f5cff; }
.tiv-premium-content .tiv-card:nth-child(8n+2) { --card-hue: #0ea5a4; --card-hue-2: #f59e0b; }
.tiv-premium-content .tiv-card:nth-child(8n+3) { --card-hue: #e05286; --card-hue-2: #7c3aed; }
.tiv-premium-content .tiv-card:nth-child(8n+4) { --card-hue: #2563eb; --card-hue-2: #d66b4d; }
.tiv-premium-content .tiv-card:nth-child(8n+5) { --card-hue: #16a34a; --card-hue-2: #06b6d4; }
.tiv-premium-content .tiv-card:nth-child(8n+6) { --card-hue: #ca8a04; --card-hue-2: #db2777; }
.tiv-premium-content .tiv-card:nth-child(8n+7) { --card-hue: #7c3aed; --card-hue-2: #14b8a6; }
.tiv-premium-content .tiv-card:nth-child(8n+8) { --card-hue: #dc2626; --card-hue-2: #2563eb; }

@media (min-width: 1200px) {
  .tiv-premium-content .tiv-section { padding: 92px 28px; }
  .tiv-premium-content .tiv-container { max-width: 1240px; }
  .tiv-premium-content .tiv-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .tiv-premium-content .tiv-section { padding: 78px 24px; }
  .tiv-premium-content .tiv-container { max-width: 1060px; }
  .tiv-premium-content .tiv-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .tiv-premium-content .tiv-section-head p { font-size: 0.98rem; }
  .tiv-premium-content .tiv-card { padding: 23px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tiv-premium-content .tiv-section { padding: 66px 20px; }
  .tiv-premium-content .tiv-section-head { margin-bottom: 30px; }
  .tiv-premium-content .tiv-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .tiv-premium-content .tiv-card { padding: 22px; min-height: 230px; }
  .tiv-premium-content .tiv-card h3 { font-size: 1.02rem; }
  .tiv-premium-content .tiv-card p { font-size: 0.92rem; }
}

@media (min-width: 430px) and (max-width: 767px) {
  .tiv-premium-content .tiv-section { padding: 54px 16px; }
  .tiv-premium-content .tiv-section-head { margin-bottom: 26px; }
  .tiv-premium-content .tiv-section-head p { font-size: 0.94rem; }
  .tiv-premium-content .tiv-card-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .tiv-premium-content .tiv-card { padding: 20px; min-height: 0; }
  .tiv-premium-content .tiv-cta { width: 100%; }
}

@media (min-width: 375px) and (max-width: 429px) {
  .tiv-premium-content .tiv-section { padding: 46px 14px; }
  .tiv-premium-content .tiv-section-head { margin-bottom: 22px; }
  .tiv-premium-content .tiv-section-head p { font-size: 0.9rem; }
  .tiv-premium-content .tiv-card-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .tiv-premium-content .tiv-card { padding: 18px; min-height: 0; border-radius: 18px; }
  .tiv-premium-content .tiv-icon { width: 46px; height: 46px; border-radius: 14px; }
  .tiv-premium-content .tiv-step-number { font-size: 3.5rem; right: 14px; }
}

@media (max-width: 374px) {
  .tiv-premium-content .tiv-section { padding: 40px 12px; }
  .tiv-premium-content .tiv-section-head { margin-bottom: 20px; }
  .tiv-premium-content .tiv-section-head p { font-size: 0.86rem; }
  .tiv-premium-content .tiv-card-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .tiv-premium-content .tiv-card { padding: 16px; min-height: 0; border-radius: 16px; }
  .tiv-premium-content .tiv-card h3 { font-size: 0.98rem; }
  .tiv-premium-content .tiv-card p { font-size: 0.86rem; }
  .tiv-premium-content .tiv-icon { width: 42px; height: 42px; border-radius: 13px; }
  .tiv-premium-content .tiv-icon i { font-size: 1rem; }
  .tiv-premium-content .tiv-step-number { font-size: 3rem; right: 12px; top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .tiv-premium-content .tiv-card,
  .tiv-premium-content .tiv-icon,
  .tiv-premium-content .tiv-cta,
  .tiv-premium-content .tiv-step-number,
  .tiv-premium-content .tiv-card h3::after {
    transition: none !important;
  }

  .tiv-premium-content .tiv-card,
  .tiv-premium-content .tiv-card.is-visible,
  .tiv-premium-content .tiv-card:hover {
    transform: none !important;
  }
}