/* Shottr & TablePlus Inspired Design System */
:root {
  --bg-main: #0a0b0e;
  --bg-card: #12141a;
  --bg-subtle: #181b22;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-main: #f3f4f6;
  --text-muted: #8b949e;
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-green: #10b981;
  --accent-red: #f43f5e;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Monaco, monospace;
  --mac-frame-bg: radial-gradient(circle at 82% 10%, rgba(37, 99, 235, 0.15) 0%, transparent 42%), radial-gradient(circle at 12% 90%, rgba(147, 51, 234, 0.12) 0%, transparent 45%), #08090d;
  --mac-menubar-bg: rgba(20, 24, 33, 0.85);
  --mac-dropdown-bg: rgba(22, 26, 36, 0.95);
}

/* Light Theme Variables (Keeps dark mode default, adds crisp Apple light mode) */
[data-theme="light"] {
  --bg-main: #f5f5f7;
  --bg-card: #ffffff;
  --bg-subtle: #f0f1f4;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text-main: #1d1d1f;
  --text-muted: #6e6e73;
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --mac-frame-bg: radial-gradient(circle at 85% 10%, rgba(59, 130, 246, 0.1) 0%, transparent 50%), radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.08) 0%, transparent 50%), #eef0f5;
  --mac-menubar-bg: rgba(240, 242, 248, 0.9);
  --mac-dropdown-bg: rgba(255, 255, 255, 0.96);
}

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

html {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s ease, border-color 0.2s ease;
}

[data-theme="light"] .navbar {
  background: rgba(245, 245, 247, 0.85);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  user-select: none;
}

.brand-mascot-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
}

.brand-mascot-img:hover {
  transform: scale(1.12) rotate(-4deg);
}

[data-theme="light"] .brand-mascot-img {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.18));
}

/* Stylized Header & Footer Logotype matching branding reference */
.brand-logotype {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-title-wrap {
  display: flex;
  align-items: baseline;
  line-height: 1.05;
}

.brand-title-wtm {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 15%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .brand-title-wtm {
  color: #0f172a;
  background: linear-gradient(180deg, #090d16 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-title-emory {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text-main);
  opacity: 0.95;
}

.brand-tagline-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  opacity: 0.85;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-menu a:hover {
  color: var(--text-main);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--bg-subtle);
  transform: scale(1.05);
}

[data-theme="dark"] .theme-icon-sun { display: inline-block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: inline-block; }

.nav-btn-inspect {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 7px 15px;
  border-radius: 7px;
  transition: all 0.15s;
}

.nav-btn-inspect:hover {
  background: var(--bg-subtle);
}

.nav-btn-buy {
  background: var(--accent-blue);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  padding: 7px 15px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s;
}

.nav-btn-buy:hover {
  background: var(--accent-blue-hover);
}

/* Hero Section: The Full Mac Experience */
.hero {
  padding: 40px 20px 76px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.mac-display-frame {
  width: 100%;
  max-width: 1220px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--mac-frame-bg);
  box-shadow: 0 35px 100px -25px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-subtle);
  overflow: hidden;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

[data-theme="light"] .mac-display-frame {
  box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* 1. Full-Width macOS System Menu Bar across the very top */
.mac-menubar-top {
  height: 30px;
  background: var(--mac-menubar-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 12px;
  color: var(--text-muted);
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
}

.mac-menubar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mac-menubar-left .apple-logo {
  font-size: 14px;
  color: var(--text-main);
  cursor: default;
}

.mac-menubar-left .menu-bold {
  font-weight: 700;
  color: var(--text-main);
}

.mac-menubar-left span {
  cursor: default;
  transition: opacity 0.15s;
}

.mac-menubar-left span:hover {
  opacity: 0.8;
}

.mac-menubar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menubar-sys-icon {
  display: flex;
  align-items: center;
  color: #94a3b8;
}

.menubar-item-active {
  background: #2563eb;
  color: #ffffff;
  padding: 2px 9px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: default;
  box-shadow: 0 1px 6px rgba(37, 99, 235, 0.4);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  display: inline-block;
}

.cleaner-icon {
  font-size: 11px;
}

.cleaner-stat {
  letter-spacing: -0.02em;
}

.menubar-clock {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* 2. Desktop Canvas Area */
.mac-desktop-canvas {
  padding: 44px 44px 50px;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 40px;
  align-items: flex-start;
}

.mac-desktop-content {
  display: flex;
  flex-direction: column;
  max-width: 560px;
}

.desktop-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #60a5fa;
  border-radius: 20px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
  display: inline-block;
}

.hero-headline {
  font-size: clamp(2.3rem, 4.2vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--text-main);
}

.strike {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 10%, #8b949e 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.strike::after {
  content: '';
  position: absolute;
  left: -3%;
  right: -3%;
  top: 55%;
  height: 4px;
  border-radius: 3px;
  background: var(--accent-red);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.65);
  transform: rotate(-3deg);
  pointer-events: none;
}

[data-theme="light"] .strike {
  background: linear-gradient(180deg, #1d1d1f 10%, #6e6e73 92%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-dek {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-dek strong {
  color: var(--text-main);
}

.hero-action-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* Modern Tactile Buttons */
.btn-modern-primary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #edf0f7 100%);
  color: #0b0d13;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 10px 25px -5px rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-modern-primary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18), 0 16px 36px -6px rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .btn-modern-primary {
  background: linear-gradient(180deg, #1d1d1f 0%, #111113 100%);
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 24px -6px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .btn-modern-primary:hover {
  background: #000000;
}

.btn-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-mascot-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

[data-theme="light"] .btn-mascot-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-main-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.btn-main-meta {
  font-size: 11px;
  opacity: 0.75;
  font-family: var(--font-mono);
  margin-top: 3px;
}

.btn-modern-secondary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-modern-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .btn-modern-secondary {
  background: rgba(0, 0, 0, 0.04);
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .btn-modern-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.25);
  color: #1d1d1f;
}

/* Fix Hero Reassurance Overflow */
.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  max-width: 520px;
  line-height: 1.5;
}

.hero-reassurance span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Mascot Icon Utilities */
.menubar-mascot-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  background: transparent;
}

.brand-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-mascot-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.table-mascot-mini {
  width: 20px;
  height: 20px;
  object-fit: contain;
  background: transparent;
  vertical-align: middle;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.table-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Footer logotype styles live in the Footer section below */
.menu-stagster-link,
.stagster-brand-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}

.menu-stagster-link:hover,
.stagster-brand-link:hover {
  text-decoration: underline;
  color: var(--accent-blue);
}

/* 3. Right Column: The Live Dropdown Menu */
.mac-desktop-dropdown-col {
  display: flex;
  justify-content: flex-end;
  padding-top: 0;
}

.menu-dropdown-window {
  margin: 0;
  width: 295px;
  background: var(--mac-dropdown-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 6px 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
  font-size: 12.5px;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

[data-theme="light"] .menu-dropdown-window {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.menu-badge-pro {
  font-size: 9px;
  padding: 1.5px 5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px;
  color: var(--text-main);
  cursor: default;
}

.menu-action:hover,
.menu-action-highlight:hover {
  background: #2563eb;
  color: #fff;
}

[data-theme="light"] .menu-action:hover,
[data-theme="light"] .menu-action-highlight:hover {
  background: #0071e3;
  color: #fff;
}

.menu-header-brand {
  padding-bottom: 6px;
}

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.menu-metric {
  font-size: 12px;
  color: var(--text-muted);
}

.menu-metric-val {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 11.5px;
}

.menu-row:hover .menu-metric-val {
  color: #fff;
}

.tag-warn {
  color: #f59e0b;
  font-weight: 600;
}

.menu-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 5px 0;
}

.menu-section-label {
  padding: 4px 14px 2px;
  font-size: 9.5px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.menu-shortcut {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.8;
}

.menu-row:hover .menu-shortcut {
  color: #fff;
}

.menu-arrow {
  font-size: 9px;
  color: var(--text-muted);
}

.menu-footer {
  font-size: 10px;
  color: var(--text-muted);
}

.menu-meta-text {
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

/* Common Section Layouts */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-main);
}

.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* The Diagnosis Card */
.diagnosis-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
}

.diag-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-subtle);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}

.diag-drive { font-weight: 600; color: var(--text-main); }
.diag-wasted { font-family: var(--font-mono); font-weight: 700; color: var(--accent-green); }

.diag-category {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Animated AI Category Highlight */
.ai-category-highlight {
  background: radial-gradient(ellipse at 90% 10%, rgba(59, 130, 246, 0.12) 0%, transparent 65%), rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
  border-radius: 8px;
  margin: 12px 14px;
}

.cat-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
  animation: aiRadarPulse 1.8s infinite ease-out;
}

@keyframes aiRadarPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.ai-badge-live {
  font-size: 9.5px;
  font-family: var(--font-mono);
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  padding: 1.5px 6px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.text-accent-blue {
  color: var(--accent-blue);
}

.ai-model-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--text-main);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  margin-right: 8px;
}

.sub-item-name {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sub-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bar-pill {
  height: 5px;
  border-radius: 3px;
  display: inline-block;
}

.bar-ai-1 { width: 65px; background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.bar-ai-2 { width: 40px; background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.bar-ai-3 { width: 25px; background: linear-gradient(90deg, #ec4899, #f472b6); }

/* Audience Section (Dual: Everyday Users & Developers) */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.audience-card-highlight {
  border-color: rgba(59, 130, 246, 0.4);
  background: radial-gradient(circle at 90% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 50%), var(--bg-card);
}

.audience-card-header {
  margin-bottom: 20px;
}

.audience-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.audience-card-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.audience-card-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.audience-list strong {
  color: var(--text-main);
}

.text-mono {
  font-family: var(--font-mono);
}

.diag-footer {
  padding: 14px 20px;
  background: rgba(16, 185, 129, 0.05);
  font-size: 13px;
  color: var(--text-muted);
}

.diag-footer strong {
  color: var(--accent-green);
}

/* Craft Comparison Table */
.table-wrap {
  overflow-x: auto;
}

.craft-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13.5px;
}

.craft-table th, .craft-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.craft-table th {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12.5px;
}

.col-highlight {
  background: rgba(59, 130, 246, 0.04);
  border-left: 1px solid rgba(59, 130, 246, 0.3);
  border-right: 1px solid rgba(59, 130, 246, 0.3);
}

.green-price {
  color: var(--accent-green);
  font-size: 14px;
}

/* Pricing Box */
.pricing-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-box-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-box-title h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-box-title p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pricing-box-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-val {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.price-type {
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-box-content {
  padding: 28px;
}

.pricing-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 24px;
}

/* Country-Agnostic Fair Pricing Callout */
.pricing-parity-box {
  margin: 0 0 24px 0;
  padding: 16px 20px;
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  text-align: left;
}

[data-theme="light"] .pricing-parity-box {
  background: rgba(0, 113, 227, 0.05);
  border-color: rgba(0, 113, 227, 0.22);
}

.parity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.parity-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.04em;
}

[data-theme="light"] .parity-badge {
  color: #0071e3;
}

.parity-sub {
  font-size: 11px;
  color: var(--accent-green);
  font-weight: 700;
  font-family: var(--font-mono);
}

.parity-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.parity-desc strong {
  color: var(--text-main);
}

.pricing-action-block {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-checkout-dodo {
  width: 100%;
  max-width: 440px;
  background: var(--accent-blue);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-checkout-dodo:hover {
  background: var(--accent-blue-hover);
}

.currency-switch-hint {
  font-size: 12.5px;
  color: var(--text-muted);
}

.currency-switch-hint a {
  color: #93c5fd;
  text-decoration: underline;
}

.dodo-badge {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 64px 0 28px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
}

/* The footer holds a brand column plus three link columns - give it the
   full nav width instead of the narrow prose measure. */
.footer .container-narrow {
  max-width: 1140px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  padding-bottom: 48px;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text-main);
}

.footer-mascot-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.footer-pitch {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-btn-primary {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #4c8dff, var(--accent-blue));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.footer-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.42);
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Grouped link columns */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.75;
}

.footer-col a {
  width: fit-content;
  font-size: 13.5px;
  color: #aeb6c2;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text-main);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--text-main);
  text-decoration: none;
  opacity: 0.92;
}

.footer-copy a:hover {
  color: var(--accent-blue);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  opacity: 0.7;
}

[data-theme="light"] .footer-chip {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .footer-col a {
  color: #56606e;
}

[data-theme="light"] .footer-col a:hover {
  color: #1d1d1f;
}

@media (max-width: 860px) {
  .footer {
    padding: 48px 0 24px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 34px;
  }
  .footer-nav {
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    padding: 24px 12px 56px;
  }
  .mac-desktop-canvas {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 20px 36px;
  }
  .mac-desktop-dropdown-col {
    justify-content: center;
  }
  .mac-menubar-top .mac-menubar-left span:not(.apple-logo):not(.menu-bold) {
    display: none;
  }
  .mac-menubar-top .menubar-sys-icon {
    display: none;
  }
  .pricing-checklist {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
}

/* ===================================================
   LIVING MASCOT - Dynamic Interactive Companion
   =================================================== */
.living-mascot-container {
  position: fixed;
  z-index: 9999;
  bottom: 28px;
  right: 32px;
  width: 72px;
  height: 72px;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  transition: left 2.2s cubic-bezier(0.25, 1, 0.5, 1),
              top 2.2s cubic-bezier(0.25, 1, 0.5, 1),
              bottom 2.2s cubic-bezier(0.25, 1, 0.5, 1),
              right 2.2s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
}

.mascot-body-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mascotFloat 3.2s ease-in-out infinite;
  transform-origin: center bottom;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mascot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  transition: transform 0.25s ease;
}

/* Moving/walking states */
.living-mascot-container.is-moving .mascot-body-wrapper {
  animation: mascotWobble 0.4s infinite alternate ease-in-out;
}

.living-mascot-container.facing-left .mascot-avatar-img {
  transform: scaleX(-1);
}

.living-mascot-container.facing-right .mascot-avatar-img {
  transform: scaleX(1);
}

.living-mascot-container:hover .mascot-body-wrapper {
  transform: scale(1.12);
}

/* Mascot shadow on floor */
.mascot-shadow {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(3px);
  animation: shadowPulse 3.2s ease-in-out infinite;
}

[data-theme="light"] .mascot-shadow {
  background: rgba(0, 0, 0, 0.16);
}

/* Floating Speech Bubble */
.mascot-speech-bubble {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: rgba(18, 22, 32, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(59, 130, 246, 0.25);
  color: #f1f5f9;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.25s;
  z-index: 10000;
}

.mascot-speech-bubble.bubble-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

[data-theme="light"] .mascot-speech-bubble {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 113, 227, 0.35);
  color: #1d1d1f;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 0 12px rgba(0, 113, 227, 0.15);
}

.bubble-text {
  display: block;
}

.bubble-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(18, 22, 32, 0.94);
}

[data-theme="light"] .bubble-arrow {
  border-top-color: rgba(255, 255, 255, 0.96);
}

/* Floating Particles on Click */
.mascot-particle {
  position: fixed;
  pointer-events: none;
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #34d399;
  z-index: 10001;
  animation: floatParticleUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Living Mascot Animations */
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(2deg); }
}

@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.7; }
  50% { transform: translateX(-50%) scale(0.72); opacity: 0.35; }
}

@keyframes mascotWobble {
  0% { transform: translateY(-4px) rotate(-6deg); }
  100% { transform: translateY(-4px) rotate(6deg); }
}

@keyframes mascotSpinJump {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.3) translateY(-24px) rotate(-180deg); }
  70% { transform: scale(1.1) translateY(-12px) rotate(-360deg); }
  100% { transform: scale(1) translateY(0) rotate(-360deg); }
}

@keyframes floatParticleUp {
  0% { opacity: 1; transform: translateY(0) scale(0.9); }
  100% { opacity: 0; transform: translateY(-50px) scale(1.25); }
}

@media (max-width: 768px) {
  .living-mascot-container {
    width: 58px;
    height: 58px;
    bottom: 16px;
    right: 16px;
  }
  .mascot-speech-bubble {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* FAQ Section (SEO & GEO Optimized) - grouped accordion */
.faq-groups {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

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

.faq-group-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.faq-group-icon {
  font-size: 14px;
  line-height: 1;
}

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

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .faq-item:hover {
  border-color: rgba(0, 113, 227, 0.35);
}

.faq-item[open] {
  border-color: rgba(59, 130, 246, 0.45);
}

.faq-item summary.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 20px;
  position: relative;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  user-select: none;
}

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

.faq-item summary.faq-q::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.22s ease, border-color 0.2s ease;
}

.faq-item[open] summary.faq-q::after {
  transform: rotate(-135deg);
  margin-top: -2px;
  border-color: var(--accent-blue);
}

.faq-item summary.faq-q:hover {
  color: #fff;
}

.faq-a {
  padding: 0 20px 19px;
}

.faq-a p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.faq-a p + p {
  margin-top: 10px;
}

.faq-a strong {
  color: var(--text-main);
}

.faq-a code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  color: #60a5fa;
  border: 1px solid var(--border-subtle);
}

.faq-a em {
  color: #c9d1d9;
  font-style: italic;
}

[data-theme="light"] .faq-a code {
  color: #0071e3;
}

@media (max-width: 768px) {
  .faq-item summary.faq-q {
    padding: 15px 46px 15px 17px;
    font-size: 15px;
  }
  .faq-item summary.faq-q::after {
    right: 19px;
  }
  .faq-a {
    padding: 0 17px 17px;
  }
}

/* Legacy FAQ grid (kept for other pages/templates that may still use it) */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .faq-card:hover {
  border-color: rgba(0, 113, 227, 0.35);
}

.faq-question {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-answer {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer strong {
  color: var(--text-main);
}

.faq-answer code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  color: #60a5fa;
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .faq-answer code {
  color: #0071e3;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Craft pass: anchor offset, focus, selection, typography
   ========================================================================== */

/* Sticky nav is 60px tall - keep anchored headings clear of it. */
#diagnosis,
#ai-hunter,
#audience,
#comparison,
#pricing,
#faq {
  scroll-margin-top: 84px;
}

/* Visible keyboard focus, invisible to mouse users. */
:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.theme-toggle-btn:focus-visible,
.nav-btn-inspect:focus-visible,
.nav-btn-buy:focus-visible,
.btn-modern-primary:focus-visible,
.btn-modern-secondary:focus-visible,
.btn-checkout-dodo:focus-visible {
  outline-offset: 4px;
}

/* Branded text selection. */
::selection {
  background: rgba(59, 130, 246, 0.32);
  color: var(--text-main);
}

/* Balanced headline line breaks. */
.hero-headline,
.section-heading {
  text-wrap: balance;
}

/* Even out the numeric columns in the scan/profile panels. */
.diag-sub-item,
.menu-metric-val,
.price-val {
  font-variant-numeric: tabular-nums;
}

/* Audience cards had no hover state; match the FAQ card convention. */
.audience-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .audience-card:hover {
  border-color: rgba(0, 113, 227, 0.35);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .audience-card:hover,
  .faq-card:hover {
    transform: none;
  }
}
