/* ==========================================================================
   Follory — 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);

  /* Follory 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-sm {
  padding: 6px 12px;
  font-size: 12px;
  gap: 6px;
}

.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: 2px;
  padding: 3px 3px 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--fg-muted);
}

.nav-lang svg {
  margin-right: 4px;
}

.nav-lang button {
  border: 0;
  background: transparent;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.nav-lang button:hover {
  color: var(--fg);
}

.nav-lang button[aria-pressed="true"] {
  background: #ffffff18;
  color: var(--fg);
}

.nav-cta {
  padding: 6px 14px;
  font-size: 13px;
}

/* ==========================================================================
   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;
}

/* Typewriter line: JS types into .type-live; the hidden spans hold the (translatable) phrases. */
.hero-title .typewriter {
  min-height: 1.02em;
}

.hero-title .type-live {
  padding-bottom: 0.06em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title .type-caret {
  display: inline-block;
  width: 0.055em;
  height: 0.82em;
  margin-left: 0.06em;
  vertical-align: -0.06em;
  border-radius: 2px;
  background: var(--fg);
  animation: caret-blink 1.05s steps(2, start) infinite;
}

.hero-title .type-caret.is-typing {
  animation: none;
}

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

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


.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-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);
}

.mobile-bridge {
  margin: 18px auto 0;
  max-width: 460px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 128, 255, 0.28);
  background: rgba(149, 128, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.mobile-bridge[hidden],
.mobile-bridge-status[hidden] {
  display: none;
}

.mobile-bridge-notice {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-muted);
}

.mobile-bridge-notice strong {
  color: var(--fg);
  font-weight: 600;
}

.mobile-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.mobile-copy-btn.is-copied {
  color: var(--gained);
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.12);
}

.mobile-bridge-status {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--gained);
}

.mobile-lifetime-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #f6cf7e;
  text-decoration: none;
  padding-top: 2px;
}

.mobile-lifetime-note strong {
  color: #fde68a;
  font-weight: 600;
}

.mobile-lifetime-note:hover {
  text-decoration: underline;
}

/* Portuguese headline is wider; keep it on three lines */
html[lang="pt-BR"] .hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
}

/* 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(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

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

.harness-visual {
  height: 112px;
  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-size: 12.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-size: 11px;
  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: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fg);
}

.harness-sub {
  margin: 7px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  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-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;
}

/* ==========================================================================
   How it works & Privacy cards (.steps)
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

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

.step-num,
.step-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-num {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--brand-gradient);
}

.step-icon {
  font-size: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
}

/* ==========================================================================
   Ask Your AI chat mock (#ai)
   ========================================================================== */

.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-bubble strong {
  font-weight: 650;
}

.chat-bubble.is-user {
  align-self: flex-end;
  color: #09090b;
  background: #f5f5f5;
  border-bottom-right-radius: 5px;
}

.chat-bubble.is-ai {
  align-self: flex-start;
  color: var(--fg);
  background: rgba(149, 128, 255, 0.12);
  border: 1px solid rgba(149, 128, 255, 0.3);
  border-bottom-left-radius: 5px;
}

/* ==========================================================================
   FAQ (#faq)
   ========================================================================== */

#faq .sec-head {
  max-width: 760px;
  margin-inline: auto;
}

.faq {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease);
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--fg-muted);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* ==========================================================================
   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(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
  align-items: stretch;
}

.pricing-flow {
  max-width: 1120px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-flow-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pricing-flow-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  background: rgba(255, 92, 157, 0.12);
  border: 1px solid rgba(255, 92, 157, 0.3);
  border-radius: 8px;
  padding: 4px 8px;
  flex-shrink: 0;
}

.pricing-flow-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--fg);
}

.pricing-flow-copy span {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.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: 1120px;
  margin-inline: auto;
  margin-top: 32px;
  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.35fr) repeat(3, minmax(0, 0.78fr));
  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);
}

/* ==========================================================================
   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-cta {
  width: 100%;
}

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

/* macOS First-Launch Guide */
.mac-guide {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.mac-guide.is-highlighted {
  border-color: rgba(149, 128, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(149, 128, 255, 0.22) inset, 0 24px 60px -26px rgba(149, 128, 255, 0.35);
}

.mac-guide-head {
  max-width: 720px;
}

.mac-guide-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #d9d0ff;
  background: rgba(149, 128, 255, 0.14);
  border: 1px solid rgba(149, 128, 255, 0.36);
}

.mac-guide-title {
  margin: 12px 0 6px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.mac-guide-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
}

.mac-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.mac-guide-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.mac-guide-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mac-guide-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.mac-guide-card-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.mac-guide-steps {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: macstep;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mac-guide-steps li {
  counter-increment: macstep;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.mac-guide-steps li::before {
  content: counter(macstep);
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(149, 128, 255, 0.14);
  border: 1px solid rgba(149, 128, 255, 0.35);
  color: #e4dcff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.mac-guide-steps strong {
  color: var(--fg);
  font-weight: 600;
}

.mac-cmd-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #070709;
  border: 1px solid var(--border-strong);
}

.mac-cmd-box code {
  font-size: 11.5px;
  line-height: 1.45;
  color: #e4dcff;
  word-break: break-all;
  min-width: 0;
  flex: 1;
}

.mac-copy-btn {
  flex-shrink: 0;
}

.mac-copy-btn.is-copied {
  color: var(--gained);
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.12);
}

/* ==========================================================================
   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: 960px) {
  .nav-links {
    display: none;
  }

  .hero-floats {
    display: none;
  }

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

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

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

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

  .pricing-grid,
  .pricing-flow {
    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(3, 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: "Monthly ($3/mo)";
    font-family: var(--mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fg-muted);
  }

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

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

  html[lang="pt-BR"] .pricing-row-cell:nth-of-type(2)::before {
    content: "Mensal ($3/mês)";
  }

  html[lang="pt-BR"] .pricing-row-cell:nth-of-type(3)::before {
    content: "Anual ($19/ano)";
  }

  html[lang="pt-BR"] .pricing-row-cell:nth-of-type(4)::before {
    content: "Vitalício ($30)";
  }

  .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);
  }

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

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

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

  .mac-cmd-box {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 520px) {
  html[lang="pt-BR"] .hero-title {
    font-size: 2rem;
  }
}

@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 {
    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;
  }

  .hero-title .type-caret {
    animation: none;
  }

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

/* Checkout / Trial Preview Modal */
.checkout-modal[hidden] {
  display: none;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(4, 3, 9, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 20px;
}

@keyframes checkoutDialogIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.checkout-dialog {
  width: min(460px, 100%);
  background: linear-gradient(180deg, rgba(149, 128, 255, 0.1) 0%, #12101c 34%, #0c0b12 100%);
  border: 1px solid rgba(149, 128, 255, 0.36);
  border-radius: 20px;
  padding: 24px 24px 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 32px 96px rgba(0, 0, 0, 0.78),
    0 0 60px -24px rgba(149, 128, 255, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: checkoutDialogIn 0.2s var(--ease) both;
}

.checkout-dialog[data-plan="lifetime"] {
  background: linear-gradient(180deg, rgba(255, 165, 82, 0.11) 0%, #141016 34%, #0d0b10 100%);
  border-color: rgba(255, 165, 82, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 32px 96px rgba(0, 0, 0, 0.78),
    0 0 60px -24px rgba(255, 165, 82, 0.28);
}

.checkout-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.checkout-dialog-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.checkout-gateway-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: -0.005em;
  color: #86efac;
  background: rgba(16, 185, 129, 0.11);
  border: 1px solid rgba(16, 185, 129, 0.28);
  white-space: nowrap;
}

.checkout-dialog-close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-muted);
  cursor: pointer;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.checkout-dialog-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--fg);
}

.checkout-plan-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-plan-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.checkout-dialog-title {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.checkout-price-pill {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.checkout-price-pill[hidden] {
  display: none;
}

.checkout-dialog-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.checkout-summary-card {
  padding: 13px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-summary-card[hidden] {
  display: none;
}

.checkout-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.checkout-summary-label {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--fg-muted);
}

.checkout-summary-value {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.checkout-summary-value.is-highlight {
  color: var(--gained);
}

.checkout-dialog[data-plan="lifetime"] .checkout-summary-value.is-highlight {
  color: #ffd7a8;
}

.checkout-summary-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--fg-muted);
}

.checkout-summary-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: -2px;
}

.checkout-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: var(--fg);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.checkout-input.is-mono {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.03em;
}

.checkout-input::placeholder {
  color: var(--fg-dim);
}

.checkout-input:focus {
  border-color: rgba(149, 128, 255, 0.78);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 3px rgba(149, 128, 255, 0.18);
}

.checkout-pay-btn {
  width: 100%;
  justify-content: center;
  height: 46px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 650;
  margin-top: 2px;
}

.checkout-trust-note {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--fg-dim);
  text-align: center;
}

.checkout-trust-note svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.checkout-status-msg {
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  background: rgba(149, 128, 255, 0.12);
  border: 1px solid rgba(149, 128, 255, 0.35);
  color: #e6deff;
}

.checkout-status-msg[hidden] {
  display: none;
}

.checkout-status-msg.is-success {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.42);
  color: #a7f3d0;
}

.checkout-status-msg.is-error {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.42);
  color: #fecaca;
}

.checkout-key-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 14px;
  border-radius: 13px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.checkout-key-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gained);
}

.checkout-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  word-break: break-all;
}

.checkout-copy-btn {
  flex-shrink: 0;
}

.checkout-copy-btn[hidden] {
  display: none;
}

.checkout-copy-btn.is-copied {
  color: var(--gained);
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.12);
}

.checkout-download-cta {
  width: 100%;
  justify-content: center;
  height: 44px;
  border-radius: 12px;
}

.checkout-download-cta[hidden] {
  display: none;
}

.checkout-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 14px;
  margin-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-text-link {
  background: none;
  border: 0;
  padding: 2px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

.checkout-text-link:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-text-link.is-muted {
  color: var(--fg-dim);
}

.checkout-text-link.is-muted:hover {
  color: var(--fg-muted);
}

.checkout-text-link[hidden] {
  display: none;
}

.pricing-guarantee-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 14px;
}

.pricing-refund-trigger {
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

.pricing-refund-trigger:hover {
  color: var(--fg);
  border-color: var(--border-strong);
}

.checkout-form[hidden],
.checkout-key-preview[hidden] {
  display: none;
}

.checkout-refund-btn {
  width: 100%;
  justify-content: center;
  height: 44px;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.checkout-refund-btn:hover {
  background: rgba(248, 113, 113, 0.24);
  border-color: rgba(248, 113, 113, 0.68);
}

@media (max-width: 480px) {
  .checkout-dialog {
    padding: 20px 18px 16px;
    border-radius: 18px;
  }

  .checkout-dialog-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
