/* ==========================================================================
   OTONAMI DSP - AMALGATONE AUDIO PLUGIN OFFICIAL WEBSITE
   Theme: Dark Purple Grading to Pitch Black with Neon Amethyst & Cyan Accents
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-darkest: #040108;
  --bg-deep: #090214;
  --bg-mid: #140428;
  --bg-elevated: #1e073c;
  --bg-surface: rgba(22, 6, 42, 0.72);
  --bg-surface-hover: rgba(38, 12, 72, 0.85);
  --bg-glass: rgba(18, 5, 34, 0.6);

  /* Purples & Glows */
  --purple-glow: rgba(157, 78, 221, 0.35);
  --purple-glow-intense: rgba(199, 125, 255, 0.55);
  --accent-purple-dim: #5a189a;
  --accent-purple: #7b2cbf;
  --accent-violet: #9d4edd;
  --accent-lavender: #c77dff;
  --accent-light: #e0aaff;

  /* Neon Accents matching Amalgatone Plugin */
  --accent-cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --accent-magenta: #ff2a85;
  --magenta-glow: rgba(255, 42, 133, 0.4);

  /* Typography Colors */
  --text-pure: #ffffff;
  --text-primary: #f5f2fc;
  --text-secondary: #c2b5d8;
  --text-muted: #85749f;
  --text-faint: #56486e;

  /* Borders & Dividers */
  --border-subtle: rgba(157, 78, 221, 0.22);
  --border-glow: rgba(199, 125, 255, 0.45);
  --border-cyan: rgba(0, 240, 255, 0.35);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-darkest);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: linear-gradient(180deg, #090214 0%, #130328 15%, #0d021c 45%, #180535 75%, #040108 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Visual Effects & Background Glows */
.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  will-change: transform;
}

.ambient-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #7b2cbf 0%, rgba(123, 44, 191, 0) 70%);
  top: -200px;
  left: 20%;
  animation: orbDrift1 22s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00f0ff 0%, rgba(0, 240, 255, 0) 70%);
  top: 35%;
  right: -100px;
  opacity: 0.22;
  animation: orbDrift2 26s ease-in-out infinite alternate;
}

.ambient-orb-3 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #9d4edd 0%, rgba(157, 78, 221, 0) 70%);
  bottom: 5%;
  left: -150px;
  opacity: 0.3;
  animation: orbDrift3 28s ease-in-out infinite alternate;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(157, 78, 221, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 78, 221, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
}

@keyframes orbDrift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(80px, 120px) scale(1.15);
  }
}

@keyframes orbDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-100px, -60px) scale(1.2);
  }
}

@keyframes orbDrift3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(90px, -80px) scale(1.08);
  }
}

/* Content Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 2, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(6, 1, 14, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(123, 44, 191, 0.15);
  border-bottom-color: rgba(157, 78, 221, 0.35);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(199, 125, 255, 0.35));
}


/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-pure);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 50%, #00f0ff 130%);
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(123, 44, 191, 0.45);
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.nav-btn-download:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 28px rgba(157, 78, 221, 0.65), 0 0 16px rgba(0, 240, 255, 0.4);
}

.nav-btn-download svg {
  transition: transform var(--transition-fast);
}

.nav-btn-download:hover svg {
  transform: translateY(2px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 8px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 50%, #3a0ca3 100%);
  border-color: rgba(199, 125, 255, 0.35);
  box-shadow: 0 8px 30px rgba(123, 44, 191, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg,
      transparent,
      rgba(255, 255, 255, 0.15),
      transparent);
  transform: rotate(30deg);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translate(30%, 30%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(157, 78, 221, 0.65), 0 0 24px rgba(0, 240, 255, 0.3);
  border-color: var(--accent-cyan);
}

.btn-secondary {
  color: var(--text-primary);
  background: rgba(30, 7, 60, 0.65);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(50, 14, 96, 0.85);
  border-color: var(--accent-violet);
  transform: translateY(-2px);
  color: var(--text-pure);
  box-shadow: 0 8px 24px rgba(123, 44, 191, 0.35);
}

.btn-outline {
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid rgba(199, 125, 255, 0.25);
}

.btn-outline:hover {
  color: var(--accent-light);
  border-color: var(--accent-violet);
  background: rgba(157, 78, 221, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.badge-glow {
  background: rgba(123, 44, 191, 0.2);
  border: 1px solid var(--border-glow);
  color: var(--accent-light);
  box-shadow: 0 0 16px rgba(157, 78, 221, 0.25);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 960px;
  color: var(--text-pure);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #c77dff 60%, #00f0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #c77dff 0%, #ff2a85 50%, #00f0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-spec-pills {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.spec-pill-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-pill-item svg {
  color: var(--accent-violet);
}

/* ==========================================================================
   PLUGIN SHOWCASE COMPONENT (Hero UI Image + 3D Tilt + Interactive Hotspots)
   ========================================================================== */
.plugin-stage-container {
  width: 100%;
  max-width: 1040px;
  margin-top: 20px;
  perspective: 1200px;
}

.plugin-stage-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(30, 8, 58, 0.6) 0%, rgba(10, 2, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(123, 44, 191, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  padding: 16px;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: visible;
}

.plugin-stage-card:hover {
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.9),
    0 0 90px rgba(157, 78, 221, 0.4),
    0 0 35px rgba(0, 240, 255, 0.25);
  border-color: rgba(199, 125, 255, 0.7);
}

.plugin-glow-backdrop {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.45) 0%, rgba(0, 240, 255, 0.15) 50%, transparent 80%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.plugin-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.plugin-render-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Hotspots on the Plugin Visual */
.hotspot-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hotspot-point {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
}

.hotspot-beacon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.25);
  border: 1.5px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
}

.hotspot-beacon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--accent-cyan);
  animation: beaconPing 2.4s infinite cubic-bezier(0, 0, 0.2, 1);
}

.hotspot-beacon span {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}

.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(14, 3, 28, 0.96);
  border: 1px solid var(--accent-violet);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(123, 44, 191, 0.4);
  backdrop-filter: blur(16px);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  font-size: 0.8rem;
  max-width: 280px;
  width: max-content;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  pointer-events: none;
  opacity: 0;
  transition: all var(--transition-fast);
  z-index: 20;
}

.hotspot-tooltip strong {
  color: var(--accent-cyan);
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.hotspot-point:hover .hotspot-beacon {
  transform: scale(1.2);
  background: rgba(0, 240, 255, 0.4);
  border-color: #ffffff;
}

.hotspot-point:hover .hotspot-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Specific Hotspot positions matching the generated UI */
.hotspot-drive {
  top: 31%;
  left: 50%;
  transform: translateX(-50%);
}

.hotspot-center {
  top: 62%;
  left: 61%;
}

.hotspot-flux {
  top: 48%;
  left: 30%;
}

.hotspot-mode {
  top: 82%;
  left: 23%;
}

.hotspot-meter {
  top: 63%;
  left: 85.5%;
}

.hotspot-meter .hotspot-tooltip {
  left: auto;
  right: -8px;
  transform: translateY(8px);
}

.hotspot-point.hotspot-meter:hover .hotspot-tooltip {
  transform: translateY(0);
}

@keyframes beaconPing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ==========================================================================
   INTERACTIVE AUDIO DEMO RACK & YOUTUBE SHOWCASE SECTION
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--accent-lavender);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-pure);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-subtitle + .section-subtitle {
  margin-top: 14px;
}

/* Sound Console & Video Grid */
.demo-showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: start;
}

/* DSP Audio Console Card */
.audio-rack-card {
  background: linear-gradient(160deg, rgba(26, 7, 50, 0.8) 0%, rgba(9, 2, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(123, 44, 191, 0.15);
  backdrop-filter: blur(16px);
  position: relative;
}

.rack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.rack-title-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rack-title-text {
  display: flex;
  flex-direction: column;
}

.rack-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.2;
}

.rack-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.rack-status-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-cyan);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Interactive Processing State Switch */
.ab-comparison-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(11, 2, 24, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 24px;
}

.ab-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.ab-switch-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(4, 1, 10, 0.85);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--border-subtle);
}

.ab-btn {
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ab-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.ab-btn:hover {
  color: var(--text-primary);
}

.ab-btn.active {
  color: #ffffff;
}

.ab-btn[data-mode="amalgatone"].active,
.ab-btn[data-mode="color"].active {
  background: linear-gradient(135deg, #7b2cbf, #00f0ff);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
}

.ab-btn[data-mode="amalgatone"].active .ab-indicator-dot,
.ab-btn[data-mode="color"].active .ab-indicator-dot {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

.ab-btn[data-mode="raw"].active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.ab-btn[data-mode="raw"].active .ab-indicator-dot {
  background: #e2e8f0;
  box-shadow: 0 0 6px #e2e8f0;
}

/* Preset Setting Display Window (Balanced hardware display window) */
.preset-display-window {
  width: 100%;
  height: 220px;
  max-height: 220px;
  background: linear-gradient(180deg, rgba(8, 2, 18, 0.95) 0%, rgba(4, 1, 10, 0.98) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9), 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.preset-display-window.is-amalgatone {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.08), 0 0 24px rgba(123, 44, 191, 0.25), 0 6px 20px rgba(0, 0, 0, 0.6);
}

.preset-display-window.is-raw {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9), 0 6px 20px rgba(0, 0, 0, 0.6);
}

.preset-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px;
  height: 28px;
  background: rgba(14, 4, 30, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  flex-shrink: 0;
}

.preset-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-pure);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.preset-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.preset-display-window.is-raw .preset-dot {
  background: #94a3b8;
  box-shadow: none;
}

.preset-mode-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.preset-display-window.is-amalgatone .preset-mode-pill {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--border-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.25);
}

.preset-display-window.is-raw .preset-mode-pill {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Container resized to fit in the current rack window without dominating the screen */
.preset-img-container {
  width: 100%;
  height: 166px;
  max-height: 166px;
  min-height: 0;
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(16, 4, 32, 0.95) 0%, rgba(3, 1, 8, 0.98) 100%);
  cursor: pointer;
  overflow: hidden;
}

.preset-setting-img {
  max-width: 100%;
  max-height: 166px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  transition: filter 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s ease, opacity 0.35s ease;
  padding: 2px;
}

/* Global fail-safe so preset images can NEVER expand to natural size */
.preset-display-window img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Grayscale (Gray shades) for Raw track, Original Color for Amalgatone */
.preset-setting-img.mode-raw {
  filter: grayscale(100%) contrast(0.92) brightness(0.84);
  opacity: 0.88;
}

.preset-setting-img.mode-amalgatone {
  filter: grayscale(0%) contrast(1) brightness(1);
  opacity: 1;
}

.preset-zoom-hint {
  position: absolute;
  bottom: 6px;
  right: 8px;
  background: rgba(6, 1, 14, 0.85);
  border: 1px solid var(--border-glow);
  color: var(--text-pure);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(3px);
  transition: all var(--transition-fast);
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.preset-img-container:hover .preset-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.preset-img-container:hover .preset-setting-img {
  transform: scale(1.02);
}

.preset-window-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 12px;
  height: 26px;
  background: rgba(14, 4, 30, 0.65);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.preset-zoom-btn {
  background: rgba(157, 78, 221, 0.16);
  border: 1px solid var(--border-subtle);
  color: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  transition: all var(--transition-fast);
}

.preset-zoom-btn:hover {
  background: var(--accent-purple);
  color: #fff;
  border-color: var(--accent-violet);
  box-shadow: 0 0 12px rgba(157, 78, 221, 0.5);
}

/* Preset Setting Lightbox Modal */
.preset-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 1, 8, 0.9);
  backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.preset-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.preset-modal-content {
  background: #090214;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 95%;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(123, 44, 191, 0.3);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.preset-modal-overlay.active .preset-modal-content {
  transform: scale(1);
}

.preset-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(18, 5, 38, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.preset-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preset-modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-pure);
}

.preset-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
  transition: all var(--transition-fast);
}

.preset-modal-close:hover {
  color: var(--accent-cyan);
  transform: scale(1.15);
}

.preset-modal-body {
  padding: 16px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030006;
}

.preset-modal-body img {
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: filter 0.45s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.preset-modal-body img.mode-raw {
  filter: grayscale(100%) contrast(0.92) brightness(0.85);
}

.preset-modal-body img.mode-amalgatone {
  filter: grayscale(0%) contrast(1) brightness(1);
}

.preset-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(14, 4, 30, 0.7);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.preset-modal-tip {
  opacity: 0.6;
}

/* Preset Track Selectors */
.preset-tracks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(18, 4, 38, 0.55);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.track-item:hover {
  background: rgba(36, 10, 72, 0.7);
  border-color: var(--accent-violet);
  transform: translateX(4px);
}

.track-item.active {
  background: rgba(36, 10, 72, 0.85);
  border-color: rgba(157, 78, 221, 0.7);
  box-shadow: 0 0 18px rgba(123, 44, 191, 0.25);
}

.track-item.is-playing {
  background: rgba(46, 12, 90, 0.95);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35), inset 0 0 15px rgba(0, 240, 255, 0.08);
}

.track-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.track-play-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(157, 78, 221, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lavender);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  border: 1px solid transparent;
}

.track-item:hover .track-play-icon {
  background: var(--accent-purple);
  color: #fff;
  transform: scale(1.06);
}

.track-item.active .track-play-icon {
  background: rgba(0, 240, 255, 0.18);
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.4);
}

.track-item.is-playing .track-play-icon {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-cyan);
  transform: scale(1.08);
}

/* Play vs Stop icon visibility */
.track-icon-stop {
  display: none;
}

.track-item.is-playing .track-icon-play {
  display: none;
}

.track-item.is-playing .track-icon-stop {
  display: block;
}

.track-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-pure);
}

.track-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.track-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Animated mini-equalizer bars for active playing track */
.track-playing-eq {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  padding: 0 2px;
}

.track-item.is-playing .track-playing-eq {
  display: inline-flex;
}

.track-playing-eq span {
  width: 3px;
  background: var(--accent-cyan);
  border-radius: 1px;
  animation: eqBarBounce 0.7s infinite ease-in-out alternate;
}

.track-playing-eq span:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.track-playing-eq span:nth-child(2) { height: 100%; animation-delay: 0.25s; }
.track-playing-eq span:nth-child(3) { height: 45%; animation-delay: 0.4s; }

@keyframes eqBarBounce {
  0% { height: 25%; }
  100% { height: 100%; }
}

.track-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(157, 78, 221, 0.15);
  color: var(--accent-light);
  border: 1px solid var(--border-subtle);
}

/* YouTube Video Showcase Card */
.video-showcase-card {
  background: linear-gradient(160deg, rgba(24, 6, 46, 0.8) 0%, rgba(8, 2, 18, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-frame-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.video-frame-wrapper iframe,
.video-frame-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  display: block;
}

.video-meta-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
}

.video-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.video-chapters-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(10, 2, 22, 0.7);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
}

.video-chapter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.chapter-time {
  font-family: var(--font-mono);
  color: var(--accent-lavender);
  font-weight: 600;
}

.video-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

/* ==========================================================================
   FEATURE FUNCTION EXPLANATION (Marketing & DSP Deep-Dive)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.feature-card {
  background: linear-gradient(160deg, rgba(26, 7, 50, 0.6) 0%, rgba(10, 2, 20, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: linear-gradient(160deg, rgba(38, 11, 74, 0.8) 0%, rgba(14, 3, 28, 0.95) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(157, 78, 221, 0.25);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(123, 44, 191, 0.2);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.2);
}

.feature-card:nth-child(2) .feature-icon-box {
  color: var(--accent-magenta);
  background: rgba(255, 42, 133, 0.15);
  border-color: rgba(255, 42, 133, 0.4);
}

.feature-card:nth-child(3) .feature-icon-box {
  color: var(--accent-lavender);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 14px;
}

.feature-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.feature-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feature-highlights li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* Feature Deep-Dive Banner */
.deep-dive-banner {
  background: linear-gradient(135deg, rgba(30, 8, 60, 0.8) 0%, rgba(8, 1, 18, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.deep-dive-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.deep-dive-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.saturation-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mode-pill {
  background: rgba(14, 3, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all var(--transition-fast);
}

.mode-pill:hover {
  border-color: var(--accent-cyan);
  background: rgba(28, 7, 56, 0.8);
  transform: translateY(-2px);
}

.mode-pill strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.mode-pill span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TECHNICAL SPECIFICATIONS & DAW COMPATIBILITY
   ========================================================================== */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.specs-card {
  background: linear-gradient(160deg, rgba(22, 6, 42, 0.7) 0%, rgba(9, 2, 20, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(14px);
}

.specs-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.specs-card h3 svg {
  color: var(--accent-cyan);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid rgba(157, 78, 221, 0.12);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 14px 0;
  font-size: 0.92rem;
}

.specs-table td.spec-name {
  color: var(--text-muted);
  font-family: var(--font-mono);
  width: 40%;
}

.specs-table td.spec-val {
  color: var(--text-pure);
  font-weight: 500;
}

/* DAW Compatibility Badges */
.daw-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.daw-badge {
  background: rgba(14, 3, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.daw-badge:hover {
  color: #ffffff;
  border-color: var(--accent-violet);
  background: rgba(30, 8, 60, 0.8);
  transform: translateY(-2px);
}

/* ==========================================================================
   ABOUT OTONAMI DSP SECTION
   ========================================================================== */
.about-wrapper {
  background: linear-gradient(145deg, rgba(30, 8, 60, 0.7) 0%, rgba(10, 2, 22, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(123, 44, 191, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.about-text a:hover {
  color: var(--text-pure);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item strong {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.about-visual-card {
  background: rgba(14, 3, 28, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  pointer-events: none;
}

.philosophy-quote {
  font-size: 1.35rem;
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--text-pure);
  line-height: 1.6;
  margin-bottom: 24px;
}

.philosophy-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #000;
}

.author-meta strong {
  color: var(--text-pure);
  display: block;
  font-size: 0.95rem;
}

.author-meta span {
  color: var(--accent-lavender);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
   DOWNLOAD HUB & MODAL
   ========================================================================== */
.download-section {
  padding: 100px 0;
  text-align: center;
}

.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.download-card {
  background: linear-gradient(160deg, rgba(28, 7, 54, 0.8) 0%, rgba(9, 2, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: all var(--transition-smooth);
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(157, 78, 221, 0.35);
  border-color: var(--accent-cyan);
}

.download-os-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(123, 44, 191, 0.2);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  box-shadow: 0 0 24px rgba(157, 78, 221, 0.3);
}

.download-card:hover .download-os-icon {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.download-os-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-pure);
}

.download-specs {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.download-btn {
  width: 100%;
  padding: 16px 28px;
  font-size: 1.05rem;
}

.download-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.download-info-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.download-defender-note {
  width: 100%;
  padding: 8px 12px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 0.72rem;
  line-height: 1.42;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.download-defender-note strong {
  color: var(--accent-cyan);
}

.download-defender-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-cyan);
  margin-bottom: 2px;
}

.download-virustotal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.download-virustotal-row a {
  color: var(--accent-cyan);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity var(--transition-fast);
}

.download-virustotal-row a:hover {
  opacity: 0.85;
}

/* Deactivated Download Card */
.download-card.download-card-disabled {
  opacity: 0.65;
  background: linear-gradient(160deg, rgba(18, 5, 34, 0.6) 0%, rgba(6, 1, 14, 0.85) 100%);
  border-color: rgba(157, 78, 221, 0.2);
  cursor: default;
}

.download-card.download-card-disabled:hover {
  transform: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  border-color: rgba(157, 78, 221, 0.2);
}

.download-card.download-card-disabled .download-os-icon {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  box-shadow: none;
}

.download-btn-disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--border-subtle) !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 0, 8, 0.85);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: linear-gradient(150deg, #180536 0%, #0c021c 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  padding: 40px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(157, 78, 221, 0.4);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-smooth);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-violet);
}

.virustotal-badge-link:hover {
  background: rgba(0, 240, 255, 0.22) !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 12px var(--cyan-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   FAQ & NEWSLETTER SECTION
   ========================================================================== */
.faq-grid {
  max-width: 840px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(20, 5, 40, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 28px;
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  transition: transform var(--transition-smooth);
  color: var(--accent-cyan);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 28px 24px;
}

/* Newsletter Box */
.newsletter-card {
  background: linear-gradient(135deg, rgba(32, 8, 64, 0.8) 0%, rgba(9, 2, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 50px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.newsletter-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 12px;
}

.newsletter-card p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  background: rgba(10, 2, 22, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 14px 24px;
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
}

/* ==========================================================================
   CONTACT & FEEDBACK SECTION
   ========================================================================== */
.contact-section {
  padding: 100px 0 80px;
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

/* Contact Left Card: Info & Direct Email */
.contact-info-card {
  background: linear-gradient(160deg, rgba(28, 8, 55, 0.78) 0%, rgba(9, 2, 20, 0.94) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(123, 44, 191, 0.12);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.contact-info-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-top: 14px;
  margin-bottom: 10px;
  line-height: 1.22;
}

.contact-info-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Email Box */
.contact-email-box {
  background: rgba(14, 4, 30, 0.88);
  border: 1px solid rgba(0, 240, 255, 0.32);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: inset 0 0 24px rgba(0, 240, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.contact-email-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.contact-email-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}

.contact-email-link {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  word-break: break-all;
  transition: all var(--transition-fast);
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
  display: inline-block;
}

.contact-email-link:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.65);
  transform: translateX(2px);
}

.contact-email-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-action-btn {
  padding: 8px 16px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  font-family: var(--font-mono);
}

.contact-action-btn:hover {
  transform: translateY(-1px);
}

/* Topics list */
.contact-topics-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-topics-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.contact-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-bullet-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent-cyan);
  font-size: 1.35rem;
  line-height: 1.2;
}

/* Contact Right Card: Form */
.contact-form-card {
  background: linear-gradient(145deg, rgba(32, 9, 64, 0.88) 0%, rgba(9, 2, 20, 0.96) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 240, 255, 0.08);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.contact-card-header {
  margin-bottom: 24px;
}

.contact-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.contact-card-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.required-star {
  color: var(--accent-cyan);
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  background: rgba(8, 2, 18, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--text-faint);
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
  background: rgba(14, 3, 30, 0.95);
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.contact-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.custom-select-wrapper::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--accent-lavender);
  pointer-events: none;
}

.contact-select option {
  background-color: #0e0321;
  color: #ffffff;
  padding: 10px;
}

.contact-textarea {
  resize: vertical;
  min-height: 125px;
  line-height: 1.6;
}

.form-field-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}

.contact-submit-btn {
  padding: 14px 30px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.spin-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes mobileNavSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  flex: 1;
  max-width: 320px;
  line-height: 1.4;
}

.contact-privacy-note a,
.form-privacy-note a,
.download-legal-disclaimer a {
  color: var(--accent-lavender);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.contact-privacy-note a:hover,
.form-privacy-note a:hover,
.download-legal-disclaimer a:hover {
  color: var(--accent-cyan);
}

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1.45;
  margin-top: 14px;
  text-align: center;
}

.download-legal-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1.45;
  text-align: center;
  margin-top: 12px;
}

/* Success Card */
.contact-success-card {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(123, 44, 191, 0.16) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.12);
  animation: fadeInModal 0.4s ease;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.contact-success-card h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.contact-success-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 440px;
  margin: 0;
}

.contact-success-card p strong {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.success-actions {
  margin-top: 10px;
}

/* Error Banner */
.contact-error-banner {
  background: rgba(255, 42, 133, 0.12);
  border: 1px solid var(--accent-magenta);
  color: #ff94c2;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  margin-top: 14px;
  animation: fadeInModal 0.3s ease;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #030006;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(157, 78, 221, 0.12);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-dot-divider {
  color: var(--text-faint);
  font-size: 0.8rem;
  user-select: none;
}

.footer-legal-link {
  color: var(--accent-lavender);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-cloudflare-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-lavender);
}

/* ==========================================================================
   LEGAL NOTICE & COMPLIANCE DOCUMENT STYLES
   ========================================================================== */
.legal-main {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.legal-back-nav {
  margin-bottom: 24px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-lavender);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.legal-back-link:hover {
  color: var(--accent-cyan);
}

.legal-doc-container {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(18, 5, 34, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary);
  line-height: 1.75;
}

.legal-doc-container h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.25;
  margin-bottom: 12px;
}

.legal-doc-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.legal-doc-meta strong {
  color: var(--text-primary);
}

.legal-doc-divider {
  border: 0;
  height: 1px;
  background: var(--border-subtle);
  margin: 28px 0 32px;
}

.legal-doc-container h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(157, 78, 221, 0.2);
  scroll-margin-top: 110px;
}

.legal-doc-container h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--accent-lavender);
  margin-top: 22px;
  margin-bottom: 10px;
}

.legal-doc-container p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-doc-container p strong {
  color: var(--text-pure);
}

.legal-doc-container a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc-container a:hover {
  color: var(--accent-lavender);
}

.legal-doc-container ul,
.legal-doc-container ol {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 12px 0 20px 24px;
  padding-left: 8px;
}

.legal-doc-container li {
  margin-bottom: 10px;
}

.legal-doc-container li strong {
  color: var(--text-pure);
}

.legal-doc-container address {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-doc-container address strong {
  color: var(--text-pure);
}

@media (max-width: 768px) {
  .legal-main {
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .legal-doc-container {
    padding: 30px 22px;
    border-radius: var(--radius-md);
  }
}


/* ==========================================================================
   USER MANUAL PAGE STYLES (/manual)
   ========================================================================== */
.manual-main {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.manual-hero-card {
  background: linear-gradient(155deg, rgba(24, 6, 48, 0.85) 0%, rgba(10, 2, 22, 0.96) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(123, 44, 191, 0.18);
  backdrop-filter: blur(18px);
  margin-bottom: 44px;
  scroll-margin-top: 110px;
}

.manual-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
}

.manual-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--text-pure);
  letter-spacing: 0.04em;
  line-height: 1.08;
  margin-bottom: 8px;
}

.manual-main-subtitle {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-lavender);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manual-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.manual-pdf-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.manual-intro-box h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 10px;
}

.manual-intro-box p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.manual-figure {
  text-align: center;
  margin: 24px 0;
}

.manual-figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(157, 78, 221, 0.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75);
}

.manual-img-large {
  width: 100%;
  max-width: 820px;
  display: block;
  margin: 0 auto;
}

.manual-quick-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(157, 78, 221, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 28px;
  background: rgba(14, 3, 28, 0.9);
}

.manual-spec-cell {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid rgba(157, 78, 221, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.manual-spec-cell:last-child {
  border-right: none;
}

.manual-spec-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-pure);
  background: rgba(123, 44, 191, 0.22);
  padding: 6px 8px;
  border-radius: 4px;
}

.manual-spec-value {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding-top: 4px;
}

/* Manual Sidebar + Content Grid */
.manual-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

.manual-sidebar {
  position: sticky;
  top: 100px;
}

.manual-toc-card {
  background: rgba(16, 4, 34, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.manual-toc-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.manual-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.manual-toc-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.manual-toc-link.sub-link {
  padding-left: 22px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.manual-toc-link:hover,
.manual-toc-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border-left-color: var(--accent-cyan);
}

.manual-toc-download {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.manual-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.manual-section-card {
  background: rgba(16, 4, 34, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 42px 44px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  scroll-margin-top: 100px;
}

.manual-section-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-lavender);
  margin-bottom: 8px;
}

.manual-section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--text-pure);
  padding-left: 14px;
  border-left: 4px solid var(--accent-cyan);
  margin-bottom: 16px;
  line-height: 1.25;
}

.manual-subheading-bar {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-pure);
  padding-left: 12px;
  border-left: 3px solid var(--accent-lavender);
  margin-bottom: 16px;
}

.manual-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.manual-lead strong {
  color: var(--text-pure);
}

/* Annotated Interface Overview Diagram */
.manual-annotated-wrapper {
  background: rgba(8, 2, 18, 0.9);
  border: 1px solid rgba(157, 78, 221, 0.28);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.manual-annotated-stage {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.manual-annotated-stage img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.manual-region-box {
  position: absolute;
  border-width: 2px;
  border-style: solid;
  border-radius: 4px;
  pointer-events: none;
}

.region-1 {
  top: 0.5%;
  left: 0.5%;
  width: 99%;
  height: 11.5%;
  border-color: #ffffff;
}

.region-2 {
  top: 12.8%;
  left: 0.5%;
  width: 99%;
  height: 36.2%;
  border-color: #f59e0b;
}

.region-3 {
  top: 50%;
  left: 0.5%;
  width: 49%;
  height: 49.2%;
  border-color: #ec4899;
}

.region-4 {
  top: 50%;
  left: 50.2%;
  width: 26.8%;
  height: 49.2%;
  border-color: #eab308;
}

.region-5 {
  top: 50%;
  left: 77.7%;
  width: 21.8%;
  height: 49.2%;
  border-color: #00f0ff;
}

.region-badge {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #000;
}

.badge-white {
  background: #ffffff;
  top: 4px;
  right: 12%;
}

.badge-gold {
  background: #f59e0b;
  bottom: 4px;
  left: 4px;
}

.badge-pink {
  background: #ec4899;
  bottom: 4px;
  right: 4px;
  color: #fff;
}

.badge-yellow {
  background: #eab308;
  bottom: 4px;
  right: 4px;
}

.badge-cyan {
  background: #00f0ff;
  top: 4px;
  left: 4px;
}

/* Overview Grid Cards */
.manual-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.manual-overview-item {
  background: rgba(10, 2, 22, 0.85);
  border: 1px solid rgba(157, 78, 221, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.manual-overview-item.full-span {
  grid-column: 1 / -1;
}

.manual-overview-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.manual-overview-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* Subcards & Columns */
.manual-subcard {
  background: rgba(10, 2, 22, 0.82);
  border: 1px solid rgba(157, 78, 221, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-bottom: 20px;
}

.manual-subcard:last-child {
  margin-bottom: 0;
}

.manual-subcard h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-lavender);
  margin-bottom: 12px;
}

.manual-subcard p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.manual-subcard p:last-child {
  margin-bottom: 0;
}

.manual-subcard p strong {
  color: var(--text-pure);
}

.manual-inline-screenshots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.manual-inline-screenshots img {
  border-radius: 6px;
  border: 1px solid rgba(157, 78, 221, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  max-height: 44px;
  width: auto;
}

.manual-list,
.manual-ordered-list {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 10px 0 14px 20px;
  padding-left: 6px;
}

.manual-list li,
.manual-ordered-list li {
  margin-bottom: 8px;
}

.manual-list li strong,
.manual-ordered-list li strong {
  color: var(--text-pure);
}

.manual-callout-tip {
  background: rgba(0, 240, 255, 0.06);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-top: 14px;
}

.manual-callout-tip strong {
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.manual-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.manual-two-col-grid .manual-subcard {
  margin-bottom: 0;
}

.manual-three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.manual-topology-card {
  background: rgba(10, 2, 22, 0.88);
  border: 1px solid rgba(157, 78, 221, 0.28);
  border-radius: var(--radius-md);
  padding: 20px;
}

.topology-header {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(157, 78, 221, 0.22);
}

.manual-topology-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.manual-topology-card p:last-child {
  margin-bottom: 0;
}

.manual-topology-card p strong {
  color: var(--text-pure);
}

.manual-footnote {
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  border-top: 1px solid rgba(157, 78, 221, 0.15);
  padding-top: 10px;
  margin-top: 14px;
}

.manual-tech-highlight {
  background: linear-gradient(145deg, rgba(28, 7, 56, 0.7) 0%, rgba(12, 3, 26, 0.92) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.manual-tech-highlight .tech-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-lavender);
  margin-bottom: 6px;
}

.manual-tech-highlight h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-pure);
  margin-bottom: 10px;
}

.manual-tech-highlight p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Manual Tables */
.manual-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 12px;
}

.manual-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: rgba(8, 2, 18, 0.75);
  border: 1px solid rgba(157, 78, 221, 0.28);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.manual-table th {
  background: rgba(33, 9, 66, 0.85);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(157, 78, 221, 0.3);
  border-right: 1px solid rgba(157, 78, 221, 0.2);
}

.manual-table td {
  padding: 12px 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(157, 78, 221, 0.18);
  border-right: 1px solid rgba(157, 78, 221, 0.15);
  vertical-align: top;
  line-height: 1.6;
}

.manual-table th:last-child,
.manual-table td:last-child {
  border-right: none;
}

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

.manual-table td.cmd-cell {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-pure);
  font-size: 0.84rem;
  white-space: nowrap;
}

.manual-table td.range-cell {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 0.82rem;
  white-space: nowrap;
}

.manual-table.center-cols th,
.manual-table.center-cols td {
  text-align: center;
  vertical-align: middle;
}

.manual-table.interpolation-table {
  table-layout: fixed;
  min-width: 680px;
}

.manual-table.interpolation-table td.cmd-cell {
  white-space: normal;
  line-height: 1.35;
}

.manual-table.params-table {
  table-layout: fixed;
}

.manual-table.params-table td {
  vertical-align: middle;
}

.table-media-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.table-media-row span {
  flex: 1;
  min-width: 180px;
}

.manual-meter-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.manual-bottom-cta {
  margin-top: 32px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.18), rgba(0, 240, 255, 0.08));
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.manual-bottom-cta h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.manual-bottom-cta p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 1024px) {
  .manual-layout {
    grid-template-columns: 1fr;
  }

  .manual-sidebar {
    position: static;
  }

  .manual-toc-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .manual-toc-link {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-left-width: 1px;
  }

  .manual-toc-link.sub-link {
    display: none;
  }

  .manual-three-col-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .manual-main {
    padding-top: 90px;
  }

  .manual-hero-card,
  .manual-section-card {
    padding: 28px 20px;
  }

  .manual-hero-cta {
    align-items: flex-start;
    width: 100%;
  }

  .manual-quick-specs {
    grid-template-columns: 1fr 1fr;
  }

  .manual-spec-cell:nth-child(2) {
    border-right: none;
  }

  .manual-spec-cell:nth-child(1),
  .manual-spec-cell:nth-child(2) {
    border-bottom: 1px solid rgba(157, 78, 221, 0.25);
  }

  .manual-overview-grid,
  .manual-two-col-grid,
  .manual-meter-layout {
    grid-template-columns: 1fr;
  }

  .manual-table td.cmd-cell,
  .manual-table td.range-cell {
    white-space: normal;
  }
}


/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .demo-showcase-grid {
    grid-template-columns: 1fr;
  }

  .deep-dive-banner {
    grid-template-columns: 1fr;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .download-cards-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header-container {
    height: 70px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(9, 2, 20, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 18px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(123, 44, 191, 0.25);
    z-index: 1001;
    animation: mobileNavSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.active li {
    width: 100%;
    list-style: none;
  }

  .nav-menu.active .nav-link {
    display: block;
    width: 100%;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-pure);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
  }

  .nav-menu.active .nav-link:hover,
  .nav-menu.active .nav-link:active {
    color: var(--accent-cyan);
    background: rgba(123, 44, 191, 0.15);
    padding-left: 20px;
  }

  .nav-menu.active li:last-child .nav-link {
    border-bottom: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 44, 191, 0.15);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-pure);
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-toggle:hover,
  .mobile-toggle.active {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.12);
  }

  .audio-rack-card {
    padding: 24px 20px;
  }

  .download-cards-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .saturation-modes-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 30px 20px;
  }

  .contact-email-link {
    font-size: 1.05rem;
  }

  .contact-form-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .contact-privacy-note {
    max-width: 100%;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-btn-download {
    padding: 6px 14px;
    font-size: 0.82rem;
    gap: 5px;
  }

  .audio-rack-card {
    padding: 18px 14px;
  }

  .preset-display-window {
    height: 180px;
    max-height: 180px;
    margin-bottom: 16px;
  }

  .preset-img-container {
    height: 132px;
    max-height: 132px;
    min-height: 0;
  }

  .preset-setting-img {
    max-height: 132px;
  }

  .preset-window-header,
  .preset-window-footer {
    height: 24px;
    padding: 2px 10px;
    font-size: 0.64rem;
  }

  .preset-modal-content {
    max-height: 85vh;
    width: 96%;
  }

  .preset-modal-body img {
    max-height: 50vh;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .brand-logo-img {
    height: 28px;
  }

  .header-actions {
    gap: 6px;
  }

  .nav-btn-download {
    padding: 5px 10px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .nav-btn-download svg {
    width: 14px;
    height: 14px;
  }

  .preset-display-window {
    height: 160px;
    max-height: 160px;
  }

  .preset-img-container {
    height: 116px;
    max-height: 116px;
    min-height: 0;
  }

  .preset-setting-img {
    max-height: 116px;
  }

  .preset-window-header,
  .preset-window-footer {
    height: 22px;
    padding: 2px 8px;
    font-size: 0.6rem;
  }
}