/* ==========================================================================
   FLUX OFFICIAL LANDING PAGE - MINIMALIST MONOCHROME BLUEPRINT
   Pure Black & White Edition • Zero Lag • Ultra-Clean Architecture
   ========================================================================== */

:root {
  /* High-End Pitch Black Monochrome Palette */
  --ac-black: #000000;
  --ac-bg: #000000;
  --ac-surface: #0C0C0C;
  --ac-surface-solid: #0A0A0A;
  --ac-surface-hover: #151515;
  --ac-surface-card: #0A0A0A;
  --ac-border: rgba(255, 255, 255, 0.09);
  --ac-border-bright: rgba(255, 255, 255, 0.22);
  --ac-border-active: rgba(255, 255, 255, 0.45);

  /* Monochrome Typography */
  --ac-white: #FFFFFF;
  --ac-silver: #F4F4F5;
  --ac-body: #D4D4D8;
  --ac-muted: #A1A1AA;
  --ac-dark-muted: #71717A;
  --ac-dim: #52525B;

  /* Layout Dimensions */
  --hud-rail-width: 160px;
  --nav-height: 60px;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif-italic: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s var(--ease-out);
  --transition-smooth: all 0.35s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  background-color: #000000;
  color: var(--ac-white);
}

body {
  font-family: var(--font-sans);
  background-color: #000000;
  color: var(--ac-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Utilities */
.mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

.serif-italic {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--ac-white);
}

.text-white {
  color: var(--ac-white) !important;
}

.text-highlight {
  color: var(--ac-white) !important;
  font-weight: 600;
}

.text-muted {
  color: var(--ac-muted) !important;
}

.text-dim {
  color: var(--ac-dark-muted) !important;
}

.text-badge {
  color: var(--ac-white) !important;
  background: #18181B;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--ac-border);
  font-size: 0.85rem;
}

/* Page Layout Container */
.page-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.content-container {
  flex: 1;
  min-width: 0;
  margin-right: var(--hud-rail-width);
}

@media (max-width: 1120px) {
  .content-container {
    margin-right: 0;
  }
}

/* ==========================================================================
   TOP FIXED NAVBAR (MINIMALIST MONOCHROME)
   ========================================================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ac-border);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ac-white);
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 0;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ac-white);
}

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

.menu-item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ac-dark-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: var(--transition-fast);
  padding: 6px 0;
  position: relative;
}

.menu-item:hover {
  color: var(--ac-white);
}

.menu-item.active {
  color: var(--ac-white);
}

.menu-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ac-white);
  border-radius: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-meta {
  font-size: 0.78rem;
  color: var(--ac-dark-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-icon-link {
  color: var(--ac-muted);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 6px;
  transition: var(--transition-fast);
}

.nav-icon-link:hover {
  color: var(--ac-white);
}

.btn-top-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ac-white);
  color: var(--ac-black);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.btn-top-cta:hover {
  background: var(--ac-silver);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ac-border);
  color: var(--ac-white);
  font-size: 1.1rem;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ac-border);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-120%);
  transition: transform 0.3s var(--ease-out);
  z-index: 998;
}

.mobile-drawer.active {
  transform: translateY(0);
}

.mobile-drawer-link {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ac-muted);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--ac-border);
  transition: var(--transition-fast);
}

.mobile-drawer-link:hover {
  color: var(--ac-white);
}

.btn-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ac-white);
  color: var(--ac-black);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.btn-drawer-cta-apk {
  background: #18181B;
  color: var(--ac-white);
  border: 1px solid var(--ac-border-bright);
}

/* ==========================================================================
   SECTIONS & BASE GEOMETRY
   ========================================================================== */
.ac-section {
  padding: 110px 48px;
  max-width: 1060px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ac-border);
  position: relative;
}

.section-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  font-size: 0.78rem;
  color: var(--ac-dark-muted);
  letter-spacing: 0.08em;
}

.section-heading-group {
  margin-bottom: 52px;
}

.ac-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ac-white);
  margin-bottom: 16px;
}

.ac-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ac-muted);
  max-width: 680px;
}

/* ==========================================================================
   00 / HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 140px;
  padding-bottom: 120px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand-symbol {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: transparent;
  border: none;
  padding: 0;
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.hero-headline {
  font-size: clamp(4.8rem, 12vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 18px;
  display: inline-block;
  position: relative;
  color: #FFFFFF;
}

.flux-char {
  display: inline-block;
  color: #FFFFFF;
  
  /* Smooth, silky silver chrome wave moving gently from Right to Left with soft fade in/out */
  background: linear-gradient(
    95deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.7) 25%,
    #FFFFFF 45%,
    #FFFFFF 55%,
    rgba(255, 255, 255, 0.7) 75%,
    rgba(255, 255, 255, 0.45) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: smoothSilverShimmer 4.2s ease-in-out infinite;
  will-change: background-position, opacity;
}

/* Fallback: if browser doesn't support text clipping, ensure text is pure white */
@supports not (-webkit-background-clip: text) {
  .flux-char {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
  }
}

@keyframes smoothSilverShimmer {
  0% {
    background-position: 180% 50%;
    opacity: 0.85;
  }
  50% {
    background-position: 0% 50%;
    opacity: 1;
  }
  100% {
    background-position: -180% 50%;
    opacity: 0.85;
  }
}

/* Smooth sequential ripple right-to-left: X (4) -> U (3) -> L (2) -> F (1) */
.flux-char:nth-child(4) { animation-delay: 0s; }
.flux-char:nth-child(3) { animation-delay: 0.3s; }
.flux-char:nth-child(2) { animation-delay: 0.6s; }
.flux-char:nth-child(1) { animation-delay: 0.9s; }

.hero-tagline {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: var(--ac-silver);
  margin-bottom: 24px;
}

.hero-live-badge-wrapper {
  margin-bottom: 28px;
}

.live-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0C0C0E;
  border: 1px solid var(--ac-border-bright);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ac-silver);
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--ac-white);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.live-badge-label {
  color: var(--ac-muted);
}

.live-badge-ver {
  color: var(--ac-white);
  font-weight: 700;
}

.live-badge-dot {
  color: var(--ac-dim);
}

.live-badge-sync {
  color: var(--ac-silver);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ac-body);
  max-width: 620px;
  margin-bottom: 40px;
}

/* Platforms Hub Buttons */
.hero-platforms-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 640px;
  margin-bottom: 44px;
}

.primary-download-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 22px;
  border-radius: 8px;
  transition: var(--transition-fast);
  cursor: pointer;
  flex: 1;
}

.ac-btn-primary {
  background: var(--ac-white);
  color: var(--ac-black);
  border: 1px solid var(--ac-white);
}

.ac-btn-primary:hover {
  background: #E4E4E7;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.12);
}

.ac-btn-secondary {
  background: #111113;
  color: var(--ac-white);
  border: 1px solid var(--ac-border-bright);
}

.ac-btn-secondary:hover {
  background: #18181B;
  border-color: var(--ac-border-active);
  transform: translateY(-1px);
}

.ac-btn-lg {
  padding: 15px 24px;
  font-size: 0.85rem;
}

.btn-tag {
  background: rgba(0, 0, 0, 0.12);
  color: inherit;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
}

.ac-btn-secondary .btn-tag {
  background: #27272A;
  color: var(--ac-muted);
}

/* Platform Chips (macOS, Linux, iOS) */
.other-platforms-row {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-chip {
  background: #0B0B0D;
  border: 1px solid var(--ac-border);
  color: var(--ac-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 8px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.platform-chip:hover {
  background: #141416;
  border-color: var(--ac-border-bright);
  color: var(--ac-white);
}

.chip-badge {
  background: #1C1C20;
  color: var(--ac-dark-muted);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.hero-footer-specs {
  display: flex;
  gap: 28px;
  font-size: 0.76rem;
  color: var(--ac-dark-muted);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-footer-specs span {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ==========================================================================
   01 / SYSTEM ARCHITECTURE SECTION
   ========================================================================== */
.grid-pills-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.pill-card {
  background: var(--ac-surface-card);
  border: 1px solid var(--ac-border);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition-fast);
}

.pill-card:hover {
  background: var(--ac-surface-hover);
  border-color: var(--ac-border-bright);
}

.pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #161618;
  border: 1px solid var(--ac-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--ac-white);
  flex-shrink: 0;
}

.pill-text h4 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ac-white);
  margin-bottom: 4px;
}

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

.platform-card-soon {
  opacity: 0.75;
  cursor: pointer;
}

.platform-card-soon:hover {
  opacity: 1;
}

/* Telemetry Box */
.hardware-telemetry-box {
  background: var(--ac-surface-card);
  border: 1px solid var(--ac-border);
  border-radius: 10px;
  padding: 20px 24px;
}

.telemetry-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.telemetry-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.t-label {
  font-size: 0.72rem;
  color: var(--ac-dark-muted);
  letter-spacing: 0.04em;
}

.t-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ac-white);
}

/* ==========================================================================
   02 / INTERFACE SHOWCASE (REVEAL GALLERY)
   ========================================================================== */
.reveal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reveal-card {
  background: var(--ac-surface-card);
  border: 1px solid var(--ac-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.reveal-card:hover {
  border-color: var(--ac-border-bright);
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #08080A;
  border-bottom: 1px solid var(--ac-border);
  font-size: 0.74rem;
  color: var(--ac-dark-muted);
}

.reveal-image-wrapper {
  width: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--ac-border);
  height: 290px;
  padding: 8px;
}

.reveal-img {
  width: 100%;
  height: 100%;
  max-height: 275px;
  object-fit: contain;
  display: block;
}

.reveal-caption {
  padding: 18px 20px;
  flex: 1;
}

.reveal-caption h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ac-white);
  margin-bottom: 8px;
}

.reveal-caption p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ac-muted);
}

/* ==========================================================================
   03 / EMPIRICAL BENCHMARKS TABLE
   ========================================================================== */
.benchmarks-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ac-border);
  border-radius: 10px;
  background: var(--ac-surface-card);
}

.table-scroll-hint {
  display: none;
  padding: 10px 16px;
  font-size: 0.75rem;
  color: var(--ac-dark-muted);
  background: #0D0D0F;
  border-bottom: 1px solid var(--ac-border);
}

.ac-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ac-table th {
  padding: 16px 20px;
  font-size: 0.75rem;
  color: var(--ac-dark-muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--ac-border);
  background: #08080A;
}

.ac-table td {
  padding: 18px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--ac-border);
  color: var(--ac-body);
}

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

.ac-table .row-highlight {
  background: rgba(255, 255, 255, 0.04);
}

.ac-table .brand-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ac-white);
}

.t-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

/* ==========================================================================
   04 / ORIGIN & PHILOSOPHY (MANIFESTO)
   ========================================================================== */
.manifesto-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.manifesto-lead {
  background: var(--ac-surface-card);
  border: 1px solid var(--ac-border);
  border-left: 3px solid var(--ac-white);
  border-radius: 0 10px 10px 0;
  padding: 32px 36px;
}

.manifesto-lead p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ac-silver);
  margin-bottom: 16px;
}

.manifesto-signature {
  font-size: 0.8rem;
  color: var(--ac-muted);
  letter-spacing: 0.06em;
}

.manifesto-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.m-card {
  background: var(--ac-surface-card);
  border: 1px solid var(--ac-border);
  border-radius: 10px;
  padding: 24px;
}

.m-num {
  font-size: 0.8rem;
  color: var(--ac-dark-muted);
  display: block;
  margin-bottom: 12px;
}

.m-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ac-white);
  margin-bottom: 10px;
}

.m-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ac-muted);
}

/* ==========================================================================
   05 / DOWNLOAD HUB & CLI TERMINAL
   ========================================================================== */
.dl-split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.dl-box {
  background: var(--ac-surface-card);
  border: 1px solid var(--ac-border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.dl-box:hover {
  border-color: var(--ac-border-bright);
}

.dl-box-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.dl-box-icon {
  font-size: 2.2rem;
  color: var(--ac-white);
  margin-top: 4px;
}

.dl-title-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.dl-title-flex h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ac-white);
}

.live-ver-pill {
  background: #18181B;
  color: var(--ac-white);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--ac-border);
}

.dl-box-head span.mono {
  font-size: 0.78rem;
  color: var(--ac-muted);
}

.dl-box-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ac-muted);
  margin-bottom: 28px;
}

.dl-box-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dl-alt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ac-dark-muted);
}

.dl-alt-row a {
  color: var(--ac-silver);
  text-decoration: none;
  border-bottom: 1px solid var(--ac-border);
  transition: var(--transition-fast);
}

.dl-alt-row a:hover {
  color: var(--ac-white);
  border-color: var(--ac-white);
}

/* Focused CLI Install Card */
.cli-install-wrapper {
  margin-bottom: 40px;
}

.cli-install-card {
  background: #08080A;
  border: 1px solid var(--ac-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.cli-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #0D0D10;
  border-bottom: 1px solid var(--ac-border);
}

.cli-window-dots {
  display: flex;
  gap: 6px;
}

.cli-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27272A;
}

.cli-title {
  font-size: 0.78rem;
  color: var(--ac-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cli-tag {
  font-size: 0.72rem;
  color: var(--ac-silver);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cli-live-dot {
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 6px #FFFFFF;
}

/* 2-Button Action Banner (Download & Download + Install) */
.cli-actions-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #0B0B0E;
  border-bottom: 1px solid var(--ac-border);
  gap: 20px;
  flex-wrap: wrap;
}

.cli-banner-desc {
  flex: 1;
  min-width: 240px;
}

.cli-banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ac-white);
  display: block;
  margin-bottom: 4px;
}

.cli-banner-desc p {
  font-size: 0.85rem;
  color: var(--ac-muted);
  line-height: 1.45;
}

.cli-banner-buttons {
  display: flex;
  gap: 12px;
}

.cli-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid var(--ac-border);
}

.cli-mode-btn {
  background: #141416;
  color: var(--ac-silver);
  border: 1px solid var(--ac-border-bright);
}

.cli-mode-btn:hover {
  background: #1E1E24;
  color: var(--ac-white);
  border-color: #555560;
  transform: translateY(-1px);
}

.cli-mode-btn.active {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
}

.cli-mode-btn.active:hover {
  background: #F0F0F5;
  color: #000000;
}

/* Shell Tabs Bar (PowerShell vs CMD) */
.cli-shell-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #08080B;
  border-bottom: 1px solid var(--ac-border);
  gap: 12px;
}

.cli-shell-tabs {
  display: flex;
  gap: 8px;
}

.cli-shell-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ac-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.cli-shell-tab:hover {
  color: var(--ac-white);
  background: rgba(255, 255, 255, 0.05);
}

.cli-shell-tab.active {
  background: #18181D;
  border-color: var(--ac-border-bright);
  color: var(--ac-white);
}

.cli-shell-indicator {
  font-size: 0.72rem;
  color: var(--ac-dark-muted);
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Command Strip */
.cli-command-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: #060608;
  border-bottom: 1px solid var(--ac-border);
  gap: 16px;
}

.cli-command-strip .cli-line-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ac-silver);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  flex: 1;
  min-width: 0;
}

.cli-command-strip .cli-prompt {
  color: var(--ac-dark-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.cli-command-strip .cli-cmd {
  color: var(--ac-silver);
  white-space: nowrap;
  word-break: normal;
}

.cli-ascii-logo {
  font-family: var(--font-mono);
  font-size: clamp(0.38rem, 1.1vw, 0.70rem);
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 12px;
  white-space: pre;
  letter-spacing: 0.02em;
  opacity: 0.98;
  overflow-x: auto;
  scrollbar-width: thin;
}

.cli-copy-action {
  background: #141416;
  border: 1px solid var(--ac-border-bright);
  color: var(--ac-white);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.cli-copy-action:hover {
  background: var(--ac-white);
  color: var(--ac-black);
}

.cli-copy-action.copied {
  background: var(--ac-white);
  color: var(--ac-black);
}

/* Interactive Simulator Panel */
.cli-simulator-panel {
  padding: 24px;
  background: #09090C;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Vector FX Emblem Animation (Official Flux Logo) */
.cli-fx-emblem {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 90px;
  height: 75px;
  opacity: 0.18;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cli-fx-emblem.active {
  opacity: 0.95;
  transform: translateY(-50%) scale(1.15);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.6));
  animation: fxVectorPulse 2s ease-in-out infinite alternate;
}

@keyframes fxVectorPulse {
  0% { transform: translateY(-50%) scale(1.1); filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5)); }
  100% { transform: translateY(-50%) scale(1.22); filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.9)); }
}

.fx-vector-svg {
  width: 100%;
  height: 100%;
}

.cli-terminal-log {
  margin-bottom: 18px;
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 75%;
}

.log-line {
  margin-bottom: 4px;
}

.log-line.success {
  color: #FFFFFF;
  font-weight: 600;
}

.log-line.highlight {
  color: #E4E4E7;
}

/* Dedicated Live Download Telemetry & Loading Section */
.cli-progress-wrap {
  width: 100%;
  max-width: 600px;
  background: #0B0B0F;
  border: 1px solid var(--ac-border-bright);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 14px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.cli-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--ac-silver);
  margin-bottom: 8px;
}

.cli-progress-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.cli-progress-pct {
  color: #000000;
  background: #FFFFFF;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.cli-progress-bar {
  width: 100%;
  height: 8px;
  background: #14141A;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.cli-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #A8A8B8 0%, #FFFFFF 60%, #E8E8F0 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
  transition: width 0.1s linear;
}

.cli-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-family: var(--font-mono);
}

.cli-progress-meta span:first-child {
  color: #FFFFFF;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cli-progress-meta span:last-child {
  color: var(--ac-silver);
  font-weight: 600;
}

.cli-footer-notes {
  display: flex;
  gap: 24px;
  padding: 12px 24px;
  background: #09090B;
  border-top: 1px solid var(--ac-border);
  font-size: 0.72rem;
  color: var(--ac-dark-muted);
  flex-wrap: wrap;
}

.cli-footer-notes span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Upcoming Row */
.dl-upcoming-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.upcoming-label {
  font-size: 0.78rem;
  color: var(--ac-dark-muted);
}

.upcoming-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.up-badge {
  background: #0B0B0D;
  border: 1px solid var(--ac-border);
  color: var(--ac-muted);
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.up-badge:hover {
  color: var(--ac-white);
  border-color: var(--ac-border-bright);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ac-footer {
  padding: 80px 48px;
  max-width: 1060px;
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.f-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.f-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 0;
}

.f-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ac-white);
}

.f-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ac-muted);
  max-width: 360px;
  margin-bottom: 20px;
}

.f-copy {
  font-size: 0.75rem;
  color: var(--ac-dark-muted);
}

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

.f-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ac-white);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

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

.footer-col a:hover {
  color: var(--ac-white);
}

/* ==========================================================================
   RIGHT FIXED ARTCRAFT KINETIC SIDE PANEL (MATCHING OFFICIAL VIDEO)
   ========================================================================== */
.artcraft-side-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: var(--hud-rail-width);
  height: 100vh;
  z-index: 990;
  pointer-events: none;
  user-select: none;
}

/* Top Stack: Passed Sections (Right-Aligned, Above) */
.artcraft-top-stack {
  position: absolute;
  right: 36px;
  top: 75px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: auto;
}

/* Bottom Stack: Upcoming Sections (Right-Aligned, Below) */
.artcraft-bottom-stack {
  position: absolute;
  right: 36px;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: auto;
}

.stack-link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  text-align: right;
  transition: color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.stack-link:hover {
  color: #FFFFFF;
}

.stack-link.top-active {
  color: #FFFFFF;
}

/* Vertical Scale / Ruler on Right Edge */
.artcraft-ruler-wrap {
  position: absolute;
  right: 6px;
  top: 30px;
  bottom: 30px;
  width: 32px;
  pointer-events: none;
}

.artcraft-ruler-track {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ruler-tick {
  position: absolute;
  right: 0;
  height: 1px;
}

.tick-major {
  width: 8px;
  background: rgba(255, 255, 255, 0.4);
}

.tick-medium {
  width: 5px;
  background: rgba(255, 255, 255, 0.25);
}

.tick-minor {
  width: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.tick-num {
  position: absolute;
  right: 12px;
  top: -5px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  line-height: 1;
}

/* Sliding Blue Percentage Pill (Exact match with video: 010 %, 015 %, 022 %) */
.artcraft-ruler-pill {
  position: absolute;
  right: 14px;
  top: 0%;
  transform: translateY(-50%);
  background: #1D4ED8;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 5px;
  border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(29, 78, 216, 0.5);
  transition: top 0.08s linear;
}

/* Kinetic Letter Stage: Characters peel along curving trajectory */
.artcraft-kinetic-stage {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.kinetic-char {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  transform-origin: center center;
  will-change: transform, opacity;
  white-space: pre;
}

/* ==========================================================================
   MINIMALIST TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  background: #111113;
  border: 1px solid var(--ac-border-bright);
  color: var(--ac-white);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  animation: toastFadeIn 0.25s var(--ease-out) forwards;
}

.toast-item.hiding {
  animation: toastFadeOut 0.25s var(--ease-out) forwards;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--ac-dark-muted);
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 6px;
}

.toast-close:hover {
  color: var(--ac-white);
}

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

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1120px) {
  .artcraft-side-panel {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .reveal-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .reveal-image-wrapper {
    height: 240px;
  }
  .grid-pills-row {
    grid-template-columns: 1fr;
  }
  .telemetry-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .manifesto-cards {
    grid-template-columns: 1fr;
  }
  .dl-split-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .table-scroll-hint {
    display: block;
  }
  .cli-actions-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cli-banner-buttons {
    width: 100%;
    flex-direction: column;
  }
  .cli-main-btn {
    width: 100%;
    justify-content: center;
  }
  .cli-fx-emblem {
    opacity: 0.1;
    width: 65px;
    height: 55px;
  }
  .cli-terminal-log {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .ac-section {
    padding: 70px 18px;
  }
  .top-nav {
    padding: 0 16px;
  }
  .nav-meta {
    display: none;
  }
  .hero-headline {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }
  .hero-tagline {
    font-size: 1.25rem;
  }
  .primary-download-row {
    flex-direction: column;
  }
  .telemetry-inner {
    grid-template-columns: 1fr;
  }
  .cli-banner-buttons {
    width: 100%;
    flex-direction: column;
  }
  .cli-mode-btn {
    width: 100%;
    justify-content: center;
  }
  .cli-shell-tabs-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 16px;
  }
  .cli-shell-tabs {
    width: 100%;
  }
  .cli-shell-tab {
    flex: 1;
    justify-content: center;
  }
  .cli-shell-indicator {
    text-align: right;
  }
  .cli-command-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cli-command-strip .cli-line-content {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }
  .cli-copy-action {
    width: 100%;
    justify-content: center;
  }
}
