/* YT Wealth Media — brand overrides (loads after main.css) */
:root {
  --color-primary: #c41227;
  --color-primary-dark: #8b0f1c;
  --color-secondary: #050508;
}

.ai-agency {
  --color-primary: #c41227;
  --color-primary-dark: #8b0f1c;
  --color-secondary: #050508;
  background-color: #050508;
}

/* ── Logo (header + mobile + preloader) ── */
.ai-agency .xb-header-logo img,
.ai-agency .xb-logo-mobile img {
  max-height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.ai-agency .preloader .loader-logo img {
  max-height: 52px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

/* ══════════════════════════════════════════════════════════
   PRELOADER — cinematic YT Wealth
   ══════════════════════════════════════════════════════════ */
.ai-agency:has(.yt-preloader:not(.is-exiting)) {
  overflow: hidden;
}

.ai-agency .yt-preloader {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #030305 !important;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-agency .yt-preloader.is-exiting {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ai-agency .yt-preloader.is-exiting .yt-preloader-inner {
  transform: scale(1.08);
  opacity: 0;
  filter: blur(8px);
}

.ai-agency .yt-preloader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.ai-agency .yt-preloader-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 35%, rgba(3, 3, 5, 0.85) 100%);
}

.ai-agency .yt-preloader-glow {
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle, rgba(196, 18, 39, 0.28) 0%, rgba(196, 18, 39, 0.08) 38%, transparent 68%);
  animation: ytPreloaderGlow 3.2s ease-in-out infinite;
}

.ai-agency .yt-preloader-scanline {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.35) 2px,
    rgba(255, 255, 255, 0.35) 3px
  );
}

.ai-agency .yt-preloader-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  width: min(420px, 92vw);
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.75s ease,
    filter 0.75s ease;
}

.ai-agency .yt-preloader-orbit {
  position: relative;
  width: clamp(200px, 52vw, 300px);
  height: clamp(200px, 52vw, 300px);
  margin-bottom: clamp(28px, 5vw, 40px);
}

.ai-agency .yt-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}

.ai-agency .yt-orbit-ring--1 {
  border-top-color: rgba(196, 18, 39, 0.95);
  border-right-color: rgba(196, 18, 39, 0.25);
  animation: ytOrbitSpin 2.4s linear infinite;
  box-shadow: 0 0 24px rgba(196, 18, 39, 0.35);
}

.ai-agency .yt-orbit-ring--2 {
  inset: 12%;
  border-bottom-color: rgba(255, 107, 122, 0.75);
  border-left-color: rgba(255, 107, 122, 0.15);
  animation: ytOrbitSpinRev 1.8s linear infinite;
}

.ai-agency .yt-orbit-ring--3 {
  inset: 24%;
  border-top-color: rgba(255, 255, 255, 0.35);
  border-left-color: rgba(255, 255, 255, 0.08);
  animation: ytOrbitSpin 3.6s linear infinite;
}

.ai-agency .yt-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 14px rgba(196, 18, 39, 0.9);
}

.ai-agency .yt-orbit-dot--1 {
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  animation: ytDotPulse 1.6s ease-in-out infinite;
}

.ai-agency .yt-orbit-dot--2 {
  bottom: 8%;
  right: 12%;
  animation: ytDotPulse 1.6s ease-in-out infinite 0.8s;
}

.ai-agency .yt-preloader-logo-wrap {
  position: absolute;
  inset: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(5, 5, 8, 0.72);
  border: 1px solid rgba(196, 18, 39, 0.35);
  box-shadow:
    0 0 40px rgba(196, 18, 39, 0.25),
    inset 0 0 24px rgba(196, 18, 39, 0.08);
  animation: ytLogoFloat 2.8s ease-in-out infinite;
}

.ai-agency .yt-preloader-logo-wrap img {
  max-width: 92%;
  max-height: clamp(72px, 14vw, 110px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(196, 18, 39, 0.45));
}

.ai-agency .yt-preloader-tagline {
  margin: 0 0 clamp(22px, 4vw, 32px);
  font-size: clamp(12px, 2.8vw, 14px);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 1.4em;
}

.ai-agency .yt-preloader-dots i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 3px;
  border-radius: 50%;
  background: #c41227;
  opacity: 0.35;
  animation: ytDotBlink 1.2s ease-in-out infinite;
}

.ai-agency .yt-preloader-dots i:nth-child(2) { animation-delay: 0.2s; }
.ai-agency .yt-preloader-dots i:nth-child(3) { animation-delay: 0.4s; }

.ai-agency .yt-preloader-progress {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ai-agency .yt-preloader-bar {
  flex: 1;
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ai-agency .yt-preloader-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b0f1c, #c41227 45%, #ff3b3b);
  box-shadow: 0 0 18px rgba(196, 18, 39, 0.65);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-agency .yt-preloader-bar-shine {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: ytBarShine 2s ease-in-out infinite;
}

.ai-agency .yt-preloader-percent {
  flex-shrink: 0;
  min-width: 42px;
  font-size: clamp(11px, 2.6vw, 13px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
}

@keyframes ytPreloaderGlow {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes ytOrbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes ytOrbitSpinRev {
  to { transform: rotate(-360deg); }
}

@keyframes ytLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes ytDotPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes ytDotBlink {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@keyframes ytBarShine {
  0% { left: -30%; }
  100% { left: 100%; }
}

@media (max-width: 767px) {
  .ai-agency .yt-preloader-inner {
    width: min(340px, 88vw);
  }

  .ai-agency .yt-preloader-orbit {
    width: clamp(180px, 58vw, 240px);
    height: clamp(180px, 58vw, 240px);
  }

  .ai-agency .yt-preloader-logo-wrap img {
    max-height: clamp(64px, 18vw, 88px);
  }

  .ai-agency .yt-preloader-tagline {
    flex-direction: column;
    gap: 4px;
  }

  .ai-agency .yt-orbit-dot {
    width: 6px;
    height: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-agency .yt-preloader-glow,
  .ai-agency .yt-orbit-ring,
  .ai-agency .yt-orbit-dot,
  .ai-agency .yt-preloader-logo-wrap,
  .ai-agency .yt-preloader-bar-shine,
  .ai-agency .yt-preloader-dots i {
    animation: none !important;
  }

  .ai-agency .yt-preloader-bar-fill {
    transition: width 0.15s linear;
  }
}

/* ── Header: floating glass command bar ── */
.ai-agency .header-style--one {
  top: 18px;
  padding: 0 14px;
  z-index: 1000;
}

.ai-agency .header-style--one .xb-header .container.mxw-1650 {
  max-width: 1280px;
}

.ai-agency .header-style--one .header__wrap {
  position: relative;
  align-items: center;
  min-height: 70px;
  padding: 8px 10px 8px 20px;
  gap: 18px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(196, 18, 39, 0.06) 100%),
    rgba(6, 6, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(196, 18, 39, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.ai-agency .header-style--one .header__wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 120% at 50% -40%, rgba(196, 18, 39, 0.22), transparent 65%);
  pointer-events: none;
  opacity: 0.9;
}

.ai-agency .header-style--one .header__wrap > * {
  position: relative;
  z-index: 1;
}

.ai-agency .header-style--one .xb-header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.ai-agency .header-style--one .xb-header-logo img {
  max-height: 40px;
  max-width: 150px;
  filter: none !important;
}

.ai-agency .header-style--one .main-menu__wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}

.ai-agency .header-style--one .main-menu > ul {
  gap: 4px;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-agency .header-style--one .main-menu > ul > li > a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 9px 16px 10px !important;
  white-space: nowrap;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ai-agency .header-style--one .main-menu > ul > li:hover > a,
.ai-agency .header-style--one .main-menu > ul > li.active > a {
  background: rgba(196, 18, 39, 0.18) !important;
  border-color: rgba(196, 18, 39, 0.35) !important;
  box-shadow: 0 0 24px rgba(196, 18, 39, 0.2);
  color: #fff !important;
}

.ai-agency .header-style--one .header-btn {
  flex-shrink: 0;
  margin-left: auto;
}

.ai-agency .header-style--one .header-btn .thm-btn {
  font-size: 12px !important;
  padding: 13px 24px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(135deg, #e10600 0%, #c41227 48%, #8f0d1c 100%) !important;
  box-shadow:
    0 10px 28px rgba(196, 18, 39, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.ai-agency .header-style--one .header-btn .thm-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 36px rgba(196, 18, 39, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  filter: brightness(1.06);
}

.ai-agency .header-style--one .header-bar-mobile a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196, 18, 39, 0.15);
  border: 1px solid rgba(196, 18, 39, 0.35);
  color: #fff;
}

.ai-agency .xb-header-area-sticky.xb-header-fixed {
  top: 10px !important;
}

.ai-agency .xb-header-area-sticky.xb-header-fixed .header__wrap {
  background: rgba(5, 5, 8, 0.92);
  border-color: rgba(196, 18, 39, 0.28);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(196, 18, 39, 0.12);
}

.ai-agency .xb-header-area-sticky.xb-header-fixed.xb-header {
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
  padding: 0 !important;
}

/* ── Buttons & accents ── */
.ai-agency .thm-btn,
.ai-agency .agency-btn,
.ai-agency .form-btn,
.ai-agency .header-btn .thm-btn {
  background-color: #c41227 !important;
  border-color: #c41227 !important;
  color: #fff !important;
}

.ai-agency .thm-btn:hover,
.ai-agency .agency-btn:hover,
.ai-agency .form-btn:hover {
  background-color: #8b0f1c !important;
  border-color: #8b0f1c !important;
}

.ai-agency .sec-title .sub-title,
.ai-agency .xb-item--number {
  color: #c41227 !important;
}

.ai-agency .loader-line,
.ai-agency .xb-backtotop a {
  background-color: #c41227 !important;
}

.ai-agency .main-menu > ul > li > a span::before,
.ai-agency .xb-header-menu-scroll .xb-menu-primary > li > a span::before {
  background: #c41227 !important;
}

.ai-agency .header-style--one .main-menu > ul > li:hover > a > span::after,
.ai-agency .header-style--one .main-menu > ul > li.active > a > span::after {
  background: #c41227 !important;
  color: #fff !important;
}

.ai-agency .xb-gradiant-line span {
  background: linear-gradient(90deg, transparent, #c41227, transparent) !important;
}

.ai-agency .xb-feature-item .xb-item--inner:hover,
.ai-agency .xb-project-pagination li.active,
.ai-agency .xb-service-item.xb-mouseenter.active,
.ai-agency .xb-service-item:hover,
.ai-agency .xb-industries-item:hover {
  border-color: #c41227 !important;
}

.ai-agency .brand-sub-title span,
.ai-agency .horizontal-shape,
.ai-agency .xb-item--rating li:first-child i,
.ai-agency .xb-testimonial-item .xb-item--rating li i {
  color: #c41227 !important;
}

.ai-agency .tag-red,
.ai-agency .number-red {
  color: #c41227 !important;
}

.ai-agency .xb-marquee-item .tag-red {
  background-color: #c41227 !important;
}

/* SVG / gradient greens & cyans → red */
.ai-agency svg stop[stop-color="#00FF97"],
.ai-agency svg stop[stop-color="#00ff97"],
.ai-agency svg stop[stop-color="#4CBDD4"],
.ai-agency svg stop[stop-color="#4cbdd4"] {
  stop-color: #c41227 !important;
}

.ai-agency svg [fill="#00ff97"],
.ai-agency svg [fill="#00FF97"],
.ai-agency svg [fill="#4CBDD4"],
.ai-agency svg [fill="#4cbdd4"] {
  fill: #c41227 !important;
}

/* Decorative glow / 3D shapes → brand red */
.ai-agency .xb-gardiant-shape img,
.ai-agency .xb-contact-conent .shape img {
  filter: sepia(0.4) saturate(2.6) hue-rotate(310deg) brightness(0.72) contrast(1.12)
    drop-shadow(0 0 48px rgba(196, 18, 39, 0.35));
  opacity: 0.88;
}

/* These images are recolored to brand red at the pixel level — only the glow is added here */
.ai-agency .xb-gardiant-shape-two img,
.ai-agency .indu-shape img,
.ai-agency .xb-industries-logo img {
  filter: drop-shadow(0 0 48px rgba(196, 18, 39, 0.35));
}

/* Industries section: vertical accent lines green → red */
.ai-agency .xb-gradiant-line span {
  background: linear-gradient(0deg, rgba(196, 18, 39, 0) 0%, rgba(196, 18, 39, 0.55) 50%, rgba(196, 18, 39, 0) 100%) !important;
}

/* Marquee API pills: dark green tag tint → dark red tint */
.ai-agency .xb-marquee-item .tag {
  background: rgba(196, 18, 39, 0.12);
}

/* Case-study pagination dot: green ring → red */
.ai-agency .xb-project-pagination li.active::before {
  border-color: #c41227 !important;
}

.ai-agency .xb-feature-img .shape img {
  filter: drop-shadow(0 0 48px rgba(196, 18, 39, 0.35));
  opacity: 1;
}

/* Icon tint: blue/cyan SVGs → brand red */
.ai-agency .hero .xb-feature-item .xb-item--icon img,
.ai-agency .xb-industries-item .xb-icon img,
.ai-agency .xb-feature-item2 .xb-item--icon img,
.ai-agency .xb-blog-item .xb-item--meta img,
.ai-agency .xb-input-field img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(4500%) hue-rotate(346deg) brightness(92%) contrast(95%);
}

/* These icons were originally colored SVG <img>s handled by the filter
   above. They're now Font Awesome <i> icons (icon swap), which take color
   via the `color` property instead of a filter — same brand red result. */
.ai-agency .xb-feature-item2 .xb-item--icon i {
  color: #e10600;
}
.ai-agency .hero-style .hero-icon {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.ai-agency .hero-style .hero-icon img {
  max-width: 250px;
  width: auto !important;
  filter: drop-shadow(0 12px 40px rgba(196, 18, 39, 0.35));
  margin-top: -90px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.ai-agency .hero-style .hero-icon img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 18px 52px rgba(196, 18, 39, 0.52));
}

@media (max-width: 1199px) {
  .ai-agency .hero-style .hero-icon img {
    max-width: 220px;
    margin-top: -72px;
  }
}

@media (max-width: 991px) {
  .ai-agency .hero-style .hero-icon {
    justify-content: center;
    padding-right: 0;
  }

  .ai-agency .hero-style .hero-icon img {
    max-width: 200px;
    margin-top: -48px;
  }
}

@media (max-width: 767px) {
  .ai-agency .hero-style .hero-icon {
    justify-content: center;
    margin-top: 8px;
  }

  .ai-agency .hero-style .hero-icon img {
    max-width: 150px;
    margin-top: 0;
  }
}

.ai-agency .hero-style {
  position: relative;
  overflow: hidden;
  min-height: 938px;
  padding-top: 195px;
  padding-bottom: 80px;
  margin-bottom: -2px;
  background-color: #050508 !important;
}

.ai-agency .hero.hero-style.bg_img {
  background-color: #050508 !important;
  background-image: none !important;
  background-blend-mode: normal;
}

/* Top glow */
.ai-agency .hero.hero-style.bg_img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 72% 18%, rgba(196, 18, 39, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(196, 18, 39, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom blur fade — hides hard section line */
.ai-agency .hero-style .yt-hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(5, 5, 8, 0.55) 35%,
    rgba(5, 5, 8, 0.92) 72%,
    #050508 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%, #000 100%);
}

@media (max-width: 991px) {
  .ai-agency .hero-style {
    padding-top: 170px;
  }
}

@media (max-width: 767px) {
  .ai-agency .hero-style {
    padding-top: 150px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .ai-agency .hero-style .yt-hero-bottom-fade {
    height: 140px;
  }

  .ai-agency .yt-live-section .yt-section-top-fade {
    height: 100px;
  }
}

.ai-agency .yt-plexus-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ai-agency .hero-style::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 8, 0.1) 0%,
    rgba(5, 5, 8, 0.24) 55%,
    rgba(196, 18, 39, 0.03) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.ai-agency .hero-style .container {
  position: relative;
  z-index: 10;
}

/* Hero content always visible (scale-animation hides until WOW fires) */
.ai-agency .hero-style .scale-animation,
.ai-agency .hero-style .hero-content .wow,
.ai-agency .hero-style .yt-hero-features .wow,
.ai-agency .hero-style .hero-icon.wow {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

.ai-agency .hero-content .title {
  color: #fff !important;
  opacity: 1 !important;
  transform: none !important;
}

.ai-agency .hero-content .sub-title {
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.55;
}

.ai-agency .hero-style .yt-hero-features .xb-item--content {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ── Hero: equal-height feature boxes ── */
.ai-agency .hero-style .yt-hero-features {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.ai-agency .hero-style .yt-hero-features > [class*="col-"] {
  display: flex;
}

.ai-agency .hero-style .yt-hero-features .xb-feature-item {
  width: 100%;
  display: flex;
}

.ai-agency .hero-style .yt-hero-features .xb-item--inner {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.ai-agency .hero-style .yt-hero-features .xb-item--holder {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ai-agency .hero-style .yt-hero-features .xb-item--content {
  flex: 1;
}

/* (project sticky slider removed) */

/* ── Service accordion: premium process photos ── */
.ai-agency .xb-service-item .xb-item--content {
  max-width: 520px;
  line-height: 1.65;
  font-size: 15px;
}

.ai-agency .xb-service-item .xb-item--img {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(196, 18, 39, 0.35);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(196, 18, 39, 0.12);
}

.ai-agency .xb-service-item .xb-item--img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    155deg,
    rgba(196, 18, 39, 0.42) 0%,
    rgba(5, 5, 8, 0.15) 42%,
    rgba(143, 15, 28, 0.35) 100%
  );
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

.ai-agency .xb-service-item .xb-item--img img {
  max-height: 280px !important;
  width: 100% !important;
  max-width: 100%;
  object-fit: cover !important;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  filter: saturate(0.8) contrast(1.12) brightness(0.8);
}

.ai-agency .xb-service-item.active .xb-item--img {
  margin-top: 18px;
}

/* (project sticky slider removed) */

/* ── Testimonials: dark cards, small review thumbs ── */
.ai-agency .xb-testimonial-item .xb-item--inner {
  background: linear-gradient(
    209deg,
    rgba(18, 18, 24, 0.97) 0%,
    rgba(8, 8, 12, 0.95) 100%
  ) !important;
  border: 1px solid rgba(196, 18, 39, 0.22) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.ai-agency .xb-testimonial-item .xb-item--avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 8px !important;
  border: 1px solid rgba(196, 18, 39, 0.3);
}

.ai-agency .xb-testimonial-item .xb-item--avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ai-agency .xb-testimonial-item .xb-item--content {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 36px;
}

/* ── Contact stats card ── */
.ai-agency .xb-contact-conent {
  position: relative;
}

.ai-agency .xb-contact-conent::after {
  display: none;
}

.ai-agency .xb-contact-conent .shape {
  display: none;
}

/* ── Pricing / blog cards: smaller images ── */
.ai-agency .xb-blog-item .xb-img {
  max-height: 200px;
  overflow: hidden;
}

.ai-agency .xb-blog-item .xb-img a img {
  max-height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

.ai-agency .xb-blog-item.xb-small-blog-item .xb-img {
  max-height: 160px;
}

.ai-agency .xb-blog-item.xb-small-blog-item .xb-img a img {
  max-height: 160px;
}

/* ── Industries icons hover ── */
.ai-agency .xb-industries-item:hover .xb-icon img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(4500%) hue-rotate(346deg) brightness(110%) contrast(95%);
}

/* ── Footer CTA button area ── */
.ai-agency .footer-style-one .thm-btn {
  background-color: #c41227 !important;
}

/* ── Dashboard pill marquee (about) ── */
/* ── Live dashboard console (about) ── */
.ai-agency .yt-live-section {
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 18, 39, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #050508 0%, #08080e 100%);
  overflow: hidden;
  margin-top: -2px;
}

/* Top blur fade — seamless join with hero */
.ai-agency .yt-live-section .yt-section-top-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #050508 0%,
    rgba(5, 5, 8, 0.85) 40%,
    transparent 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.ai-agency .yt-live-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.ai-agency .yt-live-header {
  position: relative;
  max-width: 720px;
  margin: 0 auto 56px;
}

.ai-agency .yt-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(196, 18, 39, 0.35);
  background: rgba(196, 18, 39, 0.08);
  color: #c41227;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.ai-agency .yt-live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c41227;
  box-shadow: 0 0 12px #c41227;
  animation: ytPulse 2s ease infinite;
}

@keyframes ytPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.ai-agency .yt-live-title {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.ai-agency .yt-live-title span {
  background: linear-gradient(135deg, #ff3b3b 0%, #c41227 50%, #8f0d1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-agency .yt-live-lead {
  color: rgba(255, 255, 255, 0.55);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.ai-agency .yt-live-console {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(18, 18, 24, 0.92) 0%, rgba(8, 8, 12, 0.88) 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ai-agency .yt-live-sidebar-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 16px;
}

.ai-agency .yt-live-channels li + li {
  margin-top: 10px;
}

.ai-agency .yt-live-channel {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  color: inherit;
}

.ai-agency .yt-live-channel:hover {
  border-color: rgba(196, 18, 39, 0.35);
  background: rgba(196, 18, 39, 0.06);
}

.ai-agency .yt-live-channel.active {
  border-color: rgba(196, 18, 39, 0.65);
  background: linear-gradient(90deg, rgba(196, 18, 39, 0.18) 0%, rgba(196, 18, 39, 0.04) 100%);
  box-shadow: 0 0 0 1px rgba(196, 18, 39, 0.2), inset 3px 0 0 #c41227;
}

.ai-agency .yt-live-thumb {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-agency .yt-live-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ai-agency .yt-live-channel-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-agency .yt-live-channel-meta strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-agency .yt-live-channel-meta em {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.ai-agency .yt-live-channel-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.ai-agency .yt-live-channel-stats b {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.ai-agency .yt-live-channel-stats .yt-growth {
  color: #ff6b7a;
  font-size: 11px;
}

.ai-agency .yt-live-stage {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-agency .yt-live-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ai-agency .yt-live-kpi {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease;
}

.ai-agency .yt-live-kpi:hover {
  border-color: rgba(196, 18, 39, 0.3);
}

.ai-agency .yt-kpi-icon {
  display: block;
  color: #c41227;
  font-size: 14px;
  margin-bottom: 8px;
}

.ai-agency .yt-kpi-label {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 4px;
}

.ai-agency .yt-kpi-val {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.ai-agency .yt-kpi-growth {
  color: #ff6b7a !important;
}

.ai-agency .yt-live-browser {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ai-agency .yt-live-browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-agency .yt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ai-agency .yt-dot-red { background: #c41227; }
.ai-agency .yt-dot-yellow { background: rgba(255, 255, 255, 0.25); }
.ai-agency .yt-dot-green { background: rgba(255, 255, 255, 0.15); }

.ai-agency .yt-live-url {
  margin-left: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.ai-agency .yt-live-live {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6b7a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-agency .yt-live-live i {
  font-size: 6px;
  animation: ytPulse 1.5s ease infinite;
}

.ai-agency .yt-live-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}

.ai-agency .yt-live-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.ai-agency .yt-live-viewport.is-switching img {
  opacity: 0.4;
  transform: scale(1.02);
}

.ai-agency .yt-live-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(196, 18, 39, 0.06) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: ytScan 4s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}

@keyframes ytScan {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 100%; }
}

.ai-agency .yt-live-viewport-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(0deg, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.6) 55%, transparent 100%);
}

.ai-agency .yt-live-viewport-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c41227;
  margin-bottom: 6px;
}

.ai-agency .yt-live-viewport-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.ai-agency .yt-live-viewport-info p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 420px;
}

.ai-agency .yt-live-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ai-agency .yt-live-pills span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

@media (max-width: 991px) {
  .ai-agency .yt-live-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai-agency .yt-live-viewport-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .ai-agency .yt-live-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .ai-agency .yt-live-console {
    padding: 18px;
  }
  .ai-agency .yt-live-viewport {
    aspect-ratio: 4 / 3;
  }
}

/* ── Portfolio case studies carousel ── */
.ai-agency .yt-portfolio-section {
  position: relative;
  background: linear-gradient(180deg, #070709 0%, #050508 100%);
  overflow: hidden;
}

.ai-agency .yt-portfolio-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(196, 18, 39, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.ai-agency .yt-portfolio-head {
  gap: 24px;
  margin-bottom: 48px;
}

.ai-agency .yt-portfolio-desc {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.ai-agency .yt-portfolio-nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.ai-agency .yt-portfolio-prev,
.ai-agency .yt-portfolio-next {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-agency .yt-portfolio-prev:hover,
.ai-agency .yt-portfolio-next:hover {
  background: #c41227;
  border-color: #c41227;
  transform: scale(1.05);
}

.ai-agency .yt-portfolio-slider-wrap {
  padding-left: max(15px, calc((100vw - 1320px) / 2));
  padding-right: 15px;
}

.ai-agency .yt-portfolio-swiper .swiper-slide {
  width: 340px;
  max-width: 88vw;
}

.ai-agency .yt-portfolio-card {
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.98) 0%, rgba(10, 10, 14, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 18px;
  height: 100%;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.ai-agency .yt-portfolio-card:hover {
  border-color: rgba(196, 18, 39, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(196, 18, 39, 0.15);
  transform: translateY(-4px);
}

.ai-agency .yt-portfolio-niche {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c41227;
  margin-bottom: 14px;
}

.ai-agency .yt-video-mockup {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d12;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ai-agency .yt-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-agency .yt-mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.ai-agency .yt-mockup-dot:first-child {
  background: #c41227;
}

.ai-agency .yt-mockup-url {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

.ai-agency .yt-mockup-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.ai-agency .yt-mockup-screen .yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.ai-agency .yt-mockup-screen.is-playing .yt-thumb,
.ai-agency .yt-mockup-screen.is-playing .yt-play-btn {
  opacity: 0;
  pointer-events: none;
}

.ai-agency .yt-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #c41227;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(196, 18, 39, 0.55);
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 2;
}

.ai-agency .yt-play-btn i {
  margin-left: 3px;
}

.ai-agency .yt-play-btn:hover {
  transform: scale(1.08);
  background: #8b0f1c;
}

.ai-agency .yt-embed-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.ai-agency .yt-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ai-agency .yt-portfolio-body {
  padding-top: 18px;
}

.ai-agency .yt-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.ai-agency .yt-video-title {
  font-size: 17px;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}

.ai-agency .yt-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.ai-agency .yt-meta-key {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 4px;
}

.ai-agency .yt-meta-key i {
  margin-right: 4px;
  color: #c41227;
}

.ai-agency .yt-meta-val {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.ai-agency .yt-portfolio-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ai-agency .yt-play-here {
  border: none;
  background: transparent;
  color: #c41227;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.ai-agency .yt-play-here:hover {
  color: #fff;
}

.ai-agency .yt-youtube-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.ai-agency .yt-youtube-link:hover {
  color: #c41227;
}

@media (max-width: 991px) {
  .ai-agency .yt-portfolio-head {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .ai-agency .yt-portfolio-nav {
    align-self: flex-end;
  }
}

@media (min-width: 768px) {
  .ai-agency .yt-portfolio-swiper .swiper-slide {
    width: 360px;
  }
}

/* ══════════════════════════════════════════════════════════
   GLOBAL THEME — kill green/blue/cyan, enforce red/black
   ══════════════════════════════════════════════════════════ */

/* Aivora multi-color gradients → YT Wealth red gradient */
.ai-agency .xb-contact-inner,
.ai-agency .service_link,
.ai-agency .comparison-vs-logo::before,
.ai-agency .content_layer_group span::after {
  background: linear-gradient(135deg, #c41227 0%, #8f0d1c 48%, #5a0812 100%) !important;
}

.ai-agency .xb-contact-inner {
  box-shadow: 0 24px 60px rgba(196, 18, 39, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-agency .xb-contact-item .xb-item--number,
.ai-agency .xb-contact-item .xb-item--number span,
.ai-agency .xb-contact-item .xb-item--number .suffix,
.ai-agency .xb-contact-item .xb-item--content {
  color: #fff !important;
}

/* Footer — premium cinematic layout */
.ai-agency .footer.footer-style-one {
  position: relative;
  overflow: hidden;
  background-color: #030305 !important;
  padding-top: 110px !important;
}

.ai-agency .footer.footer-style-one::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 18, 39, 0.85) 50%, transparent 100%);
  z-index: 2;
}

.ai-agency .footer.footer-style-one::after {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 280px;
  background: radial-gradient(ellipse, rgba(196, 18, 39, 0.22) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.ai-agency .xb-footer-wrap {
  position: relative;
  z-index: 1;
  padding-top: 20px !important;
  background: transparent !important;
}

.ai-agency .xb-footer-heading {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 20px 56px;
  gap: 28px;
}

.ai-agency .xb-footer-heading .title {
  display: none !important;
}

.ai-agency .yt-footer-watermark {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  pointer-events: none;
  order: 1;
}

.ai-agency .yt-footer-watermark img {
  width: min(460px, 72vw);
  max-height: 220px;
  object-fit: contain;
  opacity: 0.1;
  filter: none !important;
}

.ai-agency .xb-footer-heading .mail {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  margin-top: 0;
  order: 2;
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(15px, 2.2vw, 18px);
  letter-spacing: 0.02em;
  padding: 16px 34px !important;
  border-radius: 999px !important;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 40px rgba(196, 18, 39, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-agency .xb-footer-heading .mail:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 48px rgba(196, 18, 39, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ai-agency .xb-footer-heading .mail::before {
  background: linear-gradient(135deg, #e10600 0%, #c41227 45%, #8f0d1c 100%) !important;
  border-radius: 999px !important;
  animation: none !important;
}

.ai-agency .xb-footer-heading .mail:hover::before {
  background: linear-gradient(135deg, #e10600 0%, #a80f20 50%, #8b0f1c 100%) !important;
}

.ai-agency .xb-footer-heading .mail img {
  filter: brightness(0) invert(1);
}

.ai-agency .xb-footer-nav {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px !important;
  margin-top: 8px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}

.ai-agency .xb-footer-nav-item {
  text-align: left;
  padding: 22px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ai-agency .xb-footer-nav-item:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 18, 39, 0.45);
  background: linear-gradient(160deg, rgba(196, 18, 39, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 16px 40px rgba(196, 18, 39, 0.16);
}

.ai-agency .xb-footer-nav-item .sub-title {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 11px !important;
  letter-spacing: 0.12em;
}

.ai-agency .xb-footer-nav-item .title {
  font-size: clamp(20px, 2.2vw, 30px) !important;
  margin-top: 10px !important;
  line-height: 1.15;
}

.ai-agency .xb-footer-nav-item .title:hover {
  color: #ff3b3b !important;
}

.ai-agency .xb-social-media-wrap {
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ai-agency .xb-social-media-item {
  transition: background 0.25s ease;
}

.ai-agency .xb-social-media-item:hover {
  background: rgba(196, 18, 39, 0.1);
}

.ai-agency .xb-social-media-item .xb-item--icon {
  background: rgba(196, 18, 39, 0.15) !important;
  border: 1px solid rgba(196, 18, 39, 0.3);
}

.ai-agency .xb-footer-bottom {
  margin-top: 36px;
  padding: 24px 28px !important;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.ai-agency .xb-footer-bottom .contact-item,
.ai-agency .xb-footer-bottom .contact-method,
.ai-agency .xb-footer-bottom p,
.ai-agency .xb-footer-bottom a {
  color: rgba(255, 255, 255, 0.72) !important;
}

.ai-agency .xb-footer-bottom a:hover {
  color: #ff3b3b !important;
}

@media (max-width: 1199px) {
  .ai-agency .xb-footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ai-agency .header-style--one .header__wrap {
    min-height: 62px;
    padding: 8px 12px 8px 16px;
  }

  .ai-agency .xb-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 16px !important;
  }
}

@media (max-width: 767px) {
  .ai-agency .footer.footer-style-one {
    padding-top: 80px !important;
  }

  .ai-agency .xb-footer-nav {
    grid-template-columns: 1fr;
  }

  .ai-agency .xb-footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

/* ── Contact form: transparent fields ── */
.ai-agency .xb-contact-form .xb-input-field input,
.ai-agency .xb-contact-form .xb-input-field textarea,
.ai-agency .xb-contact-form .xb-select-field .nice-select,
.ai-agency .xb-contact-form .xb-select-file {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(6px);
}

.ai-agency .xb-contact-form .xb-input-field input:focus,
.ai-agency .xb-contact-form .xb-input-field textarea:focus,
.ai-agency .xb-contact-form .xb-select-field .nice-select.open,
.ai-agency .xb-contact-form .xb-select-field .nice-select:focus {
  border-color: rgba(196, 18, 39, 0.55) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  outline: none;
}

.ai-agency .xb-contact-form .xb-select-file:hover {
  border-color: rgba(196, 18, 39, 0.4) !important;
}

.ai-agency .xb-contact-form .xb-input-field input ~ img,
.ai-agency .xb-contact-form .xb-input-field textarea ~ img,
.ai-agency .xb-contact-form .xb-select-field .nice-select ~ img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(4500%) hue-rotate(346deg) brightness(110%) contrast(95%) !important;
}

/* Section background images — dark + subtle red glow overlay */
.ai-agency .bg_img[data-background],
.ai-agency section.bg_img[data-background],
.ai-agency .xb-service-wrap.bg_img {
  position: relative;
  background-color: #050508 !important;
}

.ai-agency .bg_img[data-background]:not(.hero)::before,
.ai-agency section.bg_img[data-background]:not(.hero)::before,
.ai-agency .xb-service-wrap.bg_img::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(196, 18, 39, 0.16) 0%, transparent 58%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.88) 0%, rgba(5, 5, 8, 0.96) 100%);
  pointer-events: none;
  z-index: 0;
}

.ai-agency .bg_img[data-background]:not(.hero) > *,
.ai-agency section.bg_img[data-background]:not(.hero) > *,
.ai-agency .xb-service-wrap.bg_img > * {
  position: relative;
  z-index: 1;
}

/* Feature / results rings SVG */
.ai-agency .xb-feature-shape svg path[stroke^="url"] {
  stroke: rgba(196, 18, 39, 0.55) !important;
}

/* Hover borders & accents that used green primary */
.ai-agency .xb-service-item:hover .xb-item--icon,
.ai-agency .xb-ser-item:hover .xb-item--icon {
  background: #c41227 !important;
}

.ai-agency .xb-service-item.xb-mouseenter.active {
  background: linear-gradient(
    209deg,
    rgba(196, 18, 39, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 100%
  ) !important;
}

/* Industries tech diagram lines */
.ai-agency .xb-industries-marquee .xb-marquee-item::before,
.ai-agency .xb-gradiant-line span {
  background: linear-gradient(90deg, transparent, #c41227, transparent) !important;
}

/* Footer & preloader loader */
.ai-agency .loader-line {
  background: linear-gradient(90deg, transparent, #c41227, transparent) !important;
}

/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE POLISH
   ══════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .ai-agency .header-style--one {
    top: 8px;
  }

  .ai-agency .header-style--one .header__wrap {
    min-height: 56px;
    gap: 12px;
  }

  .ai-agency .header-style--one .header-btn a {
    padding: 12px 18px;
    font-size: 11px;
  }

  .ai-agency .yt-live-section.pt-140,
  .ai-agency .yt-portfolio-section.pt-140,
  .ai-agency .feature.pt-145,
  .ai-agency .blog.pt-150 {
    padding-top: 90px !important;
  }

  .ai-agency .yt-live-section.pb-140 {
    padding-bottom: 90px !important;
  }

  .ai-agency .xb-contact-conent {
    margin-top: 60px;
  }

  .ai-agency .xb-contact-inner {
    padding: 80px 24px 32px !important;
  }

  .ai-agency .xb-feature-img {
    margin-top: 20px;
  }

  .ai-agency .xb-feature-item2 .xb-item--title {
    font-size: 22px !important;
  }
}

@media (max-width: 767px) {
  .ai-agency .hero-style .yt-hero-features {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -4px;
    padding-bottom: 4px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
  }
  .ai-agency .hero-style .yt-hero-features::-webkit-scrollbar {
    display: none;
  }
  .ai-agency .hero-style .yt-hero-features > [class*="col-"] {
    flex: 0 0 82%;
    width: auto;
    max-width: 340px;
    scroll-snap-align: start;
  }

  .ai-agency .hero-style .yt-hero-features .xb-item--inner {
    min-height: auto;
    padding-bottom: 8px;
  }

  .ai-agency .hero-style .hero-content .title {
    font-size: clamp(32px, 9vw, 48px) !important;
    line-height: 1.12 !important;
  }

  .ai-agency .hero-style .hero-icon img {
    max-width: 130px;
    margin-top: 0;
  }

  .ai-agency .yt-live-header {
    margin-bottom: 32px;
  }

  .ai-agency .yt-live-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .ai-agency .yt-live-lead {
    font-size: 15px;
  }

  .ai-agency .yt-live-channels {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -4px;
    padding: 0 4px 6px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent 100%);
  }
  .ai-agency .yt-live-channels::-webkit-scrollbar {
    display: none;
  }
  .ai-agency .yt-live-channels li + li {
    margin-top: 0;
  }

  .ai-agency .yt-live-channel {
    flex: 0 0 200px;
    width: 200px;
    padding: 10px 12px;
    scroll-snap-align: start;
  }

  .ai-agency .yt-live-channel-stats {
    display: none;
  }

  .ai-agency .yt-live-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ai-agency .yt-kpi-val {
    font-size: 16px;
  }

  .ai-agency .yt-live-viewport-info h3 {
    font-size: 15px;
  }

  .ai-agency .yt-live-viewport-info p {
    font-size: 12px;
    max-width: 100%;
  }

  .ai-agency .yt-live-pills span {
    font-size: 9px;
    padding: 5px 10px;
  }

  .ai-agency .xb-service-wrap {
    flex-direction: column;
  }

  .ai-agency .xb-service-item {
    height: auto !important;
    min-height: 420px;
  }

  .ai-agency .xb-service-item .xb-item--content {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.6;
  }

  .ai-agency .xb-service-item .xb-item--img {
    max-width: 100%;
  }

  .ai-agency .xb-service-item .xb-item--img img {
    max-height: 200px !important;
  }

  .ai-agency .xb-service-item .xb-item--title {
    max-width: 100% !important;
  }

  /* Numbered-badge feature list — see the consolidated ≤991px block below
     for the full design (this ≤767px block intentionally left empty now
     that ≤991px covers phones too). */

  .ai-agency .xb-feature-img .shape img {
    max-width: 72%;
  }

  .ai-agency .xb-feature-shape svg {
    display: none;
  }

  .ai-agency .yt-portfolio-slider-wrap {
    padding-left: 15px;
  }

  .ai-agency .yt-portfolio-head .sec-title .title {
    font-size: clamp(26px, 7vw, 36px) !important;
  }

  .ai-agency .yt-portfolio-desc {
    font-size: 15px;
  }

  .ai-agency .yt-portfolio-nav {
    align-self: stretch;
    justify-content: flex-end;
  }

  .ai-agency .yt-portfolio-swiper .swiper-slide {
    width: min(300px, 86vw);
  }

  .ai-agency .xb-industries-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ai-agency .xb-industries-inner {
    flex-wrap: nowrap !important;
    width: max-content;
    padding-bottom: 8px;
  }

  .ai-agency .xb-industries-item {
    min-width: 130px;
    flex-shrink: 0;
  }

  .ai-agency .xb-contact-conent {
    margin-top: 40px;
  }

  .ai-agency .xb-contact-inner {
    padding: 60px 20px 28px !important;
    gap: 24px;
  }

  .ai-agency .xb-contact-item {
    max-width: 100%;
  }

  .ai-agency .xb-contact-item .xb-item--number {
    font-size: 48px !important;
  }

  .ai-agency .contact-sec-title .title {
    font-size: clamp(26px, 7vw, 34px) !important;
    line-height: 1.25 !important;
  }

  .ai-agency .xb-contact-form {
    padding: 36px 18px !important;
  }

  .ai-agency .xb-contact-form .title {
    font-size: 22px !important;
  }

  .ai-agency .yt-footer-watermark img {
    max-height: 200px;
    opacity: 0.12;
  }

  .ai-agency .xb-footer-heading {
    gap: 24px;
    padding: 32px 16px 28px;
  }

  .ai-agency .xb-footer-heading .mail {
    font-size: 14px !important;
    padding: 10px 18px !important;
  }

  .ai-agency .xb-testimonial-item .xb-item--content {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
  }

  .ai-agency .sec-title .title {
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.2 !important;
  }

  .ai-agency .brand.pt-170 {
    padding-top: 80px !important;
  }

  .ai-agency .industries.pb-165 {
    padding-bottom: 90px !important;
  }
}

@media (max-width: 575px) {
  .ai-agency .yt-live-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ai-agency .yt-portfolio-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-agency .yt-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   FORCE — header + footer (wins over main.css + cache)
   ══════════════════════════════════════════════════════════ */
body.ai-agency .header-style--one {
  top: 18px !important;
  padding: 0 16px !important;
}

body.ai-agency .header-style--one .header__wrap {
  min-height: 72px !important;
  padding: 8px 14px 8px 22px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)) , rgba(8, 8, 14, 0.82) !important;
  border: 1px solid rgba(196, 18, 39, 0.35) !important;
  backdrop-filter: blur(24px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.6) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(196, 18, 39, 0.15) !important;
}

body.ai-agency .header-style--one .main-menu > ul {
  gap: 4px !important;
  padding: 5px !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.ai-agency .header-style--one .main-menu > ul > li > a {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.ai-agency .header-style--one .main-menu > ul > li.active > a,
body.ai-agency .header-style--one .main-menu > ul > li:hover > a {
  background: rgba(196, 18, 39, 0.22) !important;
  border-color: rgba(196, 18, 39, 0.5) !important;
  box-shadow: 0 0 20px rgba(196, 18, 39, 0.25) !important;
}

body.ai-agency .header-style--one .header-btn .thm-btn {
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: linear-gradient(135deg, #e10600, #c41227 50%, #8f0d1c) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(196, 18, 39, 0.5) !important;
}

body.ai-agency .footer.footer-style-one {
  background: #020203 !important;
  padding-top: 100px !important;
}

body.ai-agency .footer.footer-style-one::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #c41227, transparent) !important;
  z-index: 5 !important;
}

body.ai-agency .xb-footer-wrap {
  background: transparent !important;
}

body.ai-agency .xb-footer-heading .mail {
  padding: 18px 36px !important;
  border-radius: 999px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  box-shadow: 0 14px 45px rgba(196, 18, 39, 0.45) !important;
}

body.ai-agency .xb-footer-heading .mail::before {
  background: linear-gradient(135deg, #e10600, #c41227, #8f0d1c) !important;
  border-radius: 999px !important;
}

body.ai-agency .xb-footer-nav {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 14px !important;
  padding: 0 24px !important;
  margin-top: 12px !important;
}

body.ai-agency .xb-footer-nav-item {
  padding: 22px 16px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  text-align: left !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

body.ai-agency .xb-footer-nav-item:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(196, 18, 39, 0.5) !important;
  box-shadow: 0 12px 35px rgba(196, 18, 39, 0.2) !important;
}

body.ai-agency .xb-social-media-wrap {
  margin-top: 24px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
}

body.ai-agency .xb-footer-bottom {
  margin-top: 32px !important;
  padding: 22px 28px !important;
  border-radius: 14px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 991px) {
  body.ai-agency .xb-footer-nav {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 575px) {
  body.ai-agency .xb-footer-nav {
    grid-template-columns: 1fr !important;
  }
}

/* ════════════════════════════════════════════
   HERO — 2-column with live dashboard video
   ════════════════════════════════════════════ */
.ai-agency .yt-hero-2col .hero-content .title {
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.ai-agency .yt-hero-2col .hero-content .sub-title {
  font-size: 17px;
  max-width: 520px;
}

.yt-hero-video {
  position: relative;
  z-index: 3;
  perspective: 1400px;
}

.yt-hero-video__aura {
  position: absolute;
  inset: -60px -40px;
  background:
    radial-gradient(ellipse 65% 55% at 50% 45%, rgba(196, 18, 39, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 80% 80%, rgba(255, 59, 59, 0.12) 0%, transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  animation: ytAuraPulse 5s ease-in-out infinite;
}

@keyframes ytAuraPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.yt-hero-video__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a10;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.65),
    0 18px 50px rgba(196, 18, 39, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(-7deg) rotateX(2.5deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s;
}

.yt-hero-video:hover .yt-hero-video__frame {
  transform: rotateY(0deg) rotateX(0deg) scale(1.015);
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.7),
    0 24px 70px rgba(196, 18, 39, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.yt-hero-video__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-hero-video__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.yt-hero-video__bar span:nth-child(1) { background: #ff5f57; }
.yt-hero-video__bar span:nth-child(2) { background: #febc2e; }
.yt-hero-video__bar span:nth-child(3) { background: #28c840; }

.yt-hero-video__bar em {
  flex: 1;
  margin-left: 10px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-hero-video__bar em i {
  font-size: 9px;
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.35);
}

.yt-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c41227;
  box-shadow: 0 0 0 0 rgba(196, 18, 39, 0.7);
  animation: ytLivePulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

@keyframes ytLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 18, 39, 0.7); }
  100% { box-shadow: 0 0 0 9px rgba(196, 18, 39, 0); }
}

.yt-hero-video__frame video {
  display: block;
  width: 100%;
  height: auto;
}

.yt-hero-video__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  background-size: 250% 100%;
  animation: ytScanSweep 6.5s ease-in-out infinite;
}

@keyframes ytScanSweep {
  0%, 55% { background-position: 120% 0; }
  90%, 100% { background-position: -130% 0; }
}

.yt-hero-video__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(10, 10, 16, 0.82);
  border: 1px solid rgba(196, 18, 39, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), 0 0 24px rgba(196, 18, 39, 0.14);
  z-index: 4;
}

.yt-hero-video__chip i {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #c41227, #8b0f1c);
  box-shadow: 0 6px 18px rgba(196, 18, 39, 0.45);
  flex-shrink: 0;
}

.yt-hero-video__chip b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.yt-hero-video__chip b span { color: #ff3b3b; }

.yt-hero-video__chip small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.yt-hero-video__chip--rev {
  top: 26px;
  right: -26px;
  animation: ytChipFloat 5.5s ease-in-out infinite;
}

.yt-hero-video__chip--views {
  bottom: -24px;
  left: -22px;
  animation: ytChipFloat 6.5s ease-in-out 0.8s infinite;
}

@keyframes ytChipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 1199px) {
  .yt-hero-video__chip--rev { right: -10px; }
  .yt-hero-video__chip--views { left: -8px; }
}

@media (max-width: 991px) {
  .yt-hero-video {
    margin-top: 48px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .yt-hero-video__frame {
    transform: none;
  }
}

@media (max-width: 575px) {
  .yt-hero-video__chip {
    padding: 10px 13px;
    gap: 9px;
  }

  .yt-hero-video__chip i {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .yt-hero-video__chip b { font-size: 14px; }
  .yt-hero-video__chip--rev { top: 14px; right: 8px; }
  .yt-hero-video__chip--views { bottom: -16px; left: 8px; }
  .yt-hero-video__bar em { font-size: 9px; }
}

/* ════════════════════════════════════════════
   FOOTER — YT Wealth signature footer
   ════════════════════════════════════════════ */
.yt-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #050508 0%, #0a060a 55%, #10060b 100%);
  padding: 0;
}

.yt-footer__topline {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 18, 39, 0.65) 50%, transparent 100%);
}

.yt-footer__glow {
  position: absolute;
  left: 50%;
  top: -220px;
  transform: translateX(-50%);
  width: 900px;
  height: 460px;
  background: radial-gradient(ellipse, rgba(196, 18, 39, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.yt-footer .container {
  position: relative;
  z-index: 2;
}

/* CTA row */
.yt-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.yt-footer__kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff3b3b;
  margin-bottom: 14px;
}

.yt-footer__cta h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.yt-footer__cta h2 span {
  background: linear-gradient(135deg, #ff6b7a 0%, #c41227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.yt-footer__cta p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0;
}

.yt-footer__cta-btn {
  flex-shrink: 0;
  position: relative;
}

.yt-footer__cta-btn::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(196, 18, 39, 0.35) 0%, transparent 70%);
  filter: blur(12px);
  z-index: -1;
  animation: ytAuraPulse 4s ease-in-out infinite;
}

/* Link grid */
.yt-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 2fr 1fr;
  gap: 48px;
  padding: 60px 0 56px;
}

.yt-footer__logo {
  display: inline-block;
  margin-bottom: 20px;
}

.yt-footer__logo img {
  max-height: 46px;
  width: auto;
}

.yt-footer__brand > p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.52);
  max-width: 330px;
  margin-bottom: 24px;
}

.yt-footer__social {
  display: flex;
  gap: 10px;
}

.yt-footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.yt-footer__social a:hover {
  color: #fff;
  border-color: #c41227;
  background: linear-gradient(135deg, #c41227, #8b0f1c);
  box-shadow: 0 8px 24px rgba(196, 18, 39, 0.4);
  transform: translateY(-3px);
}

.yt-footer__col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.yt-footer__col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c41227, transparent);
}

.yt-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yt-footer__col ul li {
  margin-bottom: 12px;
}

.yt-footer__col ul li a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s, padding-left 0.25s;
  position: relative;
}

.yt-footer__col ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  width: 12px;
  height: 1.5px;
  background: #c41227;
  transition: transform 0.25s;
}

.yt-footer__col ul li a:hover {
  color: #fff;
  padding-left: 20px;
}

.yt-footer__col ul li a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

.yt-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.yt-footer__contact li i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 13px;
  color: #ff3b3b;
  background: rgba(196, 18, 39, 0.12);
  border: 1px solid rgba(196, 18, 39, 0.28);
  flex-shrink: 0;
}

.yt-footer__contact li a,
.yt-footer__contact li span {
  font-size: 14.5px;
  line-height: 34px;
  color: rgba(255, 255, 255, 0.6);
}

.yt-footer__contact li a:hover {
  color: #ff3b3b;
}

/* hover 'lift' shouldn't apply to contact rows */
.yt-footer__col--contact ul li a:hover { padding-left: 0; }
.yt-footer__col--contact ul li a::before { display: none; }

/* Bottom bar */
.yt-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.yt-footer__bottom p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
}

.yt-footer__bottom p a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  transition: color 0.25s;
}

.yt-footer__bottom p a:hover {
  color: #ff3b3b;
}

.yt-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.yt-footer__bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.25s;
}

.yt-footer__bottom-links a:hover {
  color: #fff;
}

/* Giant watermark */
.yt-footer__watermark {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: clamp(64px, 13vw, 190px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 0.78;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(196, 18, 39, 0.22) 0%, transparent 78%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  margin-top: -6px;
  transform: translateY(16%);
}

@media (max-width: 991px) {
  .yt-footer__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px 0 44px;
  }

  .yt-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding: 48px 0 44px;
  }
}

@media (max-width: 575px) {
  .yt-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .yt-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ════════════════════════════════════════════
   V7 — pricing spacing, loader, newsletter
   footer, mega CTA, motion system
   ════════════════════════════════════════════ */

/* pricing header was touching the cards (featured card scales up) */
.yt-pricing-header {
  margin-bottom: 60px;
}

.yt-pricing-section {
  overflow: hidden;
}

/* ── World-class loader ── */
.yt-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: all;
}

.yt-loader__curtain {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background:
    radial-gradient(ellipse 70% 120% at 50% 100%, rgba(196, 18, 39, 0.10) 0%, transparent 55%),
    #050508;
  transition: transform 0.9s cubic-bezier(0.83, 0, 0.17, 1);
  will-change: transform;
}

.yt-loader__curtain--top {
  top: 0;
  transform-origin: top;
}

.yt-loader__curtain--bottom {
  bottom: 0;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(196, 18, 39, 0.10) 0%, transparent 55%),
    #050508;
}

.yt-loader.is-exiting .yt-loader__curtain--top { transform: translateY(-101%); }
.yt-loader.is-exiting .yt-loader__curtain--bottom { transform: translateY(101%); }

.yt-loader__core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.83, 0, 0.17, 1);
}

.yt-loader.is-exiting .yt-loader__core {
  opacity: 0;
  transform: scale(0.92);
}

.yt-loader__emblem {
  position: relative;
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
}

.yt-loader__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 72%, #c41227 88%, #ff6b7a 96%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: ytLoaderSpin 1.3s linear infinite;
}

.yt-loader__orbit--2 {
  inset: 13px;
  animation: ytLoaderSpin 1.9s linear infinite reverse;
  opacity: 0.55;
}

@keyframes ytLoaderSpin {
  to { transform: rotate(360deg); }
}

.yt-loader__mark {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 60px rgba(196, 18, 39, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  animation: ytLoaderBreath 2.4s ease-in-out infinite;
}

@keyframes ytLoaderBreath {
  0%, 100% { box-shadow: 0 0 40px rgba(196, 18, 39, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
  50% { box-shadow: 0 0 80px rgba(196, 18, 39, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
}

.yt-loader__mark img {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(196, 18, 39, 0.5));
}

.yt-loader__count {
  display: flex;
  align-items: baseline;
  line-height: 1;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.yt-loader__count b {
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, #ff6b7a 70%, #c41227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  min-width: 118px;
  text-align: right;
}

.yt-loader__count i {
  font-style: normal;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.35);
  margin-left: 6px;
}

.yt-loader__track {
  width: 240px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 18px;
}

.yt-loader__track span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, #c41227, #ff6b7a);
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.8);
  transition: width 0.25s ease;
}

.yt-loader__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
  animation: ytLoaderTagPulse 2.2s ease-in-out infinite;
}

@keyframes ytLoaderTagPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ── Footer newsletter row (replaces the big CTA — footer ≠ CTA now) ── */
.yt-footer__news {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 52px 0 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.yt-footer__news-text h3 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.yt-footer__news-text p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  max-width: 480px;
}

.yt-footer__news-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.yt-news-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.yt-news-field:focus-within {
  border-color: rgba(196, 18, 39, 0.6);
  box-shadow: 0 0 0 4px rgba(196, 18, 39, 0.12);
}

.yt-news-field i {
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
}

.yt-news-field input {
  flex: 1;
  min-width: 0;
  height: 54px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14.5px;
}

.yt-news-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* ── Mega CTA — clearly distinct from the footer ── */
.yt-mega-cta {
  padding: 90px 0;
  background: #050508;
  position: relative;
}

.yt-mega-cta__panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 72px 60px 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 130% at 50% -20%, rgba(255, 59, 59, 0.28) 0%, transparent 55%),
    linear-gradient(160deg, #35060d 0%, #1a040a 45%, #0c0308 100%);
  border: 1px solid rgba(255, 107, 122, 0.28);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.6),
    0 20px 70px rgba(196, 18, 39, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.yt-mega-cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.yt-mega-cta__orb--1 {
  width: 340px;
  height: 340px;
  left: -110px;
  top: -110px;
  background: rgba(196, 18, 39, 0.35);
  animation: ytOrbDrift 9s ease-in-out infinite;
}

.yt-mega-cta__orb--2 {
  width: 280px;
  height: 280px;
  right: -90px;
  bottom: -120px;
  background: rgba(255, 59, 59, 0.22);
  animation: ytOrbDrift 11s ease-in-out 1.2s infinite reverse;
}

@keyframes ytOrbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(26px, 18px) scale(1.12); }
}

.yt-mega-cta__grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.yt-mega-cta__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffb3ba;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 139, 150, 0.35);
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}

.yt-mega-cta__badge i {
  color: #ff6b7a;
  animation: ytBoltFlash 1.8s ease-in-out infinite;
}

@keyframes ytBoltFlash {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.88); }
}

.yt-mega-cta__panel h2 {
  position: relative;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.yt-mega-cta__panel h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #ffb3ba 0%, #ff6b7a 55%, #ffd7db 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ytShimmerText 3.5s linear infinite;
}

@keyframes ytShimmerText {
  to { background-position: 200% center; }
}

.yt-mega-cta__panel > p,
.yt-mega-cta__panel .yt-mega-cta__sub {
  position: relative;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 auto 34px;
}

.yt-mega-cta__actions {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
}

.yt-mega-cta__ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.yt-mega-cta__ghost i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 10px;
  transition: all 0.3s;
}

.yt-mega-cta__ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.yt-mega-cta__ghost:hover i {
  background: #fff;
  color: #c41227;
}

.yt-mega-cta__proof {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.yt-mega-cta__proof span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

.yt-mega-cta__proof span b {
  color: #fff;
  font-weight: 800;
  margin-right: 6px;
}

.yt-mega-cta__proof i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 107, 122, 0.7);
}

@media (max-width: 991px) {
  .yt-footer__news {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .yt-mega-cta__panel {
    padding: 54px 32px 48px;
  }
}

@media (max-width: 575px) {
  .yt-footer__news-form {
    flex-direction: column;
  }

  .yt-news-field input { height: 50px; }

  .yt-mega-cta { padding: 70px 0; }

  .yt-mega-cta__panel {
    padding: 44px 22px 40px;
    border-radius: 22px;
  }

  .yt-loader__count b { font-size: 48px; min-width: 92px; }
  .yt-loader__emblem { width: 108px; height: 108px; }
}

/* ── Motion system — site-wide reveal + micro-interactions ── */
.yt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--yt-stagger, 0ms);
  will-change: opacity, transform;
}

.yt-reveal.yt-inview {
  opacity: 1;
  transform: none;
}

.yt-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  z-index: 99999;
  background: linear-gradient(90deg, #c41227, #ff6b7a);
  box-shadow: 0 0 14px rgba(255, 59, 59, 0.7);
  pointer-events: none;
  transition: width 0.08s linear;
}

::selection {
  background: rgba(196, 18, 39, 0.85);
  color: #fff;
}

.thm-btn {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease !important;
}

.thm-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(196, 18, 39, 0.4);
}

.yt-glass-card,
.yt-price-card,
.yt-contact-card,
.xb-feature-item .xb-item--inner {
  will-change: transform;
}

img {
  -webkit-user-drag: none;
}

@media (prefers-reduced-motion: reduce) {
  .yt-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .yt-loader__orbit,
  .yt-loader__mark,
  .yt-mega-cta__orb,
  .yt-hero-video__aura,
  .yt-hero-video__scan {
    animation: none !important;
  }
}

/* ════════════════════════════════════════════
   V8 — luxury loader, feature hub, blog
   ════════════════════════════════════════════ */

/* ── Luxury loader ── */
.yt-lux {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030304;
  transition: clip-path 1.05s cubic-bezier(0.87, 0, 0.13, 1);
  clip-path: inset(0 0 0 0);
}

.yt-lux.is-exiting {
  clip-path: inset(0 0 100% 0);
}

.yt-lux__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 42% at 50% 46%, rgba(196, 18, 39, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.65) 100%);
}

.yt-lux__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(420px, 78vw);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.83, 0, 0.17, 1);
}

.yt-lux.is-exiting .yt-lux__inner {
  opacity: 0;
  transform: translateY(-26px) scale(0.985);
}

.yt-lux__logo {
  position: relative;
  overflow: hidden;
  margin-bottom: 42px;
  animation: ytLuxLogoIn 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ytLuxLogoIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.97); filter: blur(10px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

.yt-lux__logo img {
  display: block;
  width: min(300px, 62vw);
  height: auto;
  filter: drop-shadow(0 10px 44px rgba(196, 18, 39, 0.38));
}

.yt-lux__shine {
  position: absolute;
  top: -30%;
  bottom: -30%;
  width: 46%;
  left: -60%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: ytLuxShine 3.2s cubic-bezier(0.65, 0, 0.35, 1) 0.9s infinite;
  pointer-events: none;
}

@keyframes ytLuxShine {
  0% { left: -60%; }
  38%, 100% { left: 130%; }
}

.yt-lux__line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  position: relative;
  overflow: visible;
  margin-bottom: 16px;
}

.yt-lux__line span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(196, 18, 39, 0.4), #ff6b7a);
  box-shadow: 0 0 16px rgba(255, 59, 59, 0.75);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.yt-lux__line span::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #ff8b96;
  box-shadow: 0 0 14px rgba(255, 107, 122, 1);
}

.yt-lux__meta {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  animation: ytLuxMetaIn 1s ease 0.5s both;
}

@keyframes ytLuxMetaIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.yt-lux__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.yt-lux__pct {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.yt-lux__pct b {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.yt-lux__edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff6b7a 30%, #c41227 70%, transparent);
  box-shadow: 0 0 26px rgba(255, 59, 59, 0.9);
  opacity: 0;
}

.yt-lux.is-exiting .yt-lux__edge {
  opacity: 1;
}

/* ── Feature hub — logo core + connector lines ── */
.yt-feature-hub {
  position: relative;
}

.yt-hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.yt-feature-hub .xb-feature-item2 {
  position: relative;
  z-index: 2;
}

.yt-hub-line {
  fill: none;
  stroke: url(#ytHubGrad);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  animation: ytHubFlow 1.4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 59, 59, 0.5));
}

@keyframes ytHubFlow {
  to { stroke-dashoffset: -14; }
}

.yt-hub-dot {
  fill: #ff6b7a;
  filter: drop-shadow(0 0 6px rgba(255, 59, 59, 0.9));
  animation: ytHubDot 2.4s ease-in-out infinite;
}

@keyframes ytHubDot {
  0%, 100% { opacity: 0.5; r: 3; }
  50% { opacity: 1; r: 4.5; }
}

.yt-hub {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.yt-hub__pulse {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 18, 39, 0.34) 0%, transparent 65%);
  filter: blur(18px);
  animation: ytHubPulse 4.5s ease-in-out infinite;
}

@keyframes ytHubPulse {
  0%, 100% { opacity: 0.65; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.1); }
}

.yt-hub__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.yt-hub__ring--1 {
  inset: 0;
  border: 1px dashed rgba(255, 107, 122, 0.30);
  animation: ytHubSpin 26s linear infinite;
}

.yt-hub__ring--2 {
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  animation: ytHubSpin 20s linear infinite reverse;
}

.yt-hub__ring--2::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b7a;
  box-shadow: 0 0 12px rgba(255, 107, 122, 1);
}

.yt-hub__ring--3 {
  inset: 68px;
  background: conic-gradient(from 0deg, transparent 0%, transparent 78%, rgba(255, 107, 122, 0.85) 92%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: ytHubSpin 3.4s linear infinite;
}

@keyframes ytHubSpin {
  to { transform: rotate(360deg); }
}

.yt-hub__core {
  position: relative;
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 38px;
  background:
    radial-gradient(ellipse 100% 100% at 30% 20%, rgba(255, 255, 255, 0.10) 0%, transparent 55%),
    linear-gradient(160deg, #17070c 0%, #090307 100%);
  border: 1px solid rgba(255, 107, 122, 0.30);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(196, 18, 39, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  animation: ytHubFloat 6s ease-in-out infinite;
}

@keyframes ytHubFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.yt-hub__core::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  width: 40%;
  left: -70%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.13) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: ytLuxShine 4.5s cubic-bezier(0.65, 0, 0.35, 1) 1.4s infinite;
}

.yt-hub__core img {
  width: 88px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(196, 18, 39, 0.55));
}

@media (max-width: 991px) {
  .yt-hub {
    width: 250px;
    height: 250px;
    margin: 24px auto 0;
  }

  .yt-hub__core { width: 120px; height: 120px; border-radius: 30px; }
  .yt-hub__core img { width: 70px; }
  .yt-hub__ring--2 { inset: 26px; }
  .yt-hub__ring--3 { inset: 52px; }
  .yt-hub-lines { display: none; }
}

@media (max-width: 767px) {
  /* Purely decorative (aria-hidden pulse/rings, no text or CTA) — on a
     narrow phone it costs ~270px of dead space for no information, so it's
     dropped rather than shrunk further. */
  .yt-hub {
    display: none;
  }
}

/* ── Blog cards (listing) ── */
.yt-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.yt-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.4s;
}

.yt-blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196, 18, 39, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 18px 50px rgba(196, 18, 39, 0.16);
}

.yt-blog-card__cover {
  position: relative;
  height: 168px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 130% at var(--art-x, 80%) -30%, var(--art-a, rgba(255, 59, 59, 0.5)) 0%, transparent 60%),
    radial-gradient(ellipse 90% 110% at 12% 115%, rgba(196, 18, 39, 0.3) 0%, transparent 55%),
    linear-gradient(150deg, #26060d 0%, #120409 55%, #090307 100%);
}

.yt-blog-card__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.05;
}

.yt-blog-card__cover i {
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 104px;
  color: rgba(255, 255, 255, 0.07);
  transform: rotate(-10deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.5s;
}

.yt-blog-card:hover .yt-blog-card__cover i {
  transform: rotate(-3deg) scale(1.08);
  color: rgba(255, 107, 122, 0.15);
}

.yt-blog-card__cat {
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff6b7a;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(196, 18, 39, 0.4);
  background: rgba(10, 3, 6, 0.65);
  backdrop-filter: blur(8px);
}

.yt-blog-card__num {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
}

.yt-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 22px;
}

.yt-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.yt-blog-card__meta i {
  color: #c41227;
  margin-right: 5px;
}

.yt-blog-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.32;
  color: #fff;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.yt-blog-card:hover .yt-blog-card__title {
  color: #ff8b96;
}

.yt-blog-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 18px;
}

.yt-blog-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.yt-blog-card__foot .yt-client-card__link {
  color: #ff6b7a;
}

.yt-blog-card:hover .yt-client-card__link {
  color: #fff;
  gap: 12px;
}

.yt-blog-card__read {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.yt-blog-card__read i {
  color: #c41227;
  margin-right: 6px;
}

@media (max-width: 1199px) {
  .yt-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .yt-blog-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ── Blog article ── */
.yt-article {
  max-width: 780px;
  margin: 0 auto;
}

.yt-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  padding: 18px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 44px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.yt-article__meta i {
  color: #ff6b7a;
  margin-right: 8px;
}

.yt-article h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 20px;
}

.yt-article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff6b7a, #c41227);
}

.yt-article p {
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 20px;
}

.yt-article strong {
  color: #fff;
}

.yt-article__pull {
  margin: 40px 0;
  padding: 30px 34px;
  border-radius: 20px;
  border: 1px solid rgba(196, 18, 39, 0.3);
  background:
    radial-gradient(ellipse 90% 100% at 8% 0%, rgba(196, 18, 39, 0.16) 0%, transparent 55%),
    rgba(255, 255, 255, 0.02);
  font-size: 19px;
  line-height: 1.6;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.yt-article__pull::before {
  content: "\201C";
  position: absolute;
  top: -26px;
  left: 24px;
  font-size: 80px;
  line-height: 1;
  color: #c41227;
  font-family: Georgia, serif;
}

.yt-article__takeaways {
  margin: 40px 0;
  padding: 30px 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.yt-article__takeaways h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.yt-article__takeaways h3 i {
  color: #ff6b7a;
  margin-right: 10px;
}

.yt-article__takeaways li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.yt-article__takeaways li i {
  color: #c41227;
  margin-top: 5px;
  flex-shrink: 0;
}

.yt-article__author {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 52px;
  padding: 26px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

.yt-article__author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #c41227, #8f0d1c);
  box-shadow: 0 10px 26px rgba(196, 18, 39, 0.35);
}

.yt-article__author-avatar img {
  width: 34px;
  height: auto;
}

.yt-article__author b {
  display: block;
  font-size: 16px;
  color: #fff;
  margin-bottom: 3px;
}

.yt-article__author small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
  /* Minimal numbered list — no icons. A red left-accent border plus a
     small "01"-"06" index before each title. All 6 items in one
     continuous sequence (left column items 1-3, right column items 4-6),
     numbered via a CSS counter reset on the shared row so the count stays
     correct even though the two columns are separate divs. */
  .yt-hub {
    display: none;
  }
  .yt-feature-hub {
    counter-reset: featnum;
  }
  .ai-agency .xb-feature-left-item,
  .ai-agency .xb-feature-right-item {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ai-agency .xb-feature-item2 {
    counter-increment: featnum;
    border-left: 3px solid #e10600;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
  }
  .ai-agency .xb-feature-item2:not(:last-child) {
    margin-bottom: 0 !important;
  }
  .ai-agency .xb-feature-item2 .xb-item--icon {
    display: none;
  }
  .ai-agency .xb-feature-item2 .xb-item--inner {
    flex-direction: row !important;
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: baseline;
    gap: 10px;
    border: none !important;
    background: none !important;
    padding: 14px 16px !important;
  }
  .ai-agency .xb-feature-item2 .xb-item--title {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .ai-agency .xb-feature-item2 .xb-item--title {
    order: 2;
    font-size: 14px !important;
    white-space: nowrap;
  }
  .ai-agency .xb-feature-item2 .xb-item--title br {
    display: none;
  }
  .ai-agency .xb-feature-item2 .xb-item--title::before {
    content: counter(featnum, decimal-leading-zero);
    flex-shrink: 0;
    color: #e10600;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
}
