.qdv2-site {
  scroll-behavior: smooth;
}

.qdv2-hero {
  padding-block: clamp(3rem, 8vw, 5.5rem) var(--qdv2-section-y-sm);
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

@media (min-width: 1024px) {
  .qdv2-hero {
    min-height: 560px;
  }
}

.qdv2-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse at 30% 20%, rgba(46, 139, 255, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(25, 199, 181, 0.1), transparent 45%);
  pointer-events: none;
}

.qdv2-hero__grid {
  display: grid;
  gap: var(--qdv2-space-10);
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .qdv2-hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: var(--qdv2-space-12);
  }
}

.qdv2-hero__brand {
  font-size: var(--qdv2-text-sm);
  font-weight: var(--qdv2-weight-bold);
  letter-spacing: 0.14em;
  color: var(--qdv2-brand-hover);
}

.qdv2-hero__tag {
  margin-top: var(--qdv2-space-2);
  font-size: var(--qdv2-text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qdv2-text-subtle);
}

.qdv2-hero__title {
  margin-top: var(--qdv2-space-6);
  font-size: var(--qdv2-text-hero);
  font-weight: var(--qdv2-weight-bold);
  line-height: var(--qdv2-leading-tight);
  letter-spacing: -0.03em;
}

.qdv2-hero__title em {
  font-style: normal;
  color: var(--qdv2-accent);
}

.qdv2-hero__subtitle {
  margin-top: var(--qdv2-space-6);
  font-size: var(--qdv2-text-md);
  line-height: var(--qdv2-leading-relaxed);
  color: var(--qdv2-text-muted);
  max-width: 34rem;
}

.qdv2-hero__actions {
  margin-top: var(--qdv2-space-8);
}

/* Dashboard mock */
.qdv2-dash {
  min-height: 360px;
  border-radius: var(--qdv2-radius-xl);
  border: 1px solid var(--qdv2-border-strong);
  background: linear-gradient(165deg, rgba(17, 28, 50, 0.95), rgba(8, 15, 30, 0.98));
  box-shadow: var(--qdv2-shadow-md), var(--qdv2-shadow-glow-brand);
  overflow: hidden;
}

.qdv2-dash__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--qdv2-space-3) var(--qdv2-space-5);
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--qdv2-border);
  font-size: var(--qdv2-text-xs);
  color: var(--qdv2-text-subtle);
}

.qdv2-dash__body {
  padding: var(--qdv2-space-5);
  display: grid;
  gap: var(--qdv2-space-4);
}

.qdv2-dash__row {
  display: grid;
  gap: var(--qdv2-space-4);
}

@media (min-width: 640px) {
  .qdv2-dash__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.qdv2-dash__tile {
  padding: var(--qdv2-space-4);
  border-radius: var(--qdv2-radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--qdv2-border);
}

.qdv2-dash__tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--qdv2-space-2);
  margin-bottom: var(--qdv2-space-3);
  font-size: var(--qdv2-text-sm);
  font-weight: var(--qdv2-weight-semibold);
}

.qdv2-dash__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--qdv2-text-xs);
  color: var(--qdv2-accent);
  font-weight: var(--qdv2-weight-medium);
}

.qdv2-dash__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qdv2-accent);
  box-shadow: 0 0 8px var(--qdv2-accent);
}

.qdv2-dash__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--qdv2-space-2);
}

.qdv2-dash__metric {
  flex: 1 1 45%;
  padding: var(--qdv2-space-2) var(--qdv2-space-3);
  border-radius: var(--qdv2-radius-sm);
  background: rgba(8, 15, 30, 0.6);
  font-size: var(--qdv2-text-xs);
  color: var(--qdv2-text-muted);
}

.qdv2-dash__metric strong {
  display: block;
  color: var(--qdv2-text);
  font-size: var(--qdv2-text-sm);
  font-weight: var(--qdv2-weight-semibold);
  margin-top: 2px;
}

.qdv2-dash__events {
  padding: var(--qdv2-space-4);
  border-radius: var(--qdv2-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--qdv2-border);
}

.qdv2-dash__events-title {
  font-size: var(--qdv2-text-sm);
  font-weight: var(--qdv2-weight-semibold);
  margin-bottom: var(--qdv2-space-3);
}

.qdv2-dash__event {
  display: flex;
  align-items: flex-start;
  gap: var(--qdv2-space-3);
  padding: var(--qdv2-space-2) 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  font-size: var(--qdv2-text-xs);
  color: var(--qdv2-text-muted);
}

.qdv2-dash__event:last-child {
  border-bottom: none;
}

.qdv2-dash__event-type {
  color: var(--qdv2-text);
  font-weight: var(--qdv2-weight-medium);
}

.qdv2-dash__footnote {
  padding: var(--qdv2-space-3) var(--qdv2-space-5);
  font-size: 11px;
  color: var(--qdv2-text-subtle);
  border-top: 1px solid var(--qdv2-border);
  text-align: center;
}

/* Product matrix */
.qdv2-product-matrix__intro {
  max-width: 36rem;
  margin-bottom: var(--qdv2-space-10);
}

.qdv2-product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--qdv2-space-10);
  border-radius: var(--qdv2-radius-xl);
  background: var(--qdv2-bg-card);
  border: 1px solid var(--qdv2-border);
  transition: border-color var(--qdv2-duration) var(--qdv2-ease), transform var(--qdv2-duration) var(--qdv2-ease);
}

.qdv2-product-card:hover {
  border-color: var(--qdv2-border-strong);
}

.qdv2-product-card__label {
  font-size: var(--qdv2-text-xs);
  font-weight: var(--qdv2-weight-semibold);
  letter-spacing: 0.06em;
  color: var(--qdv2-brand-hover);
  margin-bottom: var(--qdv2-space-3);
}

.qdv2-product-card__title {
  font-size: var(--qdv2-text-2xl);
  font-weight: var(--qdv2-weight-bold);
  margin-bottom: var(--qdv2-space-4);
}

.qdv2-product-card__desc {
  flex: 1;
  color: var(--qdv2-text-muted);
  line-height: var(--qdv2-leading-relaxed);
  margin-bottom: var(--qdv2-space-8);
}

/* Trust */
.qdv2-trust-item {
  padding: var(--qdv2-space-6);
  border-radius: var(--qdv2-radius-lg);
  border: 1px solid var(--qdv2-border);
  background: rgba(255, 255, 255, 0.02);
  height: 100%;
}

.qdv2-trust-item__icon {
  display: inline-flex;
  padding: var(--qdv2-space-3);
  border-radius: var(--qdv2-radius-md);
  background: var(--qdv2-brand-muted);
  color: var(--qdv2-brand);
  margin-bottom: var(--qdv2-space-4);
}

.qdv2-trust-item__title {
  font-size: var(--qdv2-text-lg);
  font-weight: var(--qdv2-weight-semibold);
  margin-bottom: var(--qdv2-space-2);
}

.qdv2-trust-item p {
  font-size: var(--qdv2-text-sm);
  color: var(--qdv2-text-muted);
  line-height: var(--qdv2-leading-relaxed);
}

.qdv2-section--alt {
  background: linear-gradient(180deg, transparent, rgba(13, 22, 40, 0.65) 40%, transparent);
}

.qdv2-trust-item code {
  font-family: var(--qdv2-font-mono);
  font-size: 0.85em;
  color: var(--qdv2-brand-hover);
  word-break: break-all;
}
