/* ==========================================================================
   Node-X-Logistics — Bugatti Design System Specification
   Liquid Glass UI 2.0 & Full-Viewport 3D Background Engine
   Near-Pure Black Canvas (#000000), Uppercase Letterspaced Display,
   Custom Type Trinity (Display / Serif Text / Monospace), Transparent Pill CTAs,
   Hyper-Transparent Liquid Glass Optics (Refraction, Sheen, Specular Highlights),
   Multi-Tier Corner Radius Scale & Decluttered Simulator
   ========================================================================== */

:root {
  /* Colors */
  --primary: #ffffff;
  --ink: #ffffff;
  --body: #d6d6d6;
  --body-strong: #f0f0f0;
  --muted: #a0a0a0;
  --muted-soft: #707070;
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.22);
  --canvas: #000000;
  --on-primary: #000000;
  --on-dark: #ffffff;
  --on-photo: #ffffff;
  --link: #c3d9f3;
  --warning: #e5b32a;
  --success: #5fa657;
  --critical: #ea4d4d;
  --critical-dim: rgba(234, 77, 77, 0.18);

  /* Liquid Glass 2.0 Surface Tokens (Enhanced Transparency & Refraction) */
  --glass-bg: rgba(18, 18, 22, 0.18);
  --glass-bg-strong: rgba(18, 18, 22, 0.45);   /* critical modal only — needs to stay readable */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 28px;

  /* Typography Fonts */
  --font-display: "Saira Condensed", "Bugatti Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Bugatti Text Regular", Garamond, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "Bugatti Monospace", ui-monospace, "SF Mono", monospace;

  /* Corner Radius Scale */
  --radius-none: 0px;
  --radius-xs: 5px;
  --radius-sm: 8px;
  --radius-md: 11px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-xxl: 64px;
  --space-section: 120px;

  /* Navigation Heights */
  --nav-height: 56px;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--canvas);
  color: var(--body);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   PERSISTENT FULL-VIEWPORT 3D BACKGROUND & DARK SCRIM OVERLAY
   ========================================================================== */
#siteBg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--canvas);
}

#siteBgScrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid var(--hairline);
  z-index: 2;
}

.app-main {
  position: relative;
  z-index: 1;
  background: transparent;
  padding-top: var(--nav-height);
}

.bugatti-footer, .modal-backdrop {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   REUSABLE LIQUID GLASS CORE CLASS (Light Refraction, Sheen, Specular Highlights)
   ========================================================================== */
.liquid-glass,
.stakeholder-card,
.sim-toolbar-band,
.sim-panel,
.sim-center-canvas,
.metrics-2x2-grid,
.runway-glass-card,
.feed-entry-card,
.ledger-card,
.node-inspector-strip,
.hero-spec-grid,
.step-rows-container {
  position: relative;
  overflow: hidden;               /* keeps the sheen inside the squircle corners */
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 2px 0 rgba(0, 0, 0, 0.40), 0 16px 40px 0 rgba(0, 0, 0, 0.45);
}

/* Specular Top-Sheen Overlay */
.liquid-glass::before,
.stakeholder-card::before,
.sim-toolbar-band::before,
.sim-panel::before,
.sim-center-canvas::before,
.metrics-2x2-grid::before,
.runway-glass-card::before,
.feed-entry-card::before,
.ledger-card::before,
.node-inspector-strip::before,
.hero-spec-grid::before,
.step-rows-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* ==========================================================================
   REUSABLE UTILITY CLASSES
   ========================================================================== */
.stack-xs { margin-bottom: 6px; }
.stack-sm { margin-bottom: 12px; }
.stack-md { margin-bottom: 20px; }
.stack-lg { margin-bottom: 32px; }

.divider-top {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

/* ==========================================================================
   TYPOGRAPHY (Bugatti Trinity: Display / Serif / Monospace — Weight 400 Always)
   ========================================================================== */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.display-md {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
}

.display-sm {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.title-md {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

.title-sm {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
}

.caption-uppercase {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.body-md {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--body);
}

.body-sm {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--muted);
}

.mono-text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.text-link {
  color: var(--link);
  text-decoration: underline;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.text-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

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

/* ==========================================================================
   BUTTONS (Transparent Pill Background with Specular Outline)
   ========================================================================== */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.40), 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-primary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: #ffffff;
  box-shadow: inset 0 1px 2px 0 rgba(255, 255, 255, 0.60), 0 12px 32px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.button-primary:active {
  transform: scale(0.97) translateY(0);
}

.button-primary-small {
  padding: 8px 20px;
  height: 34px;
  font-size: 11px;
  letter-spacing: 2px;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-strong);
  border-top: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.20), 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-secondary:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  transform: translateY(-1px);
}

.button-secondary-small {
  padding: 8px 20px;
  height: 34px;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.button-danger {
  border-color: var(--critical) !important;
  border-top-color: rgba(234, 77, 77, 0.8) !important;
  color: var(--critical) !important;
  box-shadow: inset 0 1px 1px 0 rgba(234, 77, 77, 0.35), 0 6px 20px rgba(234, 77, 77, 0.15);
}

.button-danger:hover {
  background: rgba(234, 77, 77, 0.15) !important;
  box-shadow: 0 0 16px rgba(234, 77, 77, 0.35) !important;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.top-nav-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.wordmark-center {
  cursor: pointer;
}

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

/* Status Badge (--radius-sm) */
.status-badge-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: var(--radius-sm);
  corner-shape: squircle;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
}

/* ==========================================================================
   HERO PHOTO BAND & SPEC CELLS
   ========================================================================== */
.hero-photo-band {
  background: transparent;
  color: var(--on-dark);
  padding: 110px 32px 90px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-inner-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.hero-lead-text {
  max-width: 780px;
  margin: 24px auto 0;
  font-size: 18px;
}

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

/* Liquid Glass Specs Grid (--radius-lg) */
.hero-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius-lg);
  corner-shape: squircle;
  margin-top: 40px;
  text-align: left;
}

.spec-cell {
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s ease;
  position: relative;
  z-index: 1;
}

.spec-cell:hover {
  background: rgba(255, 255, 255, 0.04);
}

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

.spec-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.2);
}

.spec-cell-sub {
  color: var(--muted-soft);
}

/* ==========================================================================
   SECTION BANDS & STAKEHOLDER CARDS (--radius-lg)
   ========================================================================== */
.section-band {
  padding: var(--space-section) 32px;
  max-width: 1440px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-header-wrap {
  text-align: left;
  margin-bottom: 64px;
}

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

/* Liquid Glass Stakeholder Card (--radius-lg) */
.stakeholder-card {
  border-radius: var(--radius-lg);
  corner-shape: squircle;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stakeholder-card:hover {
  border-top-color: rgba(255, 255, 255, 0.60);
  border-left-color: rgba(255, 255, 255, 0.30);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 2px 0 rgba(255, 255, 255, 0.40), 0 20px 48px rgba(0, 0, 0, 0.60);
}

.stakeholder-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.feature-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--body);
  padding-left: 16px;
  position: relative;
}

.feature-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* Step Rows Container (--radius-lg) */
.step-rows-container {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  corner-shape: squircle;
}

.step-row {
  display: grid;
  grid-template-columns: 120px 280px 1fr;
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: baseline;
  transition: background 0.2s ease;
  position: relative;
  z-index: 1;
}

.step-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.step-row:last-child {
  border-bottom: none;
}

.step-index {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--muted);
}

/* ==========================================================================
   SIMULATOR STUDIO (Liquid Glass UI 2.0)
   ========================================================================== */
.simulator-section {
  padding: 32px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Toolbar Band (--radius-md) */
.sim-toolbar-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-md);
  corner-shape: squircle;
  padding: 14px 28px;
  margin-bottom: 24px;
}

.toolbar-cluster {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   VOICE AGENT SWITCH (From Uiverse.io by Galahhad)
   ========================================================================== */
.switch {
  /* switch */
  --switch-width: 46px;
  --switch-height: 24px;
  --switch-bg: rgb(131, 131, 131);
  --switch-checked-bg: rgb(0, 218, 80);
  --switch-offset: calc((var(--switch-height) - var(--circle-diameter)) / 2);
  --switch-transition: all .2s cubic-bezier(0.27, 0.2, 0.25, 1.51);
  /* circle */
  --circle-diameter: 18px;
  --circle-bg: #fff;
  --circle-shadow: 1px 1px 2px rgba(146, 146, 146, 0.45);
  --circle-checked-shadow: -1px 1px 2px rgba(163, 163, 163, 0.45);
  --circle-transition: var(--switch-transition);
  /* icon */
  --icon-transition: all .2s cubic-bezier(0.27, 0.2, 0.25, 1.51);
  --icon-cross-color: var(--switch-bg);
  --icon-cross-size: 6px;
  --icon-checkmark-color: var(--switch-checked-bg);
  --icon-checkmark-size: 10px;
  /* effect line */
  --effect-width: calc(var(--circle-diameter) / 2);
  --effect-height: calc(var(--effect-width) / 2 - 1px);
  --effect-bg: var(--circle-bg);
  --effect-border-radius: 1px;
  --effect-transition: all .2s ease-in-out;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
}

.switch input {
  display: none;
}

.switch svg {
  -webkit-transition: var(--icon-transition);
  -o-transition: var(--icon-transition);
  transition: var(--icon-transition);
  position: absolute;
  height: auto;
}

.switch .checkmark {
  width: var(--icon-checkmark-size);
  color: var(--icon-checkmark-color);
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

.switch .cross {
  width: var(--icon-cross-size);
  color: var(--icon-cross-color);
}

.slider {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: var(--switch-width);
  height: var(--switch-height);
  background: var(--switch-bg);
  border-radius: 999px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  -webkit-transition: var(--switch-transition);
  -o-transition: var(--switch-transition);
  transition: var(--switch-transition);
  cursor: pointer;
}

.circle {
  width: var(--circle-diameter);
  height: var(--circle-diameter);
  background: var(--circle-bg);
  border-radius: inherit;
  -webkit-box-shadow: var(--circle-shadow);
  box-shadow: var(--circle-shadow);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: var(--circle-transition);
  -o-transition: var(--circle-transition);
  transition: var(--circle-transition);
  z-index: 1;
  position: absolute;
  left: var(--switch-offset);
}

.slider::before {
  content: "";
  position: absolute;
  width: var(--effect-width);
  height: var(--effect-height);
  left: calc(var(--switch-offset) + (var(--effect-width) / 2));
  background: var(--effect-bg);
  border-radius: var(--effect-border-radius);
  -webkit-transition: var(--effect-transition);
  -o-transition: var(--effect-transition);
  transition: var(--effect-transition);
}

/* actions */

.switch input:checked+.slider {
  background: var(--switch-checked-bg);
}

.switch input:checked+.slider .checkmark {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.switch input:checked+.slider .cross {
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

.switch input:checked+.slider::before {
  left: calc(100% - var(--effect-width) - (var(--effect-width) / 2) - var(--switch-offset));
}

.switch input:checked+.slider .circle {
  left: calc(100% - var(--circle-diameter) - var(--switch-offset));
  -webkit-box-shadow: var(--circle-checked-shadow);
  box-shadow: var(--circle-checked-shadow);
}

.bugatti-select {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-sm);
  corner-shape: squircle;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 8px 14px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bugatti-select:hover {
  border-top-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.09);
}

.bugatti-select:focus {
  border-color: rgba(255, 255, 255, 0.60);
}

.bugatti-select option {
  background-color: #0d0d12;
  color: #ffffff;
  padding: 8px;
}

/* 3-Column Studio Grid */
.sim-grid {
  display: grid;
  grid-template-columns: 340px 1fr 380px;
  gap: 24px;
  min-height: 720px;
}

/* Liquid Glass Sidebars (--radius-lg) */
.sim-panel {
  border-radius: var(--radius-lg);
  corner-shape: squircle;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* Minimal Monochrome Node Inspector */
.node-inspector-tray {
  max-width: 280px;
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #333333;
  border-radius: 4px;
  padding: 16px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.inspector-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
}

/* --- MINIMAL MONOCHROME DISRUPTION PRESETS (PANE 1) --- */
.preset-chip-list {
  display: flex; flex-direction: column; gap: 6px; margin-top: 8px;
}
.preset-chip {
  width: 100%; text-align: left; background: transparent; color: #a0a0a0;
  font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: 1px;
  padding: 8px 10px; border: 1px solid #222222; border-left: 2px solid #444444;
  border-radius: 2px; cursor: pointer; transition: all 0.15s ease; 
  box-shadow: none; backdrop-filter: none;
}
.preset-chip:hover {
  background: #111111; color: #ffffff; border-left-color: #ffffff;
}

/* --- MINIMAL MONOCHROME DECADE LAB CARDS (PANE 2) --- */
.crisis-cards-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.crisis-card {
  background: #0a0a0a !important; border: 1px solid #222222 !important;
  border-left: 3px solid #444444 !important; border-radius: 4px !important;
  padding: 16px !important; transition: all 0.2s ease !important;
  box-shadow: none !important; backdrop-filter: none !important;
}
.crisis-card:hover {
  background: #111111 !important; border-left-color: #ffffff !important;
}
.crisis-card * { text-shadow: none !important; }
.crisis-card h4 {
  color: #ffffff !important; font-family: var(--font-display, sans-serif); 
  font-size: 16px; letter-spacing: 1px; margin-bottom: 4px;
}
.crisis-card .sub-text {
  color: #888888 !important; font-family: var(--font-mono, monospace); font-size: 11px;
}
.crisis-card .metric-value {
  color: #ffffff !important; font-family: var(--font-mono, monospace); font-size: 12px;
}

/* Slider */
.bugatti-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
  margin: 14px 0;
}

.bugatti-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 0px; /* Sharp square per spec */
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

/* Center Graph Canvas (--radius-lg) */
.sim-center-canvas {
  border-radius: var(--radius-lg);
  corner-shape: squircle;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.graph-viewport {
  flex: 1;
  min-height: 420px;
  background: rgba(6, 6, 8, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-md);
  corner-shape: squircle;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
  margin: 16px 0 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.network-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Graph Legend Row */
.graph-legend-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 6px 0 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-factory { background-color: #ffffff; }
.dot-transit { background-color: var(--link); }
.dot-warehouse { background-color: #a0a0a0; }
.dot-delivery { background-color: #5fa657; }
.dot-bottleneck { background-color: var(--critical); }

/* ==========================================================================
   MINIMAL FLOATING TOPOLOGY & HOVER-REVEAL NODES
   ========================================================================== */

.svg-node-minimal {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}

.svg-node-minimal:hover {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.85));
}

.svg-node-minimal.selected {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 1));
}

.svg-node-minimal.bottleneck {
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.85));
}

/* Floating breathing keyframes */
@keyframes floatMinimalNode {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

.svg-node-minimal .minimal-node-halo {
  animation: pulseNodeHalo 2.6s ease-in-out infinite;
  transform-origin: 20px 20px;
  transition: all 0.25s ease;
}

@keyframes pulseNodeHalo {
  0%, 100% {
    stroke-opacity: 0.45;
    opacity: 0.65;
  }
  50% {
    stroke-opacity: 0.95;
    opacity: 1;
  }
}

.svg-node-minimal .minimal-node-core {
  transition: all 0.2s ease;
}

.svg-node-minimal:hover .minimal-node-core {
  stroke-width: 2.6;
}

.svg-node-minimal:hover .minimal-node-halo {
  stroke-opacity: 1;
}

.svg-node-minimal.selected .minimal-node-core {
  stroke-width: 2.4;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.svg-node-minimal.selected .minimal-node-halo {
  stroke-width: 1.6;
  stroke-opacity: 1;
}

#graphSvg {
  pointer-events: none;
}

#graphSvg .svg-node-minimal {
  pointer-events: auto;
}

#graphSvg .svg-edge {
  pointer-events: none;
}

/* Legacy SVG node card styles */
.node-card-bg {
  fill: rgba(16, 16, 20, 0.85);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.2;
  rx: 8;
  ry: 8;
  transition: all 0.2s ease;
}

.svg-node-group:hover .node-card-bg {
  stroke: rgba(255, 255, 255, 0.6);
  fill: rgba(24, 24, 30, 0.92);
}

.svg-node-group.bottleneck .node-card-bg {
  stroke: var(--critical);
  stroke-width: 2;
  fill: rgba(40, 15, 15, 0.85);
}

.svg-node-group.financed .node-card-bg {
  stroke: #ffffff;
  stroke-width: 1.8;
  fill: rgba(22, 22, 28, 0.90);
}

.svg-node-group.settled .node-card-bg {
  stroke: var(--muted-soft);
  stroke-width: 1.2;
}

.svg-node-group.selected .node-card-bg {
  stroke: #ffffff;
  stroke-width: 2.4;
  fill: rgba(30, 30, 38, 0.95);
}

.svg-edge {
  stroke: rgba(255, 255, 255, 0.26);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}

.svg-edge.shocked-edge,
.svg-edge.shocked {
  stroke: var(--critical);
  stroke-width: 2;
  stroke-dasharray: 4 4;
}

.flow-particle {
  fill: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.85));
}

.flow-particle.shocked-particle {
  fill: var(--critical);
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.85));
}

/* Node Inspector Strip (--radius-md) */
.node-inspector-strip {
  border-radius: var(--radius-md);
  corner-shape: squircle;
  padding: 16px 20px;
}

.inspector-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr auto;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Tabs */
.bugatti-tab-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.bugatti-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bugatti-tab-btn:hover {
  color: #ffffff;
}

.bugatti-tab-btn.active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Ledger List & Cards (--radius-md) */
.ledger-list-wrap {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.ledger-card {
  border-radius: var(--radius-md);
  corner-shape: squircle;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Shared Glass 2x2 Metrics Container with Internal Dividers */
.metrics-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-md);
  corner-shape: squircle;
}

.metric-sub-card {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative;
  z-index: 1;
}

.metric-sub-card::before {
  display: none !important;
}

.metric-sub-card:nth-child(2n) {
  border-right: none !important;
}

.metric-sub-card:nth-last-child(-n+2) {
  border-bottom: none !important;
}

.metric-sub-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #ffffff;
}

.risk-bar-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.10);
  margin-top: 6px;
}

.risk-bar-fill {
  width: 12%;
  height: 100%;
  background: #ffffff;
}

/* Runway Glass Card */
.runway-glass-card {
  border-radius: var(--radius-md);
  corner-shape: squircle;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.runway-bar-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.10);
  margin: 8px 0;
}

.runway-bar-fill {
  width: 100%;
  height: 100%;
  background: #ffffff;
}

/* Feed Entries (--radius-md) */
.refinancing-feed-list {
  max-height: 440px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.feed-entry-card {
  border-left: 3px solid #ffffff;
  border-radius: var(--radius-md);
  corner-shape: squircle;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feed-entry-card.critical {
  border-left-color: var(--critical);
}

/* --- MINIMAL COMPACT NODE POP-UP (NO FULL-SCREEN, NO COLOR) --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop.hidden {
  display: none !important;
}

.modal-bugatti-card {
  width: 100%;
  max-width: 320px; /* Compact, non-intrusive */
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.9);
}

/* Strip all color accents inside the modal */
.modal-bugatti-card * {
  text-shadow: none !important;
}

.modal-bugatti-card h3 {
  font-family: var(--font-display, sans-serif);
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 1px;
}

.modal-bugatti-card .caption-uppercase {
  font-size: 9px;
  color: #777777;
  letter-spacing: 1px;
}

.modal-bugatti-card strong,
.modal-bugatti-card span {
  color: #dddddd !important;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid #333333;
  color: #888888;
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  padding: 3px 8px;
  cursor: pointer;
}

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

.attack-modal-details {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   REACT BITS <LogoLoop /> COMPONENT & PARTNER TICKER SECTION
   ========================================================================== */
.partner-ticker-band {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  padding: 44px 0 36px;
  position: relative;
  overflow: hidden;
}

.partner-ticker-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.partner-ticker-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.partner-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.partner-ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  corner-shape: squircle;
  padding: 8px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-ticker-chip:hover {
  background: rgba(255, 255, 255, 0.10);
  border-top-color: rgba(255, 255, 255, 0.60);
  border-left-color: rgba(255, 255, 255, 0.30);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.30), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.partner-ticker-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

.partner-ticker-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.partner-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}

.partner-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

/* React Bits LogoLoop Core Styles */
.logoloop {
  position: relative;
  overflow: hidden;
  --logoloop-gap: 32px;
  --logoloop-logoHeight: 28px;
  --logoloop-fadeColorAuto: #000000;
}

.logoloop--vertical {
  height: 100%;
  display: inline-block;
}

.logoloop--scale-hover {
  padding-top: calc(var(--logoloop-logoHeight) * 0.1);
  padding-bottom: calc(var(--logoloop-logoHeight) * 0.1);
}

.logoloop__track {
  display: flex;
  width: max-content;
  will-change: transform;
  user-select: none;
  position: relative;
  z-index: 0;
}

.logoloop--vertical .logoloop__track {
  flex-direction: column;
  height: max-content;
  width: 100%;
}

.logoloop__list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.logoloop--vertical .logoloop__list {
  flex-direction: column;
}

.logoloop__item {
  flex: 0 0 auto;
  margin-right: var(--logoloop-gap);
  font-size: var(--logoloop-logoHeight);
  line-height: 1;
  list-style: none;
}

.logoloop--vertical .logoloop__item {
  margin-right: 0;
  margin-bottom: var(--logoloop-gap);
}

.logoloop__item:last-child {
  margin-right: var(--logoloop-gap);
}

.logoloop--vertical .logoloop__item:last-child {
  margin-right: 0;
  margin-bottom: var(--logoloop-gap);
}

.logoloop__node {
  display: inline-flex;
  align-items: center;
}

.logoloop__item img {
  height: var(--logoloop-logoHeight);
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logoloop--scale-hover .logoloop__item {
  overflow: visible;
}

.logoloop--scale-hover .logoloop__item:hover img,
.logoloop--scale-hover .logoloop__item:hover .logoloop__node {
  transform: scale(1.08);
  transform-origin: center center;
}

.logoloop--scale-hover .logoloop__node {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logoloop__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease;
}

.logoloop__link:hover {
  opacity: 0.9;
}

.logoloop__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.logoloop--fade::before,
.logoloop--fade::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(24px, 8%, 140px);
  pointer-events: none;
  z-index: 10;
}

.logoloop--fade::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.logoloop--fade::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .logoloop__track {
    transform: translate3d(0, 0, 0) !important;
  }

  .logoloop__item img,
  .logoloop__node {
    transition: none !important;
  }
}

/* ==========================================================================
   OUR STACK & INSPIRATION (Segmented Tab LogoLoop Section)
   ========================================================================== */
.stack-inspiration-section {
  position: relative;
  padding: 80px 32px 90px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-inspiration-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.stack-tab-segmented-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  margin: 32px auto 24px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.20), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.stack-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.stack-tab-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  border-top-color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.40), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.stack-tab-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

.stack-subheading-wrap {
  min-height: 32px;
  margin-bottom: 24px;
}

.stack-subheading {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.stack-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  padding: 12px;
  border-radius: var(--radius-squircle, 20px);
  corner-shape: squircle;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.40), 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.stack-logo-chip:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.50);
  border-top-color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 16px 36px rgba(0, 0, 0, 0.55);
}

.stack-logo-img {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
  transition: transform 0.25s ease;
}

.stack-logo-chip:hover .stack-logo-img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
}

/* Footer (Liquid Glass Dark Surface) */
.bugatti-footer {
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(1.05);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 80px 32px 48px;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

/* ==========================================================================
   ABOUT US PAGE — TECHIEMECHIE BRAND & ENGINEERING STYLES
   ========================================================================== */
.about-hero {
  position: relative;
  padding: 100px 32px 80px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.techie-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.techie-logo-svg {
  width: 76px;
  height: 76px;
  color: #ffffff;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
  transition: transform 0.4s ease;
}

.techie-logo-wrap:hover .techie-logo-svg {
  transform: scale(1.06) rotate(6deg);
}

.about-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  margin: 28px 0 36px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
}

/* Disciplines Equation Card */
.equation-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  corner-shape: squircle;
}

.equation-block {
  padding: 24px 18px;
  border-radius: var(--radius-md);
  corner-shape: squircle;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.equation-block:hover {
  background: rgba(255, 255, 255, 0.07);
  border-top-color: rgba(255, 255, 255, 0.50);
  transform: translateY(-2px);
}

.equation-symbol {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1;
}

.equation-icon {
  width: 28px;
  height: 28px;
  color: #ffffff;
  margin-bottom: 4px;
}

/* Why TechieMechie 4-Card Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  border-radius: var(--radius-lg);
  corner-shape: squircle;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover {
  border-top-color: rgba(255, 255, 255, 0.60);
  border-left-color: rgba(255, 255, 255, 0.30);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.40), 0 20px 48px rgba(0, 0, 0, 0.60);
}

/* Philosophy 4-Step Flow */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.philosophy-steps-deck {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.philosophy-step-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  corner-shape: squircle;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.25s ease;
}

.philosophy-step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.50);
  transform: translateX(4px);
}

.philosophy-step-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--muted);
  width: 64px;
  flex-shrink: 0;
}

.philosophy-step-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1;
}

.philosophy-arrow-indicator {
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 16px;
}

/* Mindset Visual Stream */
.mindset-stream-deck {
  border-radius: var(--radius-lg);
  corner-shape: squircle;
  padding: 44px 36px;
  margin-bottom: 32px;
}

.mindset-flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 40px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mindset-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  corner-shape: squircle;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.30);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  transition: all 0.2s ease;
}

.mindset-node:hover {
  background: rgba(255, 255, 255, 0.12);
  border-top-color: #ffffff;
  transform: scale(1.05);
}

.mindset-arrow {
  font-family: var(--font-mono);
  color: var(--muted-soft);
  font-size: 14px;
}

.mindset-highlight-quote {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* Mission Statement Box */
.mission-card {
  border-radius: var(--radius-lg);
  corner-shape: squircle;
  padding: 48px 40px;
}

/* LinkedIn Dedicated Card */
.linkedin-section-card {
  border-radius: var(--radius-lg);
  corner-shape: squircle;
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-top: 1px solid #ffffff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.50), 0 12px 32px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.linkedin-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.10) 100%);
  border-color: #ffffff;
  box-shadow: inset 0 1px 2px #ffffff, 0 16px 40px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.linkedin-icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Final CTA Band */
.final-about-cta {
  padding: 80px 32px 100px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 1200px) {
  .sim-grid {
    grid-template-columns: 300px 1fr 320px;
  }
  .stakeholder-grid {
    grid-template-columns: 1fr;
  }
  .hero-spec-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sim-grid {
    grid-template-columns: 1fr;
  }
  .nav-left-cluster, .nav-right-cluster {
    display: none;
  }
  .step-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .equation-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .equation-symbol {
    text-align: center;
    font-size: 24px;
  }
  .mindset-flow-row {
    flex-direction: column;
    align-items: stretch;
  }
  .mindset-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   LOGISTICS PATHWAY OPTIMIZER & SHIPPING METHOD ANALYZER (BUGATTI LUXURY GLASS)
   ========================================================================== */
.pathway-optimizer-deck {
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

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

.pathway-deck-title-group h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffffff;
  margin-top: 4px;
}

.pathway-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.pathway-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pathway-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.pathway-card.active {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pathway-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.pathway-tag-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  font-weight: 500;
}

.badge-optimum {
  background: rgba(95, 166, 87, 0.2);
  color: #5fa657;
  border: 1px solid rgba(95, 166, 87, 0.4);
}

.badge-speed {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.4);
}

.badge-cost {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.badge-balanced {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pathway-title {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #ffffff;
  margin-top: 4px;
}

.pathway-specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
}

.pathway-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.pathway-spec-label {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 11px;
}

.pathway-spec-val {
  font-family: var(--font-mono);
  color: #ffffff;
  font-weight: 500;
}

.pathway-cost-total-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pathway-total-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted-soft);
}

.pathway-total-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.pathway-select-btn {
  width: 100%;
  margin-top: 14px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pathway-card.active .pathway-select-btn {
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  border-color: #ffffff;
}

.pathway-card:not(.active):hover .pathway-select-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Customizer & Verdict Analysis Deck */
.pathway-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
}

@media (max-width: 900px) {
  .pathway-details-grid {
    grid-template-columns: 1fr;
  }
}

.pathway-customizer-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pathway-verdict-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.verdict-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.verdict-explanation-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 16px;
}

.verdict-tradeoff-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 11.5px;
}

.verdict-tradeoff-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--hairline);
}

.verdict-tradeoff-table td {
  font-family: var(--font-mono);
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   MINIMALIST STUDIO SEGMENTED NAVIGATION & CRISIS / AI SUITES
   ========================================================================== */
.studio-tab-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.studio-tab-bar::-webkit-scrollbar {
  display: none;
}

.studio-tab-btn {
  flex: 1;
  min-width: 180px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

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

.studio-tab-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  font-weight: 600;
}

.studio-pane {
  display: none;
  animation: fadeInPane 0.25s ease forwards;
}

.studio-pane.active {
  display: block;
}

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

/* DECADE CRISIS LAB STYLES */
.crisis-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.crisis-card {
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.crisis-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.crisis-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.crisis-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin-top: 3px;
}

.crisis-severity-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  text-transform: uppercase;
  white-space: nowrap;
}

.crisis-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}

@media (max-width: 600px) {
  .crisis-impact-grid {
    grid-template-columns: 1fr;
  }
}

.impact-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: var(--body);
}

.impact-list li strong {
  font-family: var(--font-mono);
  color: #ffffff;
  font-weight: 500;
}

.crisis-optimal-box {
  background: rgba(95, 166, 87, 0.06);
  border: 1px solid rgba(95, 166, 87, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.optimal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.optimal-route-name {
  font-family: var(--font-headline);
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
  margin-top: 4px;
}

.optimal-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

/* OPEN-SOURCE AI ADVISOR STYLES */
.ai-advisor-container {
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.ai-query-box {
  display: flex;
  gap: 12px;
  margin: 16px 0 12px;
}

@media (max-width: 700px) {
  .ai-query-box {
    flex-direction: column;
  }
}

.ai-input-field {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.ai-input-field:focus {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}

.ai-suggestion-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ai-pill-btn {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.ai-thinking-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 12px #60a5fa;
  animation: pulseAi 1.2s infinite ease-in-out;
}

@keyframes pulseAi {
  0%, 100% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.ai-result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 24px;
}

.ai-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.ai-metric-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.ai-pill-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-pill-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}

.ai-secondary-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 11.5px;
}


