/* ═══════════════════════════════════════════════════════════
   CarbonSight — Premium UI v3
   ═══════════════════════════════════════════════════════════ */

[hidden] {
  display: none !important;
}

:root {
  --bg: #060c10;
  --panel: rgba(11, 21, 30, 0.9);
  --border: rgba(255, 255, 255, 0.07);
  --border-hi: rgba(255, 255, 255, 0.13);
  --text: #ddeae4;
  --text-2: #7a9e94;
  --text-3: #415c56;
  --accent: #34d399;
  --accent-dim: rgba(52, 211, 153, 0.13);
  --accent-glow: rgba(52, 211, 153, 0.22);
  --alive: #34d399;
  --alive-dim: rgba(52, 211, 153, 0.11);
  --dead: #fb7185;
  --dead-dim: rgba(251, 113, 133, 0.11);
  --gap: #fbbf24;
  --gap-dim: rgba(251, 191, 36, 0.11);
  --carbon: #818cf8;
  --carbon-dim: rgba(129, 140, 248, 0.11);
  --sidebar: 288px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 5px;
  --blur: 18px;
  --shadow-sm: 0 6px 24px rgba(0, 0, 0, 0.32);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

input,
select,
button {
  font-family: inherit;
}

img,
video {
  max-width: 100%;
  display: block;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(52, 211, 153, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(129, 140, 248, 0.08) 0%, transparent 60%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 50%);
  z-index: 0;
}

/* ─── App Shell ──────────────────────────────────────────── */
.app-shell {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ─── MAIN AREA ──────────────────────────────────────────── */
.main-area {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.07) transparent;
  position: relative;
}

.main-area::-webkit-scrollbar {
  width: 5px;
}

.main-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

/* ─── LANDING ────────────────────────────────────────────── */
.landing {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 48px 52px;
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.01) 0%, transparent 100%);
}


/* ─── HERO BAND ──────────────────────────────────────────── */
.hero-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 52px 52px 44px;
  background:
    radial-gradient(ellipse 80% 100% at 0% 100%, rgba(52, 211, 153, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(52, 211, 153, 0.03) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.hero-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.3), transparent);
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-ring 2.4s ease-out infinite;
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--text);
  background: linear-gradient(135deg, #fff 0%, rgba(52, 211, 153, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 420px;
}

.hero-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-2);
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  width: fit-content;
}

.hero-badge-pill svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

/* Hero stat grid */
.hero-right {
  display: flex;
  align-items: center;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.hsg-card {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  animation: float-card 7s ease-in-out infinite;
}

.hsg-card:nth-child(2) {
  animation-delay: 1.8s;
}

.hsg-card:nth-child(3) {
  animation-delay: 0.9s;
}

.hsg-card:nth-child(4) {
  animation-delay: 2.7s;
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.hsg-card-alive {
  border-left: 3px solid rgba(52, 211, 153, 0.45);
}

.hsg-card-dead {
  border-left: 3px solid rgba(251, 113, 133, 0.45);
}

.hsg-card-gap {
  border-left: 3px solid rgba(251, 191, 36, 0.45);
}

.hsg-card-co2 {
  border-left: 3px solid rgba(129, 140, 248, 0.45);
}

.hsg-label {
  font-size: 10.5px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hsg-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  font-family: "JetBrains Mono", monospace;
}

.hsg-dead {
  color: var(--dead);
}

.hsg-gap {
  color: var(--gap);
}

.hsg-carbon {
  color: var(--carbon);
}

.hsg-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
}

.hsg-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--alive), #86efac);
  border-radius: 2px;
}

.hsg-sub {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

/* ─── UPLOAD ZONE ────────────────────────────────────────── */
.landing-upload-zone {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 48px;
  border-top: none;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.landing-upload-zone:hover {
  background: rgba(52, 211, 153, 0.04);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.15);
}

.landing-upload-zone.drag-active {
  background: rgba(52, 211, 153, 0.07);
  box-shadow: inset 0 0 0 2px rgba(52, 211, 153, 0.4);
}

.landing-upload-zone.has-file {
  background: rgba(52, 211, 153, 0.05);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.25);
}

.luz-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid rgba(52, 211, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: box-shadow 0.2s;
}

.landing-upload-zone:hover .luz-icon {
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.25);
}

.luz-icon svg {
  width: 28px;
  height: 28px;
}

.luz-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.luz-body strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
}

.luz-body span {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}

.luz-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.luz-btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #051a10;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(52, 211, 153, 0.28);
  transition: box-shadow 0.15s, transform 0.15s;
}

.landing-upload-zone:hover .luz-btn {
  box-shadow: 0 10px 28px rgba(52, 211, 153, 0.38);
  transform: translateY(-1px);
}

.luz-hint {
  font-size: 11px;
  color: var(--text-3);
  text-align: right;
}

/* ─── FEATURES STRIP ─────────────────────────────────────── */
.landing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 20px;
  gap: 4px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
}

.lf-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}

.lf-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
}

.lf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lf-dot-alive {
  background: var(--alive);
}

.lf-dot-carbon {
  background: var(--carbon);
}

.lf-dot-export {
  background: var(--gap);
}

.lf-dot-map {
  background: var(--dead);
}

/* ─── WORKSPACE ──────────────────────────────────────────── */
.workspace {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
}

.ws-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Workspace upload button */
.ws-upload-area {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.ws-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.ws-upload-btn:hover {
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--accent);
  background: var(--accent-dim);
}

.ws-upload-btn svg {
  width: 14px;
  height: 14px;
}

.ws-upload-hint {
  font-size: 11px;
  color: var(--text-3);
}

/* ─── PANEL BASE ─────────────────────────────────────────── */
.panel {
  background: var(--panel);
  backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}

.panel:hover {
  border-color: var(--border-hi);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.02) 0%, transparent 100%);
}

.panel-title-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.panel-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

.panel-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ─── TOOLBAR ────────────────────────────────────────────── */
.toolbar {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 3px;
}

.tbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 26px;
  border: none;
  background: transparent;
  color: var(--text-2);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.tbtn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.tbtn svg {
  width: 13px;
  height: 13px;
}

.tbtn-text {
  width: auto;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 500;
}

.tbtn-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  margin: 0 2px;
}

.zoom-label {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  min-width: 34px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
}

/* ─── PREVIEW PANEL ──────────────────────────────────────── */
.preview-panel {
  display: flex;
  flex-direction: column;
}

.preview-viewport {
  position: relative;
  flex: 1;
  min-height: 280px;
  background: #040a0e;
  overflow: hidden;
}

.preview-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: top left;
  transition: transform 0.2s var(--ease);
}

.preview-canvas video,
.preview-canvas img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.detection-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.detection-overlay .overlay-hitbox {
  position: absolute;
  border-radius: 3px;
  cursor: pointer;
  pointer-events: all;
  background: transparent;
  border: none;
  transition: box-shadow 0.15s, background 0.15s;
}


.detection-overlay .overlay-hitbox.gap {
  outline: 2px dashed rgba(251, 191, 36, 0.7);
}

.detection-overlay .overlay-hitbox:hover,
.detection-overlay .overlay-hitbox.active {
  background: rgba(255, 255, 255, 0.08);
}

.detection-overlay .overlay-hitbox.alive:hover,
.detection-overlay .overlay-hitbox.alive.active {
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
  outline-color: var(--alive);
}

.detection-overlay .overlay-hitbox.dead:hover,
.detection-overlay .overlay-hitbox.dead.active {
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.25);
  outline-color: var(--dead);
}

.detection-overlay .overlay-hitbox.gap:hover,
.detection-overlay .overlay-hitbox.gap.active {
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25);
  outline-color: var(--gap);
}

.cinematic-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 16, 0.72);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.cinematic-overlay:hover {
  background: rgba(6, 12, 16, 0.6);
}

.cinematic-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.cinematic-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #051a10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(52, 211, 153, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cinematic-overlay:hover .cinematic-play-btn {
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(52, 211, 153, 0.5);
}

.cinematic-play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.cinematic-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.cinematic-copy span {
  font-size: 12px;
  color: var(--text-2);
}

.preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 16, 22, 0.5);
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.placeholder-inner svg {
  width: 48px;
  height: 48px;
  color: var(--text-3);
  opacity: 0.35;
}

.placeholder-inner strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.placeholder-inner span {
  font-size: 12px;
  color: var(--text-3);
}

.preview-controls-bar {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.filter-chip:hover {
  border-color: var(--border-hi);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.filter-chip.active {
  background: var(--accent-dim);
  border-color: rgba(52, 211, 153, 0.25);
  color: var(--accent);
}

.fdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fdot-alive {
  background: var(--alive);
}

.fdot-dead {
  background: var(--dead);
}

.fdot-gap {
  background: var(--gap);
}

.legend-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
}

.legend-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-alive {
  color: var(--alive);
  background: var(--alive-dim);
}

.legend-alive::before {
  background: var(--alive);
}

.legend-dead {
  color: var(--dead);
  background: var(--dead-dim);
}

.legend-dead::before {
  background: var(--dead);
}

.legend-gap {
  color: var(--gap);
  background: var(--gap-dim);
}

.legend-gap::before {
  background: var(--gap);
}

.preview-note {
  margin: 0;
  padding: 8px 14px;
  font-size: 11px;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  line-height: 1.4;
}

.inspector {
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.inspector strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.inspector p {
  margin: 0;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ─── PROCESSING PANEL ───────────────────────────────────── */
.processing-panel {
  display: flex;
  flex-direction: column;
}

.progress-block {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progress-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #86efac);
  border-radius: 2px;
  transition: width 0.6s var(--ease);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.progress-text {
  font-size: 12px;
  color: var(--text-2);
  flex: 1;
  line-height: 1.4;
}

.progress-pct {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  flex-shrink: 0;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 26px;
  bottom: -9px;
  width: 1px;
  background: var(--border);
}

.tl-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  margin-top: 3px;
  transition: all 0.25s var(--ease);
  position: relative;
  z-index: 1;
}

.tl-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tl-body strong {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-3);
  transition: color 0.25s;
}

.tl-body span {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.4;
  transition: color 0.25s;
}

.timeline-item.active .tl-dot {
  background: var(--accent);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
  animation: pulse-ring 2s ease-out infinite;
}

.timeline-item.active .tl-body strong {
  color: var(--text);
}

.timeline-item.active .tl-body span {
  color: var(--text-2);
}

.timeline-item.done .tl-dot {
  background: rgba(52, 211, 153, 0.2);
  border-color: rgba(52, 211, 153, 0.35);
}

.timeline-item.done::after {
  background: rgba(52, 211, 153, 0.2);
}

.timeline-item.done .tl-body strong {
  color: var(--text-2);
}

/* ─── RESULTS ────────────────────────────────────────────── */
.results-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-hi);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--border-hi);
}

.mc-base {
  border-left-color: rgba(255, 255, 255, 0.15);
}

.mc-alive {
  border-left-color: rgba(52, 211, 153, 0.45);
}

.mc-dead {
  border-left-color: rgba(251, 113, 133, 0.45);
}

.mc-gap {
  border-left-color: rgba(251, 191, 36, 0.45);
}

.mc-rate {
  border-left-color: rgba(52, 211, 153, 0.6);
}

.mc-carbon {
  border-left-color: rgba(129, 140, 248, 0.45);
}

.mc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
}

.mc-icon svg {
  width: 16px;
  height: 16px;
}

.mc-alive .mc-icon {
  background: var(--alive-dim);
  color: var(--alive);
}

.mc-dead .mc-icon {
  background: var(--dead-dim);
  color: var(--dead);
}

.mc-gap .mc-icon {
  background: var(--gap-dim);
  color: var(--gap);
}

.mc-rate .mc-icon {
  background: var(--alive-dim);
  color: var(--alive);
}

.mc-carbon .mc-icon {
  background: var(--carbon-dim);
  color: var(--carbon);
}

.mc-label {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mc-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
}

.mc-alive .mc-value {
  color: var(--alive);
}

.mc-dead .mc-value {
  color: var(--dead);
}

.mc-gap .mc-value {
  color: var(--gap);
}

.mc-carbon .mc-value {
  color: var(--carbon);
}

.summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 16px;
  align-items: stretch;
}

.summary-panel {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.summary-panel .panel-hd {
  padding: 16px 18px 14px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.02) 0%, transparent 100%);
}

.dist-wrap {
  padding: 16px 18px 18px;
  flex: 1;
}

.dist-track {
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  display: flex;
  margin-bottom: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stack-bar-fill {
  height: 100%;
  transition: width 0.7s var(--ease);
}

.alive-fill {
  background: var(--alive);
}

.dead-fill {
  background: var(--dead);
}

.gap-fill {
  background: var(--gap);
}

.dist-legend {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.factor-panel {
  padding: 0;
}

.factor-panel .panel-hd {
  padding: 13px 15px 11px;
}

.factor-grid {
  padding: 9px 15px 13px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.factor-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.factor-item span {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.factor-item strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
}

.insight-panel {
  padding: 0;
}

.insight-panel .panel-hd {
  padding: 13px 15px 11px;
  flex-wrap: nowrap;
}

.export-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.export-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.export-btn:hover:not(:disabled) {
  border-color: var(--border-hi);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.export-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.export-btn-primary {
  background: var(--accent-dim);
  border-color: rgba(52, 211, 153, 0.25);
  color: var(--accent);
}

.export-btn-primary:hover:not(:disabled) {
  background: rgba(52, 211, 153, 0.2);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.2);
}

.export-btn svg {
  width: 13px;
  height: 13px;
}

.insight-text {
  margin: 0;
  padding: 0 15px 11px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

.report-status-text {
  margin: 0;
  padding: 9px 15px;
  font-size: 12px;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

.detection-panel {
  padding: 0;
}

.detection-panel .panel-hd {
  padding: 13px 18px 11px;
}

.detection-list {
  padding: 11px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.detection-empty {
  grid-column: 1 / -1;
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

.detection-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-hi);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.detection-item:hover,
.detection-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hi);
}

.detection-item.alive {
  border-left-color: rgba(52, 211, 153, 0.45);
}

.detection-item.alive:hover,
.detection-item.alive.active {
  background: var(--alive-dim);
}

.detection-item.dead {
  border-left-color: rgba(251, 113, 133, 0.45);
}

.detection-item.dead:hover,
.detection-item.dead.active {
  background: var(--dead-dim);
}

.detection-item.gap {
  border-left-color: rgba(251, 191, 36, 0.45);
}

.detection-item.gap:hover,
.detection-item.gap.active {
  background: var(--gap-dim);
}

.detection-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detection-rank {
  font-size: 10px;
  color: var(--text-3);
  font-family: "JetBrains Mono", monospace;
}

.confidence-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-2);
  font-family: "JetBrains Mono", monospace;
}

.detection-item.alive .confidence-badge {
  background: var(--alive-dim);
  color: var(--alive);
}

.detection-item.dead .confidence-badge {
  background: var(--dead-dim);
  color: var(--dead);
}

.detection-item.gap .confidence-badge {
  background: var(--gap-dim);
  color: var(--gap);
}

.detection-item>strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.detection-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detection-meta span {
  font-size: 10px;
  color: var(--text-3);
  font-family: "JetBrains Mono", monospace;
  line-height: 1.4;
}

.heatmap-section {
  padding: 0;
}

.heatmap-section .panel-hd {
  padding: 13px 18px 11px;
}

.heatmap-zone-legend {
  display: flex;
  gap: 7px;
  align-items: center;
}

.zone {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
}

.zone-good {
  background: rgba(52, 211, 153, 0.1);
  color: var(--alive);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.zone-watch {
  background: rgba(251, 191, 36, 0.1);
  color: var(--gap);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.zone-risk {
  background: rgba(251, 113, 133, 0.1);
  color: var(--dead);
  border: 1px solid rgba(251, 113, 133, 0.2);
}

.heatmap-grid {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 9px;
}

.heatmap-placeholder {
  grid-column: 1 / -1;
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

.heatmap-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  transition: transform 0.15s;
}

.heatmap-cell:hover {
  transform: translateY(-1px);
}

.heatmap-cell.iyi {
  border-left-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.03);
}

.heatmap-cell.izleme {
  border-left-color: rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.03);
}

.heatmap-cell.risk {
  border-left-color: rgba(251, 113, 133, 0.5);
  background: rgba(251, 113, 133, 0.03);
}

.heatmap-cell strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.heatmap-cell span {
  font-size: 11px;
  color: var(--text-3);
  font-family: "JetBrains Mono", monospace;
}

.preview-viewport:fullscreen {
  background: #040810;
}

.preview-viewport:fullscreen .preview-canvas {
  height: 100vh;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.16);
}


/* ─── BUTTON & CONTROL STYLES ───────────────────────────── */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), rgba(52, 211, 153, 0.8));
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(52, 211, 153, 0.5);
  transition: all 0.2s var(--ease);
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.2);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(52, 211, 153, 0.35);
  background: linear-gradient(135deg, rgba(52, 211, 153, 1), rgba(52, 211, 153, 0.9));
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(52, 211, 153, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-hi);
  transition: all 0.2s var(--ease);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-secondary:active:not(:disabled) {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}

.btn-youtube:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hi);
}

.cancel-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s var(--ease);
}

.cancel-link:hover {
  color: var(--accent);
  background: rgba(52, 211, 153, 0.08);
}

/* ─── PIPELINE STYLES ───────────────────────────── */
.horizontal-pipeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: 32px 0;
  padding: 0 16px;
}

.pipe-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.pipe-node .p-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.pipe-node.active .p-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.4);
}

.pipe-node span {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  text-align: center;
  max-width: 80px;
  line-height: 1.2;
}

/* ─── FORM SECTIONS ───────────────────────────── */
.setup-col,
.process-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.project-setup-card,
.upload-card,
.processing-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.setup-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.setup-form-grid .field:last-child {
  grid-column: 1 / -1;
}

/* ─── INPUT OR DIVIDER ──────────────────────────────────── */
.input-or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 2px;
}
.input-or-divider::before,
.input-or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.input-or-divider span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

/* ─── YOUTUBE ROW ────────────────────────────────────────── */
.yt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.yt-row:focus-within {
  border-color: rgba(52,211,153,0.35);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.08);
}
.yt-icon-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.yt-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font);
  min-width: 0;
}
.yt-input::placeholder { color: var(--text-3); }
.yt-btn {
  flex-shrink: 0;
  padding: 6px 16px;
  background: var(--accent);
  color: #022c22;
  font-size: 12px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
  font-family: var(--font);
}
.yt-btn:hover {
  box-shadow: 0 6px 18px rgba(52,211,153,0.35);
  transform: translateY(-1px);
}
.yt-btn:active { transform: translateY(0); }

/* ─── PROC ACTIONS ───────────────────────────── */
.proc-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
}

.proc-actions .cancel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
}
.proc-actions .cancel-link svg {
  opacity: 0.7;
  flex-shrink: 0;
}

/* ─── PREVIEW SECTION LAYOUT ───────────────────────────── */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.preview-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-column h4 {
  text-align: center;
  margin: 0;
  font-size: 14px;
  color: var(--text-3);
  font-weight: 600;
}

.preview-column h4.ai-title {
  color: var(--accent);
  font-weight: 700;
}

/* ─── FORM & FIELDS RESTORE ───────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.9;
}

.field input,
.field select {
  width: 100%;
  padding: 9px 11px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  line-height: 1.4;
}

.field input::placeholder {
  color: var(--text-3);
  opacity: 0.6;
}

.field input:focus,
.field select:focus {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.05);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2334d399' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 10px;
  padding-right: 26px;
  cursor: pointer;
  color-scheme: dark;
}

.field select option {
  background: #1e293b;
  color: #e2e8f0;
}

/* ─── STATUS BADGE RESTORE ───────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.status-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-badge.idle {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
}

.status-badge.idle::before {
  background: var(--text-3);
}

.status-badge.running {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.status-badge.running::before {
  background: #fbbf24;
  animation: pulse-ring 1.4s ease-out infinite;
}

.status-badge.done {
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent);
}

.status-badge.done::before {
  background: var(--accent);
}

.file-status {
  font-size: 12px;
  color: var(--text-2);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner {
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
}

.banner-info {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
}

.banner-error {
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.22);
  color: var(--dead);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}



/* ─── RESPONSIVE DESIGN ───────────────────────────────────── */
@media (max-width: 1200px) {
  .hero-band {
    padding: 40px 32px 32px;
    gap: 32px;
  }

  .landing {
    padding: 40px 32px;
    gap: 20px;
  }

  .report-section {
    padding: 36px 32px;
  }

  .project-setup-bar {
    padding: 16px 32px !important;
  }

  .ws-top {
    grid-template-columns: 1fr;
  }

  .summary-row {
    grid-template-columns: 1fr 1fr;
  }

  .summary-panel {
    grid-column: 1 / -1;
  }

  .setup-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-band {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
  }

  .hero-title {
    font-size: clamp(24px, 5vw, 32px);
  }

  .hero-stat-grid {
    gap: 8px;
  }

  .landing-upload-zone {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 16px;
  }

  .luz-actions {
    align-items: center;
    width: 100%;
  }

  .landing-features {
    padding: 14px 24px;
    justify-content: center;
    gap: 12px;
  }

  .lf-sep {
    display: none;
  }

  .project-setup-bar {
    padding: 16px 24px !important;
  }

  .psb-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px;
  }

  .inline-project-form {
    gap: 12px !important;
  }

  .field {
    min-width: 100% !important;
    width: 100% !important;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-row {
    grid-template-columns: 1fr;
  }

  .detection-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-band {
    padding: 24px 16px;
  }

  .hero-top-brand {
    gap: 10px !important;
  }

  .hero-logo {
    width: 36px !important;
  }

  .hero-brand-name {
    font-size: 20px !important;
  }

  .project-setup-bar {
    padding: 16px !important;
  }

  .workspace {
    padding: 16px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .detection-list {
    grid-template-columns: 1fr;
  }

  .heatmap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .preview-viewport {
    min-height: 220px;
  }

  .panel-hd {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .toolbar {
    align-self: flex-end;
  }
}


/* --- WEB UI INTERACTIVE HITBOXES --- */
.detection-overlay .overlay-hitbox {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.detection-overlay .overlay-hitbox:hover {
  background: rgba(255, 255, 255, 0.05);
}

.detection-overlay .overlay-hitbox.active {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.detection-overlay .overlay-hitbox.alive:hover {
  outline: 1.5px solid rgba(52, 211, 153, 0.8);
  background: rgba(52, 211, 153, 0.1);
}

.detection-overlay .overlay-hitbox.alive.active {
  outline: 2px solid rgba(52, 211, 153, 1);
  background: rgba(52, 211, 153, 0.25);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.detection-overlay .overlay-hitbox.dead:hover {
  outline: 1.5px solid rgba(251, 113, 133, 0.8);
  background: rgba(251, 113, 133, 0.1);
}

.detection-overlay .overlay-hitbox.dead.active {
  outline: 2px solid rgba(251, 113, 133, 1);
  background: rgba(251, 113, 133, 0.25);
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.4);
}

.detection-overlay .overlay-hitbox.gap:hover {
  outline: 1.5px solid rgba(251, 191, 36, 0.8);
  background: rgba(251, 191, 36, 0.1);
}

.detection-overlay .overlay-hitbox.gap.active {
  outline: 2px solid rgba(251, 191, 36, 1);
  background: rgba(251, 191, 36, 0.25);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}


/* --- REPORT SECTIONS --- */
.report-section {
  padding: 40px 52px;
  margin-top: 0;
  border-top: 1px solid var(--border-hi);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, transparent 100%);
}

.report-section:nth-child(odd) {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.01) 0%, transparent 100%);
}

.report-sec-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.03em;
  text-transform: capitalize;
}

.report-sec-title::before {
  content: attr(data-index);
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  opacity: 0.7;
}

.report-sec-desc {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  max-width: 700px;
  line-height: 1.6;
}

.workspace {
  gap: 0;
  /* overrides previous 24px gap */
}

/* Ensure processing panel is full width since it's no longer flex-row with preview */
#processingPanel {
  width: 100%;
  margin-top: 24px;
}

/* ─── GLASS PANEL ────────────────────────────────────────── */
.glass-panel {
  background: rgba(11, 21, 30, 0.75);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.25), transparent);
  pointer-events: none;
}

/* ─── SETUP CARD HEADER ──────────────────────────────────── */
.setup-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.setup-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  display: block;
  margin-bottom: 4px;
}

.setup-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-end;
}

/* ─── LIVE INDICATOR ─────────────────────────────────────── */
.live-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.live-pulse {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  animation: live-blink 2s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(52, 211, 153, 0.6); }
  50%       { opacity: 0.4; box-shadow: 0 0 4px rgba(52, 211, 153, 0.2); }
}

/* ─── YOUTUBE ROW ────────────────────────────────────────── */
.youtube-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.youtube-row input {
  flex: 1;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  min-width: 0;
}

.youtube-row input::placeholder {
  color: var(--text-3);
}

.youtube-row input:focus {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.08);
  background: rgba(52, 211, 153, 0.04);
}

/* ─── HERO ILLUS ─────────────────────────────────────────── */
.hero-illus {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: var(--radius);
  opacity: 0.88;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 32px rgba(52, 211, 153, 0.12));
}

/* ─── FIELD SPAN-2 ───────────────────────────────────────── */
.field-2 {
  grid-column: 1 / -1;
}


/* ─── METRIC CARD COLORED HOVER GLOW ─────────────────────── */
.mc-alive:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(52, 211, 153, 0.25), 0 4px 20px rgba(52, 211, 153, 0.12);
}
.mc-dead:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(251, 113, 133, 0.25), 0 4px 20px rgba(251, 113, 133, 0.12);
}
.mc-gap:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(251, 191, 36, 0.25), 0 4px 20px rgba(251, 191, 36, 0.12);
}
.mc-carbon:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(129, 140, 248, 0.25), 0 4px 20px rgba(129, 140, 248, 0.12);
}

/* ─── PIPELINE CONNECTOR LINE ────────────────────────────── */
.horizontal-pipeline::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 48px;
  right: 48px;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(52, 211, 153, 0.2),
    rgba(52, 211, 153, 0.08) 50%,
    rgba(52, 211, 153, 0.2)
  );
  z-index: 0;
}

/* ─── ACCENT GLOW ON ACTIVE PIPE NODE ────────────────────── */
.pipe-node.done .p-dot {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.4);
}

.pipe-node.done span {
  color: var(--accent);
  opacity: 0.75;
}

/* ─── REPORT SECTION TITLE NUMBERING ─────────────────────── */
.report-section:nth-child(1) .report-sec-title::before { content: "01"; }
.report-section:nth-child(2) .report-sec-title::before { content: "02"; }
.report-section:nth-child(3) .report-sec-title::before { content: "03"; }
.report-section:nth-child(4) .report-sec-title::before { content: "04"; }
.report-section:nth-child(5) .report-sec-title::before { content: "05"; }

/* ─── PROGRESS TRACK TALLER ──────────────────────────────── */
.progress-track {
  height: 6px !important;
}

.progress-fill {
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.5) !important;
}

/* ─── HSG CARD GLOW ON HOVER ─────────────────────────────── */
.hsg-card-alive:hover  { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(52,211,153,0.1); }
.hsg-card-dead:hover   { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(251,113,133,0.1); }
.hsg-card-gap:hover    { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(251,191,36,0.1); }
.hsg-card-co2:hover    { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(129,140,248,0.1); }

/* ─── CHART CANVAS PLACEHOLDER ───────────────────────────── */
canvas:not([data-rendered]) {
  position: relative;
  border-radius: var(--radius-sm);
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 40px
  ),
  repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 40px
  );
  min-height: 160px;
}

/* ─── SECTION DIVIDER ACCENT ─────────────────────────────── */
.report-section + .report-section {
  border-top: 1px solid var(--border);
}

/* ─── INSIGHT PANEL PADDING ──────────────────────────────── */
.insight-text {
  padding: 14px 18px !important;
}

/* ─── VALIDATION MODE TOGGLE ─────────────────────────────── */
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════
   UNIFIED SPACING SYSTEM — consistent puntolar throughout UI
   ══════════════════════════════════════════════════════════════ */

/* Global spacing scale */
:root {
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 20px;
  --sp-xl: 24px;
  --sp-2xl: 32px;
  --sp-3xl: 40px;
  --sp-4xl: 56px;
  --sp-5xl: 64px;
}

/* HERO SECTION */
.hero-band {
  padding: 64px 56px 56px !important;
  gap: 48px !important;
}

.hero-left {
  gap: 20px !important;
}

/* LANDING SECTION */
.landing {
  padding: 56px 56px !important;
  gap: 32px !important;
}

/* UPLOAD ZONE */
.landing-upload-zone {
  padding: 32px 40px !important;
  gap: 24px !important;
}

/* FEATURES STRIP */
.landing-features {
  padding: 16px 20px !important;
  gap: 8px 0 !important;
}

.lf-item {
  padding: 8px 16px !important;
}

/* GLASS PANELS & CARDS */
.project-setup-card,
.upload-card,
.processing-card {
  padding: 28px !important;
  gap: 20px !important;
}

/* SETUP CARD HEADER */
.setup-card-header {
  padding-bottom: 16px !important;
  margin-bottom: 8px !important;
}

/* FORM GRID */
.setup-form-grid {
  gap: 16px !important;
}

/* FORM FIELDS */
.field {
  gap: 8px !important;
}

.field input,
.field select {
  padding: 11px 14px !important;
  font-size: 13.5px !important;
}

/* PANEL HEADERS */
.panel-hd {
  padding: 20px 24px 16px !important;
}

/* YOUTUBE ROW */
.youtube-row {
  padding: 16px 20px !important;
}

.youtube-row input {
  padding: 11px 14px !important;
}

/* METRIC CARDS */
.metrics-grid {
  gap: 20px !important;
}

.metric-card {
  padding: 20px 20px 16px !important;
  gap: 12px !important;
}

.mc-value {
  font-size: 28px !important;
}

.mc-icon {
  width: 36px !important;
  height: 36px !important;
}

/* HERO STAT CARDS */
.hsg-card {
  padding: 20px 20px 16px !important;
  gap: 8px !important;
}

.hsg-value {
  font-size: 26px !important;
}

/* SUMMARY & FACTORS */
.summary-row {
  gap: 20px !important;
}

.dist-wrap {
  padding: 20px 20px 16px !important;
}

.factor-grid {
  padding: 16px 16px 12px !important;
  gap: 12px !important;
}

.factor-item {
  padding: 12px 12px !important;
  gap: 8px !important;
}

/* REPORT SECTIONS */
.report-section {
  padding: 56px 56px !important;
  gap: 32px !important;
}

.report-sec-title {
  font-size: 28px !important;
}

/* DETECTION LIST */
.detection-list {
  padding: 16px 16px !important;
  gap: 12px !important;
}

.detection-item {
  padding: 12px 12px !important;
  gap: 8px !important;
}

/* HEATMAP */
.heatmap-grid {
  padding: 20px 20px !important;
  gap: 12px !important;
}

.heatmap-cell {
  padding: 12px 12px !important;
}

/* TIMELINE */
.timeline {
  padding: 16px 16px !important;
}

.timeline-item {
  padding: 12px 0 !important;
  gap: 12px !important;
}

/* PIPELINE */
.horizontal-pipeline {
  margin: 32px 0 !important;
  padding: 0 16px !important;
}

/* PROGRESS BLOCK */
.progress-block {
  padding: 16px 16px !important;
  margin-bottom: 0 !important;
}

/* INSPECTOR */
.inspector {
  padding: 12px 12px !important;
}

/* PREVIEW CONTROLS */
.preview-controls-bar {
  padding: 12px 12px !important;
}

/* PREVIEW NOTE */
.preview-note {
  padding: 12px 16px !important;
}

/* Proc actions */
.proc-actions {
  gap: 12px !important;
  padding: 0 !important;
}

/* Insight text */
.insight-text {
  padding: 12px 16px !important;
  font-size: 13.5px !important;
  line-height: 1.75 !important;
}

/* Report status */
.report-status-text {
  padding: 12px 16px !important;
}

/* Workspace */
.workspace {
  padding: 28px !important;
  gap: 20px !important;
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM 12-COLUMN GRID REDESIGN
   ══════════════════════════════════════════════════════════════ */

/* ─── ENTRANCE KEYFRAMES ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── 12-COL UTILITY CLASSES ─────────────────────────────────── */
.g12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.span-1  { grid-column: span 1; }
.span-2  { grid-column: span 2; }
.span-3  { grid-column: span 3; }
.span-4  { grid-column: span 4; }
.span-5  { grid-column: span 5; }
.span-6  { grid-column: span 6; }
.span-7  { grid-column: span 7; }
.span-8  { grid-column: span 8; }
.span-9  { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-11 { grid-column: span 11; }
.span-12 { grid-column: span 12; }

/* ─── HERO BAND — 5 / 7 SPLIT ────────────────────────────────── */
.hero-band {
  display: grid !important;
  grid-template-columns: 5fr 7fr !important;
  gap: 48px !important;
}

/* ─── LANDING — 5 / 7 SPLIT ─────────────────────────────────── */
.landing {
  display: grid !important;
  grid-template-columns: 5fr 7fr !important;
  gap: 32px !important;
}

/* ─── METRICS GRID — 3 PER ROW (12-COL × SPAN-4) ────────────── */
.metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  gap: 20px !important;
}

.metric-card {
  grid-column: span 4 !important;
  border-radius: 18px !important;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease) !important;
  animation: fadeUp 0.4s var(--ease) both;
}

.metric-card:nth-child(1) { animation-delay: 0.04s; }
.metric-card:nth-child(2) { animation-delay: 0.08s; }
.metric-card:nth-child(3) { animation-delay: 0.12s; }
.metric-card:nth-child(4) { animation-delay: 0.16s; }
.metric-card:nth-child(5) { animation-delay: 0.20s; }
.metric-card:nth-child(6) { animation-delay: 0.24s; }
.metric-card:nth-child(7) { animation-delay: 0.28s; }
.metric-card:nth-child(8) { animation-delay: 0.32s; }
.metric-card:nth-child(9) { animation-delay: 0.36s; }

.metric-card:hover {
  transform: translateY(-6px) !important;
}

/* ─── SUMMARY ROW — 12-COL GRID ──────────────────────────────── */
/* !important beats the inline style="grid-template-columns: 1fr" */
.summary-row {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

/* Row 1: AI Metrics (6) + Financial (6) */
.summary-row > .factor-panel:nth-child(1) { grid-column: span 6 !important; }
.summary-row > .factor-panel:nth-child(2) { grid-column: span 6 !important; }
/* Row 2: Distribution (4) + Carbon Model (4) + Insight (4) */
.summary-row > .summary-panel             { grid-column: span 4 !important; }
.summary-row > .factor-panel:nth-child(4) { grid-column: span 4 !important; }
.summary-row > .insight-panel             { grid-column: span 4 !important; }

/* ─── PANEL CARD RADIUS & TRANSITIONS ───────────────────────── */
.panel {
  border-radius: 16px !important;
  transition: box-shadow 0.22s var(--ease) !important;
}

/* ─── GLASS PANEL PREMIUM FEEL ───────────────────────────────── */
.glass-panel {
  border-radius: 20px !important;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease) !important;
  animation: fadeUp 0.45s var(--ease) both;
}

.glass-panel:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

.setup-col > .glass-panel:nth-child(1) { animation-delay: 0.06s; }
.setup-col > .glass-panel:nth-child(2) { animation-delay: 0.14s; }
.process-col > .glass-panel:nth-child(1) { animation-delay: 0.10s; }

/* ─── HERO ENTRANCE ANIMATIONS ───────────────────────────────── */
.hero-left  { animation: fadeUp 0.55s var(--ease) 0.05s both; }
.hero-right { animation: fadeUp 0.55s var(--ease) 0.15s both; }

/* ─── HSG CARDS — lift on hover ──────────────────────────────── */
.hsg-card {
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}
.hsg-card:hover {
  transform: translateY(-3px);
}

/* ─── DETECTION / ANALYTICS PANELS ENTRANCE ─────────────────── */
.detection-panel  { animation: fadeUp 0.4s var(--ease) 0.08s both; border-radius: 16px !important; }
.analytics-panel  { animation: fadeUp 0.4s var(--ease) 0.14s both; border-radius: 16px !important; }
.factor-panel     { border-radius: 16px !important; animation: fadeUp 0.4s var(--ease) both; }
.insight-panel    { border-radius: 16px !important; animation: fadeUp 0.4s var(--ease) 0.1s both; }
.summary-panel    { border-radius: 16px !important; }

/* ─── EXPORT / BUTTON HOVER MICRO-LIFT ───────────────────────── */
.export-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

/* ─── RESPONSIVE: collapse grid to 2-col at ≤1100px ─────────── */
@media (max-width: 1100px) {
  .metrics-grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }
  .metric-card {
    grid-column: span 3 !important;
  }
  .summary-row > .factor-panel:nth-child(1),
  .summary-row > .factor-panel:nth-child(2) {
    grid-column: span 12 !important;
  }
  .summary-row > .summary-panel,
  .summary-row > .factor-panel:nth-child(4),
  .summary-row > .insight-panel {
    grid-column: span 4 !important;
  }
}

/* ─── RESPONSIVE: single-col at ≤800px ──────────────────────── */
@media (max-width: 800px) {
  .hero-band,
  .landing {
    grid-template-columns: 1fr !important;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .metric-card {
    grid-column: span 1 !important;
  }
  .summary-row > .factor-panel:nth-child(1),
  .summary-row > .factor-panel:nth-child(2),
  .summary-row > .summary-panel,
  .summary-row > .factor-panel:nth-child(4),
  .summary-row > .insight-panel {
    grid-column: span 12 !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   FULL-WIDTH CINEMATIC HERO
   ══════════════════════════════════════════════════════════════ */

/* ── Override the old two-col hero grid for the new full layout ── */
.hero-band-full {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 !important;
  gap: 0 !important;
  min-height: 92vh;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%,   rgba(52, 211, 153, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 20% 80%,  rgba(52, 211, 153, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 80% 70%,  rgba(129, 140, 248, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #060c10 0%, #080f14 60%, #060c10 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* ── AI BACKGROUND OVERLAY ─────────────────────────────────── */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Fine terrain grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 211, 153, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Horizontal scan line animation */
.hero-bg-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(52, 211, 153, 0.6) 40%,
    rgba(52, 211, 153, 1) 50%,
    rgba(52, 211, 153, 0.6) 60%,
    transparent 100%);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.4), 0 0 60px rgba(52, 211, 153, 0.15);
  animation: hero-scan 4s linear infinite;
  top: 0;
}

@keyframes hero-scan {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Detection bounding boxes */
.hero-detect-box {
  position: absolute;
  border-radius: 4px;
  animation: hdb-pulse 3s ease-in-out infinite;
}

.hdb-alive {
  border: 1.5px solid rgba(52, 211, 153, 0.55);
  background: rgba(52, 211, 153, 0.04);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.15), inset 0 0 8px rgba(52, 211, 153, 0.05);
}

.hdb-dead {
  border: 1.5px solid rgba(251, 113, 133, 0.5);
  background: rgba(251, 113, 133, 0.04);
  box-shadow: 0 0 12px rgba(251, 113, 133, 0.12);
}

.hdb-gap {
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.04);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.12);
}

/* Corner tick marks on detection boxes */
.hero-detect-box::before,
.hero-detect-box::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
}

.hero-detect-box::before {
  top: -1px; left: -1px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 1px 0 0 0;
}

.hero-detect-box::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 0 0 1px 0;
}

.hdb-alive { color: rgba(52, 211, 153, 0.8); }
.hdb-dead  { color: rgba(251, 113, 133, 0.8); }
.hdb-gap   { color: rgba(251, 191, 36, 0.8); }

@keyframes hdb-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.03); }
}

/* AI Reticle crosshair */
.hero-reticle {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reticle-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(52, 211, 153, 0.35);
  animation: reticle-spin 8s linear infinite;
}

.reticle-ring::before,
.reticle-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.reticle-ring::before {
  inset: 6px;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.reticle-ring::after {
  inset: 12px;
  border: 1px dashed rgba(52, 211, 153, 0.15);
  animation: reticle-spin 4s linear infinite reverse;
}

.reticle-cross {
  width: 2px;
  height: 2px;
  background: rgba(52, 211, 153, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
  position: relative;
}

.reticle-cross::before,
.reticle-cross::after {
  content: "";
  position: absolute;
  background: rgba(52, 211, 153, 0.4);
}

.reticle-cross::before {
  width: 28px; height: 1px;
  top: 0; left: 50%;
  transform: translateX(-50%);
}

.reticle-cross::after {
  height: 28px; width: 1px;
  left: 0; top: 50%;
  transform: translateY(-50%);
}

.reticle-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(52, 211, 153, 0.7);
  white-space: nowrap;
  font-family: "JetBrains Mono", monospace;
}

@keyframes reticle-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── BRAND ROW ─────────────────────────────────────────────── */
.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 48px;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.5s var(--ease) 0.05s both;
}

.hero-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

/* ── HERO CENTER ───────────────────────────────────────────── */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 40px 24px 56px;
  max-width: 780px;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s var(--ease) 0.12s both;
}

/* Large centered title */
.hero-title-xl {
  font-size: clamp(32px, 4.2vw, 58px) !important;
  line-height: 1.06 !important;
  text-align: center;
  max-width: 700px;
}

.hero-title-accent {
  background: linear-gradient(135deg, #34d399 0%, #6ee7b7 50%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-desc-center {
  text-align: center;
  max-width: 560px;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

/* ── CTA BUTTONS ───────────────────────────────────────────── */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #040c10;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid rgba(52, 211, 153, 0.4);
  cursor: pointer;
  transition: all 0.22s var(--ease);
  box-shadow:
    0 8px 28px rgba(52, 211, 153, 0.3),
    0 2px 8px rgba(52, 211, 153, 0.2);
  letter-spacing: -0.01em;
  font-family: inherit;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 40px rgba(52, 211, 153, 0.45),
    0 4px 12px rgba(52, 211, 153, 0.3);
  background: linear-gradient(135deg, #3ee8a8 0%, #14cc8f 100%);
}

.btn-hero-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.25);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: all 0.22s var(--ease);
  letter-spacing: -0.01em;
  font-family: inherit;
}

.btn-hero-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.btn-hero-secondary:active {
  transform: translateY(0);
}

/* ── HERO BADGES (centered) ────────────────────────────────── */
.hero-center .hero-badges {
  justify-content: center;
}

/* ── HERO STAT STRIP ───────────────────────────────────────── */
.hero-stat-strip {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 48px 48px;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s var(--ease) 0.3s both;
}

.hero-stat-strip .hsg-card {
  flex: 1;
  min-width: 160px;
  max-width: 240px;
}

/* Fade-in the detect boxes with entrance animation */
.hero-detect-box {
  animation: hdb-pulse 3s ease-in-out infinite, fadeIn 1s var(--ease) 0.4s both;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-band-full {
    min-height: auto;
  }
  .hero-center {
    padding: 32px 20px 40px;
  }
  .hero-stat-strip {
    padding: 0 24px 32px;
  }
  .hero-brand-row {
    padding: 20px 24px;
  }
}

@media (max-width: 600px) {
  .hero-title-xl {
    font-size: clamp(26px, 7vw, 38px) !important;
  }
  .hero-stat-strip .hsg-card {
    min-width: 140px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
}


/* ══════════════════════════════════════════════════════════════
   LANDING PAGE SECTIONS  (Problem · Solution · How · CTA)
   ══════════════════════════════════════════════════════════════ */

/* ── Shared section wrapper ──────────────────────────────────── */
.lp-section {
  position: relative;
  overflow: hidden;
}

.lp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 56px;
}

.lp-container-narrow {
  max-width: 900px;
}

/* ── Eyebrow label ───────────────────────────────────────────── */
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 28px;
}

.lp-eyebrow-center {
  justify-content: center;
  width: 100%;
  display: flex;
}

.lp-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lp-dot-red    { background: var(--dead);   box-shadow: 0 0 8px rgba(251,113,133,0.6); }
.lp-dot-green  { background: var(--accent); box-shadow: 0 0 8px rgba(52,211,153,0.6); }
.lp-dot-blue   { background: var(--carbon); box-shadow: 0 0 8px rgba(129,140,248,0.6); }

/* ── Section heading ─────────────────────────────────────────── */
.lp-heading {
  margin: 0 0 32px;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.lp-heading-center { text-align: center; }

.lp-heading-accent {
  display: inline-block;
  background: linear-gradient(135deg, #34d399, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-accent-red {
  background: linear-gradient(135deg, #fb7185, #fda4af) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.lp-accent-green {
  background: linear-gradient(135deg, #34d399, #6ee7b7) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ── Lead paragraph ──────────────────────────────────────────── */
.lp-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 0 48px;
  font-weight: 400;
}

.lp-lead-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════
   PROBLEM SECTION
   ════════════════════════ */
.lp-problem {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(251,113,133,0.05) 0%, transparent 60%),
    linear-gradient(180deg, #060c10 0%, #07101a 100%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.problem-card {
  background: linear-gradient(135deg, rgba(30,41,59,0.5) 0%, rgba(15,23,42,0.3) 100%);
  border: 1px solid rgba(52,211,153,0.1);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeUp 0.6s var(--ease) both;
  backdrop-filter: blur(10px);
}

.problem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(52,211,153,0.3);
  box-shadow: 0 24px 60px rgba(16,185,129,0.15), 0 0 30px rgba(16,185,129,0.05);
  background: linear-gradient(135deg, rgba(30,41,59,0.7) 0%, rgba(15,23,42,0.5) 100%);
}

.problem-card:nth-child(1) { animation-delay: 0.08s; }
.problem-card:nth-child(2) { animation-delay: 0.14s; }
.problem-card:nth-child(3) { animation-delay: 0.20s; }
.problem-card:nth-child(4) { animation-delay: 0.26s; }

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-icon-red    { background: rgba(251,113,133,0.15); color: #fb7185; border: 1.5px solid rgba(251,113,133,0.25); }
.problem-icon-orange { background: rgba(251,146,60,0.15);  color: #fb923c; border: 1.5px solid rgba(251,146,60,0.25);  }
.problem-icon-yellow { background: rgba(251,191,36,0.15);  color: #fbbf24; border: 1.5px solid rgba(251,191,36,0.25);  }
.problem-icon-purple { background: rgba(129,140,248,0.15); color: #818cf8; border: 1.5px solid rgba(129,140,248,0.25); }

.problem-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.problem-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-2);
}

/* ════════════════════════
   SOLUTION SECTION
   ════════════════════════ */
.lp-solution {
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(52,211,153,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #07101a 0%, #060c10 100%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 16px;
}

.solution-card {
  background: linear-gradient(135deg, rgba(30,41,59,0.5) 0%, rgba(15,23,42,0.3) 100%);
  border: 1px solid rgba(52,211,153,0.1);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeUp 0.6s var(--ease) both;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52,211,153,0.15), transparent);
}

.solution-card:hover {
  transform: translateY(-10px);
  border-color: rgba(52,211,153,0.3);
  box-shadow: 0 28px 70px rgba(16,185,129,0.18), 0 0 30px rgba(16,185,129,0.08);
  background: linear-gradient(135deg, rgba(30,41,59,0.7) 0%, rgba(15,23,42,0.5) 100%);
}

.solution-card:nth-child(1) { animation-delay: 0.08s; }
.solution-card:nth-child(2) { animation-delay: 0.16s; }
.solution-card:nth-child(3) { animation-delay: 0.24s; }

/* Featured middle card */
.solution-card-featured {
  background:
    linear-gradient(160deg, rgba(129,140,248,0.12) 0%, rgba(52,211,153,0.08) 100%);
  border-color: rgba(129,140,248,0.35);
  box-shadow: 0 12px 50px rgba(129,140,248,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}

.solution-card-featured::before {
  background: linear-gradient(90deg, transparent, rgba(129,140,248,0.5), transparent);
}

.solution-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.solution-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-icon-green  { background: rgba(52,211,153,0.15);  color: #34d399; border: 1.5px solid rgba(52,211,153,0.3);  }
.solution-icon-indigo { background: rgba(129,140,248,0.15); color: #818cf8; border: 1.5px solid rgba(129,140,248,0.3); }
.solution-icon-teal   { background: rgba(45,212,191,0.15);  color: #2dd4bf; border: 1.5px solid rgba(45,212,191,0.3);  }

.solution-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-3);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
}

.solution-number-featured { color: rgba(129,140,248,0.8); }

.solution-title {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.solution-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-2);
  flex: 1;
}

.solution-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.solution-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.7;
}

.solution-badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(129,140,248,0.12);
  border: 1px solid rgba(129,140,248,0.25);
  color: #818cf8;
  align-self: flex-start;
}

/* ════════════════════════
   HOW IT WORKS SECTION
   ════════════════════════ */
.lp-how {
  background:
    radial-gradient(ellipse 40% 50% at 50% 0%, rgba(129,140,248,0.05) 0%, transparent 60%),
    linear-gradient(180deg, #060c10 0%, #07101a 100%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

.how-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0;
  padding-bottom: 32px;
}

.how-step-last {
  padding-bottom: 0;
}

.how-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.how-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-3);
  flex-shrink: 0;
}

.how-step-num-accent {
  background: rgba(52,211,153,0.1);
  border-color: rgba(52,211,153,0.3);
  color: var(--accent);
}

.how-step-line {
  width: 1px;
  flex: 1;
  margin-top: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
  min-height: 32px;
}

.how-step-body {
  display: flex;
  gap: 20px;
  padding: 4px 0 0 20px;
  align-items: flex-start;
}

.how-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}

.how-step-icon-accent {
  background: rgba(52,211,153,0.08);
  border-color: rgba(52,211,153,0.2);
  color: var(--accent);
}

.how-step:hover .how-step-icon {
  border-color: rgba(52,211,153,0.3);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(52,211,153,0.1);
}

.how-step-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.how-step-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 480px;
}

.how-step-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.how-step-tags span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-3);
  font-family: "JetBrains Mono", monospace;
}

/* ════════════════════════
   CTA SECTION
   ════════════════════════ */
.lp-cta {
  position: relative;
}

.lp-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lp-cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
}

.lp-cta-glow-l {
  left: -100px; top: -100px;
  background: rgba(52,211,153,0.07);
}

.lp-cta-glow-r {
  right: -100px; bottom: -100px;
  background: rgba(129,140,248,0.06);
}

.lp-cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52,211,153,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,211,153,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent);
}

.lp-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 112px;
}

.lp-cta-inner .lp-heading {
  font-size: clamp(32px, 3.8vw, 52px);
}

.lp-cta-btns {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.btn-cta-lg {
  padding: 16px 40px !important;
  font-size: 16px !important;
  border-radius: 14px !important;
  box-shadow:
    0 12px 36px rgba(52,211,153,0.35),
    0 4px 12px rgba(52,211,153,0.2) !important;
}

.btn-cta-lg:hover {
  box-shadow:
    0 20px 56px rgba(52,211,153,0.5),
    0 6px 16px rgba(52,211,153,0.3) !important;
}

.lp-cta-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.lp-cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-3);
  font-weight: 500;
}

.lp-cta-trust svg { color: var(--accent); opacity: 0.7; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .problem-grid   { grid-template-columns: repeat(2, 1fr); }
  .solution-grid  { grid-template-columns: 1fr; }
  .lp-container   { padding: 48px 32px; }
}

@media (max-width: 700px) {
  .problem-grid { grid-template-columns: 1fr; }
  .lp-container { padding: 40px 20px; }
  .lp-heading   { font-size: clamp(24px, 6vw, 36px); }
  .how-step     { grid-template-columns: 52px 1fr; }
  .how-step-body { gap: 16px; padding-left: 16px; }
  .how-step-icon { width: 52px; height: 52px; }
  .lp-cta-inner  { padding: 72px 24px; }
}