/**
 * TVD Hero Modern Stylesheet
 *
 * Fully scoped, self-contained layout classes to avoid any conflicts with theme generic classes.
 *
 * @package TVDTheme
 */

.tvd-hero-modern {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.tvd-hero-modern__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .tvd-hero-modern__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

.tvd-hero-modern__content {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.tvd-hero-modern__media {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.tvd-hero-modern__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: #818cf8;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.tvd-hero-modern__badge-icon {
  font-size: 14px;
}

.tvd-hero-modern__badge-text {
  font-size: 12px;
}

.tvd-hero-modern__title {
  font-size: clamp(32px, 3.8vw, 52px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  color: #ffffff !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: -1px !important;
}

.tvd-hero-modern__gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline !important;
}

.tvd-hero-modern__desc {
  font-size: clamp(15px, 1.15vw, 17px) !important;
  line-height: 1.7 !important;
  color: #94a3b8 !important;
  margin: 0 0 28px 0 !important;
  max-width: 580px !important;
}

.tvd-hero-modern__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.tvd-hero-modern__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tvd-hero-modern__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1;
  backdrop-filter: blur(8px);
}

/* Floating Mockup Card */
.tvd-hero-modern__mockup-card {
  position: relative;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.25);
  backdrop-filter: blur(16px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tvd-hero-modern__mockup-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.35);
}

.tvd-hero-modern__mockup-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tvd-hero-modern__mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.tvd-hero-modern__mockup-dot--red { background: #ef4444; }
.tvd-hero-modern__mockup-dot--yellow { background: #f59e0b; }
.tvd-hero-modern__mockup-dot--green { background: #10b981; }

.tvd-hero-modern__mockup-filename {
  overflow-wrap: anywhere;
  min-width: 0;
  font-size: 11px;
  color: #94a3b8;
  margin-left: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.tvd-hero-modern__mockup-speed {
  margin-left: auto;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tvd-hero-modern__mockup-body {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.tvd-hero-modern__mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.tvd-hero-modern__mockup-overlay {
  position: relative;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tvd-hero-modern__mockup-tag {
  font-size: 11px;
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
}

.tvd-hero-modern__mockup-title {
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
}

.tvd-hero-modern__mockup-pill {
  background: #10b981;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
