/* =====================================================
   PRYZE — app-demo.css  (demo page specific styles)
   ===================================================== */

/* ── Hero / Gate ─────────────────────────────────────── */
.demo-hero-section {
  background: var(--ink);
  padding: 100px 0 84px;
  position: relative;
  overflow: hidden;
}
.demo-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 18% 55%, rgba(221,91,74,0.13), transparent 60%),
    radial-gradient(ellipse 45% 55% at 88% 28%, rgba(41,143,254,0.06), transparent 60%);
  pointer-events: none;
}
.gate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.gate-copy .eyebrow { color: var(--coral); }
.gate-copy .h1 { color: var(--white); margin-top: 14px; }
.gate-copy .h1 em { color: var(--coral); font-style: normal; }
.gate-copy .lede { color: rgba(255,255,255,0.62); margin-top: 18px; max-width: 460px; }
.gate-features {
  list-style: none; padding: 0;
  margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 11px;
}
.gate-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.68);
}
.gate-features li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%; flex-shrink: 0;
  background: rgba(221,91,74,0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DD5B4A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/10px no-repeat;
  border: 1px solid rgba(221,91,74,0.3);
}

/* Gate card */
.gate-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
}
.gate-card-title { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.gate-card-sub { font-size: 13px; color: var(--mute); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-top: 16px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.form-group input {
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 14px; color: var(--ink);
  background: var(--paper);
  transition: border-color var(--t-fast) var(--ease);
  outline: none; width: 100%;
}
.form-group input:focus { border-color: var(--coral); background: var(--white); box-shadow: 0 0 0 3px rgba(221,91,74,0.1); }
.gate-submit { width: 100%; margin-top: 20px; }
.gate-disclaimer { font-size: 11.5px; color: var(--mute); text-align: center; margin-top: 12px; }

/* Welcome card (post-unlock) */
.gate-welcome {
  display: none;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
  text-align: center;
}
.gate-welcome.show { display: block; }
.gate-welcome-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--coral-tint); border: 2px solid var(--coral-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 14px;
}
.gate-welcome h3 { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.gate-welcome p { font-size: 13px; color: var(--mute); margin-top: 6px; }
.gate-welcome .btn { margin-top: 18px; }

/* ── Demo section ────────────────────────────────────── */
.demo-main { display: none; }
.demo-main.unlocked { display: block; }

.demo-content-section { background: var(--cream); padding: 80px 0; }

.demo-mode-tabs {
  display: flex; align-items: center; gap: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px;
  width: fit-content;
  margin: 0 auto 52px;
}
.demo-mode-tab {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 10px 26px; border-radius: var(--r-pill);
  border: none; background: none; color: var(--mute);
  cursor: pointer; transition: all var(--t-fast) var(--ease);
  display: flex; align-items: center; gap: 8px;
}
.demo-mode-tab.active { background: var(--coral); color: var(--white); box-shadow: 0 4px 14px rgba(221,91,74,0.28); }
.demo-panel { display: none; }
.demo-panel.active { display: block; }

/* Phone stage layout */
.phone-stage {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.phone-copy h3 { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.phone-copy > p { font-size: 15px; color: var(--mute); margin-top: 10px; line-height: 1.6; }
.phone-nav-section { margin-top: 28px; }
.phone-nav-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-soft); margin-bottom: 10px; }
.phone-nav-btns { display: flex; flex-direction: column; gap: 6px; }
.phone-nav-btn {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--mute); cursor: pointer; text-align: left;
  transition: all var(--t-fast) var(--ease);
  display: flex; align-items: center; gap: 8px;
}
.phone-nav-btn.active {
  background: var(--coral-tint); border-color: var(--coral-soft); color: var(--coral-dark);
}
.phone-nav-btn:hover:not(.active) { border-color: var(--mute-soft); color: var(--ink-soft); }

/* Phone frame */
.phone-wrap { flex-shrink: 0; }
.phone {
  width: 286px;
  background: #0a0a0a; border-radius: 44px; padding: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.07), 0 40px 80px rgba(0,0,0,0.28), 0 12px 24px rgba(221,91,74,0.07);
  user-select: none; position: relative;
}
.phone-inner {
  width: 100%; background: #f2f2f7;
  border-radius: 36px; overflow: hidden;
  display: flex; flex-direction: column; height: 572px;
}
.phone-island {
  position: absolute; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 76px; height: 20px; background: #0a0a0a;
  border-radius: 12px; z-index: 100;
}
.phone-status {
  height: 40px; padding: 5px 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-shrink: 0; z-index: 10; position: relative;
}
.status-time { font-family: var(--sans); font-size: 11px; font-weight: 600; color: #1a1a1a; }
.status-icons { display: flex; align-items: center; gap: 4px; }
.status-icons svg { width: 12px; height: 12px; color: #1a1a1a; }
.phone-screens { flex: 1; position: relative; overflow: hidden; }
.app-screen {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: var(--sans);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.app-screen::-webkit-scrollbar { display: none; }
.app-screen.active { opacity: 1; pointer-events: auto; }
.phone-tabs {
  height: 56px; background: #ffffff;
  border-top: 1px solid #e5e5ea;
  display: flex; align-items: flex-start; justify-content: space-around;
  padding-top: 6px; flex-shrink: 0; z-index: 10;
}
.tab-btn {
  flex: 1; border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: #9a9a9e; font-family: var(--sans); font-size: 7.5px; font-weight: 500;
  transition: color 0.18s; padding: 0;
}
.tab-btn.active { color: #DD5B4A; }
.tab-btn svg { width: 20px; height: 20px; }

/* App shared */
.app-header { background: #fff; padding: 11px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f0f0f5; }
.app-screen-title { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.app-pts-chip { background: #fff5f4; border: 1px solid #ffd8d4; border-radius: 20px; padding: 4px 10px; font-size: 11px; font-weight: 600; color: #DD5B4A; }
.app-section-label { font-size: 11.5px; font-weight: 600; color: #1a1a1a; padding: 11px 14px 6px; display: flex; justify-content: space-between; align-items: center; }
.app-see-all { font-size: 10px; font-weight: 500; color: #DD5B4A; }

/* Dashboard */
#screen-dashboard { background: #f2f2f7; }
.dash-header { background: #fff; padding: 11px 14px 13px; display: flex; justify-content: space-between; align-items: center; }
.dash-greeting { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.dash-sub { font-size: 9.5px; color: #8e8e93; margin-top: 1px; }
.shift-card {
  margin: 10px 12px; background: linear-gradient(135deg, #DD5B4A 0%, #c04436 100%);
  border-radius: 16px; padding: 15px 16px; color: white;
  position: relative; overflow: hidden;
}
.shift-card::before { content: ''; position: absolute; top: -26px; right: -26px; width: 80px; height: 80px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.shift-label { font-size: 7.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.shift-timer { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 3px 0; font-variant-numeric: tabular-nums; }
.shift-sub { font-size: 9.5px; color: rgba(255,255,255,0.7); }
.shift-pts-badge { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.18); border-radius: 9px; padding: 4px 8px; text-align: center; }
.shift-pts-num { font-size: 15px; font-weight: 700; display: block; }
.shift-pts-lbl { font-size: 7.5px; opacity: 0.75; }
.goals-wrap { padding: 0 12px; display: flex; flex-direction: column; gap: 6px; }
.goal-card { background: #fff; border-radius: 11px; padding: 9px 11px; }
.goal-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.goal-name { font-size: 10.5px; font-weight: 600; color: #1a1a1a; }
.goal-frac { font-size: 9.5px; color: #8e8e93; }
.goal-bar-bg { height: 4px; background: #f0f0f5; border-radius: 99px; overflow: hidden; }
.goal-bar-fill { height: 100%; background: linear-gradient(90deg, #DD5B4A, #e8705f); border-radius: 99px; }
.goal-pts { font-size: 8.5px; color: #DD5B4A; font-weight: 600; margin-top: 4px; }
.feat-scroll { display: flex; gap: 7px; padding: 0 12px 12px; overflow-x: auto; scrollbar-width: none; }
.feat-scroll::-webkit-scrollbar { display: none; }
.feat-card { flex-shrink: 0; width: 94px; background: #fff; border-radius: 12px; overflow: hidden; }
.feat-img { height: 58px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.feat-body { padding: 6px 8px 8px; }
.feat-name { font-size: 9.5px; font-weight: 600; color: #1a1a1a; }
.feat-pts { font-size: 9px; color: #DD5B4A; font-weight: 500; margin-top: 1px; }

/* Leaderboard */
#screen-leaderboard { background: #f2f2f7; }
.lb-header { background: linear-gradient(160deg, #1a1a2e 0%, #0e46a3 100%); padding: 11px 14px 18px; }
.lb-title { font-size: 15px; font-weight: 700; color: #fff; }
.lb-toggle { display: flex; background: rgba(255,255,255,0.12); border-radius: 7px; padding: 3px; margin-top: 9px; width: fit-content; }
.lb-toggle-btn { font-family: var(--sans); font-size: 9.5px; font-weight: 600; padding: 4px 13px; border-radius: 5px; border: none; cursor: pointer; color: rgba(255,255,255,0.5); background: none; transition: all 0.18s; }
.lb-toggle-btn.active { background: #fff; color: #1a1a2e; }
.podium-wrap { display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding: 14px 10px 5px; background: linear-gradient(160deg, #1a1a2e 0%, #0e46a3 100%); }
.podium-item { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.podium-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; border: 2px solid rgba(255,255,255,0.22); }
.podium-item.first .podium-avatar { width: 42px; height: 42px; font-size: 13px; border-color: #FFD700; }
.podium-name { font-size: 8.5px; font-weight: 600; color: rgba(255,255,255,0.9); }
.podium-pts-lbl { font-size: 7.5px; color: rgba(255,255,255,0.5); }
.podium-block { width: 100%; border-radius: 5px 5px 0 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.75); min-width: 58px; }
.podium-block.p1 { height: 42px; background: rgba(255,215,0,0.25); border: 1px solid rgba(255,215,0,0.32); }
.podium-block.p2 { height: 32px; background: rgba(192,192,192,0.2); border: 1px solid rgba(192,192,192,0.26); }
.podium-block.p3 { height: 22px; background: rgba(205,127,50,0.2); border: 1px solid rgba(205,127,50,0.26); }
.crown { font-size: 11px; margin-bottom: 1px; }
.lb-list { padding: 6px 11px 0; display: flex; flex-direction: column; gap: 5px; }
.lb-row { background: #fff; border-radius: 11px; padding: 7px 11px; display: flex; align-items: center; gap: 8px; }
.lb-row.you { background: #fff5f4; border: 1px solid #ffd8d4; }
.lb-rank { font-size: 10px; font-weight: 700; color: #8e8e93; width: 15px; text-align: center; }
.lb-avatar-sm { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0; }
.lb-info { flex: 1; }
.lb-name { font-size: 10.5px; font-weight: 600; color: #1a1a1a; }
.lb-you-tag { font-size: 8.5px; color: #DD5B4A; font-weight: 500; }
.lb-pts { font-size: 10.5px; font-weight: 700; color: #1a1a1a; }
.lb-delta { font-size: 8px; font-weight: 500; }
.lb-delta.up { color: #34c759; }
.lb-delta.same { color: #8e8e93; }

/* Rewards */
#screen-rewards { background: #f2f2f7; }
.rewards-bal { font-size: 10px; color: #8e8e93; padding: 8px 14px 5px; background: #fff; }
.rewards-bal strong { color: #DD5B4A; }
.cat-chips { display: flex; gap: 5px; padding: 7px 11px; overflow-x: auto; scrollbar-width: none; background: #fff; border-bottom: 1px solid #f0f0f5; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { flex-shrink: 0; padding: 3px 11px; border-radius: 20px; border: 1.5px solid #e5e5ea; background: #fff; font-family: var(--sans); font-size: 9.5px; font-weight: 500; color: #8e8e93; cursor: pointer; transition: all 0.15s; }
.cat-chip.active { background: #DD5B4A; border-color: #DD5B4A; color: #fff; }
.rewards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 9px 11px 12px; }
.reward-card { background: #fff; border-radius: 12px; overflow: hidden; }
.reward-img { height: 66px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.reward-body { padding: 7px 8px 9px; }
.reward-name { font-size: 9.5px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
.reward-pts { font-size: 9px; color: #DD5B4A; font-weight: 600; margin-top: 2px; }
.reward-btn { margin-top: 5px; width: 100%; background: #DD5B4A; color: #fff; border: none; border-radius: 7px; padding: 5px; font-family: var(--sans); font-size: 9px; font-weight: 600; cursor: pointer; }

/* Stats */
#screen-stats { background: #f2f2f7; }
.stats-cards { padding: 9px 11px; display: flex; flex-direction: column; gap: 7px; }
.stat-big-card { background: linear-gradient(135deg, #DD5B4A, #c04436); border-radius: 16px; padding: 14px 16px; color: white; position: relative; overflow: hidden; }
.stat-big-card::before { content:''; position:absolute; bottom:-16px; right:-16px; width:72px; height:72px; background:rgba(255,255,255,0.06); border-radius:50%; }
.stat-big-label { font-size: 8.5px; font-weight: 500; color: rgba(255,255,255,0.62); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-big-num { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0 1px; }
.stat-big-sub { font-size: 9.5px; color: rgba(255,255,255,0.68); }
.stat-row-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.stat-small-card { background: #fff; border-radius: 12px; padding: 11px; text-align: center; }
.stat-small-num { font-size: 20px; font-weight: 700; color: #1a1a1a; }
.stat-small-label { font-size: 9px; color: #8e8e93; margin-top: 1px; }
.stat-fire { color: #FF9F0A; font-size: 16px; }
.chart-card { background: #fff; border-radius: 12px; padding: 11px; }
.chart-title { font-size: 10.5px; font-weight: 600; color: #1a1a1a; margin-bottom: 9px; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; }
.chart-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.chart-bar { width: 100%; background: #ffe5e2; border-radius: 3px 3px 0 0; }
.chart-bar.hi { background: #DD5B4A; }
.chart-bar-lbl { font-size: 7px; color: #8e8e93; }
.activity-row { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-bottom: 1px solid #f5f5f7; background: #fff; }
.activity-row:last-child { border-bottom: none; }
.activity-icon { width: 26px; height: 26px; border-radius: 7px; background: #fff5f4; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.activity-info { flex: 1; }
.activity-name { font-size: 10px; font-weight: 600; color: #1a1a1a; }
.activity-time { font-size: 8.5px; color: #8e8e93; }
.activity-pts { font-size: 10.5px; font-weight: 700; color: #34c759; }

/* Profile */
#screen-profile { background: #f2f2f7; }
.profile-top { background: #fff; padding: 16px 14px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; border-bottom: 1px solid #f0f0f5; }
.profile-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #DD5B4A, #c04436); color: #fff; font-size: 19px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.profile-name { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.profile-role { font-size: 10px; color: #8e8e93; margin-top: 1px; }
.profile-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #f0f0f5; border-radius: 12px; overflow: hidden; margin: 9px 11px 0; }
.profile-stat { background: #fff; padding: 9px 6px; text-align: center; }
.profile-stat-num { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.profile-stat-lbl { font-size: 8.5px; color: #8e8e93; margin-top: 1px; }
.profile-menu { margin: 9px 11px; background: #fff; border-radius: 12px; overflow: hidden; }
.profile-menu-item { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-bottom: 1px solid #f5f5f7; cursor: pointer; }
.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-icon { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.profile-menu-label { flex: 1; font-size: 11px; font-weight: 500; color: #1a1a1a; }
.profile-menu-arrow { font-size: 11px; color: #c7c7cc; }
.profile-menu-item.danger .profile-menu-label { color: #ff3b30; }

/* ── Admin browser shell ──────────────────────────────── */
.admin-panel-intro { text-align: center; margin-bottom: 36px; }
.admin-panel-intro h3 { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.admin-panel-intro p { font-size: 15px; color: var(--mute); margin-top: 10px; max-width: 540px; margin-left: auto; margin-right: auto; }

.admin-tab-row { display: flex; justify-content: center; gap: 6px; margin-bottom: 24px; }
.admin-tab-btn {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  padding: 8px 20px; border-radius: 99px;
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--mute); cursor: pointer; transition: all 0.18s;
}
.admin-tab-btn.active { background: var(--coral); border-color: var(--coral); color: #fff; }

.browser-shell {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
  max-width: 960px; margin: 0 auto;
}
.browser-top { background: #2a2a2a; padding: 9px 14px; display: flex; align-items: center; gap: 10px; }
.browser-lights { display: flex; gap: 5px; flex-shrink: 0; }
.browser-lights span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser-lights span:nth-child(1) { background: #ff5f57; }
.browser-lights span:nth-child(2) { background: #febc2e; }
.browser-lights span:nth-child(3) { background: #28c840; }
.browser-addr { flex: 1; background: rgba(255,255,255,0.08); border-radius: 5px; padding: 4px 10px; font-size: 11px; color: rgba(255,255,255,0.38); font-family: var(--sans); text-align: center; }
.admin-app { display: flex; height: 480px; background: #f4f5f7; font-family: var(--sans); }
.goal-dashboard-frame { width: 100%; height: 480px; border: 0; display: block; background: #fff; }
.admin-sidebar { width: 184px; background: #1a1a2e; display: flex; flex-direction: column; flex-shrink: 0; padding: 16px 0; }
.admin-sidebar-logo { display: flex; align-items: center; gap: 7px; padding: 0 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 10px; }
.admin-sidebar-logo span { font-size: 12.5px; font-weight: 700; color: #fff; }
.admin-nav-item { display: flex; align-items: center; gap: 7px; padding: 7px 14px; font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,0.42); cursor: pointer; border: none; background: none; width: 100%; text-align: left; font-family: var(--sans); transition: all 0.15s; }
.admin-nav-item:hover { color: rgba(255,255,255,0.78); background: rgba(255,255,255,0.04); }
.admin-nav-item.active { color: #fff; background: rgba(221,91,74,0.18); border-left: 3px solid #DD5B4A; padding-left: 11px; }
.admin-nav-item svg { width: 13px; height: 13px; flex-shrink: 0; }
.admin-nav-section { font-size: 8.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.2); padding: 12px 14px 5px; }
.admin-content-area { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.12) transparent; }
.admin-view { display: none; padding: 18px 20px; }
.admin-view.active { display: block; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.admin-topbar-left h3 { font-size: 14px; font-weight: 700; color: #1a1a2e; margin: 0; }
.admin-topbar-left p { font-size: 11px; color: #8a8fa8; margin: 2px 0 0; }
.admin-topbar-right { display: flex; align-items: center; gap: 6px; }
.admin-btn { font-family: var(--sans); font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 6px; border: none; cursor: pointer; }
.admin-btn-ghost { background: #fff; border: 1.5px solid #e2e4ea; color: #3d4152; }
.admin-btn-primary { background: #DD5B4A; color: #fff; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 12px; }
.kpi-card { background: #fff; border-radius: 9px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.kpi-icon { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; margin-bottom: 7px; }
.kpi-value { font-size: 18px; font-weight: 700; color: #1a1a2e; line-height: 1; }
.kpi-label { font-size: 9.5px; color: #8a8fa8; margin-top: 2px; }
.kpi-delta { font-size: 9.5px; font-weight: 600; margin-top: 4px; }
.kpi-delta.up { color: #22c55e; }
.kpi-delta.neutral { color: #94a3b8; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.admin-card { background: #fff; border-radius: 9px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.admin-card-title { font-size: 11px; font-weight: 700; color: #1a1a2e; margin-bottom: 9px; display: flex; justify-content: space-between; align-items: center; }
.admin-card-title a { font-size: 10px; font-weight: 500; color: #DD5B4A; text-decoration: none; }
.admin-chart { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.admin-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.admin-bar { width: 100%; background: #f0f0f5; border-radius: 3px 3px 0 0; min-height: 3px; }
.admin-bar.hi { background: linear-gradient(180deg, #DD5B4A, #c04436); }
.admin-bar.med { background: linear-gradient(180deg, #f4a29a, #e8705f); }
.admin-bar-lbl { font-size: 7.5px; color: #94a3b8; }
.admin-activity-item { display: flex; align-items: center; gap: 7px; padding: 6px 0; border-bottom: 1px solid #f4f5f7; }
.admin-activity-item:last-child { border-bottom: none; }
.admin-activity-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.admin-activity-text { flex: 1; font-size: 10.5px; color: #3d4152; }
.admin-activity-time { font-size: 9px; color: #94a3b8; white-space: nowrap; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; padding: 0 9px 7px; border-bottom: 1px solid #f0f0f5; }
.admin-table td { padding: 7px 9px; font-size: 11px; color: #3d4152; border-bottom: 1px solid #f8f8fa; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.emp-avatar { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 8.5px; font-weight: 700; color: #fff; vertical-align: middle; margin-right: 6px; }
.emp-name { font-weight: 600; color: #1a1a2e; }
.status-pill { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 9px; font-weight: 600; }
.status-pill.active { background: #dcfce7; color: #16a34a; }
.status-pill.idle { background: #fef9c3; color: #a16207; }
.status-pill.offline { background: #f1f5f9; color: #64748b; }
.pts-badge { font-weight: 700; color: #DD5B4A; }
.location-card { background: #fff; border-radius: 9px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.loc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 9px; }
.loc-name { font-size: 11.5px; font-weight: 700; color: #1a1a2e; }
.loc-address { font-size: 9.5px; color: #8a8fa8; margin-top: 1px; }
.loc-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 9px; }
.loc-kpi { background: #f8f8fa; border-radius: 6px; padding: 6px 8px; }
.loc-kpi-val { font-size: 13px; font-weight: 700; color: #1a1a2e; }
.loc-kpi-lbl { font-size: 8.5px; color: #8a8fa8; margin-top: 1px; }
.loc-progress-label { display: flex; justify-content: space-between; font-size: 9.5px; color: #3d4152; margin-bottom: 3px; }
.loc-bar-bg { height: 4px; background: #f0f0f5; border-radius: 99px; overflow: hidden; }
.loc-bar-fill { height: 100%; background: linear-gradient(90deg, #DD5B4A, #e8705f); border-radius: 99px; }
.admin-search { display: flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #e2e4ea; border-radius: 6px; padding: 5px 9px; margin-bottom: 10px; font-size: 11px; color: #8a8fa8; }
.admin-search svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── Video section ─────────────────────────────────────── */
.video-section { background: var(--ink); padding: 88px 0; }
.video-section .eyebrow { color: var(--coral); }
.video-section .h2 { color: var(--white); margin-top: 12px; }
.video-section .lede { color: rgba(255,255,255,0.62); margin-top: 14px; }
.video-player {
  position: relative; max-width: 840px;
  margin: 40px auto 0; border-radius: var(--r-lg);
  overflow: hidden; background: #0d0d0d;
  aspect-ratio: 16/9; cursor: pointer;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  transition: transform var(--t-med) var(--ease);
}
.video-player:hover { transform: translateY(-3px); }
.video-thumb {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1a1a2e 0%, #0e2a5e 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  position: relative;
}
.video-duration {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
}
.video-thumb-title {
  font-size: clamp(16px, 2.2vw, 26px); font-weight: 700; color: var(--white);
  letter-spacing: -0.02em; text-align: center; padding: 0 32px; max-width: 560px;
}
.video-thumb-sub { font-size: 13px; color: rgba(255,255,255,0.45); }
.play-btn {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 28px; padding-left: 5px;
  box-shadow: 0 12px 32px rgba(221,91,74,0.45), 0 0 0 6px rgba(255,255,255,0.07);
  transition: all var(--t-med) var(--ease); position: relative; z-index: 2;
}
.video-player:hover .play-btn { transform: scale(1.08); box-shadow: 0 16px 44px rgba(221,91,74,0.55), 0 0 0 10px rgba(255,255,255,0.09); }
.video-chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 840px; margin: 22px auto 0; }
.video-chapter { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-sm); padding: 14px; cursor: pointer; transition: all var(--t-fast) var(--ease); }
.video-chapter:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }
.video-chapter .ts { font-size: 15px; font-weight: 700; color: var(--coral); }
.video-chapter .ti { font-size: 12px; font-weight: 500; color: var(--white); margin-top: 5px; }
.video-chapter .du { font-size: 10px; color: rgba(255,255,255,0.38); margin-top: 3px; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq-section { background: var(--cream); padding: 88px 0; }
.faq-list { max-width: 720px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 20px 0; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; background: none; border: none;
  width: 100%; text-align: left; font-family: var(--sans);
  transition: color var(--t-fast) var(--ease);
}
.faq-q:hover { color: var(--coral-dark); }
.faq-q-icon {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: var(--line-soft); display: flex; align-items: center;
  justify-content: center; font-size: 16px; font-weight: 300;
  transition: all var(--t-fast) var(--ease); color: var(--mute); line-height: 1;
}
.faq-item.open .faq-q-icon { background: var(--coral-tint); color: var(--coral); transform: rotate(45deg); }
.faq-a {
  font-size: 15px; line-height: 1.65; color: var(--mute);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  padding-bottom: 0;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 22px; }

/* ── Demo promo block (for use on other pages) ─────────── */
.demo-promo-strip {
  background: var(--ink); border-radius: var(--r-lg);
  padding: 40px 48px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.demo-promo-strip::before {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(221,91,74,0.15), transparent 70%);
  pointer-events: none;
}
.demo-promo-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); }
.demo-promo-title { font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-top: 6px; line-height: 1.2; }
.demo-promo-sub { font-size: 14px; color: rgba(255,255,255,0.52); margin-top: 6px; }
.demo-promo-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; flex-shrink: 0; min-width: 200px; }
.demo-promo-actions .btn { width: 100%; justify-content: center; }
.btn-ghost-white { color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); background: transparent; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.08); color: var(--white); }

/* ── Cookie banner ────────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 9999; max-width: 560px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: 0 20px 48px rgba(24,22,20,0.12);
  padding: 22px 24px;
  transform: translateY(140%);
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0; }
.cookie-banner a { color: var(--coral-dark); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.cookie-decline { background: none; border: none; color: var(--mute); font-size: 13.5px; font-weight: 600; text-decoration: underline; padding: 9px 4px; cursor: pointer; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .gate-layout { grid-template-columns: 1fr; gap: 40px; }
  .phone-stage { grid-template-columns: 1fr; justify-items: center; }
  .phone-copy { max-width: 100%; text-align: center; }
  .phone-nav-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .video-chapters { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .demo-promo-strip { grid-template-columns: 1fr; }
  .demo-promo-actions { flex-direction: row; min-width: auto; }
}
@media (max-width: 600px) {
  .phone { transform: scale(0.88); transform-origin: top center; }
  .video-chapters { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-app { height: 380px; }
  .goal-dashboard-frame { height: 380px; }
  .admin-sidebar { width: 140px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}
