/* Visual Design Journey v2 hybrid layer */
:root {
  --v2-bg: #050505;
  --v2-surface: #0B0B0F;
  --v2-card: #111117;
  --v2-elevated: #17171F;
  --v2-panel: #1C1C24;
  --v2-border: #2A2A35;
  --v2-border-subtle: #1F1F29;
  --v2-text: #F5F5F7;
  --v2-secondary: #B8B8C3;
  --v2-muted: #777783;
  --v2-disabled: #4D4D57;
  --v2-acid: #D7FF3F;
  --v2-purple: #8B5CF6;
  --v2-sky: #38BDF8;
  --v2-success: #6EE7B7;
  --v2-warning: #FFB020;
  --v2-error: #FF4D4D;
  --v2-radius: 14px;
}

.vdj-v2-shell {
  background: var(--v2-bg);
  color: var(--v2-text);
  min-height: calc(100vh - var(--nav-h, 60px));
}

.vdj-v2-container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.vdj-v2-hero,
.vdj-v2-collection-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--v2-border-subtle);
}

.vdj-v2-hero::before,
.vdj-v2-collection-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 38%, rgba(215, 255, 63, .08), transparent 34%),
    radial-gradient(circle at 86% 28%, rgba(139, 92, 246, .1), transparent 36%);
}

.vdj-v2-hero .vdj-v2-container {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px);
  text-align: center;
}

.vdj-v2-collection-hero .vdj-v2-container {
  position: relative;
  padding: 56px 0 46px;
}

.vdj-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--v2-acid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.vdj-v2-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--v2-acid);
  box-shadow: 0 0 18px rgba(215, 255, 63, .55);
}

.vdj-v2-hero h1,
.vdj-v2-collection-hero h1 {
  max-width: 940px;
  margin: 0 auto 18px;
  color: var(--v2-text);
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  font-weight: 850;
  line-height: .92;
  letter-spacing: 0;
}

.vdj-v2-collection-hero h1 {
  margin-inline: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  display: flex;
  align-items: center;
  gap: 16px;
}

.vdj-v2-hero p,
.vdj-v2-collection-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--v2-muted);
  font-size: 17px;
  line-height: 1.7;
}

.vdj-v2-collection-hero p {
  margin-inline: 0;
}

.vdj-v2-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.vdj-v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: var(--v2-elevated);
  color: var(--v2-text);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.vdj-v2-btn:hover {
  transform: translateY(-1px);
  border-color: #3A3A48;
}

.vdj-v2-btn--primary {
  background: var(--v2-acid);
  color: var(--v2-bg);
  border-color: var(--v2-acid);
}

.vdj-v2-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 48px auto 0;
}

.vdj-v2-stats div {
  padding: 18px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  background: rgba(17, 17, 23, .74);
}

.vdj-v2-stats strong {
  display: block;
  color: var(--v2-acid);
  font-size: 30px;
  line-height: 1;
}

.vdj-v2-stats span {
  display: block;
  color: var(--v2-muted);
  font-size: 12px;
  margin-top: 7px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 750;
}

.vdj-v2-section {
  padding: clamp(48px, 8vw, 86px) 0;
}

.vdj-v2-section + .vdj-v2-section {
  border-top: 1px solid var(--v2-border-subtle);
}

.vdj-v2-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.vdj-v2-section-head p {
  margin: 0 0 8px;
  color: var(--v2-disabled);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.vdj-v2-section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 7px;
  color: var(--v2-text);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
}

.vdj-v2-section-head h2 i {
  color: var(--v2-acid);
}

.vdj-v2-section-head span {
  display: block;
  max-width: 620px;
  color: var(--v2-muted);
  font-size: 14px;
  line-height: 1.6;
}

.vdj-v2-link,
.vdj-v2-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--v2-sky);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.vdj-v2-back {
  margin-bottom: 24px;
  color: var(--v2-muted);
}

.vdj-v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.vdj-v2-card {
  min-height: 198px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  background: var(--v2-card);
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.vdj-v2-card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 255, 63, .38);
  box-shadow: 0 12px 46px rgba(0, 0, 0, .34), 0 0 0 1px rgba(215, 255, 63, .07);
}

.vdj-v2-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(215, 255, 63, .1);
  color: var(--v2-acid);
  flex: 0 0 auto;
}

.vdj-v2-card__body {
  display: grid;
  gap: 7px;
  flex: 1;
}

.vdj-v2-card strong {
  color: var(--v2-text);
  font-size: 15px;
  line-height: 1.24;
}

.vdj-v2-card span {
  color: var(--v2-muted);
  font-size: 13px;
  line-height: 1.55;
}

.vdj-v2-card em {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(215, 255, 63, .28);
  border-radius: 6px;
  background: rgba(215, 255, 63, .1);
  color: var(--v2-acid);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.vdj-v2-deploy-note {
  padding: 28px 0;
  border-top: 1px solid var(--v2-border);
  background: var(--v2-surface);
}

.vdj-v2-deploy-note .vdj-v2-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.vdj-v2-deploy-note i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--v2-acid);
  background: rgba(215, 255, 63, .1);
}

.vdj-v2-deploy-note strong {
  display: block;
  color: var(--v2-text);
  font-size: 14px;
}

.vdj-v2-deploy-note p {
  margin: 3px 0 0;
  color: var(--v2-muted);
  font-size: 13px;
  line-height: 1.55;
}

.vdj-v2-deploy-note a {
  color: var(--v2-acid);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.vdj-v2-empty,
.vdj-v2-detail {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--v2-border);
  border-radius: 18px;
  background: var(--v2-card);
  color: var(--v2-text);
}

.vdj-v2-empty {
  text-align: center;
}

.vdj-v2-empty > i {
  font-size: 34px;
  color: var(--v2-acid);
  margin-bottom: 18px;
}

.vdj-v2-empty h1,
.vdj-v2-empty h2,
.vdj-v2-detail h2 {
  margin: 0 0 10px;
  color: var(--v2-text);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 850;
}

.vdj-v2-empty p,
.vdj-v2-detail p {
  color: var(--v2-muted);
  line-height: 1.7;
  margin: 0 0 22px;
}

html:not([data-theme="dark"]) .vdj-v2-shell {
  color-scheme: dark;
}

@media (max-width: 760px) {
  .vdj-v2-section-head,
  .vdj-v2-deploy-note .vdj-v2-container {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .vdj-v2-stats {
    grid-template-columns: 1fr;
  }

  .vdj-v2-collection-hero h1 {
    align-items: flex-start;
  }
}
