/* ==========================================================================
   SkyTweaks Web — Atmospheric Sky & Frosted Slate Design System
   Matches SkyTweaks v1.1.0 Desktop Aesthetic (#0F172A / #1E293B / #38BDF8)
   ========================================================================== */
:root {
  --bg-canvas: #0b1222;
  --bg-slate: #0f172a;
  --bg-surface: rgba(30, 41, 59, 0.72);
  --bg-surface-solid: #1e293b;
  --bg-surface-hover: rgba(38, 53, 77, 0.88);
  --bg-recessed: rgba(15, 23, 42, 0.75);
  --bg-input: rgba(20, 31, 51, 0.85);

  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-hover: rgba(148, 163, 184, 0.34);
  --border-sky: rgba(56, 189, 248, 0.45);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8fa2bd;

  --sky: #38bdf8;
  --sky-dark: #0284c7;
  --indigo: #818cf8;
  --emerald: #34d399;
  --emerald-dark: #059669;
  --amber: #fbbf24;
  --amber-dark: #d97706;
  --rose: #f87171;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 40px -18px rgba(2, 6, 23, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --shadow-window: 0 32px 72px -24px rgba(2, 6, 23, 0.88), 0 0 0 1px rgba(148, 163, 184, 0.18);
  --font-display: 'Plus Jakarta Sans', 'Segoe UI Semibold', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(180deg, #0b1222 0%, #0f172a 32%, #0e192f 100%);
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

code, pre {
  font-family: var(--font-mono);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   Atmospheric Sky Backdrop
   ========================================================================== */
.sky-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.sky-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.32;
}

.sky-glow-primary {
  width: 760px;
  height: 460px;
  top: -190px;
  left: 50%;
  transform: translateX(-58%);
  background: radial-gradient(circle, #38bdf8 0%, #0284c7 45%, transparent 75%);
}

.sky-glow-indigo {
  width: 620px;
  height: 440px;
  top: -120px;
  right: -140px;
  background: radial-gradient(circle, #818cf8 0%, #3b82f6 40%, transparent 75%);
  opacity: 0.22;
}

.sky-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 640px;
}

/* ==========================================================================
   Layout Helpers & Typography
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.text-sky-gradient {
  background: linear-gradient(110deg, #7dd3fc 0%, #38bdf8 48%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-card {
  background: linear-gradient(180deg, rgba(36, 50, 72, 0.78) 0%, rgba(25, 36, 54, 0.78) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ==========================================================================
   Buttons & Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 0.98rem;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px -10px rgba(56, 189, 248, 0.65);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #56ccf9 0%, #0ea5e9 100%);
  box-shadow: 0 14px 28px -10px rgba(56, 189, 248, 0.8);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.88);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(45, 62, 88, 0.95);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.1);
}

.btn-amber {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  color: #0b1222;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 22px -10px rgba(251, 191, 36, 0.65);
}

.btn-amber:hover {
  background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
  transform: translateY(-1px);
}

.btn-outline-amber {
  background: rgba(251, 191, 36, 0.1);
  color: var(--amber);
  border-color: rgba(251, 191, 36, 0.42);
}
.btn-outline-amber:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--amber);
}

.btn-outline-emerald {
  background: rgba(52, 211, 153, 0.1);
  color: var(--emerald);
  border-color: rgba(52, 211, 153, 0.42);
}
.btn-outline-emerald:hover {
  background: rgba(52, 211, 153, 0.2);
  border-color: var(--emerald);
}

.btn-meta {
  background: rgba(15, 23, 42, 0.28);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

.ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.ico-xs {
  width: 14px;
  height: 14px;
}

.ico-check {
  width: 16px;
  height: 16px;
  color: var(--emerald);
  flex-shrink: 0;
}

.icon-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(30, 41, 59, 0.85);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.icon-circle-btn:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: var(--sky);
}

/* ==========================================================================
   Header & Mobile Drawer
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(11, 18, 34, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(11, 18, 34, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-icon.small {
  width: 28px;
  height: 28px;
}

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

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--sky);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(56, 189, 248, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: rgba(30, 41, 59, 0.8);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-drawer {
  padding: 14px 24px 20px;
  background: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-link {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

.drawer-link:hover {
  background: rgba(56, 189, 248, 0.12);
  color: var(--text-primary);
}

.drawer-cta {
  margin-top: 6px;
}

/* ==========================================================================
   1. Hero & Interactive Window Preview
   ========================================================================== */
.hero-section {
  padding: 122px 0 68px;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.82rem;
  color: #bae6fd;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 670px;
  margin: 0 auto 28px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Interactive App Preview Window */
.app-showcase {
  max-width: 1040px;
  margin: 0 auto;
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.showcase-tab {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(30, 41, 59, 0.65);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.showcase-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.showcase-tab.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--sky);
  color: #e0f2fe;
  box-shadow: 0 6px 18px -8px rgba(56, 189, 248, 0.6);
}

.window-frame {
  border-radius: 16px;
  overflow: hidden;
  background: #131e33;
  box-shadow: var(--shadow-window);
}

.window-chrome {
  height: 40px;
  padding: 0 14px;
  background: linear-gradient(180deg, #1a2740 0%, #131e33 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chrome-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.chrome-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chrome-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.zoom-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
  color: var(--sky);
  font-size: 0.76rem;
  font-weight: 600;
  transition: background 0.18s ease;
}

.zoom-trigger:hover {
  background: rgba(56, 189, 248, 0.24);
}

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

.win-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.28);
}

.window-viewport {
  position: relative;
  background: #0f172a;
  cursor: zoom-in;
  overflow: hidden;
}

.window-viewport img {
  width: 100%;
  display: block;
  transition: opacity 0.22s ease;
}

.window-viewport img.is-switching {
  opacity: 0.35;
}

.window-caption-bar {
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.94);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.caption-text {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.caption-badge {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(56, 189, 248, 0.16);
  color: var(--sky);
  border: 1px solid rgba(56, 189, 248, 0.32);
}

.caption-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.caption-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.shot-counter {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 36px;
  text-align: center;
}

/* ==========================================================================
   2. Smooth 60fps Horizontal Capability Deck (rAF translate3d)
   ========================================================================== */
.deck-section {
  padding: 56px 0 36px;
  overflow: hidden;
}

.deck-controls {
  display: flex;
  gap: 8px;
}

.deck-stage {
  width: 100%;
  overflow: hidden;
  padding: 10px 0 24px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.deck-stage:active {
  cursor: grabbing;
}

.deck-track {
  display: flex;
  gap: 18px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2 + 24px));
  will-change: transform;
}

.feature-card {
  flex: 0 0 330px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(36, 50, 72, 0.76) 0%, rgba(25, 36, 54, 0.76) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-icon.sky { background: rgba(56, 189, 248, 0.16); color: var(--sky); }
.feature-icon.amber { background: rgba(251, 191, 36, 0.16); color: var(--amber); }
.feature-icon.emerald { background: rgba(52, 211, 153, 0.16); color: var(--emerald); }
.feature-icon.indigo { background: rgba(129, 140, 248, 0.16); color: var(--indigo); }

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-card code {
  font-size: 0.84em;
  color: #bae6fd;
  background: rgba(15, 23, 42, 0.55);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ==========================================================================
   3. Interactive PC Profile Recommender Wizard
   ========================================================================== */
.finder-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.finder-inputs, .finder-result {
  padding: 28px;
}

.finder-group {
  margin-bottom: 20px;
}

.finder-group:last-child {
  margin-bottom: 0;
}

.finder-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 9px;
}

.seg-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.seg-btn {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-recessed);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.16s ease;
}

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

.seg-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--sky);
  color: #e0f2fe;
}

.finder-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border-color: rgba(56, 189, 248, 0.28);
}

.finder-result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tier-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(56, 189, 248, 0.18);
  color: var(--sky);
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 10px;
}

.tier-pill.amber {
  background: rgba(251, 191, 36, 0.18);
  color: var(--amber);
  border-color: rgba(251, 191, 36, 0.4);
}

.tier-pill.emerald {
  background: rgba(52, 211, 153, 0.18);
  color: var(--emerald);
  border-color: rgba(52, 211, 153, 0.4);
}

.finder-result-top p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.mini-ring {
  position: relative;
  width: 86px;
  height: 86px;
  flex-shrink: 0;
}

.mini-ring svg, .sim-score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: rgba(15, 23, 42, 0.75);
  stroke-width: 7;
}

.ring-fill {
  fill: none;
  stroke: var(--sky);
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.25s ease;
}

.mini-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mini-ring-label strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.mini-ring-label span {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.finder-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.finder-stat {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-recessed);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.finder-stat span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.finder-stat strong {
  font-size: 0.96rem;
  color: var(--text-primary);
}

.finder-highlights-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.finder-highlights ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.finder-highlights li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.finder-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

/* ==========================================================================
   4. Interactive 36-Tweak Explorer & Live Simulator
   ========================================================================== */
.sim-hud {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.sim-hud-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 380px;
}

.sim-score-ring {
  position: relative;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}

.sim-score-ring strong {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.sim-hud-meta {
  flex: 1;
  min-width: 0;
}

.sim-hud-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.sim-hud-title strong {
  font-size: 1.05rem;
}

.sim-active-profile {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.14);
  color: var(--sky);
  font-weight: 600;
}

.sim-impact-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.impact-bar-item span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.bar-track {
  height: 6px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.85);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  transition: width 0.35s ease;
}

.bar-fill.sky { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.bar-fill.emerald { background: linear-gradient(90deg, #059669, #34d399); }
.bar-fill.indigo { background: linear-gradient(90deg, #6366f1, #818cf8); }

.sim-preset-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.sim-preset-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.preset-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Live Reboot Banner (Matches SkyTweaks v1.1.0!) */
.reboot-banner {
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.48);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideDown 0.22s ease;
}

.reboot-banner[hidden] {
  display: none;
}

.reboot-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.reboot-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(251, 191, 36, 0.2);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reboot-ico svg {
  width: 18px;
  height: 18px;
}

.reboot-banner strong {
  display: block;
  font-size: 0.92rem;
  color: #fef3c7;
}

.reboot-banner p {
  margin: 0;
  font-size: 0.84rem;
  color: #fde68a;
}

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

/* Explorer Filter Pills & Search */
.explorer-toolbar {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill-btn {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(30, 41, 59, 0.72);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.16s ease;
}

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

.pill-btn.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--sky);
  color: #e0f2fe;
}

.search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1 1 320px;
  max-width: 520px;
}

.search-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.results-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Individual Tweak Cards */
.tweaks-list {
  display: grid;
  gap: 10px;
}

.tweak-card {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(36, 50, 72, 0.74) 0%, rgba(25, 36, 54, 0.74) 100%);
  border: 1px solid var(--border-subtle);
  border-left: 3.5px solid rgba(148, 163, 184, 0.25);
  padding: 16px 18px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.tweak-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
}

.tweak-card.is-enabled {
  border-color: rgba(56, 189, 248, 0.34);
  border-left-color: var(--sky);
}

.tweak-card.is-pending-reboot {
  border-color: rgba(251, 191, 36, 0.55);
  border-left-color: var(--amber);
}

.tweak-main {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

/* Smooth Toggle Switch */
.toggle-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.85);
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-secondary);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

.toggle-switch[aria-checked="true"] {
  background: var(--sky);
  border-color: var(--sky);
}

.toggle-switch[aria-checked="true"]::after {
  transform: translateX(20px);
  background: #ffffff;
}

.tweak-body {
  flex: 1;
  min-width: 0;
}

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

.tweak-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tweak-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tbadge {
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.tbadge.rec { background: rgba(56, 189, 248, 0.16); color: var(--sky); border-color: rgba(56, 189, 248, 0.36); }
.tbadge.safe { background: rgba(52, 211, 153, 0.14); color: var(--emerald); border-color: rgba(52, 211, 153, 0.34); }
.tbadge.moderate { background: rgba(251, 191, 36, 0.14); color: var(--amber); border-color: rgba(251, 191, 36, 0.36); }
.tbadge.reboot { background: rgba(251, 191, 36, 0.16); color: var(--amber); border-color: rgba(251, 191, 36, 0.42); }
.tbadge.admin { background: rgba(148, 163, 184, 0.14); color: var(--text-secondary); border-color: rgba(148, 163, 184, 0.28); }
.tbadge.status-on { background: rgba(52, 211, 153, 0.2); color: var(--emerald); border-color: rgba(52, 211, 153, 0.44); }
.tbadge.status-off { background: rgba(15, 23, 42, 0.65); color: var(--text-muted); border-color: var(--border-subtle); }

.tweak-summary {
  margin: 0 0 11px;
  font-size: 0.89rem;
  color: var(--text-secondary);
}

.tweak-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tweak-meters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.pip-meter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pips {
  display: inline-flex;
  gap: 3px;
}

.pip {
  width: 6px;
  height: 9px;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.18);
}

.pip.on.sky { background: var(--sky); }
.pip.on.emerald { background: var(--emerald); }
.pip.on.indigo { background: var(--indigo); }

.tweak-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.details-btn {
  background: transparent;
  border: none;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 6px;
}

.details-btn:hover {
  text-decoration: underline;
}

.card-reboot-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.16);
  color: var(--amber);
  transition: all 0.16s ease;
}

.card-reboot-btn.urgent {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  color: #0b1222;
  border-color: rgba(255, 255, 255, 0.35);
}

.card-reboot-btn:hover {
  transform: translateY(-1px);
}

/* Expanded Technical Drawer */
.tweak-drawer {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-recessed);
  border: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  gap: 10px;
}

.tweak-drawer[hidden] {
  display: none;
}

.drawer-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.85rem;
}

.drawer-key {
  color: var(--sky);
  font-weight: 700;
  font-size: 0.78rem;
}

.drawer-tech-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.drawer-tech {
  color: var(--text-secondary);
  font-size: 0.8rem;
  word-break: break-word;
}

.drawer-safe-foot {
  font-size: 0.77rem;
  color: var(--emerald);
  font-weight: 600;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* ==========================================================================
   5. Interactive Standby RAM Visualizer
   ========================================================================== */
.ram-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  align-items: center;
}

.ram-info p {
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.ram-info code {
  color: #bae6fd;
  background: rgba(30, 41, 59, 0.85);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.86em;
}

.ram-presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ram-presets span {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
}

.ram-preset-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(30, 41, 59, 0.75);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.ram-preset-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--sky);
  color: #e0f2fe;
}

.ram-simulator-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ram-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.status-pill {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pill.emerald {
  background: rgba(52, 211, 153, 0.16);
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.ram-readout {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ram-bar-shell {
  height: 24px;
  border-radius: 9px;
  background: var(--bg-recessed);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
}

.ram-seg {
  height: 100%;
  transition: background 0.2s ease;
}

.ram-used { background: linear-gradient(90deg, #0284c7, #38bdf8); border-right: 2px solid #0f172a; }
.ram-standby { background: linear-gradient(90deg, #6366f1, #818cf8); border-right: 2px solid #0f172a; }
.ram-free { background: linear-gradient(90deg, #10b981, #34d399); }

.ram-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.dot.sky { background: var(--sky); }
.dot.indigo { background: var(--indigo); }
.dot.emerald { background: var(--emerald); }

.ram-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ram-activity-log {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-recessed);
  border: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.82rem;
  color: var(--text-secondary);
  min-height: 76px;
  max-height: 112px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.log-time {
  color: var(--sky);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ==========================================================================
   6. SkyGuard Safety & Transparency
   ========================================================================== */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.safety-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.safety-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.safety-badge.emerald { background: rgba(52, 211, 153, 0.16); color: var(--emerald); }
.safety-badge.sky { background: rgba(56, 189, 248, 0.16); color: var(--sky); }
.safety-badge.indigo { background: rgba(129, 140, 248, 0.16); color: var(--indigo); }

.safety-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.safety-card code {
  font-size: 0.84em;
  color: #bae6fd;
  background: rgba(15, 23, 42, 0.6);
  padding: 1px 5px;
  border-radius: 4px;
}

.anticheat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.anticheat-tags span {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 600;
}

.clean-list {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.clean-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.clean-list li::before {
  content: "•";
  position: absolute;
  left: 3px;
  color: var(--sky);
  font-weight: 700;
}

/* ==========================================================================
   7. Download & Checksum Verification
   ========================================================================== */
.download-section {
  padding-bottom: 96px;
}

.download-shell {
  padding: 36px;
  border-color: rgba(56, 189, 248, 0.3);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.download-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.download-sub {
  margin: 0;
  color: var(--text-secondary);
}

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

.download-meta-pills span {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-recessed);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
  min-width: 0;
}

.dl-option {
  padding: 22px;
  border-radius: 14px;
  background: var(--bg-recessed);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.dl-option .btn {
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.dl-option.primary-opt {
  border-color: rgba(56, 189, 248, 0.38);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.09) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.dl-opt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.dl-opt-head > div {
  min-width: 0;
}

.dl-opt-head p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.dl-size {
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hash-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(11, 18, 34, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.12);
  min-width: 0;
  max-width: 100%;
}

.hash-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.hash-val {
  font-size: 0.74rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.copy-mini-btn {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: rgba(30, 41, 59, 0.9);
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.copy-mini-btn:hover {
  border-color: var(--sky);
  background: rgba(56, 189, 248, 0.16);
}

/* Code Tabs */
.code-tabs-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(11, 18, 34, 0.88);
}

.code-tabs-head {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.code-tab-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.code-tab {
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.code-tab.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--sky);
}

.code-box {
  margin: 0;
  padding: 16px 18px;
  font-size: 0.83rem;
  line-height: 1.6;
  color: #e2e8f0;
  overflow-x: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(11, 18, 34, 0.82);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-note {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 440px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

/* ==========================================================================
   Modals & Toast
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(2, 6, 23, 0.84);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.lightbox-dialog {
  width: 100%;
  max-width: 1120px;
  border-radius: 16px;
  background: #131e33;
  border: 1px solid rgba(148, 163, 184, 0.24);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75);
}

.lightbox-header, .lightbox-footer {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
}

.lightbox-header {
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.92rem;
}

.lightbox-body {
  background: #0b1222;
  max-height: 74vh;
  overflow: auto;
}

.lightbox-body img {
  width: 100%;
}

.lightbox-footer {
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.confirm-dialog {
  width: 100%;
  max-width: 460px;
  padding: 28px;
  text-align: center;
}

.confirm-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.16);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-icon svg {
  width: 26px;
  height: 26px;
}

.confirm-copy {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.confirm-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-recessed);
  border: 1px solid rgba(251, 191, 36, 0.28);
  text-align: left;
  font-size: 0.84rem;
  color: #fde68a;
  display: grid;
  gap: 5px;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--sky);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.toast[hidden] {
  display: none;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints (Zero Overflow on 390px Mobile & 1440px Desktop)
   ========================================================================== */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .finder-grid,
  .ram-grid,
  .safety-grid,
  .download-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .sim-preset-actions {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .hide-mobile {
    display: none;
  }
  .brand-text span {
    display: none;
  }
  .header-inner {
    gap: 10px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-dl-btn {
    padding: 7px 11px;
    font-size: 0.8rem;
  }
  .dl-option {
    padding: 16px;
  }
  .hero-section {
    padding: 102px 0 48px;
  }
  .section {
    padding: 60px 0;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .window-caption-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .caption-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .feature-card {
    flex: 0 0 285px;
    padding: 20px;
  }
  .finder-inputs, .finder-result, .download-shell {
    padding: 20px;
  }
  .finder-metrics-row {
    grid-template-columns: 1fr;
  }
  .sim-hud {
    padding: 16px;
  }
  .sim-hud-left {
    flex-direction: column;
    align-items: flex-start;
  }
  .sim-impact-bars {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .tweak-main {
    flex-direction: column;
    gap: 10px;
  }
  .drawer-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .chrome-right .zoom-trigger {
    display: none;
  }
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }
}
