@font-face {
  font-family: 'Monocraft';
  src: url('assets/Monocraft.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1e1e1f;
  --bg-alt: #161718;
  --panel: #313233;
  --raised: #48494a;
  --outline: #0e0e0f;
  --highlight: #5a5b5c;
  --shadow: #242425;
  --text: #ffffff;
  --text-sec: #b9bbc0;
  --green: #3c8527;
  --green-hl: #52a535;
  --green-ledge: #1d4d13;
  --gold: #ffd83d;
  --gold-ledge: #7a5800;
  --stone-ledge: #242425;
  --font-title: 'Monocraft', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mx: 50vw;
  --my: 30vh;
  --px: 0px;
  --py: 0px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

img.pixel {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

a {
  color: #76d636;
  text-decoration: none;
  transition: color 120ms ease;
}

a:hover {
  color: #b8ff70;
  text-decoration: underline;
}

code {
  font-family: var(--font-title);
  font-size: 0.84em;
  background: var(--outline);
  padding: 2px 7px;
  border: 1px solid var(--shadow);
  color: var(--gold);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 32px);
}

/* Chunky Bevel Panel + Subtle Interactive Mouse Spotlight & Tilt */
.mc-panel {
  position: relative;
  background-color: var(--panel);
  border: 3px solid var(--outline);
  box-shadow:
    inset 3px 3px 0 0 var(--highlight),
    inset -3px -3px 0 0 var(--shadow),
    0 12px 32px rgba(0, 0, 0, 0.45);
  padding: clamp(16px, 2.8vw, 30px);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease;
}

.tilt-card {
  will-change: transform;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
}

.tilt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--cx, -200px) var(--cy, -200px), rgba(118, 214, 54, 0.11), transparent 70%);
  opacity: var(--spot-opacity, 0);
  transition: opacity 220ms ease;
}

.tilt-card:hover {
  --ty: -4px;
  box-shadow:
    inset 3px 3px 0 0 #6a6c6e,
    inset -3px -3px 0 0 var(--shadow),
    0 16px 34px rgba(0, 0, 0, 0.58);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 460ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Tags / Badges */
.mc-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--shadow);
  border: 2px solid var(--outline);
  box-shadow: inset 2px 2px 0 0 var(--highlight);
  color: var(--text);
}

.mc-tag-green {
  background: var(--green-ledge);
  box-shadow: inset 2px 2px 0 0 var(--green);
  color: #b8ff70;
}

/* Chunky 3D Bevel Buttons */
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none !important;
  cursor: pointer;
  padding: 11px 20px;
  border: 3px solid var(--outline);
  background-color: var(--raised);
  box-shadow:
    inset 3px 3px 0 0 var(--highlight),
    inset -3px -3px 0 0 var(--shadow),
    0 5px 0 0 var(--stone-ledge),
    0 5px 0 3px var(--outline);
  transform: translateY(0);
  transition: transform 70ms ease, box-shadow 70ms ease, background-color 100ms ease;
  user-select: none;
  margin-bottom: 6px;
}

.mc-btn:hover {
  background-color: var(--highlight);
  transform: translateY(-2px);
  box-shadow:
    inset 3px 3px 0 0 #727476,
    inset -3px -3px 0 0 var(--shadow),
    0 7px 0 0 var(--stone-ledge),
    0 7px 0 3px var(--outline);
}

.mc-btn:active {
  transform: translateY(4px);
  box-shadow:
    inset 3px 3px 0 0 var(--highlight),
    inset -3px -3px 0 0 var(--shadow),
    0 1px 0 0 var(--stone-ledge),
    0 1px 0 3px var(--outline);
}

.mc-btn-primary {
  background-color: var(--green);
  box-shadow:
    inset 3px 3px 0 0 var(--green-hl),
    inset -3px -3px 0 0 var(--green-ledge),
    0 5px 0 0 var(--green-ledge),
    0 5px 0 3px var(--outline);
}

.mc-btn-primary:hover {
  background-color: var(--green-hl);
  box-shadow:
    inset 3px 3px 0 0 #6fd14d,
    inset -3px -3px 0 0 var(--green-ledge),
    0 7px 0 0 var(--green-ledge),
    0 7px 0 3px var(--outline);
}

.mc-btn-primary:active {
  box-shadow:
    inset 3px 3px 0 0 var(--green-hl),
    inset -3px -3px 0 0 var(--green-ledge),
    0 1px 0 0 var(--green-ledge),
    0 1px 0 3px var(--outline);
}

.mc-btn-lg {
  font-size: 0.95rem;
  padding: 13px 22px;
}

.btn-pixel-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Sticky Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(30, 30, 31, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--outline);
  box-shadow: 0 2px 0 0 var(--shadow);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  transition: transform 150ms ease;
  min-width: 0;
}

.brand:hover {
  transform: scale(1.03);
}

.brand-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
}

.nav-links a {
  font-family: var(--font-title);
  font-size: 0.84rem;
  color: var(--text-sec);
  text-decoration: none;
  padding: 6px 4px;
  transition: color 140ms ease, transform 140ms ease;
}

.nav-links a:hover {
  color: #b8ff70;
  transform: translateY(-1px);
}

/* Centered, Breathable Hero */
.hero {
  position: relative;
  padding: clamp(44px, 7vw, 88px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 4px solid var(--outline);
  overflow: hidden;
  text-align: center;
}

.hero-grid-bg {
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 120ms ease-out;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(650px circle at var(--mx, 50vw) var(--my, 30vh), rgba(82, 165, 53, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-centered {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin-bottom: 22px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.6));
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--text);
}

.hero-lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: var(--text-sec);
  margin: 0 0 28px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
  width: 100%;
}

/* Segmented Controls — Stacked Label Above Equal-Width Grid (Zero Horizontal Overflow!) */
.demo-wrapper {
  padding: clamp(14px, 2.5vw, 26px);
}

.demo-toolbar {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.85fr;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--outline);
}

.demo-control-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.demo-label {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-title);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.mc-segmented {
  display: grid;
  gap: 6px;
  width: 100%;
}

.demo-seg-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-seg-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  font-family: var(--font-title);
  font-size: clamp(0.68rem, 1.5vw, 0.78rem);
  padding: 9px 6px;
  color: var(--text);
  background: var(--raised);
  border: 3px solid var(--outline);
  box-shadow:
    inset 2px 2px 0 0 var(--highlight),
    inset -2px -2px 0 0 var(--shadow),
    0 3px 0 0 var(--stone-ledge);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 80ms ease, transform 60ms ease;
}

.seg-btn:hover {
  background: var(--highlight);
}

.seg-btn:active {
  transform: translateY(2px);
}

.seg-btn.active {
  background: var(--green);
  box-shadow:
    inset 2px 2px 0 0 var(--green-hl),
    inset -2px -2px 0 0 var(--green-ledge),
    0 3px 0 0 var(--green-ledge);
}

.mini-tex {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Device Stage & Responsive Device Frames (Phone / Tablet / Android Auto) */
.device-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
}

.device-frame {
  position: relative;
  background: #14171c;
  border: 5px solid var(--outline);
  box-shadow:
    0 0 0 3px var(--highlight),
    0 18px 44px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: width 320ms cubic-bezier(0.2, 0.8, 0.2, 1), height 320ms cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 320ms ease;
}

.device-frame.dragging {
  cursor: grabbing;
}

/* 1. Phone Frame (Portrait) */
.device-frame.device-phone {
  width: min(390px, 100%);
  height: clamp(440px, 68vh, 620px);
  border-radius: 18px;
}

/* 2. Tablet Frame (Landscape) */
.device-frame.device-tablet {
  width: min(940px, 100%);
  height: clamp(380px, 62vh, 560px);
  border-radius: 14px;
}

/* 3. Android Auto Head Unit Frame (Widescreen) */
.device-frame.device-car {
  width: min(980px, 100%);
  height: clamp(360px, 60vh, 540px);
  border-radius: 8px;
}

/* Pure 1:1 1280x960 canvas per zoom level — never stretched! */
.demo-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1280px;
  height: 960px;
  will-change: transform;
}

.demo-map-img {
  width: 1280px;
  height: 960px;
  display: block;
  pointer-events: none;
}

/* Interactive Top Search & Places Chrome */
.hud-phone-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 6;
}

.device-tablet .hud-phone-top {
  width: min(320px, calc(100% - 20px));
  right: auto;
}

.device-car .hud-phone-top {
  display: none;
}

.hud-search-box {
  flex: 1;
  min-width: 0;
  background: rgba(30, 30, 31, 0.94);
  border: 3px solid var(--outline);
  box-shadow: inset 2px 2px 0 0 var(--shadow);
  padding: 7px 10px;
  font-family: var(--font-title);
  font-size: 0.74rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.hud-search-placeholder {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hud-search-box:hover {
  border-color: var(--green-hl);
  background: rgba(45, 46, 48, 0.96);
}

.hud-zoom-badge {
  background: var(--green-ledge);
  color: #b8ff70;
  padding: 2px 6px;
  font-size: 0.68rem;
  border: 1px solid var(--outline);
  flex-shrink: 0;
}

.hud-top-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--raised);
  border: 3px solid var(--outline);
  box-shadow:
    inset 2px 2px 0 0 var(--highlight),
    inset -2px -2px 0 0 var(--shadow),
    0 3px 0 0 var(--stone-ledge);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 60ms ease, background-color 80ms ease;
}

.hud-top-btn:hover {
  background: var(--highlight);
}

.hud-top-btn:active {
  transform: translateY(2px);
}

.hud-top-btn img {
  width: 22px;
  height: 22px;
}

/* Saved Places Interactive Drawer inside Demo */
.demo-places-drawer {
  position: absolute;
  top: 58px;
  left: 10px;
  width: min(320px, calc(100% - 20px));
  max-height: calc(100% - 70px);
  overflow-y: auto;
  padding: 12px;
  z-index: 8;
}

.demo-places-drawer.hidden {
  display: none;
}

.demo-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--outline);
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: var(--gold);
}

.demo-places-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-place-item {
  width: 100%;
  background: var(--bg);
  border: 2px solid var(--outline);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background-color 100ms ease, border-color 100ms ease;
}

.demo-place-item:hover {
  background: var(--raised);
  border-color: var(--green-hl);
}

.demo-place-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.demo-place-item div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-place-item strong {
  font-family: var(--font-title);
  font-size: 0.75rem;
}

.demo-place-item span {
  font-size: 0.74rem;
  color: var(--text-sec);
}

/* Android Auto Top Banner & Bottom Dock (Interactive & Mobile-Safe!) */
.hud-car-top,
.hud-car-dock {
  display: none;
  z-index: 6;
}

.device-car .hud-car-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.hud-car-banner {
  flex: 1 1 200px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 22, 26, 0.94);
  border: 3px solid var(--outline);
  box-shadow: inset 2px 2px 0 0 var(--highlight);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: clamp(0.74rem, 1.6vw, 0.86rem);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.hud-car-banner:hover {
  border-color: var(--green-hl);
}

.hud-car-banner img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hud-car-strip {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.hud-car-chip {
  font-family: var(--font-title);
  font-size: 0.72rem;
  background: var(--raised);
  border: 3px solid var(--outline);
  box-shadow:
    inset 2px 2px 0 0 var(--highlight),
    0 3px 0 0 var(--stone-ledge);
  padding: 7px 10px;
  color: var(--text);
  cursor: pointer;
}

.hud-car-chip:hover {
  background: var(--highlight);
}

.device-car .hud-car-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: #0e1013;
  border-top: 3px solid var(--outline);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-title);
  font-size: 0.74rem;
  color: var(--text-sec);
  pointer-events: none;
}

.car-dock-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.car-dock-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.car-dock-app {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Hotspots & Dropped Pins */
.demo-hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -16px;
  border: 3px solid #ffffff;
  background: rgba(82, 165, 53, 0.9);
  box-shadow: 0 0 0 3px var(--outline);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, background-color 120ms ease;
}

.demo-hotspot:hover {
  transform: scale(1.22);
  background: var(--gold);
}

.hotspot-pulse {
  width: 10px;
  height: 10px;
  background: #ffffff;
  display: block;
}

.dropped-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  margin-top: -30px;
  pointer-events: none;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.7));
  animation: pinPop 180ms cubic-bezier(0.2, 1.3, 0.4, 1);
}

@keyframes pinPop {
  from {
    transform: scale(0.3) translateY(-14px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.demo-hud-right {
  position: absolute;
  right: 10px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 6;
}

.device-car .demo-hud-right {
  bottom: 56px;
}

.mc-icon-btn {
  width: 42px;
  height: 42px;
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--text);
  background: var(--raised);
  border: 3px solid var(--outline);
  box-shadow:
    inset 2px 2px 0 0 var(--highlight),
    inset -2px -2px 0 0 var(--shadow),
    0 4px 0 0 var(--stone-ledge);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 60ms ease, background-color 80ms ease;
}

.mc-icon-btn-sm {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

.mc-icon-btn:hover {
  background: var(--highlight);
}

.mc-icon-btn:active {
  transform: translateY(3px);
}

.mc-icon-btn-green {
  background: var(--green);
  box-shadow:
    inset 2px 2px 0 0 var(--green-hl),
    inset -2px -2px 0 0 var(--green-ledge),
    0 4px 0 0 var(--green-ledge);
}

.demo-info-card {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: min(340px, calc(100% - 68px));
  padding: 10px 12px;
  z-index: 6;
}

/* On wide desktop Tablet view, place the info card in the left side-panel below search */
@media (min-width: 720px) {
  .device-tablet .demo-info-card {
    top: 58px;
    bottom: auto;
    width: 320px;
  }
}

.device-car .demo-info-card {
  bottom: 54px;
}

.demo-info-card.hidden {
  display: none;
}

.demo-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.demo-info-row > div {
  min-width: 0;
}

.demo-info-row h4 {
  font-family: var(--font-title);
  font-size: clamp(0.76rem, 1.8vw, 0.88rem);
  margin: 0 0 4px;
  word-wrap: break-word;
}

.demo-info-row p {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.6vw, 0.84rem);
  color: var(--text-sec);
  margin: 0 0 6px;
}

.demo-caption {
  font-family: var(--font-body);
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--text-sec);
  text-align: center;
}

/* Sections */
.section {
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 4px solid var(--outline);
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto clamp(28px, 4.5vw, 48px);
}

.section-heading h2 {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.4vw, 1.95rem);
  line-height: 1.35;
  margin: 14px 0 10px;
}

.section-heading p {
  font-family: var(--font-body);
  color: var(--text-sec);
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  margin: 0;
}

.legal-note {
  font-family: var(--font-body);
  margin: 22px auto 0;
  max-width: 900px;
  font-size: 0.88rem;
  color: var(--text-sec);
  text-align: center;
  background: rgba(0, 0, 0, 0.28);
  border: 2px solid var(--outline);
  padding: 12px 16px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card h3 {
  font-family: var(--font-title);
  font-size: 1.02rem;
  margin: 16px 0 8px;
}

.feature-card p {
  font-family: var(--font-body);
  margin: 0;
  color: var(--text-sec);
  font-size: 0.95rem;
}

.slot-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 3px solid var(--outline);
  box-shadow:
    inset 3px 3px 0 0 var(--shadow),
    inset -3px -3px 0 0 var(--highlight);
  transition: transform 150ms ease, border-color 150ms ease;
}

.feature-card:hover .slot-icon {
  transform: scale(1.08) rotate(-3deg);
  border-color: var(--green-hl);
}

.slot-icon img {
  width: 38px;
  height: 38px;
  display: block;
}

/* Licence Banner */
.licence-banner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px);
}

.licence-copy h2 {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
  margin: 14px 0 12px;
}

.licence-copy p {
  font-family: var(--font-body);
  color: var(--text-sec);
  font-size: 1rem;
  margin: 0 0 16px;
}

.install-hint {
  background: rgba(0, 0, 0, 0.25);
  border-left: 4px solid var(--green-hl);
  padding: 10px 14px;
}

/* Footer */
.footer {
  padding: 44px 0;
  background: #121213;
  font-family: var(--font-body);
}

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

.footer-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline,
.footer-heading {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin: 0 0 8px !important;
}

.footer-brand p,
.footer-legal p {
  font-family: var(--font-body);
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--text-sec);
}

.footer-legal {
  max-width: 640px;
}

.footer-disclaimer {
  font-size: 0.84rem !important;
  opacity: 0.84;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 980px) {
  .demo-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 680px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    min-height: 60px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    height: 23px;
  }

  .topbar-cta .mc-btn {
    padding: 8px 11px;
    font-size: 0.74rem;
    gap: 6px;
  }

  .topbar-cta .btn-pixel-icon {
    width: 16px;
    height: 16px;
  }

  .hero-actions .mc-btn {
    width: 100%;
  }

  .device-frame.device-phone,
  .device-frame.device-tablet,
  .device-frame.device-car {
    height: 430px;
  }
}

@media (max-width: 400px) {
  .brand-text {
    height: 19px;
  }

  .seg-btn {
    font-size: 0.65rem;
    padding: 8px 4px;
    gap: 4px;
  }

  .mini-tex {
    width: 14px;
    height: 14px;
  }
}
