/* ==========================================================================
   Follow Radar — Marketing Landing Page Styles
   Dark minimalist radar aesthetic aligned with DesignSystem.swift & t3.codes
   ========================================================================== */

:root {
  /* Core dark surfaces & typography */
  --bg: #000000;
  --bg-elev: #0a0a0a;
  --bg-card: #0d0d0d;
  --bg-card-hover: #121216;
  --fg: #f5f5f5;
  --fg-muted: #a3a3a3;
  --fg-dim: #737373;
  --border: #ffffff14;
  --border-strong: #ffffff24;

  /* Status tokens */
  --ok: oklch(72% 0.16 150);
  --warn: oklch(76% 0.15 75);

  /* Follow Radar Brand & Signal tokens (from DesignSystem.swift) */
  --violet: #9580FF;
  --pink: #FF5C9D;
  --amber: #FFA552;
  --ink: #100D22;
  --ink-high: #1C1838;
  --gained: #34D399;
  --lost: #FF5F86;
  --warn-signal: #FFA149;
  --info: #4CC3FF;
  --rename: #8C96FF;
  --star: #FFC53D;

  --brand-gradient: linear-gradient(135deg, var(--violet) 0%, var(--pink) 52%, var(--amber) 100%);

  /* Typography & layout */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --max: 1440px;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  overflow-x: clip;
}

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

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

img,
svg {
  display: block;
}

code,
pre,
kbd {
  font-family: var(--mono);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--fg);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: #16161a;
  border-color: #ffffff3d;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  background: #f5f5f5;
  color: #09090b;
  border-color: #ffffff;
  box-shadow: 0 1px 0 #ffffff40 inset, 0 12px 32px -8px rgba(149, 128, 255, 0.35);
}

.btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 1px 0 #ffffff66 inset, 0 16px 40px -6px rgba(255, 92, 157, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--fg-muted);
}

.btn-ghost:hover {
  background: #ffffff0a;
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
  gap: 10px;
}

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

.is-hidden {
  display: none !important;
}

.pill-soon {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--amber);
  background: rgba(255, 165, 82, 0.12);
  border: 1px solid rgba(255, 165, 82, 0.28);
}

.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gained);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.pill-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gained);
  box-shadow: 0 0 8px var(--gained);
}

/* ==========================================================================
   Sticky Blurred Navbar
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 60px;
  background: #000000b8;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 18px -4px rgba(255, 92, 157, 0.5);
}

.brand-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff06;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  color: var(--fg-muted);
}

.nav-links a {
  transition: color 0.18s var(--ease);
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-muted);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
}

.nav-gh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 550;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-gh:hover {
  background: #16161b;
  border-color: #ffffff40;
}

.nav-gh svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   Hero Section & Parallax Floating Signals
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 108px) 0 clamp(48px, 6vw, 84px);
  overflow: clip;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #ffffff0e 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff0e 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 95vw);
  height: 440px;
  background:
    radial-gradient(circle at 28% 45%, rgba(149, 128, 255, 0.16), transparent 55%),
    radial-gradient(circle at 55% 40%, rgba(255, 92, 157, 0.14), transparent 52%),
    radial-gradient(circle at 78% 48%, rgba(255, 165, 82, 0.10), transparent 50%);
  filter: blur(42px);
  pointer-events: none;
}

.hero-stage {
  position: relative;
}

.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-float {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate3d(
    calc(-50% + var(--mx, 0px)),
    calc(-50% + var(--my, 0px)),
    0
  );
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.hero-float-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 13px;
  background: rgba(13, 13, 16, 0.88);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--fg);
  white-space: nowrap;
  opacity: 0;
  transform: rotate(var(--r, 0deg)) translateY(14px) scale(0.94);
  animation: mark-in 0.7s var(--ease) var(--delay, 0.15s) forwards;
}

.hero-float-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-float-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-float-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
}

.hero-float-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-muted);
}

@keyframes mark-in {
  to {
    opacity: 1;
    transform: rotate(var(--r, 0deg)) translateY(0) scale(1);
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(16, 13, 34, 0.72);
  font-size: 12px;
  font-weight: 550;
  color: var(--fg-muted);
  margin-bottom: 22px;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 10px var(--pink);
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.65rem, 6.2vw, 4.9rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-title .line {
  display: block;
}

.hero-title .accent-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.6;
  color: var(--fg-muted);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-source-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--fg-muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.hero-source-link:hover {
  color: var(--fg);
  background: #ffffff08;
}

.hero-mobile-line {
  margin-top: 18px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--fg-dim);
}

.hero-mobile-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-muted);
}

/* Staggered reveal */
.js [data-rise] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js.is-ready [data-rise] {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Hero App Preview (Interactive Mockup)
   ========================================================================== */

.hero-preview {
  position: relative;
  z-index: 3;
  margin-top: clamp(44px, 6vw, 72px);
}

.hero-screenshot-frame {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: #0d0c14;
  box-shadow:
    0 32px 90px -20px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-screenshot-frame::before {
  content: "";
  position: absolute;
  inset: -40px 10% auto;
  height: 180px;
  background: radial-gradient(ellipse at 50% 50%, rgba(149, 128, 255, 0.25), rgba(255, 92, 157, 0.14) 55%, transparent 80%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.app-titlebar {
  position: relative;
  z-index: 2;
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #12101c;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.app-traffic {
  display: flex;
  align-items: center;
  gap: 7px;
}

.app-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.app-dot.red { background: #ff5f57; }
.app-dot.yellow { background: #febc2e; }
.app-dot.green { background: #28c840; }

.app-title-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--fg-muted);
  min-width: 0;
}

.app-title-meta strong {
  color: var(--fg);
  font-weight: 600;
}

.app-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-mcp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--gained);
  background: rgba(52, 211, 153, 0.10);
  border: 1px solid rgba(52, 211, 153, 0.24);
}

.app-mcp-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gained);
}

.app-sync-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  transition: transform 0.15s var(--ease), opacity 0.15s var(--ease);
}

.app-sync-btn:hover {
  opacity: 0.94;
}

.app-sync-btn:active {
  transform: scale(0.96);
}

.app-sync-btn kbd {
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.24);
}

.app-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 222px 1fr;
}

/* Sidebar inside mockup */
.app-sidebar {
  min-width: 0;
  background: #0f0e18;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 10px;
  gap: 8px;
}

.app-account-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.app-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-gradient);
  padding: 2px;
  flex-shrink: 0;
}

.app-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #171525;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--fg);
}

.app-account-name {
  font-size: 12px;
  font-weight: 650;
  color: var(--fg);
  line-height: 1.2;
}

.app-account-sub {
  font-size: 10.5px;
  color: var(--fg-muted);
}

.app-nav-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.app-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-nav-heading {
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  padding: 4px 8px 2px;
}

.app-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  text-align: left;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.app-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}

.app-nav-item.is-active {
  background: rgba(149, 128, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
}

.app-nav-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.app-nav-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.app-nav-count {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg-muted);
}

.app-nav-count.is-alert {
  background: linear-gradient(135deg, #ff5f86, #e5335f);
  color: #fff;
}

.app-sidebar-footer {
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 10.5px;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

/* Main workspace inside mockup */
.app-main {
  min-width: 0;
  min-height: 0;
  background: #0e0d15;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

/* Radar Hero Card matching DSRadarBackground */
.radar-hero-card {
  position: relative;
  border-radius: 14px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 152px;
  flex-shrink: 0;
}

.radar-aurora-1,
.radar-aurora-2,
.radar-aurora-3 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(34px);
}

.radar-aurora-1 {
  width: 280px;
  height: 280px;
  left: -40px;
  top: -110px;
  background: rgba(149, 128, 255, 0.32);
}

.radar-aurora-2 {
  width: 240px;
  height: 240px;
  left: 46%;
  bottom: -140px;
  background: rgba(255, 92, 157, 0.25);
}

.radar-aurora-3 {
  width: 170px;
  height: 170px;
  right: -20px;
  top: -70px;
  background: rgba(255, 165, 82, 0.22);
}

.radar-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 60%;
}

.radar-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.radar-metric-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.radar-count {
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.7vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
}

.radar-delta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gained);
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.radar-view-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.radar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.radar-chip {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.radar-chip.is-active,
.radar-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

/* Concentric Radar Disc */
.radar-scope {
  position: relative;
  width: 210px;
  height: 210px;
  margin: -38px -12px -38px 0;
  flex-shrink: 0;
  z-index: 1;
}

.radar-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.radar-ring.r1 { width: 42px; height: 42px; }
.radar-ring.r2 { width: 84px; height: 84px; }
.radar-ring.r3 { width: 126px; height: 126px; }
.radar-ring.r4 { width: 168px; height: 168px; }
.radar-ring.r5 { width: 206px; height: 206px; border-color: rgba(255, 255, 255, 0.06); }

.radar-cross-h,
.radar-cross-v {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
}

.radar-cross-h {
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1px;
}

.radar-cross-v {
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
}

.radar-sweep {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: conic-gradient(
    from -30deg,
    transparent 0deg,
    transparent 285deg,
    rgba(255, 92, 157, 0.12) 332deg,
    rgba(255, 92, 157, 0.42) 360deg
  );
  animation: radar-sweep 5.5s linear infinite;
}

.radar-sweep.is-boost {
  animation-duration: 1.4s;
}

@keyframes radar-sweep {
  to {
    transform: rotate(360deg);
  }
}

.radar-center-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 14px 4px rgba(255, 92, 157, 0.75);
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-blip.is-gained {
  background: var(--gained);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
}

.radar-blip.is-lost {
  background: var(--lost);
  box-shadow: 0 0 0 4px rgba(255, 95, 134, 0.24);
}

.radar-blip.is-rename {
  background: var(--rename);
  box-shadow: 0 0 0 4px rgba(140, 150, 255, 0.24);
}

/* Metrics row inside mockup */
.app-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex-shrink: 0;
}

.app-metric-card {
  background: #17151F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.app-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: var(--fg-muted);
}

.app-metric-val {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.app-metric-num {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.app-spark {
  width: 62px;
  height: 22px;
  flex-shrink: 0;
}

/* Feed inside mockup */
.app-feed-card {
  flex: 1;
  min-height: 0;
  background: #17151F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-feed-head {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fg);
}

.app-feed-sub {
  font-weight: 450;
  color: var(--fg-dim);
  font-size: 11px;
}

.app-feed-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  transition: background 0.14s var(--ease);
}

.app-row:last-child {
  border-bottom: none;
}

.app-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.app-row-user {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.app-row-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.app-row-info {
  min-width: 0;
}

.app-row-handle {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-row-detail {
  font-size: 11px;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sig-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}

.sig-badge.lost { color: var(--lost); background: rgba(255, 95, 134, 0.13); }
.sig-badge.gained { color: var(--gained); background: rgba(52, 211, 153, 0.13); }
.sig-badge.rename { color: var(--rename); background: rgba(140, 150, 255, 0.15); }
.sig-badge.block { color: var(--warn-signal); background: rgba(255, 161, 73, 0.14); }
.sig-badge.star { color: var(--star); background: rgba(255, 197, 61, 0.14); }
.sig-badge.info { color: var(--info); background: rgba(76, 195, 255, 0.14); }

.app-row-btn {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--fg-muted);
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.app-row-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.app-row-btn.is-queued {
  color: var(--gained);
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.12);
}

/* Bottom status bar inside mockup */
.app-statusbar {
  height: 28px;
  padding: 0 12px;
  border-top: 1px solid var(--border);
  background: #12101c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-dim);
  flex-shrink: 0;
}

.app-status-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.app-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fg-muted);
}

.app-status-dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gained);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */

.section {
  padding: clamp(64px, 8vw, 112px) 0;
  border-top: 1px solid var(--border);
}

.sec-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.sec-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

.sec-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.sec-desc {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* ==========================================================================
   Marquee Section (#signals)
   ========================================================================== */

.sec-endorsements {
  padding: clamp(52px, 6vw, 84px) 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.endorse-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.marquee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.marquee-row {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 55s linear infinite;
}

.marquee-row.is-reverse {
  animation-direction: reverse;
  animation-duration: 62s;
}

.marquee:hover .marquee-row {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.quote-card {
  width: 340px;
  flex-shrink: 0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.quote-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg);
}

.quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--fg-dim);
}

.quote-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

/* ==========================================================================
   6-Tile Capabilities Grid (#features)
   ========================================================================== */

.harness-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.harness-cell {
  background: var(--bg);
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s var(--ease);
  min-width: 0;
}

.harness-cell:hover {
  background: var(--bg-elev);
}

.harness-visual {
  height: 92px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  position: relative;
}

.hv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-muted);
}

.hv-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hv-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand-gradient);
}

.hv-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--fg);
}

.hv-chip.is-green {
  color: var(--gained);
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.09);
}

.hv-chip.is-pink {
  color: var(--lost);
  border-color: rgba(255, 95, 134, 0.28);
  background: rgba(255, 95, 134, 0.09);
}

.hv-chip.is-violet {
  color: var(--violet);
  border-color: rgba(149, 128, 255, 0.3);
  background: rgba(149, 128, 255, 0.11);
}

.hv-chip.is-amber {
  color: var(--amber);
  border-color: rgba(255, 165, 82, 0.3);
  background: rgba(255, 165, 82, 0.1);
}

.harness-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fg);
}

.harness-sub {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg-muted);
}

/* ==========================================================================
   Split Workflow Section (#workflow)
   ========================================================================== */

.git-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.git-visual {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.git-copy {
  min-width: 0;
}

.git-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.85);
}

.git-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--fg-muted);
}

.git-code {
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  background: #070709;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  color: #e4e4e7;
  overflow-x: auto;
}

.tok-key { color: var(--violet); }
.tok-str { color: var(--gained); }
.tok-num { color: var(--amber); }
.tok-dim { color: var(--fg-dim); }

.git-trail {
  margin-left: 34px;
  height: 44px;
  border-left: 1px dashed rgba(149, 128, 255, 0.45);
  display: flex;
  align-items: center;
  padding-left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
}

.git-commit-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(149, 128, 255, 0.12), rgba(255, 92, 157, 0.08));
  border: 1px solid rgba(149, 128, 255, 0.32);
}

.git-commit-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.git-commit-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.git-commit-title {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--fg);
}

.git-commit-sub {
  font-size: 12px;
  color: var(--fg-muted);
}

.shortcut-kbd {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: #00000080;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  white-space: nowrap;
}

.git-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.git-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--fg-muted);
}

.git-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--gained);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.git-list strong {
  color: var(--fg);
  font-weight: 600;
}

/* ==========================================================================
   Pricing Section (#pricing) — Wispr Flow-inspired with Extended Black Friday
   ========================================================================== */

.sec-pricing {
  background: radial-gradient(ellipse 68% 52% at 50% 0%, rgba(255, 92, 157, 0.08), transparent 72%);
}

.pricing-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.pricing-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 92, 157, 0.38);
  background: linear-gradient(135deg, rgba(149, 128, 255, 0.14), rgba(255, 92, 157, 0.14));
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd3e6;
  margin-bottom: 16px;
}

.pricing-promo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.pricing-sub strong {
  color: var(--fg);
  font-weight: 650;
}

.pricing-sub del {
  color: var(--fg-dim);
  text-decoration-color: rgba(255, 95, 134, 0.65);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin-inline: auto;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

.pricing-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.pricing-card.is-featured {
  background: linear-gradient(180deg, rgba(149, 128, 255, 0.08) 0%, #0e0d15 48%, #0d0d0d 100%);
  border: 1.5px solid rgba(149, 128, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 92, 157, 0.18) inset, 0 28px 70px -28px rgba(149, 128, 255, 0.42);
}

.pricing-card.is-lifetime {
  background: linear-gradient(180deg, rgba(255, 165, 82, 0.09) 0%, #110e14 48%, #0d0d0d 100%);
  border: 1.5px solid rgba(255, 165, 82, 0.52);
  box-shadow: 0 0 0 1px rgba(255, 197, 61, 0.14) inset, 0 28px 70px -28px rgba(255, 165, 82, 0.26);
}

.pricing-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-muted);
}

.pricing-tag.is-trial {
  color: var(--gained);
  border-color: rgba(52, 211, 153, 0.34);
  background: rgba(52, 211, 153, 0.11);
}

.pricing-tag.is-blackfriday {
  color: #fff;
  border-color: rgba(255, 92, 157, 0.55);
  background: linear-gradient(135deg, rgba(255, 92, 157, 0.26), rgba(255, 165, 82, 0.22));
}

.pricing-tag.is-violet {
  color: #d9d0ff;
  border-color: rgba(149, 128, 255, 0.45);
  background: rgba(149, 128, 255, 0.16);
}

.pricing-tag.is-amber {
  color: #ffe2bd;
  border-color: rgba(255, 165, 82, 0.52);
  background: linear-gradient(135deg, rgba(255, 165, 82, 0.24), rgba(255, 197, 61, 0.16));
}

.pricing-cta-lifetime {
  background: linear-gradient(135deg, var(--amber), var(--pink));
  color: #0b0912;
  border-color: rgba(255, 210, 150, 0.6);
  font-weight: 700;
  box-shadow: 0 12px 32px -10px rgba(255, 165, 82, 0.45);
}

.pricing-cta-lifetime:hover {
  background: linear-gradient(135deg, #ffb46b, #ff70aa);
  border-color: rgba(255, 224, 180, 0.85);
}

.pricing-plan-name {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.pricing-plan-desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg-muted);
  min-height: 40px;
}

.pricing-price-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.pricing-old-price {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-dim);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 95, 134, 0.8);
}

.pricing-amount {
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}

.pricing-period {
  font-size: 13.5px;
  color: var(--fg-muted);
}

.pricing-billing-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--fg-dim);
}

.pricing-cta {
  width: 100%;
  padding: 12px 18px;
}

.pricing-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-list-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
}

.pricing-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pricing-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-muted);
}

.pricing-checklist code {
  font-size: 12px;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 5px;
}

.pricing-check {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(149, 128, 255, 0.14);
  border: 1px solid rgba(149, 128, 255, 0.35);
  color: var(--violet);
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card.is-featured .pricing-check {
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.36);
  color: var(--gained);
}

.pricing-callout {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(149, 128, 255, 0.16), rgba(255, 92, 157, 0.12));
  border: 1px solid rgba(149, 128, 255, 0.38);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #eae6ff;
}

.pricing-card.is-lifetime .pricing-check {
  background: rgba(255, 165, 82, 0.15);
  border-color: rgba(255, 165, 82, 0.38);
  color: var(--amber);
}

.pricing-callout.is-urgency {
  background: linear-gradient(135deg, rgba(255, 165, 82, 0.18), rgba(255, 92, 157, 0.12));
  border-color: rgba(255, 165, 82, 0.45);
  color: #ffebd2;
}

.pricing-callout strong {
  color: #ffffff;
  font-weight: 700;
}

/* Wispr Flow-style Comparison Rows */
.pricing-compare {
  max-width: 960px;
  margin-inline: auto;
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.pricing-compare-head,
.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.85fr));
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
}

.pricing-compare-head {
  background: #111018;
  border-bottom: 1px solid var(--border-strong);
}

.pricing-compare-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.pricing-compare-col {
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  color: var(--fg);
  line-height: 1.3;
}

.pricing-compare-col span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-muted);
}

.pricing-compare-col.is-featured {
  color: #e4dcff;
}

.pricing-compare-col.is-featured span {
  color: var(--pink);
}

.pricing-compare-col.is-lifetime-col {
  color: #ffe8c8;
}

.pricing-compare-col.is-lifetime-col span {
  color: var(--amber);
}

.pricing-row {
  position: relative;
  border-top: 1px solid var(--border);
  transition: border-color 0.16s var(--ease);
}

.pricing-row:first-of-type {
  border-top: none;
}

.pricing-row-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(149, 128, 255, 0.07), rgba(255, 92, 157, 0.04));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease);
}

.pricing-row:hover .pricing-row-bg-overlay {
  opacity: 1;
}

.pricing-row-feature,
.pricing-row-cell {
  position: relative;
  z-index: 1;
}

.pricing-row-feature strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg);
}

.pricing-row-feature span {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}

.pricing-row-cell {
  text-align: center;
  font-size: 12.5px;
  color: var(--fg-muted);
}

.p-mark.is-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--gained);
  background: rgba(52, 211, 153, 0.12);
}

.pricing-row-cell.is-featured .p-mark.is-yes {
  color: #fff;
  background: rgba(149, 128, 255, 0.24);
  border: 1px solid rgba(149, 128, 255, 0.45);
}

.p-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 92, 157, 0.28), rgba(149, 128, 255, 0.28));
  border: 1px solid rgba(255, 92, 157, 0.45);
}

.p-pill.is-gold {
  color: #ffebc9;
  background: linear-gradient(135deg, rgba(255, 165, 82, 0.26), rgba(255, 197, 61, 0.2));
  border-color: rgba(255, 165, 82, 0.5);
}

.pricing-row-cell.is-lifetime-cell .p-mark.is-yes {
  color: #ffe8c8;
  background: rgba(255, 165, 82, 0.18);
  border: 1px solid rgba(255, 165, 82, 0.38);
}

.p-text {
  font-size: 12px;
  color: var(--fg-dim);
}

/* ==========================================================================
   Open Source & Terminal Section (#open)
   ========================================================================== */

.open-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1px;
  background: var(--border-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.open-term {
  background: #08080a;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.open-term-bar {
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: #0d0d10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.open-term-title {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg-muted);
}

.copy-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff08;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.copy-btn:hover {
  color: var(--fg);
  background: #ffffff14;
}

.open-term-body {
  margin: 0;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: #e5e5e5;
  overflow-x: auto;
}

.term-prompt { color: var(--pink); }
.term-comment { color: var(--fg-dim); }
.term-ok { color: var(--gained); }
.term-url { color: var(--info); }

.caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  vertical-align: -2px;
  margin-left: 4px;
  background: var(--fg);
  animation: blink 1.05s steps(2, start) infinite;
}

@keyframes blink {
  to {
    opacity: 0;
  }
}

.open-pitch {
  background: var(--bg-card);
  padding: clamp(24px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.open-pitch-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: var(--fg-muted);
}

.open-pitch-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.open-pitch-list li::before {
  content: "✓";
  color: var(--gained);
  font-weight: 700;
}

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

/* ==========================================================================
   Platforms & Download CTA Section (#download)
   ========================================================================== */

.sec-cta {
  padding: clamp(68px, 9vw, 120px) 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 65% 55% at 50% 0%, rgba(149, 128, 255, 0.09), transparent 70%);
}

.cta-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 4.5vw, 48px);
}

.cta-main-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

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

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

.platform-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.platform-card.is-recommended {
  border-color: rgba(149, 128, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(149, 128, 255, 0.14) inset;
}

.platform-card.is-soon {
  opacity: 0.88;
}

.platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.platform-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: var(--fg);
}

.platform-icon svg {
  width: 20px;
  height: 20px;
}

.platform-name {
  margin: 14px 0 4px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.platform-meta {
  margin: 0;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.platform-cmd {
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #060608;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  overflow-x: auto;
  white-space: nowrap;
}

.platform-cta {
  width: 100%;
}

.platform-cta[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.foot {
  border-top: 1px solid var(--border);
  padding: 36px 0 44px;
  color: var(--fg-dim);
  font-size: 13px;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.foot-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--fg-dim);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.foot-links a {
  color: var(--fg-muted);
  transition: color 0.15s var(--ease);
}

.foot-links a:hover {
  color: var(--fg);
}

/* ==========================================================================
   Responsive Breakpoints (960px, 820px, 420px, 360px)
   ========================================================================== */

@media (max-width: 1180px) {
  .hero-floats {
    display: none;
  }
}

@media (max-width: 1120px) {
  .harness-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .hero-floats {
    display: none;
  }

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

  .git-split,
  .open-card {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }

  .pricing-card.is-featured {
    order: -1;
  }

  .pricing-plan-desc {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .hero-screenshot-frame {
    aspect-ratio: auto;
  }

  .app-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
  }

  .app-account-card {
    padding: 6px 8px;
  }

  .app-nav-scroll {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    padding-bottom: 4px;
  }

  .app-nav-group {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .app-nav-heading,
  .app-sidebar-footer {
    display: none;
  }

  .app-nav-item {
    width: auto;
    white-space: nowrap;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
  }

  .radar-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .radar-hero-copy {
    max-width: 100%;
  }

  .radar-scope {
    display: none;
  }

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

  .app-statusbar {
    height: auto;
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .endorse-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-card {
    width: 290px;
  }

  .pricing-compare-head {
    display: none;
  }

  .pricing-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
    padding: 14px 16px;
  }

  .pricing-row-feature {
    grid-column: 1 / -1;
  }

  .pricing-row-cell {
    text-align: left;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .pricing-row-cell:nth-of-type(2)::before {
    content: "Pro ($2.99/mo)";
    font-family: var(--mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pink);
  }

  .pricing-row-cell:nth-of-type(3)::before {
    content: "Lifetime ($30)";
    font-family: var(--mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber);
  }

  .pricing-row-cell.is-featured {
    border-color: rgba(149, 128, 255, 0.35);
    background: rgba(149, 128, 255, 0.08);
  }

  .pricing-row-cell.is-lifetime-cell {
    border-color: rgba(255, 165, 82, 0.35);
    background: rgba(255, 165, 82, 0.08);
  }
}

@media (max-width: 600px) {
  .platform-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .harness-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .brand-badge,
  .nav-lang {
    display: none;
  }

  .pricing-promo-pill {
    font-size: 9.8px;
    padding: 5px 11px;
    letter-spacing: 0.02em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .hero-source-link {
    width: 100%;
    justify-content: center;
  }

  .app-title-meta {
    display: none;
  }

  .app-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .app-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .app-row-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 360px) {
  :root {
    --pad: 16px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .app-metrics {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-float-mark {
    opacity: 1;
    transform: rotate(var(--r, 0deg));
    animation: none;
  }

  .js [data-rise] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-row,
  .radar-sweep,
  .caret {
    animation: none;
  }
}
