/* ==========================================================================
   ASYNC TWEAKING UTILITY — MASTER STYLESHEET
   Aesthetic: Pitch Black (#050505), Dark Gray Surfaces, White & Silver Accents
   ========================================================================== */

:root {
  /* Color Palette - Strict Monochrome & Silver Depth */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #101010;
  --bg-elevated: #151515;
  --bg-card: rgba(18, 18, 18, 0.7);
  --bg-card-hover: rgba(26, 26, 26, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(255, 255, 255, 0.28);
  --border-glow: rgba(255, 255, 255, 0.45);

  --text-white: #ffffff;
  --text-silver: #e2e8f0;
  --text-gray-light: #cbd5e1;
  --text-gray: #94a3b8;
  --text-gray-dark: #64748b;
  --text-dim: #475569;

  --accent-white: #ffffff;
  --accent-silver: #d4d4d8;
  --accent-silver-dark: #71717a;
  --accent-glow: rgba(255, 255, 255, 0.15);
  --accent-glow-strong: rgba(255, 255, 255, 0.35);

  --status-ready: #10b981;
  --status-ready-glow: rgba(16, 185, 129, 0.4);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 30px rgba(255, 255, 255, 0.1);
  --shadow-glow-lg: 0 0 60px rgba(255, 255, 255, 0.18);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Dimensions */
  --header-height: 72px;
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background-color: var(--bg-primary);
  color: var(--text-silver);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Tech Noise Texture */
.bg-noise {
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
    linear-gradient(180deg, #050505 0%, #090909 35%, #070707 70%, #050505 100%);
  background-attachment: fixed;
}

/* Background Ambient Canvas & Glows */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.top-glow {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
}

.center-glow {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.text-silver-gradient {
  background: linear-gradient(180deg, #FFFFFF 15%, #CBD5E1 55%, #64748B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-glow {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.text-silver {
  color: var(--accent-silver);
}

.text-center {
  text-align: center;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

/* Glass Panel Base */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: border-color var(--transition-base), background-color var(--transition-base);
}

.nav-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1c1c1c 0%, #0d0d0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.brand-logo:hover .logo-symbol {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--text-white);
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--text-gray);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray);
  text-decoration: none;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: #ffffff;
  transition: width var(--transition-base);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.system-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-gray-light);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-ready);
  box-shadow: 0 0 8px var(--status-ready-glow);
  animation: pulse-indicator 2.2s infinite ease-in-out;
}

@keyframes pulse-indicator {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--text-white);
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.08);
}

.hidden {
  display: none !important;
}

/* Button System */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #050505;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #ffffff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: #ebebeb;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.btn-sm {
  padding: 7px 16px;
  font-size: 0.8125rem;
}

.btn-primary.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-primary.btn-xl {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

.glow-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 60%
  );
  transform: rotate(30deg) translateX(-100%);
  animation: shine-button 5s infinite;
  pointer-events: none;
}

@keyframes shine-button {
  0%, 75% { transform: rotate(30deg) translateX(-100%); }
  100% { transform: rotate(30deg) translateX(100%); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-medium);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn-title {
  font-weight: 700;
}

.btn-caption {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.75;
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 80px 0 110px 0;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-gray-light);
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #ffffff;
}

.hero-headline {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.65;
  color: var(--text-gray);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

/* Terminal Quick Command */
.terminal-quick-box {
  width: 100%;
  max-width: 540px;
  background: rgba(14, 14, 14, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 40px;
}

.terminal-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-gray);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.terminal-ps {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
}

.terminal-command-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.terminal-command-wrap code {
  color: #f1f5f9;
  font-size: 0.8125rem;
  user-select: all;
}

.btn-copy {
  background: transparent;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.btn-copy:hover {
  color: #ffffff;
}

.copy-tooltip {
  position: absolute;
  top: -28px;
  right: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.copy-tooltip.show {
  opacity: 1;
}

/* Hero Specs Row */
.hero-specs-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.spec-value .unit {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-weight: 500;
  margin-left: 2px;
}

.spec-label {
  font-size: 0.725rem;
  color: var(--text-gray-dark);
  margin-top: 5px;
}

.spec-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* Hero Visual / Window Teaser */
.hero-visual {
  position: relative;
}

.hero-window-wrapper {
  position: relative;
  perspective: 1200px;
}

.window-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  filter: blur(25px);
  z-index: 0;
}

.hero-window-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
  transform: rotate3d(1, 1, 0, 4deg) translateY(-8px);
  transition: transform var(--transition-slow), border-color var(--transition-base), box-shadow var(--transition-base);
}

.hero-window-card:hover {
  transform: rotate3d(0, 0, 0, 0deg) translateY(0);
  border-color: var(--border-highlight);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 255, 255, 0.12);
}

.window-header {
  height: 40px;
  background: #0d0d0d;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.ctrl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #262626;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ctrl-dot.close:hover { background: #e11d48; }
.ctrl-dot.min:hover { background: #f59e0b; }
.ctrl-dot.max:hover { background: #10b981; }

.window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-gray);
}

.window-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
}

.indicator-active {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-preview-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #090909;
}

.hero-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-card {
  background: #111111;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-gray);
  font-weight: 600;
}

.metric-live {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-bar-bg {
  width: 100%;
  height: 4px;
  background: #1f1f1f;
  border-radius: 2px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #71717a, #ffffff);
  border-radius: 2px;
}

.metric-sub {
  font-size: 0.65rem;
  color: var(--text-gray-dark);
}

.hero-preview-tweak-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-tweak-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #101010;
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.mini-tweak-row:hover {
  border-color: var(--border-medium);
}

.mini-tweak-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-tweak-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
}

.mini-tweak-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-gray);
  background: #1a1a1a;
  padding: 1px 6px;
  border-radius: 3px;
}

.mini-toggle {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #27272a;
  position: relative;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.mini-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #71717a;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.mini-toggle.active {
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.mini-toggle.active::after {
  transform: translateX(16px);
  background: #000000;
}

.hero-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.725rem;
  color: var(--text-gray);
}

.profile-chip strong {
  color: #ffffff;
}

.preview-expand-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.725rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.preview-expand-btn:hover {
  opacity: 0.8;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */

section {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-gray);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-gray);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   DASHBOARD APPLICATION FRAME (DEEP INTERACTIVE SECTION)
   ========================================================================== */

.dashboard-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.4) 0%, #080808 50%, rgba(5, 5, 5, 0.4) 100%);
}

.app-interface-wrapper {
  position: relative;
  margin-top: 10px;
}

.app-interface-card {
  background: #090909;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 255, 255, 0.04);
}

/* Native Titlebar */
.app-titlebar {
  height: 42px;
  background: #0e0e0e;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  user-select: none;
}

.app-titlebar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-icon-mini {
  display: flex;
  align-items: center;
}

.app-title-text {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
}

.app-os-chip {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-gray);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.app-titlebar-right {
  display: flex;
  align-items: center;
}

.titlebar-btn {
  width: 44px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.titlebar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.titlebar-btn.btn-close:hover {
  background: #e11d48;
  color: #ffffff;
}

/* Toolbar */
.app-toolbar {
  padding: 14px 20px;
  background: #0b0b0b;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.profile-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.05em;
}

.select-wrapper {
  position: relative;
}

.app-select {
  background: #141414;
  color: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 7px 30px 7px 12px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.app-select:hover, .app-select:focus {
  border-color: rgba(255, 255, 255, 0.4);
  outline: none;
}

.app-select option {
  background: #141414;
  color: #ffffff;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #141414;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  min-width: 280px;
}

.search-wrap svg {
  color: var(--text-gray-dark);
}

.app-search {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  width: 100%;
  outline: none;
}

.app-search::placeholder {
  color: var(--text-gray-dark);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.optimization-status-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-ready);
  box-shadow: 0 0 10px var(--status-ready-glow);
}

.status-msg {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-gray-light);
}

.status-msg strong {
  color: #ffffff;
}

.btn-optimize-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #050505;
  border: 1px solid #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.btn-optimize-action:hover {
  background: #e2e8f0;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Hardware Status Deck */
.app-hardware-deck {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.hw-card {
  background: #0c0c0c;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color var(--transition-fast);
}

.hw-card:hover {
  background: #111111;
}

.hw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hw-icon-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-gray);
  letter-spacing: 0.06em;
}

.hw-badge-text {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}

.hw-graph-wrap {
  width: 100%;
  height: 28px;
}

.hw-canvas {
  width: 100%;
  height: 100%;
}

.hw-meter-wrap {
  width: 100%;
  height: 6px;
  background: #181818;
  border-radius: 3px;
  overflow: hidden;
  margin: 11px 0;
}

.hw-meter-bar {
  width: 100%;
  height: 100%;
}

.hw-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #52525b, #ffffff);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.glow-fill {
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hw-subtext {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--text-gray-dark);
}

.hw-temp {
  color: var(--text-gray);
  font-family: var(--font-mono);
}

.hw-status-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-gray);
}

/* App Main Layout */
.app-main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 480px;
}

/* Sidebar */
.app-sidebar {
  background: #090909;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 12px;
}

.sidebar-category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-gray);
  font-family: var(--font-sans);
  font-size: 0.84375rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cat-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.cat-btn.active {
  background: #161616;
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.cat-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  background: #202020;
  color: var(--text-gray);
  padding: 1px 7px;
  border-radius: 999px;
}

.cat-btn.active .cat-count {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
}

.sidebar-footer-card {
  background: #111111;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.restore-point-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  color: var(--status-ready);
}

.btn-sidebar-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-gray-light);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-sidebar-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: var(--border-medium);
}

/* App Content Panel */
.app-content-panel {
  padding: 24px 28px;
  background: #0c0c0c;
  display: flex;
  flex-direction: column;
}

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

.cat-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.category-desc {
  font-size: 0.84375rem;
  color: var(--text-gray);
}

.btn-text-action {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-gray-light);
  font-family: var(--font-mono);
  font-size: 0.725rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-text-action:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
  color: #ffffff;
}

/* Tweaks Grid */
.tweaks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tweak-card {
  background: #111111;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.tweak-card:hover {
  border-color: var(--border-medium);
  background: #141414;
}

.tweak-card.active {
  border-color: rgba(255, 255, 255, 0.2);
  background: #131313;
}

.tweak-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tweak-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tweak-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tweak-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.tweak-badge-rec {
  font-family: var(--font-mono);
  font-size: 0.5875rem;
  font-weight: 700;
  color: #000000;
  background: #ffffff;
  padding: 1px 5px;
  border-radius: 3px;
}

.tweak-desc {
  font-size: 0.775rem;
  color: var(--text-gray);
  line-height: 1.45;
}

/* Interactive Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #262626;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
  border-radius: 999px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #71717a;
  transition: var(--transition-fast);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #050505;
}

.tweak-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tweak-code {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
}

.tweak-impact {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-gray-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* App Statusbar */
.app-statusbar {
  height: 32px;
  background: #090909;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-gray);
  user-select: none;
}

.statusbar-left, .statusbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-ready);
  box-shadow: 0 0 6px var(--status-ready);
}

.status-sep {
  color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-section {
  padding: 120px 0 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.06);
}

.feature-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #141414;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover .feature-icon-box {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.feature-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-gray-dark);
  margin-bottom: 8px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-gray-light);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   BENCHMARKS SECTION
   ========================================================================== */

.benchmarks-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #050505 0%, #090909 50%, #050505 100%);
}

.benchmarks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bench-card {
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bench-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bench-label {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.08em;
}

.bench-gain-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #000000;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
}

.bench-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.val-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.val-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
}

.val-num {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-gray);
  line-height: 1;
}

.val-unit {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}

.val-block.after .val-num {
  color: #ffffff;
}

.val-arrow {
  font-size: 1.4rem;
  color: var(--border-glow);
}

.bench-meter {
  width: 100%;
  height: 6px;
  background: #141414;
  border-radius: 3px;
  overflow: hidden;
}

.bench-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #52525b, #ffffff);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  border-radius: 3px;
}

.bench-note {
  font-size: 0.8125rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ==========================================================================
   SPECS & TERMINAL LOG SECTION
   ========================================================================== */

.specs-section {
  padding: 100px 0;
}

.spec-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.spec-info .section-title {
  text-align: left;
}

.spec-info .section-subtitle {
  text-align: left;
  margin: 0 0 36px 0;
}

.spec-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spec-step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #000000;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.84375rem;
  color: var(--text-gray);
  line-height: 1.5;
}

.spec-terminal-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: #080808;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.spec-terminal-header {
  height: 38px;
  background: #0e0e0e;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

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

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-gray);
  margin-left: 6px;
}

.terminal-code {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #e2e8f0;
  overflow-x: auto;
}

.term-dim { color: #52525b; }
.term-info { color: #cbd5e1; font-weight: 600; }
.term-green { color: #34d399; font-weight: 600; }

/* ==========================================================================
   DOWNLOAD SECTION
   ========================================================================== */

.download-section {
  padding: 120px 0 100px 0;
}

.download-box {
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, #0b0b0b 70%);
}

.download-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.download-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.download-desc {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 36px;
}

.download-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.download-compat-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-gray);
}

.note-sep {
  color: var(--border-medium);
}

.download-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  margin-bottom: 36px;
}

.opt-card {
  background: #111111;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.opt-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.opt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.opt-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}

.opt-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  color: #000000;
  background: #ffffff;
  padding: 1px 6px;
  border-radius: 3px;
}

.opt-desc {
  font-size: 0.8125rem;
  color: var(--text-gray);
  line-height: 1.5;
}

.btn-opt-download {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-opt-download:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-medium);
}

.download-checksum {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0d0d0d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
}

.checksum-label {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-gray);
}

.checksum-hash {
  color: var(--text-gray-light);
  font-size: 0.75rem;
}

.btn-copy-hash {
  background: transparent;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.btn-copy-hash:hover {
  color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #030303;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-desc {
  font-size: 0.84375rem;
  color: var(--text-gray);
  max-width: 340px;
  line-height: 1.6;
}

.footer-live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-gray-light);
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

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

.footer-links a:hover {
  color: #ffffff;
}

.link-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  background: #020202;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright-text {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.775rem;
  color: var(--text-dim);
}

.meta-dot {
  color: var(--border-subtle);
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  background: #0b0b0b;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 255, 255, 0.08);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-base);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  height: 48px;
  background: #111111;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

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

.modal-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  animation: pulse-indicator 1.4s infinite ease-in-out;
}

.modal-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-gray);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-gray-light);
}

.modal-progress-bar {
  width: 100%;
  height: 8px;
  background: #181818;
  border-radius: 4px;
  overflow: hidden;
}

.modal-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #71717a, #ffffff);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  transition: width 0.25s ease;
}

.modal-terminal-log {
  background: #060606;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  height: 160px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-line {
  line-height: 1.4;
}

.modal-complete-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
}

.banner-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--status-ready);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px var(--status-ready-glow);
}

.banner-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.banner-text p {
  font-size: 0.8125rem;
  color: var(--text-gray-light);
}

.modal-footer {
  height: 56px;
  background: #0e0e0e;
  border-top: 1px solid var(--border-subtle);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Download Modal specifics */
.dl-status-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #121212;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.dl-icon-pulse {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.1);
}

.dl-meta h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.dl-meta code {
  color: var(--text-gray-light);
  font-size: 0.775rem;
}

.dl-spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #080808;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.dl-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.dl-spec-row span {
  color: var(--text-gray);
}

.dl-spec-row strong {
  color: #ffffff;
}

.hash-short {
  color: var(--text-dim);
  font-size: 0.725rem;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-delay-1 {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.animate-fade-in-delay-3 {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.animate-fade-in-delay-4 {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Stealth Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #060606;
}

::-webkit-scrollbar-thumb {
  background: #242424;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .terminal-quick-box {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-specs-row {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-hardware-deck {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-main-layout {
    grid-template-columns: 200px 1fr;
  }

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

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #080808;
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .system-status-pill {
    display: none;
  }

  .hero-section {
    padding: 50px 0 80px 0;
  }

  .hero-specs-row {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-around;
  }

  .spec-divider {
    display: none;
  }

  .app-main-layout {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .sidebar-category-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .cat-btn {
    white-space: nowrap;
  }

  .sidebar-footer-card {
    display: none;
  }

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

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

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

  .spec-layout {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
