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

.ytcv-premium-content,
.ytcv-premium-content * {
  box-sizing: border-box;
}

.ytcv-premium-content {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: #231f20;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: #fff;
}

.ytcv-premium-content section,
.ytcv-premium-content div,
.ytcv-premium-content article {
  max-width: 100%;
}

.ytcv-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 88px 24px;
  overflow: hidden;
}

.ytcv-section-white {
  background: #fff;
}

.ytcv-section-warm {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 90, 95, 0.11), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(255, 185, 84, 0.16), transparent 31%),
    linear-gradient(180deg, #fff8f1 0%, #fff4ec 48%, #fffaf6 100%);
}

.ytcv-container {
  width: min(1320px, 100%);
  max-width: 100%;
  margin: 0 auto;
}

.ytcv-heading-wrap {
  width: min(780px, 100%);
  max-width: 100%;
  margin: 0 auto 38px;
  text-align: center;
}

.ytcv-heading-wrap h2 {
  margin: 0;
  color: #21191a;
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  font-weight: 820;
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ytcv-heading-wrap h2 span {
  background: linear-gradient(110deg, #e62117 0%, #ff6a3d 45%, #b83280 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ytcv-heading-wrap p {
  margin: 14px auto 0;
  max-width: 660px;
  color: #685f60;
  font-size: 1.03rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ytcv-card {
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --ytcv-hue: #e62117;
  --ytcv-hue-2: #ff8a4c;
  --ytcv-soft: rgba(230, 33, 23, 0.1);

  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 248px;
  padding: 26px;
  border: 1px solid rgba(36, 24, 24, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.84), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 244, 0.88));
  box-shadow: 0 16px 38px rgba(32, 20, 18, 0.08);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(18px);
  opacity: 0;
  transition:
    opacity 600ms ease,
    transform 600ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
  overflow: hidden;
  isolation: isolate;
}

.ytcv-card:nth-child(8n + 1) { --ytcv-hue: #e62117; --ytcv-hue-2: #ff7a45; --ytcv-soft: rgba(230, 33, 23, 0.12); }
.ytcv-card:nth-child(8n + 2) { --ytcv-hue: #c2410c; --ytcv-hue-2: #f59e0b; --ytcv-soft: rgba(245, 158, 11, 0.13); }
.ytcv-card:nth-child(8n + 3) { --ytcv-hue: #b83280; --ytcv-hue-2: #fb7185; --ytcv-soft: rgba(184, 50, 128, 0.12); }
.ytcv-card:nth-child(8n + 4) { --ytcv-hue: #7c3aed; --ytcv-hue-2: #ec4899; --ytcv-soft: rgba(124, 58, 237, 0.11); }
.ytcv-card:nth-child(8n + 5) { --ytcv-hue: #0f766e; --ytcv-hue-2: #14b8a6; --ytcv-soft: rgba(20, 184, 166, 0.12); }
.ytcv-card:nth-child(8n + 6) { --ytcv-hue: #2563eb; --ytcv-hue-2: #06b6d4; --ytcv-soft: rgba(37, 99, 235, 0.11); }
.ytcv-card:nth-child(8n + 7) { --ytcv-hue: #be123c; --ytcv-hue-2: #f97316; --ytcv-soft: rgba(190, 18, 60, 0.12); }
.ytcv-card:nth-child(8n + 8) { --ytcv-hue: #4f46e5; --ytcv-hue-2: #f43f5e; --ytcv-soft: rgba(79, 70, 229, 0.11); }

.ytcv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), var(--ytcv-soft), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 52%);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.ytcv-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--ytcv-hue), var(--ytcv-hue-2));
  opacity: 0.35;
  transform: scaleX(0.38);
  transform-origin: left;
  transition: transform 260ms ease, opacity 260ms ease;
}

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

.ytcv-card:hover {
  border-color: color-mix(in srgb, var(--ytcv-hue) 38%, transparent);
  box-shadow: 0 24px 58px rgba(40, 22, 20, 0.15);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-7px);
}

.ytcv-card:hover::after {
  opacity: 0.88;
  transform: scaleX(1);
}

.ytcv-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  max-width: 100%;
  margin: 0 0 20px;
  border-radius: 16px;
  color: var(--ytcv-hue);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), var(--ytcv-soft));
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 26px rgba(36, 20, 16, 0.08);
  transition: transform 260ms ease, color 260ms ease, background 260ms ease;
}

.ytcv-icon i {
  font-size: 1.18rem;
  line-height: 1;
}

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

.ytcv-card h3 {
  position: relative;
  margin: 0 0 12px;
  color: #241c1d;
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ytcv-card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ytcv-hue), var(--ytcv-hue-2));
  transform: scaleX(0.48);
  transform-origin: left;
  opacity: 0.5;
  transition: transform 260ms ease, opacity 260ms ease;
}

.ytcv-card:hover h3::after {
  transform: scaleX(1);
  opacity: 1;
}

.ytcv-card p {
  margin: 0;
  color: #61585a;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ytcv-cta {
  display: inline-block;
  max-width: 100%;
  margin-top: 18px;
  color: var(--ytcv-hue);
  font-size: 0.9rem;
  font-weight: 720;
  opacity: 0.2;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ytcv-tilt {
  transform-style: preserve-3d;
}

.ytcv-tilt .ytcv-icon,
.ytcv-tilt h3,
.ytcv-tilt p {
  transform: translateZ(10px);
}

.ytcv-process {
  min-height: 270px;
  padding-top: 32px;
}

.ytcv-step-number {
  position: absolute;
  top: 12px;
  right: 18px;
  color: color-mix(in srgb, var(--ytcv-hue) 18%, transparent);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
  transition: transform 260ms ease, color 260ms ease;
}

.ytcv-process:hover .ytcv-step-number {
  color: color-mix(in srgb, var(--ytcv-hue) 28%, transparent);
  transform: translateY(-4px) scale(1.04);
}

@media (min-width: 1200px) {
  .ytcv-section {
    padding: 96px 32px;
  }

  .ytcv-container {
    width: min(1320px, 100%);
  }

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

@media (min-width: 1024px) and (max-width: 1199px) {
  .ytcv-section {
    padding: 78px 26px;
  }

  .ytcv-container {
    width: min(1080px, 100%);
  }

  .ytcv-heading-wrap p {
    font-size: 0.99rem;
  }

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

  .ytcv-card {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ytcv-section {
    padding: 66px 22px;
  }

  .ytcv-heading-wrap {
    margin-bottom: 30px;
  }

  .ytcv-heading-wrap p {
    font-size: 0.96rem;
  }

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

  .ytcv-card {
    min-height: 230px;
    padding: 22px;
  }

  .ytcv-card h3 {
    font-size: 1.02rem;
  }

  .ytcv-card p {
    font-size: 0.93rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .ytcv-section {
    padding: 54px 16px;
  }

  .ytcv-heading-wrap {
    margin-bottom: 26px;
  }

  .ytcv-heading-wrap p {
    font-size: 0.94rem;
  }

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

  .ytcv-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: auto;
    padding: 22px;
  }

  .ytcv-cta {
    white-space: normal;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .ytcv-section {
    padding: 46px 14px;
  }

  .ytcv-heading-wrap {
    margin-bottom: 24px;
  }

  .ytcv-heading-wrap p {
    font-size: 0.91rem;
  }

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

  .ytcv-card {
    min-width: 0;
    max-width: 100%;
    min-height: auto;
    padding: 20px;
    border-radius: 18px;
  }

  .ytcv-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .ytcv-step-number {
    font-size: 3.25rem;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .ytcv-section {
    padding: 40px 12px;
  }

  .ytcv-heading-wrap {
    margin-bottom: 22px;
  }

  .ytcv-heading-wrap p {
    font-size: 0.88rem;
  }

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

  .ytcv-card {
    min-width: 0;
    max-width: 100%;
    min-height: auto;
    padding: 18px;
    border-radius: 16px;
  }

  .ytcv-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 13px;
  }

  .ytcv-icon i {
    font-size: 1rem;
  }

  .ytcv-card h3 {
    font-size: 0.98rem;
  }

  .ytcv-card p,
  .ytcv-cta {
    font-size: 0.88rem;
  }

  .ytcv-step-number {
    top: 10px;
    right: 14px;
    font-size: 2.85rem;
  }
}

@media (max-width: 319px) {
  .ytcv-section {
    padding: 36px 10px;
  }

  .ytcv-grid {
    grid-template-columns: 1fr !important;
  }

  .ytcv-card {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ytcv-premium-content *,
  .ytcv-premium-content *::before,
  .ytcv-premium-content *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .ytcv-card,
  .ytcv-card.is-visible,
  .ytcv-card:hover {
    transform: none !important;
    opacity: 1 !important;
  }
}