:root {
  --ink: #17201d;
  --muted: #637069;
  --line: #dbe4dd;
  --paper: #f8faf7;
  --white: #ffffff;
  --green: #226b4a;
  --lime: #b9e05f;
  --red: #e65c4f;
  --blue: #2f78b7;
  --gold: #e2aa32;
  --shadow: 0 24px 80px rgba(23, 32, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(248, 250, 247, 0.86);
  border-bottom: 1px solid rgba(219, 228, 221, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.tabs,
.dash-top,
.price-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 8px;
}

.nav {
  gap: 24px;
  color: #34423c;
  font-size: 14px;
  font-weight: 650;
}

.nav-cta,
.primary-button,
.secondary-button,
.dashboard button,
.admin-form button,
.admin-table button,
.campaign-item button,
.ghost-button,
.price-row button {
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.nav-cta {
  padding: 11px 16px;
  color: white;
  background: var(--ink);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 78px) 56px;
  overflow: hidden;
  color: white;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 17, 14, 0.82), rgba(10, 17, 14, 0.5) 42%, rgba(10, 17, 14, 0.16)),
    linear-gradient(0deg, rgba(10, 17, 14, 0.72), rgba(10, 17, 14, 0) 36%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  padding-top: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 14px 20px;
}

.primary-button {
  color: #14221c;
  background: var(--lime);
}

.secondary-button {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-band div {
  min-height: 112px;
  padding: 26px clamp(18px, 4vw, 48px);
  background: white;
}

.proof-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.proof-band span {
  color: var(--muted);
}

.workspace,
.features,
.pricing,
.patents,
.cta {
  padding: 78px clamp(18px, 5vw, 68px);
}

.patents {
  background: #18211e;
  color: white;
}

.patent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.patent-grid article {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.patent-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  color: #112019;
  background: var(--lime);
  border-radius: 8px;
  font-weight: 950;
}

.patent-grid h3 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.16;
}

.patent-grid p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head h2,
.cta h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.tabs {
  width: fit-content;
  gap: 6px;
  padding: 6px;
  margin-bottom: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tab {
  min-width: 116px;
  padding: 12px 16px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 850;
  cursor: pointer;
}

.tab.active {
  color: white;
  background: var(--green);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(280px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.phone-panel {
  grid-row: span 2;
}

.phone {
  width: min(100%, 390px);
  min-height: 720px;
  margin: 0 auto;
  padding: 16px;
  color: white;
  background: #101816;
  border: 10px solid #0a0f0d;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.camera-view {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 54%, rgba(226, 170, 50, 0.55), transparent 16%),
    linear-gradient(135deg, #1e4938, #17312e 46%, #282a24);
  border-radius: 22px;
}

.camera-view::before {
  content: "";
  position: absolute;
  inset: 42% 12% 16%;
  background: linear-gradient(90deg, #be3d34, #e6b13c, #74a65a, #c9473f);
  border-radius: 50% 50% 44% 44%;
  filter: blur(1px);
  opacity: 0.95;
}

.scan-frame {
  position: absolute;
  inset: 88px 54px 220px;
  border: 1px solid rgba(185, 224, 95, 0.5);
}

.scan-frame::before,
.scan-frame::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.scan-frame::before {
  inset: 18px;
  border: 1px solid rgba(185, 224, 95, 0.12);
}

.scan-frame::after {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(185, 224, 95, 0.95), transparent);
  box-shadow: 0 0 22px rgba(185, 224, 95, 0.72);
}

.scan-frame span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--lime);
  border-style: solid;
}

.scan-frame span:nth-child(1) {
  top: -2px;
  left: -2px;
  border-width: 3px 0 0 3px;
}

.scan-frame span:nth-child(2) {
  top: -2px;
  right: -2px;
  border-width: 3px 3px 0 0;
}

.scan-frame span:nth-child(3) {
  bottom: -2px;
  right: -2px;
  border-width: 0 3px 3px 0;
}

.scan-frame span:nth-child(4) {
  bottom: -2px;
  left: -2px;
  border-width: 0 0 3px 3px;
}

.product-orb {
  position: absolute;
  top: 106px;
  left: 50%;
  translate: -50% 0;
  padding: 8px 12px;
  color: #102019;
  background: var(--lime);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.ar-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  backdrop-filter: blur(14px);
}

.match {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.ar-card h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.ar-card p {
  color: var(--muted);
  line-height: 1.45;
}

.price-row {
  justify-content: space-between;
  gap: 12px;
}

.price-row strong {
  font-size: 24px;
}

.price-row button,
.dashboard button,
.admin-form button,
.admin-table button,
.campaign-item button,
.button-link,
.ghost-button {
  padding: 11px 16px;
  color: white;
  background: var(--green);
}

.nearby-bar {
  display: grid;
  gap: 2px;
  margin-top: 12px;
  padding: 13px;
  background: #1b2824;
  border-radius: 16px;
}

.nearby-bar span,
.nearby-bar small {
  color: rgba(255, 255, 255, 0.64);
}

.dashboard {
  min-height: 520px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dash-top {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.dash-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dash-top h3 {
  margin: 4px 0 0;
  font-size: 28px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.metrics div {
  padding: 18px;
  background: #eef5f0;
  border-radius: 8px;
}

.metrics span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.metrics strong {
  font-size: 30px;
}

.product-list {
  display: grid;
  gap: 12px;
}

.product-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
}

.thumb.red {
  background: linear-gradient(135deg, var(--red), var(--gold));
}

.thumb.blue {
  background: linear-gradient(135deg, var(--blue), #79d6c8);
}

.thumb.green {
  background: linear-gradient(135deg, var(--green), var(--lime));
}

.product-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.status {
  padding: 7px 10px;
  color: var(--green);
  background: #e4f1e8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status.draft {
  color: #7d5b12;
  background: #fff0ca;
}

.flow-panel {
  padding: 28px;
  background: #17201d;
  color: white;
  border-radius: 8px;
}

.flow-panel h3 {
  margin-bottom: 20px;
  font-size: 26px;
}

.flow-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.flow-list span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #112019;
  background: var(--lime);
  border-radius: 8px;
  font-weight: 900;
}

.features {
  background: white;
}

.feature-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article,
.price-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid .icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.feature-grid h3,
.price-grid h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.feature-grid p,
.price-grid p,
.cta p {
  color: var(--muted);
  line-height: 1.65;
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
}

.price-grid .featured {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.price-grid .featured p {
  color: rgba(255, 255, 255, 0.82);
}

.cta {
  background: #18211e;
  color: white;
}

.cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.app-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: #eef5f0;
}

.side-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  color: white;
  background: #17201d;
}

.side-nav .brand {
  color: white;
}

.side-nav nav {
  display: grid;
  gap: 8px;
}

.side-nav nav a,
.side-link {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  font-weight: 800;
}

.side-nav nav a.active,
.side-nav nav a:hover,
.side-link {
  color: #112019;
  background: var(--lime);
}

.side-link {
  margin-top: auto;
}

.admin-main {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 28px;
}

.admin-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items: stretch;
  padding: 32px;
  color: white;
  background: #17201d;
  border-radius: 8px;
}

.admin-hero h1,
.customer-panel h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

.admin-hero p,
.customer-panel p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.plan-card,
.admin-metrics article,
.admin-form,
.admin-table-card,
.admin-detail-card,
.customer-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 46px rgba(23, 32, 29, 0.08);
}

.plan-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--ink);
}

.plan-card span,
.plan-card small {
  color: var(--muted);
}

.plan-card strong {
  font-size: 34px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.admin-metrics article {
  padding: 22px;
}

.admin-metrics span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 750;
}

.admin-metrics strong {
  font-size: 34px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: start;
}

.admin-grid.two {
  grid-template-columns: 360px 1fr;
}

.admin-form,
.admin-table-card,
.admin-detail-card {
  min-width: 0;
  padding: 24px;
}

.admin-table-card {
  overflow-x: auto;
}

.form-head h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: #34423c;
  font-size: 13px;
  font-weight: 850;
}

.admin-form input,
.admin-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.admin-form button {
  min-height: 46px;
  margin-top: 4px;
}

.admin-table {
  display: grid;
  gap: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(70px, 0.7fr) minmax(170px, auto);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-row.table-head {
  color: var(--muted);
  background: #eef5f0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.table-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.table-row button {
  white-space: nowrap;
}

#orderTable .table-row {
  grid-template-columns: 90px minmax(0, 1fr) 100px minmax(0, 1fr) 82px auto;
}

#orderTable .table-row {
  grid-template-columns: 90px minmax(0, 1fr) 100px minmax(0, 1fr) 82px auto;
}

.match-thumb {
  display: block;
  width: 70px;
  height: 58px;
  object-fit: cover;
  background: #eef5f0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.match-empty {
  display: grid;
  width: 70px;
  height: 58px;
  place-items: center;
  color: var(--muted);
  background: #eef5f0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.row-actions button,
.row-actions .button-link,
.campaign-item button {
  padding: 8px 10px;
  font-size: 12px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.admin-detail-card.hidden {
  display: none;
}

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

.detail-form .form-head,
.detail-meta,
.detail-actions {
  grid-column: 1 / -1;
}

.detail-meta,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta span {
  padding: 8px 10px;
  color: var(--muted);
  background: #eef5f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.detail-meta .match-preview-wrap {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #101816;
  border-radius: 8px;
}

.match-preview {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.ghost-button {
  color: var(--ink);
  background: #eef5f0;
}

.campaign-list {
  display: grid;
  gap: 10px;
}

.campaign-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.campaign-item .row-actions {
  justify-content: flex-end;
}

.campaign-item small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.customer-app {
  min-height: 100vh;
  background: #17201d;
}

.customer-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(320px, 1fr);
  gap: clamp(18px, 5vw, 60px);
  align-items: center;
  padding: clamp(18px, 5vw, 64px);
}

.scan-app {
  display: grid;
  place-items: center;
}

.live-phone {
  min-height: 740px;
}

.live-camera {
  background:
    radial-gradient(circle at 50% 50%, rgba(185, 224, 95, 0.5), transparent 18%),
    linear-gradient(135deg, #1f4a3b, #25312f 48%, #37423c);
}

.live-camera::before {
  display: none;
}

.camera-stream,
.camera-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.camera-stream {
  z-index: 0;
  object-fit: cover;
  opacity: 0.92;
}

.camera-fallback {
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(226, 170, 50, 0.42), transparent 22%),
    linear-gradient(135deg, #1f4a3b, #25312f 48%, #37423c);
}

.camera-fallback strong {
  font-size: 24px;
}

.camera-fallback span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.camera-fallback.hidden {
  display: none;
}

.live-camera .scan-frame,
.live-camera .product-orb,
.live-camera .camera-controls,
.live-camera .ar-card,
.location-gate {
  z-index: 2;
}

.camera-controls {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.camera-controls button {
  flex: 1;
  min-height: 38px;
  padding: 9px 10px;
  color: #102019;
  background: rgba(185, 224, 95, 0.92);
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.camera-controls button:disabled {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.18);
  cursor: default;
}

.location-gate {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 76px;
  display: grid;
  gap: 8px;
  padding: 16px;
  color: white;
  background: rgba(16, 24, 22, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(16px);
}

.location-gate span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-gate strong {
  font-size: 18px;
  line-height: 1.3;
}

.location-gate small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.location-gate.hidden {
  display: none;
}

.live-camera.locked .scan-frame,
.live-camera.locked .product-orb,
.live-camera.locked .ar-card {
  opacity: 0.28;
  filter: grayscale(0.55);
}

.live-camera.arrived .product-orb {
  top: 118px;
  padding: 10px 14px;
  animation: arPulse 1.7s ease-in-out infinite;
}

.live-camera.arrived .ar-card {
  box-shadow: 0 20px 70px rgba(185, 224, 95, 0.3);
}

.live-camera.recognized .scan-frame {
  border-color: rgba(185, 224, 95, 0.62);
  background:
    linear-gradient(rgba(185, 224, 95, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 224, 95, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  box-shadow:
    inset 0 0 42px rgba(185, 224, 95, 0.18),
    0 0 48px rgba(185, 224, 95, 0.24);
}

.live-camera.recognized .scan-frame::before {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.08);
}

.live-camera.recognized .scan-frame::after {
  animation: scanBeam 1.35s ease-in-out infinite;
}

.live-camera.recognized .scan-frame span {
  border-color: var(--lime);
  box-shadow: 0 0 18px rgba(185, 224, 95, 0.6);
}

.live-camera.recognized .product-orb {
  color: #dfffb1;
  background: rgba(16, 24, 22, 0.76);
  border: 1px solid rgba(185, 224, 95, 0.72);
  box-shadow: 0 0 30px rgba(185, 224, 95, 0.45);
}

.live-camera.recognized .ar-card {
  color: white;
  background:
    linear-gradient(135deg, rgba(185, 224, 95, 0.16), transparent 28%),
    rgba(10, 18, 16, 0.82);
  border: 1px solid rgba(185, 224, 95, 0.58);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 18px 64px rgba(0, 0, 0, 0.42),
    0 0 56px rgba(185, 224, 95, 0.26);
  transform: translateY(-16px);
  animation: hudReveal 0.42s cubic-bezier(0.2, 0.85, 0.2, 1) both;
}

.live-camera.recognized .ar-card::before {
  position: absolute;
  top: -1px;
  left: 16px;
  right: 16px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  box-shadow: 0 0 20px rgba(185, 224, 95, 0.8);
}

.live-camera.recognized .match {
  color: var(--lime);
}

.live-camera.recognized .ar-card p {
  color: rgba(255, 255, 255, 0.74);
}

.live-camera.recognized .price-row strong {
  color: var(--lime);
}

.reference-video {
  overflow: hidden;
  margin: 22px 0;
  background: #101816;
  border-radius: 8px;
}

.reference-video video {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

@keyframes arPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(185, 224, 95, 0.42);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 16px rgba(185, 224, 95, 0);
  }
}

@keyframes scanBeam {
  0%,
  100% {
    top: 12%;
    opacity: 0;
  }

  18%,
  82% {
    opacity: 1;
  }

  50% {
    top: 88%;
  }
}

@keyframes hudReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(-16px) scale(1);
    filter: blur(0);
  }
}

.customer-panel {
  padding: clamp(24px, 5vw, 44px);
  color: var(--ink);
}

.customer-panel .eyebrow {
  color: var(--green);
}

.customer-panel p {
  color: var(--muted);
}

.customer-product-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.customer-product {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 16px;
  text-align: left;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.customer-product.active {
  border-color: var(--green);
  box-shadow: inset 4px 0 0 var(--green);
}

.customer-product span,
.customer-product small {
  color: var(--muted);
}

.customer-product strong {
  font-size: 18px;
}

.detected-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.detected-data div {
  min-height: 86px;
  padding: 15px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detected-data span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.detected-data strong {
  display: block;
  line-height: 1.35;
}

.customer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.secondary-button.dark {
  color: white;
  background: var(--ink);
}

.customer-app {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #101816;
}

.camera-fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #101816;
}

.camera-fullscreen .camera-view {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  border-radius: 0;
}

.camera-fullscreen .camera-stream {
  opacity: 1;
}

.camera-topbar {
  position: absolute;
  z-index: 4;
  top: max(14px, env(safe-area-inset-top));
  left: 14px;
  right: 14px;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.camera-topbar a,
.camera-topbar button {
  min-height: 42px;
  padding: 10px 12px;
  color: #102019;
  background: rgba(185, 224, 95, 0.94);
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.camera-topbar a {
  display: grid;
  place-items: center;
}

.camera-topbar button:disabled {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.18);
}

.camera-fullscreen .location-gate {
  top: calc(max(14px, env(safe-area-inset-top)) + 58px);
  left: 14px;
  right: 14px;
}

.camera-fullscreen .scan-frame {
  inset: 22vh 12vw 34vh;
}

.camera-fullscreen .product-orb {
  top: 20vh;
}

.camera-fullscreen .live-camera.arrived .product-orb {
  top: 20vh;
}

.camera-fullscreen .ar-card {
  left: 14px;
  right: 14px;
  bottom: calc(102px + env(safe-area-inset-bottom));
}

.fullscreen-nearby {
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  margin: 0;
  color: white;
  background: rgba(16, 24, 22, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.fullscreen-nearby span,
.fullscreen-nearby small {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .proof-band,
  .patent-grid,
  .demo-grid,
  .feature-grid,
  .price-grid,
  .metrics,
  .app-shell,
  .admin-hero,
  .admin-metrics,
  .admin-grid,
  .admin-grid.two,
  .customer-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    height: auto;
  }

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

  .phone-panel {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: 64px;
  }

  .brand {
    font-size: 14px;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .hero {
    padding-top: 94px;
  }

  .workspace,
  .features,
  .pricing,
  .patents,
  .cta {
    padding: 58px 16px;
  }

  .admin-main,
  .customer-layout {
    padding: 16px;
  }

  .admin-hero,
  .admin-form,
  .admin-table-card,
  .admin-detail-card,
  .customer-panel {
    padding: 18px;
  }

  .phone {
    min-height: 640px;
    border-width: 7px;
    border-radius: 28px;
  }

  .camera-view {
    min-height: 488px;
  }

  .camera-controls {
    grid-template-columns: 1fr;
  }

  .detected-data {
    grid-template-columns: 1fr;
  }

  .location-gate {
    top: 158px;
  }

  .dashboard {
    padding: 18px;
  }

  .dash-top,
  .product-row,
  .table-row,
  #orderTable .table-row,
  .detail-form {
    grid-template-columns: 1fr;
  }

  .dash-top {
    display: grid;
  }

  .product-row {
    align-items: start;
  }
}
