/* ============================================================================
   DREAMVFIA MASTER DSP QC — V2.1 SPECULAR-LENS SMOKED-QUARTZ GLASS ARCHITECTURE
   100% Standalone Original Bilingual Typography + 5-Layer Physical Refraction
   Palette Lock: Obsidian Substrate · Liquid Platinum · Ice Caustic · Crimson-Ruby
   ============================================================================ */

@font-face {
  font-family: 'DREAMVFIA Vespera EN';
  src: url('/assets/fonts/dreamvfia-vespera-en-display.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DREAMVFIA Vitreous EN';
  src: url('/assets/fonts/dreamvfia-vitreous-en-sans-reg.woff2') format('woff2');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DREAMVFIA Vitreous EN';
  src: url('/assets/fonts/dreamvfia-vitreous-en-sans-semi.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DREAMVFIA Prisma Mono';
  src: url('/assets/fonts/dreamvfia-prisma-mono-reg.woff2') format('woff2');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DREAMVFIA Prisma Mono';
  src: url('/assets/fonts/dreamvfia-prisma-mono-semi.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DREAMVFIA Cangqiong CN';
  src: url('/assets/fonts/dreamvfia-cangqiong-cn-display.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DREAMVFIA Lingbo CN';
  src: url('/assets/fonts/dreamvfia-lingbo-cn-ui-reg.woff2') format('woff2');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DREAMVFIA Lingbo CN';
  src: url('/assets/fonts/dreamvfia-lingbo-cn-ui-semi.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Sovereign HSL Optical Token System */
  --bg-base: hsl(228, 28%, 3.2%) !important;
  --bg-elevated: hsl(226, 26%, 5.5%) !important;
  --bg-card: hsla(224, 28%, 9.5%, 0.58) !important;
  --bg-card-hover: hsla(222, 30%, 12.5%, 0.66) !important;
  --bg-card-crimson: linear-gradient(
    162deg,
    hsla(348, 56%, 19%, 0.56) 0%,
    hsla(348, 44%, 9.5%, 0.68) 52%,
    hsla(228, 34%, 5%, 0.84) 100%
  ) !important;
  --bg-pill: hsla(222, 26%, 13%, 0.64) !important;

  /* Liquid-Platinum Typography Hierarchy (WCAG AA >= 4.5:1 Verified) */
  --text-primary: hsl(214, 38%, 96.5%) !important;
  --text-secondary: hsl(216, 18%, 74%) !important;
  --text-muted: hsl(218, 14%, 57%) !important;

  /* Single Precision Crimson-Ruby & Ice-Silver Specular Accents */
  --accent-crimson: hsl(348, 83%, 50%) !important;
  --accent-crimson-bright: hsl(348, 90%, 60%) !important;
  --accent-crimson-soft: hsla(348, 84%, 52%, 0.16) !important;
  --accent-crimson-border: hsla(348, 85%, 62%, 0.38) !important;
  --specular-top: hsla(214, 90%, 97%, 0.32);
  --specular-side: hsla(214, 55%, 90%, 0.14);
  --specular-bottom: hsla(228, 58%, 2.5%, 0.92);
  --caustic-platinum: hsla(214, 72%, 86%, 0.085);
  --caustic-ruby: hsla(348, 86%, 50%, 0.09);

  --border-hairline: hsla(214, 48%, 92%, 0.11) !important;
  --border-strong: hsla(214, 62%, 95%, 0.22) !important;

  /* Standalone Original Font Stacks */
  --font-display: 'DREAMVFIA Vespera EN', 'DREAMVFIA Cangqiong CN', 'DREAMVFIA Lingbo CN', -apple-system, BlinkMacSystemFont, sans-serif !important;
  --font-sans: 'DREAMVFIA Vitreous EN', 'DREAMVFIA Lingbo CN', -apple-system, BlinkMacSystemFont, sans-serif !important;
  --font-mono: 'DREAMVFIA Prisma Mono', 'DREAMVFIA Lingbo CN', ui-monospace, monospace !important;

  /* Physics Spring Kinematics */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html[lang^="zh"] {
  --font-display: 'DREAMVFIA Cangqiong CN', 'DREAMVFIA Vespera EN', 'DREAMVFIA Lingbo CN', sans-serif !important;
  --font-sans: 'DREAMVFIA Lingbo CN', 'DREAMVFIA Vitreous EN', sans-serif !important;
}

html, body {
  background-color: hsl(228, 28%, 3.2%) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-sans) !important;
  overflow-x: clip !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Tabular Numbers Lock on All Acoustic & Financial Readouts */
.hero-stat-value,
.metric-big,
.plan-price-usd,
.plan-price-alt,
.quota-stat-num,
.dvf-qc-metric-val,
.shot-tab-num,
code,
pre {
  font-variant-numeric: tabular-nums;
}

/* ============================================================================
   LAYER 0: AMBIENT SUBSURFACE CAUSTIC LIGHT POOLS (Refraction Substrate)
   Gives backdrop-filter real luminous gradients to refract behind glass cards
   ============================================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58vw 42vh at 16% 18%, hsla(214, 68%, 82%, 0.068) 0%, transparent 72%),
    radial-gradient(ellipse 52vw 40vh at 84% 46%, hsla(348, 86%, 48%, 0.072) 0%, transparent 72%),
    radial-gradient(ellipse 62vw 44vh at 32% 84%, hsla(216, 62%, 78%, 0.055) 0%, transparent 74%),
    linear-gradient(180deg, hsl(228, 30%, 3.6%) 0%, hsl(228, 28%, 2.8%) 100%);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.section-block {
  position: relative;
  isolation: isolate;
}

.section-block::before {
  content: '';
  position: absolute;
  inset: 6% 4%;
  z-index: -1;
  pointer-events: none;
  border-radius: 48px;
  background:
    radial-gradient(ellipse 520px 280px at 22% 32%, hsla(214, 72%, 86%, 0.075), transparent 72%),
    radial-gradient(ellipse 480px 260px at 78% 68%, hsla(348, 85%, 48%, 0.082), transparent 74%);
  filter: blur(22px);
}

.section-block:nth-of-type(even)::before {
  background:
    radial-gradient(ellipse 500px 270px at 76% 28%, hsla(214, 72%, 86%, 0.072), transparent 72%),
    radial-gradient(ellipse 520px 280px at 24% 72%, hsla(348, 85%, 48%, 0.078), transparent 74%);
}

/* ============================================================================
   LAYERS 1-4: 5-LAYER SMOKED-QUARTZ 3D SPECULAR-LENS CARDS (Zero Plasticity)
   ============================================================================ */
.core-card,
.screenshot-gallery-shell,
.showcase-visual-card,
.mode-selector-stack,
.engine-inset-card,
.engine-visual-card,
.pricing-card,
.testimonial-card,
.faq-item,
.card,
.bento-card,
.dash-card,
.checkout-console-card,
.profile-hero-bar,
.benefit-box,
.trademark-showcase-card,
.auth-form-card,
.auth-card,
.compare-card,
.doc-card,
.info-card,
.faq-box,
.table-wrap,
.leaderboard-card,
.card-panel,
.host-item,
.dvf-glass-card {
  position: relative !important;
  background: linear-gradient(
    162deg,
    hsla(218, 28%, 17%, 0.50) 0%,
    hsla(224, 30%, 9.5%, 0.62) 50%,
    hsla(228, 34%, 5.2%, 0.78) 100%
  ) !important;
  backdrop-filter: blur(38px) saturate(180%) contrast(105%) !important;
  -webkit-backdrop-filter: blur(38px) saturate(180%) contrast(105%) !important;
  border-top: 1px solid hsla(214, 90%, 97%, 0.32) !important;
  border-left: 1px solid hsla(214, 58%, 92%, 0.16) !important;
  border-right: 1px solid hsla(214, 46%, 88%, 0.11) !important;
  border-bottom: 1px solid hsla(228, 58%, 2.5%, 0.92) !important;
  box-shadow:
    inset 0 1px 0 0 hsla(214, 96%, 99%, 0.22),
    inset 0 20px 38px -20px hsla(214, 78%, 92%, 0.085),
    inset 0 -1px 0 0 hsla(228, 60%, 2%, 0.84),
    0 28px 68px -16px rgba(0, 0, 0, 0.85),
    0 10px 24px -8px rgba(0, 0, 0, 0.65) !important;
  transition:
    transform 0.38s var(--ease-spring),
    box-shadow 0.38s var(--ease-out-expo),
    border-color 0.32s ease,
    background 0.32s ease !important;
}

/* Top Prismatic Specular Meniscus Catchlight */
.core-card::before,
.screenshot-gallery-shell::before,
.engine-inset-card::before,
.pricing-card::before,
.testimonial-card::before,
.card::before,
.info-card::before,
.faq-box::before,
.card-panel::before,
.dash-card::before,
.checkout-console-card::before,
.host-item::before,
.dvf-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsla(214, 96%, 98%, 0.56) 50%,
    transparent 100%
  );
}

/* Pointer-Coupled Fresnel Specular Sheen Layer (Driven by master_glass_physics.js) */
.core-card::after,
.pricing-card::after,
.testimonial-card::after,
.engine-inset-card::after,
.card::after,
.info-card::after,
.faq-box::after,
.card-panel::after,
.dash-card::after,
.host-item::after,
.dvf-glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: var(--glare-alpha, 0);
  background: radial-gradient(
    480px circle at var(--mx, 50%) var(--my, 0%),
    hsla(214, 86%, 97%, 0.115) 0%,
    hsla(348, 82%, 62%, 0.045) 36%,
    transparent 66%
  );
  transition: opacity 0.32s ease;
}

.core-card:hover::after,
.pricing-card:hover::after,
.testimonial-card:hover::after,
.engine-inset-card:hover::after,
.card:hover::after,
.info-card:hover::after,
.faq-box:hover::after,
.card-panel:hover::after,
.dash-card:hover::after,
.host-item:hover::after,
.dvf-glass-card:hover::after {
  opacity: 1;
}

.core-card:hover,
.pricing-card:hover,
.testimonial-card:hover,
.info-card:hover,
.card-panel:hover,
.host-item:hover,
.card:hover {
  transform: translateY(-6px) perspective(960px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) !important;
  border-top-color: hsla(214, 96%, 99%, 0.48) !important;
  border-left-color: hsla(214, 72%, 95%, 0.24) !important;
  box-shadow:
    inset 0 1px 0 0 hsla(214, 98%, 100%, 0.30),
    inset 0 24px 44px -20px hsla(214, 85%, 94%, 0.12),
    inset 0 -1px 0 0 hsla(228, 60%, 2%, 0.88),
    0 36px 84px -16px rgba(0, 0, 0, 0.90),
    0 12px 32px -8px hsla(348, 84%, 48%, 0.16) !important;
}

/* Featured Ruby-Crystal Specular Lens Variant */
.core-card.featured-crimson,
.pricing-card.featured-plan,
.profile-hero-bar {
  background: linear-gradient(
    162deg,
    hsla(348, 58%, 21%, 0.54) 0%,
    hsla(348, 46%, 10.5%, 0.66) 48%,
    hsla(228, 34%, 5.2%, 0.84) 100%
  ) !important;
  border-top: 1px solid hsla(350, 92%, 94%, 0.42) !important;
  border-left: 1px solid hsla(348, 76%, 76%, 0.24) !important;
  border-right: 1px solid hsla(348, 66%, 68%, 0.16) !important;
  box-shadow:
    inset 0 1px 0 0 hsla(350, 96%, 97%, 0.28),
    inset 0 22px 44px -20px hsla(348, 86%, 68%, 0.14),
    inset 0 -1px 0 0 hsla(228, 60%, 2%, 0.88),
    0 32px 76px -16px rgba(0, 0, 0, 0.88),
    0 14px 42px -12px hsla(348, 86%, 46%, 0.26) !important;
}

.core-card.featured-crimson::before,
.pricing-card.featured-plan::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsla(350, 96%, 92%, 0.68) 50%,
    transparent 100%
  );
}

/* Layer 3: Recessed Obsidian Optical Wells inside Glass Cards */
.quota-pill-box,
.quota-stat-cell,
.key-vault-box,
.device-slot-row,
.gateway-stage-box,
.plan-pick-btn,
.gateway-tab-btn,
.shot-tab-btn,
.newsletter-input,
.field-input,
pre,
.code-box,
.code-block {
  background: hsla(226, 36%, 4.2%, 0.72) !important;
  border: 1px solid hsla(214, 48%, 90%, 0.09) !important;
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.82),
    0 1px 0 hsla(214, 82%, 96%, 0.08) !important;
}

pre,
.code-box,
.code-block {
  white-space: pre-wrap !important;
  word-break: break-word;
}

.dvf-inline-code {
  font-family: var(--font-mono) !important;
  font-size: 0.88em !important;
  font-weight: 500 !important;
  padding: 1.5px 6.5px !important;
  border-radius: 6px !important;
  background: hsla(224, 36%, 6.5%, 0.78) !important;
  border: 1px solid hsla(214, 62%, 92%, 0.16) !important;
  color: hsl(214, 52%, 95%) !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.65);
  word-break: break-all;
}

.shot-tab-btn {
  min-height: 76px !important;
  padding: 11px 13px !important;
}

.shot-tab-label {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 12px !important;
  line-height: 1.32 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.shot-tab-btn.active,
.mode-pill-btn.active,
.plan-pick-btn.active,
.gateway-tab-btn.active {
  background: linear-gradient(
    158deg,
    hsla(348, 72%, 28%, 0.44) 0%,
    hsla(224, 32%, 8%, 0.86) 100%
  ) !important;
  border-color: hsla(348, 85%, 64%, 0.58) !important;
  box-shadow:
    inset 0 1px 0 hsla(350, 95%, 94%, 0.25),
    0 10px 26px -8px hsla(348, 84%, 44%, 0.32) !important;
  color: var(--text-primary) !important;
}

.card-icon-circle {
  background: linear-gradient(145deg, hsla(214, 52%, 24%, 0.45), hsla(348, 70%, 28%, 0.34)) !important;
  border: 1px solid hsla(214, 80%, 94%, 0.26) !important;
  box-shadow: inset 0 1px 0 hsla(214, 95%, 98%, 0.28), 0 8px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Smoked-Quartz Comparison & Data Tables (Subpages) */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(165deg, hsla(220, 28%, 13%, 0.52), hsla(228, 32%, 5.5%, 0.78));
  backdrop-filter: blur(32px) saturate(175%);
  -webkit-backdrop-filter: blur(32px) saturate(175%);
  border-radius: 20px;
  overflow: hidden;
  border-top: 1px solid hsla(214, 88%, 97%, 0.28);
  border-left: 1px solid hsla(214, 52%, 90%, 0.14);
  border-right: 1px solid hsla(214, 46%, 88%, 0.10);
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.90);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.82);
}

th {
  background: hsla(222, 30%, 14%, 0.62) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-display);
  border-bottom: 1px solid hsla(214, 65%, 92%, 0.16) !important;
}

.table-wrap table {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

td {
  border-bottom: 1px solid hsla(214, 40%, 90%, 0.07) !important;
}

/* ============================================================================
   BUTTON SYSTEM PURIFICATION (Liquid-Platinum & Single Crimson-Ruby Lens)
   ============================================================================ */
.btn {
  position: relative;
  border-radius: 999px !important;
  font-family: var(--font-sans) !important;
  letter-spacing: 0.01em;
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s ease,
    border-color 0.28s ease,
    background 0.28s ease !important;
}

/* Purify sky-blue Windows PNG inside buttons into pure Liquid-Platinum glyph */
.btn img {
  filter: brightness(0) invert(1) opacity(0.94);
}

.btn-crimson {
  background: linear-gradient(
    180deg,
    hsl(348, 82%, 49%) 0%,
    hsl(348, 86%, 36%) 100%
  ) !important;
  color: #ffffff !important;
  border-top: 1px solid hsla(350, 98%, 90%, 0.52) !important;
  border-left: 1px solid hsla(348, 86%, 72%, 0.32) !important;
  border-right: 1px solid hsla(348, 86%, 72%, 0.24) !important;
  border-bottom: 1px solid hsla(348, 92%, 18%, 0.90) !important;
  box-shadow:
    inset 0 1px 0 hsla(350, 100%, 96%, 0.32),
    0 10px 28px -6px hsla(348, 88%, 44%, 0.48),
    0 4px 12px rgba(0, 0, 0, 0.55) !important;
}

.btn-crimson:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    180deg,
    hsl(348, 86%, 54%) 0%,
    hsl(348, 88%, 40%) 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 hsla(350, 100%, 98%, 0.44),
    0 14px 36px -6px hsla(348, 90%, 50%, 0.62),
    0 6px 16px rgba(0, 0, 0, 0.65) !important;
}

.btn-dark {
  background: linear-gradient(
    165deg,
    hsla(218, 28%, 18%, 0.62) 0%,
    hsla(226, 32%, 9%, 0.78) 100%
  ) !important;
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  color: var(--text-primary) !important;
  border-top: 1px solid hsla(214, 86%, 96%, 0.28) !important;
  border-left: 1px solid hsla(214, 52%, 90%, 0.16) !important;
  border-right: 1px solid hsla(214, 52%, 90%, 0.12) !important;
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.88) !important;
  box-shadow:
    inset 0 1px 0 hsla(214, 95%, 99%, 0.16),
    0 8px 22px -6px rgba(0, 0, 0, 0.68) !important;
}

.btn-dark:hover {
  transform: translateY(-2px);
  border-top-color: hsla(214, 96%, 99%, 0.46) !important;
  background: linear-gradient(
    165deg,
    hsla(218, 30%, 22%, 0.72) 0%,
    hsla(226, 32%, 12%, 0.84) 100%
  ) !important;
}

/* ============================================================================
   UNIFIED ZERO-CLIPPING SPECULAR GLASS NAVBAR & MOBILE DRAWER (All 39 Pages)
   ============================================================================ */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1200 !important;
  min-height: 72px !important;
  height: 72px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  background: linear-gradient(
    180deg,
    hsla(224, 32%, 7%, 0.78) 0%,
    hsla(228, 32%, 4.2%, 0.70) 100%
  ) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
  border-bottom: 1px solid hsla(214, 62%, 92%, 0.12) !important;
  box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.78) !important;
}

.site-header .container {
  width: 100% !important;
  max-width: 1440px !important;
  padding: 0 clamp(16px, 2.2vw, 32px) !important;
  margin: 0 auto !important;
}

.site-header .nav-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(8px, 1vw, 16px) !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.site-header .brand-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.site-header .brand-emblem {
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}

.site-header .brand-name {
  font-family: var(--font-display) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  color: var(--text-primary) !important;
}

.site-header .brand-version-pill {
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  color: hsl(214, 40%, 92%) !important;
  background: hsla(348, 82%, 48%, 0.18) !important;
  border: 1px solid hsla(348, 84%, 62%, 0.42) !important;
}

.site-header .nav-center {
  display: inline-flex !important;
  align-items: center !important;
  gap: clamp(1px, 0.24vw, 4px) !important;
  background: linear-gradient(
    180deg,
    hsla(220, 28%, 14%, 0.56) 0%,
    hsla(226, 32%, 8%, 0.72) 100%
  ) !important;
  border-top: 1px solid hsla(214, 85%, 96%, 0.22) !important;
  border-left: 1px solid hsla(214, 50%, 90%, 0.12) !important;
  border-right: 1px solid hsla(214, 50%, 90%, 0.12) !important;
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.85) !important;
  padding: 4px 5px !important;
  border-radius: 999px !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  box-shadow: inset 0 1px 0 hsla(214, 95%, 98%, 0.14), 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.site-header .nav-item {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px clamp(8px, 0.76vw, 12.5px) !important;
  border-radius: 999px !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(12px, 0.82vw, 13px) !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1.25 !important;
  transition: color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease !important;
}

.site-header .nav-item:hover {
  color: var(--text-primary) !important;
  background: hsla(214, 65%, 94%, 0.08) !important;
}

.site-header .nav-item.active {
  color: #ffffff !important;
  background: linear-gradient(
    180deg,
    hsla(218, 32%, 22%, 0.72) 0%,
    hsla(348, 65%, 24%, 0.42) 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 hsla(214, 95%, 98%, 0.28),
    0 2px 10px hsla(348, 84%, 46%, 0.22) !important;
}

.site-header .nav-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Sans-serif Locale Bar (Eliminates Slashed-Zero K0 Defect on KO) */
.site-header .lang-bar {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  font-family: var(--font-sans) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  background: hsla(222, 28%, 11%, 0.72) !important;
  border: 1px solid hsla(214, 55%, 92%, 0.14) !important;
  padding: 3px 4px !important;
  border-radius: 999px !important;
}

.site-header .lang-bar a {
  padding: 4px 8px !important;
  border-radius: 999px !important;
  color: var(--text-secondary) !important;
  font-family: var(--font-sans) !important;
}

.site-header .lang-bar a.active {
  background: var(--accent-crimson) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px hsla(348, 86%, 48%, 0.45) !important;
}

/* Ellipsis-Capped Studio Account Pill (Never Clips Adjacent Nav!) */
#navAccountBtn,
.dvf-nav-account-btn {
  max-width: 172px !important;
  padding: 8px 15px !important;
  font-size: 12.5px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  display: inline-block !important;
  text-align: center !important;
  line-height: 1.35 !important;
}

/* Hamburger Trigger & Smoked-Quartz Mobile Drawer */
.dvf-mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: hsla(220, 28%, 15%, 0.68);
  border: 1px solid hsla(214, 70%, 94%, 0.22);
  color: var(--text-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.dvf-mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 1190;
  padding: 20px 20px 28px;
  background: linear-gradient(
    180deg,
    hsla(224, 32%, 8%, 0.94) 0%,
    hsla(228, 34%, 4.5%, 0.97) 100%
  );
  backdrop-filter: blur(36px) saturate(185%);
  -webkit-backdrop-filter: blur(36px) saturate(185%);
  border-bottom: 1px solid hsla(214, 70%, 94%, 0.18);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.88);
  display: none;
  flex-direction: column;
  gap: 14px;
}

.dvf-mobile-drawer.open {
  display: flex;
}

.dvf-mobile-drawer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dvf-mobile-drawer-links a {
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  background: hsla(220, 28%, 15%, 0.55);
  border: 1px solid hsla(214, 55%, 92%, 0.12);
}

.dvf-mobile-drawer-links a.active {
  border-color: hsla(348, 84%, 62%, 0.55);
  background: hsla(348, 72%, 26%, 0.34);
}

.dvf-mobile-drawer-langs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid hsla(214, 48%, 92%, 0.10);
}

.dvf-mobile-drawer-langs a {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: hsla(222, 28%, 11%, 0.72);
  border: 1px solid hsla(214, 48%, 92%, 0.12);
}

.dvf-mobile-drawer-langs a.active {
  color: #fff;
  background: var(--accent-crimson);
  border-color: hsla(350, 90%, 75%, 0.5);
}

@media (max-width: 1220px) {
  .site-header .brand-version-pill {
    display: none !important;
  }
  .site-header .nav-center,
  .site-header .lang-bar {
    display: none !important;
  }
  .dvf-mobile-menu-btn {
    display: inline-flex !important;
  }
}

/* ============================================================================
   HERO HOROLOGICAL LENS REFINEMENT (Purge Yellow/Dashed Reactor Clutter)
   ============================================================================ */
.eclipse-planet-arc {
  background: radial-gradient(
    ellipse 68% 72% at 50% 18%,
    hsla(214, 65%, 86%, 0.08) 0%,
    hsla(348, 84%, 42%, 0.14) 36%,
    hsla(228, 32%, 3.5%, 0.96) 78%
  ) !important;
  border-top: 1px solid hsla(214, 88%, 96%, 0.28) !important;
  box-shadow:
    0 -24px 80px hsla(348, 84%, 46%, 0.20),
    inset 0 22px 64px hsla(214, 78%, 92%, 0.10) !important;
}

.cyber-reactor-ring.ring-outer {
  border: 1px solid hsla(214, 78%, 94%, 0.18) !important;
  border-top-color: hsla(214, 95%, 98%, 0.42) !important;
  box-shadow:
    0 0 56px hsla(214, 72%, 86%, 0.10),
    inset 0 0 36px hsla(348, 84%, 50%, 0.14) !important;
}

.cyber-reactor-ring.ring-mid {
  border: 1px solid hsla(214, 60%, 90%, 0.14) !important;
  border-left-color: hsla(348, 88%, 62%, 0.72) !important;
  border-right-color: hsla(214, 92%, 96%, 0.56) !important;
}

.hero-official-logo-img {
  filter:
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.92))
    drop-shadow(0 0 32px hsla(348, 86%, 54%, 0.48))
    drop-shadow(0 0 16px hsla(214, 82%, 90%, 0.22)) !important;
}

/* Position HUD pills cleanly at left/right equator so they never overlap gate pill */
.reactor-hud-tag {
  background: hsla(224, 32%, 8%, 0.76) !important;
  backdrop-filter: blur(18px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(170%) !important;
  border-top: 1px solid hsla(214, 88%, 97%, 0.30) !important;
  border-left: 1px solid hsla(214, 52%, 90%, 0.14) !important;
  border-right: 1px solid hsla(214, 52%, 90%, 0.14) !important;
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.88) !important;
  color: hsl(214, 34%, 92%) !important;
}

.reactor-hud-tag.hud-tl {
  top: 50% !important;
  left: -56px !important;
  transform: translateY(-50%);
}

.reactor-hud-tag.hud-tr {
  top: 50% !important;
  right: -56px !important;
  transform: translateY(-50%);
  color: hsl(214, 34%, 92%) !important;
}

.trademark-core-badge {
  background: hsla(224, 32%, 7%, 0.84) !important;
  border-top: 1px solid hsla(214, 88%, 97%, 0.32) !important;
  border-left: 1px solid hsla(348, 80%, 62%, 0.36) !important;
  border-right: 1px solid hsla(348, 80%, 62%, 0.36) !important;
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.90) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85), 0 0 24px hsla(348, 84%, 48%, 0.24) !important;
}

.dvf-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(348, 90%, 60%);
  box-shadow: 0 0 10px hsl(348, 90%, 60%), 0 0 3px #ffffff;
  display: inline-block;
  flex-shrink: 0;
}

/* ============================================================================
   THIRD-PARTY OS & DAW BRAND COMPATIBILITY MATRIX (V2.1.2 Horological Dock)
   Zero Clipping · Crisp Vector Brand Marks · Explicit Latest Version Pills
   ============================================================================ */
.host-strip {
  background: linear-gradient(
    180deg,
    hsla(224, 30%, 6.2%, 0.82) 0%,
    hsla(228, 32%, 3.6%, 0.92) 100%
  ) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-top: 1px solid hsla(214, 85%, 96%, 0.20) !important;
  border-bottom: 1px solid hsla(214, 52%, 90%, 0.10) !important;
  padding: 20px 0 !important;
}

.host-strip .container {
  max-width: 1440px !important;
  padding: 0 clamp(18px, 2.2vw, 32px) !important;
}

.host-strip-row {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}

.host-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 11px !important;
  padding: 13px 14px !important;
  border-radius: 16px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.host-top-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  position: relative;
  z-index: 3;
}

.host-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: hsla(226, 38%, 4.2%, 0.86) !important;
  border: 1px solid hsla(214, 72%, 94%, 0.22) !important;
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.84),
    0 1px 0 hsla(214, 92%, 98%, 0.14) !important;
  padding: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.host-icon svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

.host-ver-pill {
  font-family: var(--font-mono) !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  padding: 3px 7.5px !important;
  border-radius: 999px !important;
  color: hsl(214, 52%, 95%) !important;
  background: linear-gradient(165deg, hsla(218, 34%, 20%, 0.72), hsla(226, 34%, 9%, 0.88)) !important;
  border-top: 1px solid hsla(214, 92%, 98%, 0.34) !important;
  border-left: 1px solid hsla(348, 80%, 64%, 0.32) !important;
  border-right: 1px solid hsla(214, 55%, 90%, 0.16) !important;
  border-bottom: 1px solid hsla(228, 58%, 3%, 0.90) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-variant-numeric: tabular-nums;
}

.host-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  width: 100% !important;
  min-width: 0 !important;
  position: relative;
  z-index: 3;
}

.host-name {
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.005em !important;
  line-height: 1.26 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.host-ver {
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: var(--text-secondary) !important;
  line-height: 1.32 !important;
  margin-top: 1px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ============================================================================
   SELF-CONTAINED LUXURY 5-COLUMN SMOKED-QUARTZ FOOTER (Unified All 40 Pages)
   ============================================================================ */
.site-footer {
  position: relative !important;
  z-index: 2 !important;
  padding: 76px 0 40px !important;
  margin-top: 56px;
  background: linear-gradient(
    180deg,
    hsla(224, 30%, 5.8%, 0.84) 0%,
    hsla(228, 32%, 2.8%, 0.97) 100%
  ) !important;
  backdrop-filter: blur(32px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(175%) !important;
  border-top: 1px solid hsla(214, 82%, 95%, 0.18) !important;
  box-shadow: inset 0 1px 0 hsla(214, 95%, 98%, 0.10) !important;
}

.site-footer .container {
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 2.8vw, 36px) !important;
}

.footer-top-grid {
  display: grid !important;
  grid-template-columns: 1.32fr 1fr 1fr 0.92fr 1.05fr !important;
  gap: 32px !important;
  align-items: start !important;
  padding-bottom: 48px !important;
  border-bottom: 1px solid hsla(214, 52%, 92%, 0.12) !important;
}

.footer-col-title {
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.01em !important;
  margin-bottom: 16px !important;
  line-height: 1.35 !important;
}

.newsletter-form {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 14px !important;
  margin-bottom: 6px !important;
}

.newsletter-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border-radius: 999px !important;
  padding: 10px 15px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-sans) !important;
  font-size: 12.5px !important;
  outline: none !important;
}

.newsletter-input:focus {
  border-color: hsla(348, 84%, 62%, 0.55) !important;
}

.newsletter-form .btn {
  padding: 10px 18px !important;
  font-size: 12.5px !important;
  flex-shrink: 0 !important;
}

.footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  font-family: var(--font-sans) !important;
  font-size: 12.8px !important;
  color: var(--text-secondary) !important;
  line-height: 1.45 !important;
}

.footer-links li {
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links a {
  color: var(--text-secondary) !important;
  transition: color 0.22s ease, transform 0.22s var(--ease-spring) !important;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

.footer-bottom-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px 24px !important;
  padding-top: 26px !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  color: var(--text-muted) !important;
}

/* Subpage Fixed-Header Clearance & Badge Purification */
.hero-wrap {
  padding-top: 122px !important;
}
.dashboard-main {
  padding-top: 108px !important;
}
.badge-pass {
  color: hsl(214, 52%, 95%) !important;
}
.btn-cta {
  border-radius: 999px !important;
}
.btn-cta.btn-primary {
  background: linear-gradient(180deg, hsl(348, 82%, 49%) 0%, hsl(348, 86%, 36%) 100%) !important;
  border-color: hsla(350, 95%, 86%, 0.45) !important;
  box-shadow: inset 0 1px 0 hsla(350, 100%, 96%, 0.3), 0 10px 26px -6px hsla(348, 86%, 44%, 0.48) !important;
}
.btn-cta.btn-secondary {
  background: linear-gradient(165deg, hsla(218, 28%, 18%, 0.65), hsla(226, 32%, 9%, 0.82)) !important;
  border-color: hsla(214, 70%, 94%, 0.22) !important;
}

/* ============================================================================
   RESPONSIVE ZERO-OVERFLOW GUARANTEES (1024px Tablet & 390px Mobile)
   ============================================================================ */
@media (max-width: 1120px) {
  .tri-card-grid,
  .clients-bottom-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .showcase-grid,
  .engine-grid,
  .clients-top-grid,
  .auth-layout,
  .dashboard-grid-2 {
    grid-template-columns: 1fr !important;
  }
  .host-strip-row {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .reactor-hud-tag {
    display: none !important;
  }
}

@media (max-width: 820px) {
  .container {
    padding: 0 18px !important;
  }
  .hero-title,
  h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.65rem) !important;
    line-height: 1.18 !important;
    word-break: break-word !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
    padding: 12px 16px !important;
  }
  .hero-stat-left-top,
  .hero-stat-left-bottom,
  .hero-callout-right {
    display: none !important;
  }
  .eclipse-planet-arc {
    width: 130vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .trademark-core-stage {
    width: min(320px, 88vw) !important;
    height: 290px !important;
    margin: -56px auto 0 !important;
  }
  .cyber-reactor-ring.ring-outer {
    width: 268px !important;
    height: 268px !important;
  }
  .cyber-reactor-ring.ring-mid {
    width: 228px !important;
    height: 228px !important;
  }
  .trademark-core-badge {
    font-size: 9px !important;
    padding: 5px 12px !important;
    max-width: 92vw !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .tri-card-grid,
  .pricing-grid,
  .clients-bottom-grid,
  .clients-secondary-grid,
  .faq-grid,
  .showcase-top-split,
  .footer-top-grid,
  .plan-selector-grid,
  .gateway-tabs,
  .quota-stat-row,
  .benefit-row-grid {
    grid-template-columns: 1fr !important;
  }
  .metrics-trio-bar {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .metric-cell {
    padding: 12px 0 0 !important;
    border-left: none !important;
    border-top: 1px solid var(--border-hairline) !important;
  }
  .host-strip-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #navAccountBtn,
  .dvf-nav-account-btn {
    max-width: 132px !important;
    padding: 7px 11px !important;
    font-size: 11.5px !important;
  }
  .checkout-console-card,
  .dash-card,
  .profile-hero-bar,
  .screenshot-gallery-shell,
  .core-card,
  .pricing-card {
    padding: 22px 18px !important;
  }
  .dvf-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================================
   V2.2.0 ALL-DAW MASTERING ENCYCLOPEDIA & INTERACTIVE STUDIO MANUAL SYSTEM
   Specular-Lens Smoked-Quartz Architecture · 8-Module Host Engineering Layout
   ============================================================================ */
a.host-item {
  cursor: pointer !important;
  text-decoration: none !important;
  transition:
    transform 0.34s var(--ease-spring),
    border-color 0.28s ease,
    box-shadow 0.32s ease !important;
}

a.host-item:hover {
  transform: translateY(-4px) scale(1.012) !important;
  border-top-color: hsla(214, 96%, 99%, 0.56) !important;
  border-left-color: hsla(348, 88%, 64%, 0.58) !important;
  box-shadow:
    0 22px 44px -12px rgba(0, 0, 0, 0.88),
    0 0 28px -8px hsla(348, 86%, 52%, 0.34),
    inset 0 1px 0 hsla(214, 96%, 99%, 0.30) !important;
}

.daw-main {
  position: relative;
  z-index: 2;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 112px clamp(18px, 2.8vw, 36px) 32px !important;
}

.daw-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.daw-breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.22s ease;
}

.daw-breadcrumb a:hover {
  color: #ffffff;
}

.daw-hero-card {
  position: relative;
  padding: clamp(28px, 3.6vw, 46px);
  border-radius: 26px;
  background: linear-gradient(
    160deg,
    hsla(222, 30%, 10.5%, 0.80) 0%,
    hsla(226, 34%, 5.2%, 0.92) 62%,
    hsla(348, 42%, 8.5%, 0.78) 100%
  );
  backdrop-filter: blur(32px) saturate(185%);
  -webkit-backdrop-filter: blur(32px) saturate(185%);
  border-top: 1px solid hsla(214, 95%, 98%, 0.38);
  border-left: 1px solid hsla(348, 82%, 62%, 0.34);
  border-right: 1px solid hsla(214, 60%, 92%, 0.14);
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.92);
  box-shadow:
    0 32px 72px -18px rgba(0, 0, 0, 0.88),
    inset 0 1px 0 hsla(214, 96%, 99%, 0.22);
  margin-bottom: 28px;
  overflow: hidden;
}

.daw-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.daw-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  background: hsla(226, 36%, 5%, 0.82);
  border-top: 1px solid hsla(214, 90%, 98%, 0.32);
  border-left: 1px solid hsla(348, 82%, 62%, 0.38);
  border-right: 1px solid hsla(214, 52%, 90%, 0.14);
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.92);
}

.daw-brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: hsla(226, 40%, 4%, 0.92);
  border: 1px solid hsla(214, 72%, 94%, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
}

.daw-brand-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.daw-brand-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: hsl(214, 55%, 95%);
}

.daw-hero-card h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.85rem, 3.3vw, 2.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  max-width: 30ch !important;
  margin-bottom: 16px !important;
}

.daw-hero-lead {
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.72;
  color: var(--text-secondary);
  max-width: 65ch !important;
  margin-bottom: 24px;
}

.daw-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.daw-jump-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid hsla(214, 60%, 92%, 0.12);
}

.daw-jump-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-secondary);
  background: hsla(224, 30%, 9%, 0.72);
  border: 1px solid hsla(214, 60%, 92%, 0.16);
  transition: transform 0.26s var(--ease-spring), color 0.22s ease, border-color 0.22s ease;
}

.daw-jump-pill:hover {
  color: #ffffff;
  border-color: hsla(348, 84%, 62%, 0.55);
  transform: translateY(-2px);
}

/* Module 1: 5-Cell Host Engineering Spec Strip */
.daw-spec-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.daw-spec-cell {
  padding: 18px 18px;
  border-radius: 18px;
  background: linear-gradient(165deg, hsla(222, 28%, 10%, 0.76), hsla(226, 34%, 5.2%, 0.90));
  backdrop-filter: blur(24px) saturate(175%);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
  border-top: 1px solid hsla(214, 92%, 98%, 0.28);
  border-left: 1px solid hsla(214, 65%, 92%, 0.16);
  border-right: 1px solid hsla(214, 50%, 88%, 0.10);
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.90);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.80);
  min-width: 0;
}

.daw-spec-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.daw-spec-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.daw-spec-sub {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Standardized Section Shell */
.daw-section {
  margin-bottom: 44px;
  scroll-margin-top: 92px;
}

.daw-section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.daw-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(348, 86%, 72%);
}

.daw-section-head h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.32rem, 2.1vw, 1.78rem) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
}

.daw-section-head p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 65ch;
  line-height: 1.66;
}

/* Module 2 & 5: Step Cards & Copyable Path Blocks */
.daw-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.daw-glass-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(165deg, hsla(222, 28%, 9.8%, 0.78), hsla(226, 34%, 5%, 0.92));
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border-top: 1px solid hsla(214, 92%, 98%, 0.30);
  border-left: 1px solid hsla(214, 65%, 92%, 0.16);
  border-right: 1px solid hsla(214, 50%, 88%, 0.10);
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.92);
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.84);
  transition: transform 0.32s var(--ease-spring), border-color 0.26s ease;
  min-width: 0;
}

.daw-glass-card:hover {
  transform: translateY(-3px);
  border-left-color: hsla(348, 84%, 62%, 0.45);
}

.daw-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: hsl(348, 90%, 76%);
  background: hsla(348, 78%, 46%, 0.16);
  border: 1px solid hsla(348, 82%, 60%, 0.36);
  margin-bottom: 12px;
}

.daw-glass-card h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.34;
}

.daw-glass-card p,
.daw-glass-card li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 65ch;
}

.daw-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: hsla(228, 42%, 3.5%, 0.92);
  border: 1px solid hsla(214, 65%, 92%, 0.18);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: hsl(214, 55%, 95%);
}

.daw-copy-box code {
  white-space: normal;
  word-break: break-word;
  line-height: 1.48;
  font-family: var(--font-mono);
}

.daw-copy-btn {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid hsla(214, 72%, 94%, 0.24);
  background: hsla(220, 30%, 15%, 0.8);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  cursor: pointer;
  transition: transform 0.24s var(--ease-spring), background-color 0.2s ease, border-color 0.2s ease;
}

.daw-copy-btn:hover {
  border-color: hsla(348, 84%, 62%, 0.65);
  background: hsla(348, 76%, 42%, 0.35);
  transform: scale(1.04);
}

/* Module 3: Mastering Bus Signal Chain Topology */
.daw-signal-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.daw-chain-node {
  position: relative;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(165deg, hsla(222, 28%, 10%, 0.80), hsla(226, 34%, 5%, 0.92));
  border-top: 1px solid hsla(214, 90%, 98%, 0.28);
  border-left: 1px solid hsla(214, 60%, 92%, 0.16);
  border-right: 1px solid hsla(214, 50%, 88%, 0.10);
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.92);
}

.daw-chain-node.is-anchor {
  background: linear-gradient(160deg, hsla(348, 52%, 15%, 0.82), hsla(226, 36%, 6%, 0.94));
  border-top-color: hsla(350, 95%, 92%, 0.45);
  border-left-color: hsla(348, 88%, 62%, 0.65);
  box-shadow: 0 20px 44px -14px hsla(348, 84%, 38%, 0.38);
}

.daw-chain-slot {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: hsl(214, 48%, 86%);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.daw-chain-node.is-anchor .daw-chain-slot {
  color: hsl(348, 92%, 78%);
}

.daw-chain-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.daw-chain-desc {
  font-size: 12.8px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Module 4: Host Audio Engine & Export Render Matrix Table */
.daw-matrix-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 20px;
  background: linear-gradient(165deg, hsla(222, 28%, 9.5%, 0.82), hsla(226, 34%, 4.8%, 0.94));
  border-top: 1px solid hsla(214, 90%, 98%, 0.28);
  border-left: 1px solid hsla(214, 60%, 92%, 0.16);
  border-right: 1px solid hsla(214, 50%, 88%, 0.10);
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.92);
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, 0.86);
}

.daw-matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 13.2px;
}

.daw-matrix-table th {
  text-align: left;
  padding: 15px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(214, 48%, 90%);
  background: hsla(224, 34%, 6%, 0.86);
  border-bottom: 1px solid hsla(214, 65%, 92%, 0.16);
}

.daw-matrix-table td {
  padding: 14px 18px;
  color: var(--text-secondary);
  border-bottom: 1px solid hsla(214, 50%, 90%, 0.08);
  vertical-align: top;
  line-height: 1.58;
}

.daw-matrix-table tr:last-child td {
  border-bottom: none;
}

.daw-matrix-table td strong {
  color: #ffffff;
  font-weight: 600;
}

.daw-status-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  color: hsl(214, 55%, 96%);
  background: hsla(218, 34%, 18%, 0.78);
  border: 1px solid hsla(214, 72%, 94%, 0.24);
  white-space: nowrap;
}

.daw-status-pill.is-ruby {
  color: hsl(350, 96%, 92%);
  background: hsla(348, 78%, 42%, 0.26);
  border-color: hsla(348, 84%, 62%, 0.48);
}

/* Module 6: Pitfall & Acoustic Troubleshooting Cards */
.daw-pitfall-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid hsla(214, 55%, 90%, 0.10);
  font-size: 12.8px;
}

.daw-pitfall-meta div strong {
  color: hsl(214, 52%, 94%);
}

/* Module 7: Interactive Engineering FAQ */
.daw-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.daw-faq-details {
  border-radius: 18px;
  background: linear-gradient(165deg, hsla(222, 28%, 9.6%, 0.78), hsla(226, 34%, 5%, 0.92));
  border-top: 1px solid hsla(214, 90%, 98%, 0.26);
  border-left: 1px solid hsla(214, 60%, 92%, 0.15);
  border-right: 1px solid hsla(214, 50%, 88%, 0.10);
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.92);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.24s ease;
}

.daw-faq-details[open] {
  border-left-color: hsla(348, 84%, 62%, 0.58);
}

.daw-faq-details summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.daw-faq-details summary::-webkit-details-marker {
  display: none;
}

.daw-faq-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  color: hsl(348, 84%, 68%);
  flex-shrink: 0;
  transition: transform 0.28s var(--ease-spring);
}

.daw-faq-details[open] summary::after {
  transform: rotate(45deg);
}

.daw-faq-answer {
  padding: 0 22px 20px;
  font-size: 13.8px;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 75ch;
}

/* Module 8 & /daw/ Hub: 10-DAW Switcher & Encyclopedia Grid */
.daw-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.daw-hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(165deg, hsla(222, 28%, 10%, 0.78), hsla(226, 34%, 5%, 0.92));
  border-top: 1px solid hsla(214, 90%, 98%, 0.28);
  border-left: 1px solid hsla(214, 60%, 92%, 0.16);
  border-right: 1px solid hsla(214, 50%, 88%, 0.10);
  border-bottom: 1px solid hsla(228, 55%, 3%, 0.92);
  transition: transform 0.32s var(--ease-spring), border-color 0.26s ease, box-shadow 0.3s ease;
  text-decoration: none;
  min-width: 0;
}

.daw-hub-card:hover,
.daw-hub-card.is-current {
  transform: translateY(-4px);
  border-left-color: hsla(348, 86%, 62%, 0.62);
  box-shadow:
    0 24px 48px -16px rgba(0, 0, 0, 0.88),
    0 0 28px -10px hsla(348, 84%, 50%, 0.34);
}

.daw-hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.daw-hub-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.daw-hub-card p {
  font-size: 12.8px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.daw-hub-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid hsla(214, 55%, 90%, 0.10);
  font-family: var(--font-mono);
  font-size: 11px;
  color: hsl(214, 52%, 92%);
}

@media (max-width: 1120px) {
  .daw-spec-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .daw-signal-chain,
  .daw-step-grid,
  .daw-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .daw-main {
    padding-top: 96px !important;
  }
  .daw-spec-strip,
  .daw-signal-chain,
  .daw-step-grid,
  .daw-grid-2,
  .daw-hub-grid {
    grid-template-columns: 1fr !important;
  }
  .daw-cta-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
