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

:root {
  --bg: #ffffff;
  --bg2: #f8fafc;
  --bg3: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text2: #475569;
  --text3: #94a3b8;
  --accent: #0ea5e9;
  --accent2: #0284c7;
  --accent-light: #e0f2fe;
  --green: #10b981;
  --green-light: #d1fae5;
  --red: #ef4444;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(10,15,30,.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; color: #fff; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.logo-mark { width: 28px; height: 28px; border-radius: 6px; background: #0f172a; display: flex; align-items: center; justify-content: center; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: #94a3b8; font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.btn-nav { background: #3b82f6 !important; color: #fff !important; padding: 6px 14px; border-radius: 8px; font-size: .8rem !important; white-space: nowrap; }
.btn-nav:hover { background: #2563eb !important; }

/* Hero — centered with product demo */
.hero-split { background: #0a0f1e; padding: 0; overflow: hidden; position: relative; }
.hero-split::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(99,102,241,.12) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 70%);
  pointer-events: none;
}
.hero-split-inner { max-width: 1100px; margin: 0 auto; padding: 100px 24px 64px; }
.hero-centered { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.hero-copy { text-align: center; max-width: 720px; }
.hero-split-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; line-height: 1.1; letter-spacing: -.03em; color: #fff; margin-bottom: 20px; }
.hero-accent { background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #34d399 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-split-sub { font-size: 1.05rem; color: #94a3b8; line-height: 1.7; margin-bottom: 32px; }
.hero-split-sub-center { max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-split-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-split-cta-center { justify-content: center; }
.hero-split .btn-primary { background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; box-shadow: 0 4px 24px rgba(99,102,241,.35); }
.hero-split .btn-primary:hover { background: linear-gradient(135deg, #2563eb, #4f46e5); transform: translateY(-1px); }
.hero-split .btn-ghost { color: #94a3b8; border-color: rgba(255,255,255,.15); }
.hero-split .btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.hero-trust { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust-center { justify-content: center; }
.hero-trust-item { font-size: .8rem; color: #64748b; }

/* ── Interactive product demo ─────────────────────────────────────────── */
.product-demo-stage { width: 100%; max-width: 960px; }
.product-demo-label {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px; padding: 0 4px;
}
.product-demo-pill {
  font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #34d399; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.25);
  padding: 4px 10px; border-radius: 99px;
}
.product-demo-hint { font-size: .8rem; color: #64748b; flex: 1; }
.product-demo-replay {
  font-size: .75rem; font-weight: 600; color: #94a3b8; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 5px 12px;
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.product-demo-replay:hover { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); }

.product-demo-frame { position: relative; }
.product-demo-glow {
  position: absolute; inset: -40px -20px -20px;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(99,102,241,.22), transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(52,211,153,.12), transparent 60%);
  pointer-events: none; z-index: 0;
}
.product-demo-window {
  position: relative; z-index: 1;
  background: #0c1222; border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 32px 80px rgba(0,0,0,.55), 0 0 120px rgba(99,102,241,.08);
}

.pd-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #070b14; border-bottom: 1px solid rgba(255,255,255,.06);
}
.pd-dots { display: flex; gap: 6px; }
.pd-dot { width: 10px; height: 10px; border-radius: 50%; }
.pd-dot.red { background: #ef4444; }
.pd-dot.yellow { background: #eab308; }
.pd-dot.green { background: #22c55e; }
.pd-url { font-size: .68rem; color: #475569; font-family: ui-monospace, monospace; flex: 1; text-align: center; }
.pd-chrome-actions { display: flex; align-items: center; gap: 8px; }
.pd-live {
  display: flex; align-items: center; gap: 6px; font-size: .65rem; font-weight: 600;
  color: #34d399; text-transform: uppercase; letter-spacing: .06em;
}
.pd-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #34d399;
  animation: pd-pulse 2s ease-in-out infinite;
}
@keyframes pd-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.85); } }

.pd-shell { display: flex; min-height: 420px; }
.pd-sidebar {
  width: 168px; flex-shrink: 0; background: #0f172a; border-right: 1px solid rgba(255,255,255,.06);
  padding: 14px 10px; display: flex; flex-direction: column;
}
.pd-sidebar-brand {
  display: flex; align-items: flex-start; gap: 8px; font-size: .68rem; font-weight: 700;
  line-height: 1.25;
  color: #e2e8f0; padding: 4px 8px 14px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 10px;
}
.pd-sidebar-brand svg { flex-shrink: 0; margin-top: 1px; }
.pd-sidebar-brand span { min-width: 0; }
.pd-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pd-nav-item {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  font-size: .72rem; font-weight: 500; color: #94a3b8; background: none; border: none;
  border-radius: 8px; padding: 8px 10px; cursor: pointer; font-family: inherit; transition: all .15s;
}
.pd-nav-item:hover { color: #e2e8f0; background: rgba(255,255,255,.04); }
.pd-nav-item.active { color: #fff; background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.25); }
.pd-nav-item.muted { opacity: .55; }
.pd-nav-icon { font-size: .85rem; opacity: .7; width: 16px; text-align: center; }
.pd-sidebar-foot { padding: 10px 8px 0; border-top: 1px solid rgba(255,255,255,.06); margin-top: 8px; }
.pd-plan { font-size: .62rem; color: #64748b; }

.pd-main { flex: 1; padding: 16px 18px; overflow: visible; position: relative; min-width: 0; z-index: 1; }
.pd-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.pd-eyebrow { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #64748b; margin-bottom: 2px; }
.pd-title { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.pd-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; position: relative; }
.pd-bell-wrap { position: relative; }
.pd-bell {
  position: relative; width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  color: #94a3b8; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.pd-bell:hover { color: #fff; border-color: rgba(255,255,255,.15); }
.pd-bell.ringing { animation: pd-ring .5s ease; }
@keyframes pd-ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(12deg); } 75% { transform: rotate(-12deg); } }
.pd-bell-badge {
  position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px;
  background: #ef4444; color: #fff; font-size: .6rem; font-weight: 700;
  border-radius: 99px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
  border: 2px solid #0c1222; transition: transform .3s;
}
.pd-bell-badge.bump { animation: pd-bump .4s ease; }
@keyframes pd-bump { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.pd-bell.open { color: #fff; border-color: rgba(99,102,241,.4); background: rgba(99,102,241,.12); }
.pd-bell-panel {
  position: absolute; top: calc(100% + 8px); right: 0; width: min(320px, calc(100vw - 48px));
  background: #0f172a; border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.45); z-index: 50; overflow: hidden;
  display: none;
}
.pd-bell-panel.open { display: block; }
.pd-bell-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .75rem; font-weight: 700; color: #e2e8f0;
}
.pd-bell-mark-read {
  font-size: .68rem; font-weight: 600; color: #818cf8; background: none; border: none;
  cursor: pointer; font-family: inherit; padding: 4px 0;
}
.pd-bell-mark-read:hover { color: #a5b4fc; }
.pd-bell-panel-list { display: flex; flex-direction: column; gap: 0; max-height: 280px; overflow-y: auto; }
.pd-bell-alert {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left;
  padding: 14px; background: none; border: none; border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.pd-bell-alert:last-child { border-bottom: none; }
.pd-bell-alert:hover { background: rgba(255,255,255,.04); }
.pd-bell-alert-icon {
  font-size: 1.1rem; line-height: 1; flex-shrink: 0;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border-radius: 8px;
}
.pd-bell-alert-body {
  display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1;
}
.pd-bell-alert-ship {
  display: block; font-size: .8rem; font-weight: 700; color: #fff; line-height: 1.3;
}
.pd-bell-alert-line {
  display: block; font-size: .68rem; color: #64748b; line-height: 1.3;
}
.pd-bell-alert-summary {
  display: block; font-size: .75rem; color: #94a3b8; margin-top: 2px; line-height: 1.45;
}
.pd-bell-panel-empty {
  padding: 20px 14px; text-align: center; font-size: .72rem; color: #64748b;
}
.pd-bell-panel-empty.hidden { display: none; }
.pd-btn-new {
  font-size: .72rem; font-weight: 600; color: #fff; padding: 7px 12px; border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #6366f1); border: none; cursor: pointer;
  font-family: inherit; transition: all .2s; white-space: nowrap;
}
.pd-btn-new:hover { filter: brightness(1.1); transform: translateY(-1px); }

.pd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.pd-stat {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 10px 12px; position: relative; overflow: hidden;
}
.pd-stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #475569, transparent);
}
.pd-stat.accent::before { background: linear-gradient(90deg, #6366f1, transparent); }
.pd-stat.green::before { background: linear-gradient(90deg, #34d399, transparent); }
.pd-stat-val { font-size: 1.15rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.pd-stat.accent .pd-stat-val { color: #a5b4fc; }
.pd-stat.green .pd-stat-val { color: #34d399; }
.pd-stat-label { font-size: .6rem; color: #64748b; margin-top: 2px; text-transform: uppercase; letter-spacing: .05em; }

.pd-view { animation: pd-fade-in .25s ease; }
.pd-view.hidden { display: none; }
@keyframes pd-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.pd-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-card {
  position: relative; text-align: left; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 12px;
  cursor: pointer; font-family: inherit; transition: all .2s; overflow: hidden;
}
.pd-card:hover { border-color: rgba(99,102,241,.35); background: rgba(99,102,241,.06); transform: translateY(-1px); }
.pd-card.selected { border-color: rgba(99,102,241,.5); box-shadow: 0 0 0 1px rgba(99,102,241,.2), 0 8px 24px rgba(99,102,241,.12); }
.pd-card.checking { border-color: rgba(245,158,11,.5); box-shadow: 0 0 20px rgba(245,158,11,.12); }
.pd-card.dropped { border-color: rgba(52,211,153,.5); box-shadow: 0 0 24px rgba(52,211,153,.15); }
.pd-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.pd-line { font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.pd-status { font-size: .58rem; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.pd-status.stable { background: rgba(52,211,153,.12); color: #34d399; }
.pd-status.drop { background: rgba(234,179,8,.15); color: #fbbf24; }
.pd-status.upgrade { background: rgba(139,92,246,.15); color: #a78bfa; }
.pd-status.casino { background: rgba(236,72,153,.12); color: #f472b6; }
.pd-status.checking { background: rgba(245,158,11,.15); color: #fbbf24; }
.pd-card-ship { font-size: .82rem; font-weight: 700; color: #f1f5f9; margin-bottom: 2px; }
.pd-card-meta { font-size: .65rem; color: #64748b; line-height: 1.4; margin-bottom: 8px; }
.pd-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.pd-price { font-size: 1rem; font-weight: 800; color: #fff; transition: color .3s, transform .3s; font-variant-numeric: tabular-nums; }
.pd-price.drop { color: #34d399; }
.pd-price .strike { color: #64748b; font-size: .75em; font-weight: 600; text-decoration: line-through; margin-right: 4px; }
.pd-price.casino-gap { color: #a78bfa; font-size: .9rem; }
.pd-checked { font-size: .58rem; color: #475569; }
.pd-card-scan {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(245,158,11,.08) 50%, transparent 60%);
  transform: translateX(-100%);
}
.pd-card-scan.active { opacity: 1; animation: pd-scan 1.2s ease forwards; }
@keyframes pd-scan { to { transform: translateX(100%); } }

.pd-detail-toolbar {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pd-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: #f8fafc;
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  padding: 10px 18px;
  min-height: 42px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  transition: color .15s, background .15s, border-color .15s, box-shadow .15s;
}
.pd-back svg { flex-shrink: 0; opacity: 0.9; }
.pd-back:hover {
  color: #fff;
  background: #334155;
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.pd-back:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}
.pd-detail-header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pd-detail-ship { font-size: 1rem; font-weight: 800; color: #fff; margin: 2px 0; }
.pd-detail-meta { font-size: .72rem; color: #64748b; }
.pd-detail-price { font-size: 1.6rem; font-weight: 800; color: #fff; text-align: right; font-variant-numeric: tabular-nums; transition: color .3s; }
.pd-detail-price.drop { color: #34d399; }
.pd-detail-target { font-size: .65rem; color: #64748b; text-align: right; margin-top: 2px; }
.pd-chart-wrap {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 12px; margin-bottom: 12px;
}
.pd-chart-label { font-size: .6rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin-bottom: 8px; }
.pd-chart { width: 100%; height: 100px; display: block; }
.pd-chart-line { transition: d .6s ease; }
.pd-timeline { display: flex; flex-direction: column; gap: 8px; }
.pd-timeline-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 8px;
  transition: opacity .4s, transform .4s;
}
.pd-timeline-item.drop-active { border-color: rgba(52,211,153,.25); background: rgba(52,211,153,.06); }
.pd-timeline-item.muted { opacity: .6; }
.pd-timeline-item strong { display: block; font-size: .75rem; color: #e2e8f0; margin-bottom: 2px; }
.pd-timeline-item p { font-size: .68rem; color: #64748b; margin: 0; line-height: 1.45; }
.pd-timeline-time { font-size: .6rem; color: #475569; white-space: nowrap; margin-left: auto; flex-shrink: 0; }
.pd-timeline-icon { font-size: .9rem; flex-shrink: 0; }

.pd-placeholder {
  text-align: center; padding: 48px 24px;
  background: rgba(255,255,255,.02); border: 1px dashed rgba(255,255,255,.1); border-radius: 12px;
}
.pd-placeholder-icon { font-size: 2rem; margin-bottom: 12px; opacity: .5; }
.pd-placeholder h3 { font-size: 1rem; font-weight: 700; color: #e2e8f0; margin-bottom: 8px; }
.pd-placeholder p { font-size: .8rem; color: #64748b; max-width: 280px; margin: 0 auto 16px; line-height: 1.6; }
.pd-placeholder-cta { font-size: .8rem; font-weight: 600; color: #818cf8; text-decoration: none; }
.pd-placeholder-cta:hover { color: #a5b4fc; }

.pd-toast {
  position: absolute; bottom: 16px; right: 16px; left: 16px;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: rgba(15,23,42,.95); border: 1px solid rgba(52,211,153,.3);
  border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.4);
  transform: translateY(120%); opacity: 0; transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  backdrop-filter: blur(8px); z-index: 10;
}
.pd-toast.show { transform: translateY(0); opacity: 1; }
.pd-toast-icon { font-size: 1.2rem; }
.pd-toast-body { flex: 1; min-width: 0; }
.pd-toast-body strong { display: block; font-size: .78rem; color: #fff; margin-bottom: 1px; }
.pd-toast-body span { font-size: .68rem; color: #94a3b8; }
.pd-toast-dismiss {
  background: none; border: none; color: #64748b; font-size: 1.1rem; cursor: pointer;
  padding: 4px; line-height: 1; font-family: inherit;
}
.pd-toast-dismiss:hover { color: #fff; }

/* Legacy app preview (guides) */
.hero-right { position: relative; }
.app-preview { background: #111827; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; box-shadow: 0 32px 64px rgba(0,0,0,.5); }
.app-preview-bar { background: #0f172a; padding: 10px 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.06); }
.app-dot { width: 8px; height: 8px; border-radius: 50%; }
.app-dot.red { background: #ef4444; }
.app-dot.yellow { background: #eab308; }
.app-dot.green { background: #22c55e; }
.app-url { font-size: .7rem; color: #475569; margin-left: 8px; font-family: 'Inter', monospace; }
.app-preview-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.app-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 14px; transition: border-color .4s, box-shadow .4s; }
.app-card-ship { font-size: .85rem; font-weight: 600; color: #e2e8f0; }
.app-card-meta { font-size: .7rem; color: #475569; margin-top: 2px; }
.app-card-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.app-card-price { font-size: 1.15rem; font-weight: 800; color: #fff; transition: color .3s, transform .3s; }
.app-badge { font-size: .65rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; transition: transform .3s; }
.badge-stable { background: rgba(34,197,94,.1); color: #34d399; }
.badge-drop { background: rgba(234,179,8,.1); color: #eab308; }
.badge-upgrade { background: rgba(139,92,246,.1); color: #a78bfa; }
.app-alert-bar { background: rgba(34,197,94,.05); border: 1px solid rgba(34,197,94,.15); border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.app-alert-icon { font-size: 1rem; }
.app-alert-text { font-size: .75rem; color: #34d399; font-weight: 500; }
.app-alert-amount { font-size: .85rem; font-weight: 700; color: #34d399; margin-left: auto; }

/* Video section */
.video-section { padding: 96px 0; border-top: 1px solid var(--border); }
.video-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.video-wrapper { max-width: 800px; margin: 0 auto; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #0f172a; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.video-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #475569; }
.video-play { width: 64px; height: 64px; border-radius: 50%; background: rgba(14,165,233,.15); border: 2px solid rgba(14,165,233,.3); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--accent); }
.video-placeholder p { font-size: .9rem; }

/* Buttons (shared) */
.btn-primary { background: var(--accent); color: #fff; padding: 13px 28px; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s, transform .1s; display: inline-block; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-primary.large { padding: 16px 36px; font-size: 1.05rem; }
.btn-ghost { color: var(--text2); padding: 13px 24px; border-radius: 10px; font-weight: 500; font-size: .95rem; text-decoration: none; border: 1px solid var(--border); transition: all .2s; display: inline-block; }
.btn-ghost:hover { border-color: #94a3b8; color: var(--text); }

/* Pain */
.pain { background: var(--bg2); padding: 96px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-label.center { text-align: center; }
.pain-left h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; letter-spacing: -.02em; }
.pain-left p { color: var(--text2); line-height: 1.75; margin-bottom: 16px; }
.pain-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pain-item { display: flex; gap: 16px; align-items: flex-start; }
.pain-item.bad { opacity: .7; }
.pain-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.pain-item strong { display: block; font-weight: 600; margin-bottom: 6px; }
.pain-item p { font-size: .9rem; color: var(--text2); margin: 0; }
.pain-arrow { text-align: center; font-size: 1.4rem; color: var(--text3); padding: 12px 0; }

/* Audience */
.audience { padding: 96px 0; border-bottom: 1px solid var(--border); }
.audience h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 48px; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.audience-icon { font-size: 1.8rem; margin-bottom: 14px; }
.audience-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.audience-card p { font-size: .9rem; color: var(--text2); line-height: 1.7; }

.section-sub { color: var(--text2); max-width: 520px; margin: 0 auto 48px; }

/* Features */
.features { padding: 96px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.features h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-icon { font-size: 1.6rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--text2); line-height: 1.65; }

/* In-app UI mocks (static screenshots for landing/guides) */
.qualifier-mocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 32px auto 28px; }
.ui-mock { background: #0f172a; border: 1px solid #334155; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(15,23,42,.12); text-align: left; }
.ui-mock-caption { padding: 10px 16px; background: #1e293b; border-bottom: 1px solid #334155; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.ui-mock-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.ui-mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-mock-field label { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin-bottom: 5px; }
.ui-mock-field .ui-mock-value { background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 8px 10px; font-size: .78rem; color: #e2e8f0; }
.ui-mock-panel { border: 1px solid #334155; border-radius: 10px; padding: 14px; background: rgba(15,23,42,.6); }
.ui-mock-panel-title { font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin-bottom: 10px; }
.ui-mock-check { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: #cbd5e1; padding: 3px 0; }
.ui-mock-check input { width: 14px; height: 14px; accent-color: #6366f1; flex-shrink: 0; pointer-events: none; }
.ui-mock-check.muted { color: #64748b; }
.ui-mock-input { background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 8px 10px; font-size: .78rem; color: #e2e8f0; width: 100%; }
.ui-mock-note { font-size: .68rem; color: #64748b; margin-top: 4px; }

/* Cruise lines */
.lines { padding: 64px 0; border-top: 1px solid var(--border); }
.lines-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.line-badge { padding: 8px 20px; border-radius: 99px; font-size: .85rem; font-weight: 600; }
.line-badge.supported { background: var(--accent-light); color: var(--accent2); border: 1px solid #bae6fd; }
.line-badge.coming { background: var(--bg3); color: var(--text3); border: 1px solid var(--border); }
.coming-tag { font-size: .7rem; background: var(--border); color: var(--text3); padding: 1px 6px; border-radius: 99px; margin-left: 4px; font-weight: 500; }

/* FAQ */
.faq { padding: 96px 0; background: var(--bg); border-top: 1px solid var(--border); }
.faq h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.faq-subtitle { color: var(--text2); max-width: 480px; margin: 0 auto 48px; font-size: 1rem; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.faq-item { border-bottom: 1px solid var(--border); transition: background .2s; }
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: var(--bg2); }
.faq-item summary { padding: 22px 28px; font-size: .95rem; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; display: block; width: 20px; height: 20px; flex-shrink: 0; background: var(--bg3); border-radius: 50%; position: relative; }
.faq-item summary::after { content: '+'; font-size: 1.1rem; font-weight: 500; color: var(--text2); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--bg3); border-radius: 50%; flex-shrink: 0; transition: background .2s, color .2s, transform .3s; }
.faq-item[open] summary::after { content: '−'; background: var(--accent-light); color: var(--accent2); transform: rotate(180deg); }
.faq-item[open] summary { color: var(--accent2); }
.faq-item p { padding: 0 28px 22px 28px; font-size: .9rem; color: var(--text2); line-height: 1.75; margin: 0; }

/* Pricing */
.pricing { padding: 96px 0; border-top: 1px solid var(--border); }
.pricing h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.pricing-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.pricing-name { font-size: .85rem; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.pricing-price { font-size: 2.4rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 8px; word-break: break-word; }
.pricing-price.custom { font-size: 1.8rem; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text2); }
.pricing-desc { font-size: .85rem; color: var(--text2); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { font-size: .85rem; color: var(--text2); padding: 5px 0; }
.pricing-features li.muted { color: var(--text3); }
.btn-pricing { display: block; text-align: center; padding: 11px; border-radius: 9px; font-weight: 600; font-size: .9rem; text-decoration: none; border: 1px solid var(--border); color: var(--text); transition: all .2s; }
.btn-pricing:hover { border-color: #94a3b8; background: var(--bg2); }
.btn-pricing.featured { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-pricing.featured:hover { background: var(--accent2); border-color: var(--accent2); }

/* CTA */
.enterprise-bar { max-width: 100%; margin: 32px 0 0; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.enterprise-bar-text { }
.enterprise-bar-text strong { font-size: .95rem; font-weight: 700; display: block; margin-bottom: 2px; }
.enterprise-bar-text span { font-size: .85rem; color: var(--text2); }
.cta-section { padding: 96px 24px; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); }
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -.02em; }
.cta-section p { color: #94a3b8; font-size: 1.05rem; margin-bottom: 32px; }

/* Footer */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-weight: 700; color: var(--text2); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: .85rem; color: var(--text3); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Cookie consent banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  padding: 16px 20px;
  background: rgba(15, 23, 42, .97);
  border-top: 1px solid rgba(148, 163, 184, .2);
  backdrop-filter: blur(8px);
}
.cookie-banner-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.cookie-banner p { flex: 1; min-width: 220px; margin: 0; font-size: .875rem; color: #cbd5e1; line-height: 1.5; }
.cookie-banner a { color: #34d399; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 14px; border-radius: 8px; font-size: .875rem; font-weight: 500;
  cursor: pointer; border: none; font-family: inherit;
}
.cookie-btn-decline {
  background: transparent; color: #cbd5e1; border: 1px solid #475569;
}
.cookie-btn-decline:hover { background: rgba(51, 65, 85, .5); }
.cookie-btn-accept { background: #059669; color: #fff; }
.cookie-btn-accept:hover { background: #10b981; }
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; }
}
.footer-copy { font-size: .8rem; color: var(--text3); }

/* Hamburger */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: #94a3b8; }
.nav-hamburger svg { display: block; }
.nav-mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 16px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(10,15,30,.97); }
.nav-mobile-menu a { text-decoration: none; color: #94a3b8; font-size: .95rem; font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu.open { display: flex; }

/* Responsive */
@media (max-width: 900px) {
  .hero-split-inner { padding-top: 88px; padding-bottom: 48px; }
  .hero-centered { gap: 32px; }
  .pd-shell { flex-direction: column; min-height: 380px; }
  .pd-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 8px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pd-sidebar-brand,
  .pd-sidebar-foot { display: none; }
  .pd-nav {
    flex-direction: row;
    gap: 6px;
    flex: 1;
    min-width: min-content;
  }
  .pd-nav-item {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: .68rem;
  }
  .pd-nav-icon { display: none; }
  .pd-cards { grid-template-columns: 1fr; }
  .pd-stats { grid-template-columns: repeat(3, 1fr); }
  .nav-links a:not(.btn-nav) { display: none; }
  .nav-links { margin-left: auto; gap: 12px; }
  .nav-hamburger { display: block; }
  .pain-grid { grid-template-columns: 1fr; gap: 40px; }
  .audience-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .qualifier-mocks { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; margin-left: auto; margin-right: auto; }
  .product-demo-hint { display: none; }
  /* Bell dropdown: anchor to full header row so it isn't clipped in the demo frame */
  .pd-header { flex-wrap: wrap; gap: 10px; }
  .pd-header-actions { width: 100%; justify-content: flex-end; }
  .pd-bell-wrap { position: static; }
  .pd-bell-panel { right: 0; left: 0; width: auto; max-width: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-split-inner { padding-top: 72px; padding-bottom: 40px; }
  .pd-main { padding: 12px; }
  .pd-btn-new { padding: 7px 10px; font-size: .68rem; }
  .pd-detail-header { flex-direction: column; }
  .pd-detail-toolbar { margin-bottom: 14px; }
  .pd-back {
    width: 100%;
    padding: 12px 16px;
    font-size: .88rem;
    min-height: 46px;
  }
  .pd-detail-price-wrap { text-align: left; }
  .pd-detail-price, .pd-detail-target { text-align: left; }
  .enterprise-bar { flex-direction: column; text-align: center; }
  .pain { padding: 64px 0; }
  .features { padding: 64px 0; }
  .lines { padding: 48px 0; }
  .faq { padding: 64px 0; }
  .faq-item summary { padding: 18px 20px; font-size: .9rem; }
  .faq-item p { padding: 0 20px 18px; }
  .faq-list { border-radius: 12px; }
  .pricing { padding: 64px 0; }
  .cta-section { padding: 64px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-live-dot, .pd-card-scan, .pd-bell.ringing, .pd-bell-badge.bump { animation: none; }
  .pd-view { animation: none; }
}
