/* ============================================
   Part 2: Hardware Showcase / Apps / Pricing
   ============================================ */

/* ── HARDWARE SHOWCASE ────────────────────────────────────── */
.hw-showcase {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 880px) {
  .hw-showcase { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.hw-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hw-card .hw-img {
  background:
    radial-gradient(60% 60% at 50% 60%, rgba(255,184,0,0.07), transparent 70%),
    #000;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px;
}
.hw-card .hw-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
.hw-card.cyan .hw-img {
  background:
    radial-gradient(60% 60% at 50% 60%, rgba(0,212,229,0.07), transparent 70%),
    #000;
}
.hw-card .hw-body { padding: 28px 26px 28px; }
.hw-card .hw-tag {
  display: inline-block;
  padding: 5px 11px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 16px;
}
.hw-card.amber .hw-tag {
  color: var(--amber);
  background: rgba(255,184,0,0.10);
  border: 1px solid rgba(255,184,0,0.4);
}
.hw-card.cyan .hw-tag {
  color: var(--cyan);
  background: rgba(0,212,229,0.10);
  border: 1px solid rgba(0,212,229,0.4);
}
.hw-card h3 {
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.hw-card .hw-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 22px;
}
.hw-card .hw-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.hw-step {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 11px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text);
}
.hw-card.amber .hw-step.active {
  background: rgba(255,184,0,0.12);
  border-color: rgba(255,184,0,0.45);
  color: var(--amber);
}
.hw-card.cyan .hw-step.active {
  background: rgba(0,212,229,0.12);
  border-color: rgba(0,212,229,0.45);
  color: var(--cyan);
}
.hw-arr { color: var(--text-3); font-size: 12px; }

.hw-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.hw-feats li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}
.hw-feats li::before {
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--amber);
  font-weight: 700;
}
.hw-card.cyan .hw-feats li::before { color: var(--cyan); }
.hw-feats li b { color: var(--text); font-weight: 600; }

/* hw kpi strip */
.hw-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.hw-kpi-cell {
  background: rgba(0,0,0,0.5);
  padding: 12px 8px 14px;
  text-align: center;
}
.hw-kpi-v {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.005em;
}
.hw-kpi-v.cyan { color: var(--cyan); }
.hw-kpi-v.amber { color: var(--amber); }
.hw-kpi-v .u { font-size: 0.6em; color: var(--text-3); font-weight: 500; }
.hw-kpi-l {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-2);
  text-transform: uppercase;
  font-weight: 600;
}

/* ── DEVICE SCREEN SHOWCASE ───────────────────────────────── */
.screens {
  margin-top: 56px;
  padding: 64px 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255,255,255,0.03), transparent),
    var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.screens-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
}
@media (min-width: 720px) {
  .screens-row { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.screen-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.screen-cell .device {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  background: #000;
  border-radius: 22px;
  padding: 6px;
  position: relative;
  box-shadow:
    0 0 0 4px #1c1c1c,
    0 0 0 6px #2a2a2a,
    0 30px 50px rgba(0,0,0,0.6);
  overflow: hidden;
}
.screen-cell .device > div {
  width: 100%; height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.screen-cell .device img {
  width: 100%; height: 100%; object-fit: cover;
}
.screen-cell .cap {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-2);
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}
.screen-cell .cap b { color: #fff; font-weight: 600; }
.screen-cell .cap .amber { color: var(--amber); }

/* ── APP SHOWCASE ─────────────────────────────────────────── */
.apps {
  margin-top: 80px;
}
.apps-grid {
  margin-top: 56px;
  display: grid;
  gap: 32px;
}
@media (min-width: 880px) {
  .apps-grid { grid-template-columns: repeat(4, 1fr); }
}
.app-module .phone {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border-radius: 32px;
  padding: 4px;
  position: relative;
  box-shadow:
    0 0 0 3px #1c1c1c,
    0 0 0 4px #2a2a2a,
    0 30px 50px rgba(0,0,0,0.6);
  overflow: hidden;
  margin-bottom: 20px;
}
.app-module .phone > div {
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}
.app-module .phone img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
}
.app-module .mark {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.app-module h3 {
  font-weight: 700;
  font-size: clamp(20px, 1.4vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.app-module p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.app-module p b { color: var(--text); font-weight: 600; }

/* ── COMPARE TABLE ────────────────────────────────────────── */
.compare {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
}
.compare .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.compare .row:last-child { border-bottom: none; }
.compare .row.head {
  background: var(--bg-3);
}
.compare .cell {
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.5;
}
.compare .cell.them {
  color: var(--text-3);
  border-right: 1px solid var(--line);
}
.compare .cell.us { color: var(--text); }
.compare .row.head .cell {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.compare .row.head .cell.them { color: var(--text-3); }
.compare .row.head .cell.us { color: var(--amber); }
.compare .row:not(.head) .cell.us::before {
  content: "✓";
  color: var(--green);
  margin-right: 8px;
  font-weight: 700;
}
.compare .row:not(.head) .cell.them::before {
  content: "—";
  color: var(--text-3);
  margin-right: 8px;
}

/* ── USERS / WHO ──────────────────────────────────────────── */
.users {
  margin-top: 40px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) { .users { grid-template-columns: repeat(4, 1fr); } }
.user-card {
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.user-card .lbl {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--amber);
  text-transform: uppercase;
  font-weight: 700;
}
.user-card .who {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.005em;
}
.user-card .desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.u-amber  .lbl { color: var(--amber); }
.u-cyan   .lbl { color: var(--cyan); }
.u-green  .lbl { color: var(--green); }
.u-violet .lbl { color: var(--violet); }

/* ── PRICING ──────────────────────────────────────────────── */
.pricing {
  margin-top: 96px;
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 20%, rgba(255,184,0,0.18), transparent 60%),
    var(--bg-1);
  border-top: 1px solid var(--line);
}
.pricing .eyebrow { justify-content: center; }
.pricing h2 {
  margin: 18px auto 48px;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
  text-wrap: balance;
}
.pricing h2 .amber { color: var(--amber); }

.price-card {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid rgba(255,184,0,0.35);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,184,0,0.06), transparent 60%),
    var(--bg-2);
  overflow: hidden;
  text-align: left;
}
.price-card .savings {
  background: var(--amber);
  color: #1a1100;
  text-align: center;
  padding: 12px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.price-card .body {
  padding: 32px 32px 32px;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
}
.old-price {
  font-family: var(--mono);
  font-size: 24px;
  color: var(--text-3);
  text-decoration: line-through;
}
.new-price {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 84px);
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 1;
}
.new-price .cur {
  font-size: 0.45em;
  margin-right: 4px;
  vertical-align: 0.2em;
}
.price-label {
  margin-top: 10px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--text-2);
  text-transform: uppercase;
  font-weight: 500;
}
.perks {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.perks li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
  padding-left: 28px;
  position: relative;
}
.perks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
}
.perks li b { color: var(--text); font-weight: 600; }

.ctas {
  margin: 36px auto 0;
  max-width: 480px;
  display: flex;
  gap: 12px;
}
.btn {
  flex: 1;
  height: 60px;
  border-radius: 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary {
  background: var(--amber);
  color: #1a1100;
  box-shadow: 0 18px 36px rgba(255,184,0,0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(255,184,0,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.3);
}

/* ── FOOTER / LEGAL ───────────────────────────────────────── */
.legal {
  padding: 48px 0 48px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
  line-height: 1.8;
}
.legal .sep { color: var(--line-2); margin: 0 10px; }
.legal a { color: var(--text-3); text-decoration: none; }
.legal a:hover { color: var(--text-2); }

/* ── Subtle scroll-in fade (no JS needed) ────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .telemetry, .hero, section.feature, .zerotouch, .fusion, .pricing, .legal {
    animation: fade-up .8s ease both;
  }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }
}
