﻿/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0b0b0f;
  --bg2:         #111118;
  --bg3:         #16161e;
  --bg4:         #1c1c26;
  --border:      #2a2a38;
  --border2:     #222230;
  --text:        #e8e8f0;
  --text2:       #a0a0b8;
  --text3:       #666680;
  --accent:      #7c3aed;
  --accent-h:    #6d28d9;
  --accent-lt:   #a78bfa;
  --green:       #16a34a;
  --green-lt:    #22c55e;
  --green-dim:   #22c55e22;
  --red:         #dc2626;
  --red-dim:     #dc262622;
  --yellow:      #d97706;
  --yellow-lt:   #fbbf24;
  --yellow-dim:  #f59e0b22;
  --card-bg:     rgba(22,22,30,0.95);
  --card-border: rgba(255,255,255,0.07);
  --mica:        rgba(11,11,15,0.85);
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --transition:  0.18s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Display', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-lt); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
kbd {
  display: inline-block;
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.8em;
  font-family: monospace;
  color: var(--text2);
}

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mica);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}
.nav-logo {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #c0512a, #dc7250);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
}
.nav-links a {
  color: var(--text2);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-switcher { position: relative; }
.lang-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 13px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color var(--transition);
}
.lang-btn:hover { border-color: var(--accent); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-width: 130px;
  box-shadow: var(--shadow);
  z-index: 200;
}
.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  transition: background var(--transition);
}
.lang-dropdown a:hover { background: var(--bg4); color: var(--text); }
.lang-dropdown a.active { color: var(--accent-lt); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-h); text-decoration: none; color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); background: var(--bg3); text-decoration: none; color: var(--text); }
.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { background: #15803d; text-decoration: none; color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: 4px; }

/* ── Hero ── */
#hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--accent-lt);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-h1 .accent { color: var(--accent-lt); }
.hero-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-note { font-size: 13px; color: var(--text3); }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text2);
}
.hero-stat svg { color: var(--green-lt); flex-shrink: 0; }

/* ── App mockup in hero ── */
.hero-visual { position: relative; }
.app-window {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
/* Windows-style titlebar */
.app-titlebar {
  background: var(--bg3);
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
}
.app-titlebar-left { display: flex; align-items: center; gap: 8px; }
.app-tbar-logo {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #c0512a, #dc7250);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.app-tbar-title { font-size: 12px; font-weight: 600; color: var(--text); }

/* WinUI 3 tabs */
.app-tabs {
  display: flex;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 0 6px;
}
.app-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text3);
  font-size: 11px;
  font-weight: 500;
  padding: 8px 10px;
  cursor: default;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}
.app-tab.active { color: var(--text); border-bottom-color: #3b82f6; font-weight: 600; }

.app-status-bar {
  padding: 6px 12px;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-lt); display: inline-block; flex-shrink: 0; }

/* Profile card in mockup */
.profile-card-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border2);
}
.profile-icon-mock {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.profile-info { flex: 1; min-width: 0; }
.profile-name-mock { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.profile-status-mock { font-size: 11px; display: flex; align-items: center; gap: 4px; }
.profile-status-mock.running { color: var(--green-lt); }
.profile-status-mock.stopped { color: var(--text3); }
.profile-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-lt); flex-shrink: 0; }
/* Action buttons in mockup */
.profile-mock-actions { display: flex; align-items: center; gap: 4px; }
.profile-mock-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  color: var(--text3);
  cursor: default;
  white-space: nowrap;
  font-family: inherit;
}
.profile-mock-btn.launch { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 600; }
.profile-mock-dots {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text3);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: default;
  font-family: inherit;
}

/* ── Section headings ── */
.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-lt);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 580px;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── Problem section ── */
#problem { background: var(--bg2); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.pain-cards { display: flex; flex-direction: column; gap: 14px; }
.pain-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pain-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.pain-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.pain-card p { font-size: 14px; color: var(--text2); }
.solution-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(124,58,237,0.03));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius);
  padding: 28px;
}
.solution-box p { font-size: 16px; color: var(--text); line-height: 1.7; }

/* ── Features ── */
#features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-2px);
}
.feature-icon { font-size: 24px; margin-bottom: 12px; }
.feature-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ── Demo ── */
#demo { background: var(--bg2); }
.demo-container {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

/* Windows-style titlebar */
.demo-titlebar {
  background: var(--bg3);
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  gap: 12px;
}
.demo-logo { display: flex; align-items: center; gap: 9px; min-width: 0; }
.demo-logo-icon {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #c0512a, #dc7250);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.demo-logo-text { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-qa-trigger-btn {
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text3);
  font-size: 11px;
  padding: 5px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
}
.demo-qa-trigger-btn:hover { border-color: var(--accent); background: rgba(124,58,237,0.1); color: var(--accent-lt); }
.demo-qa-trigger-btn kbd { font-size: 10px; background: var(--bg3); border: 1px solid var(--border2); border-radius: 3px; padding: 1px 4px; font-family: monospace; color: inherit; }

/* WinUI 3 tabs */
.demo-tabs { display: flex; background: var(--bg3); border-bottom: 1px solid var(--border); padding: 0 8px; }
.demo-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text3);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  cursor: pointer;
  transition: color var(--transition);
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}
.demo-tab:hover { color: var(--text2); }
.demo-tab.active { color: var(--text); border-bottom-color: #3b82f6; font-weight: 600; }

/* Profile card - matches real app */
.demo-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border2);
  cursor: default;
  transition: background var(--transition);
  position: relative;
}
.demo-profile:hover { background: rgba(255,255,255,0.025); }

.dp-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.dp-info { flex: 1; min-width: 0; }
.dp-name { font-size: 14px; font-weight: 600; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-status { font-size: 12px; display: flex; align-items: center; gap: 5px; }
.dp-status.running { color: var(--green-lt); }
.dp-status.stopped { color: var(--text3); }
.dp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-lt); flex-shrink: 0; }

/* Text-style action buttons */
.dp-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.dp-btn-text {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  color: var(--text2);
}
.dp-btn-text.restart:hover { background: var(--bg4); color: var(--text); }
.dp-btn-text.launch { color: #fff; background: #2563eb; border-color: #2563eb; font-weight: 600; }
.dp-btn-text.launch:hover { background: #1d4ed8; border-color: #1d4ed8; }

.dp-btn-dots {
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text3);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all var(--transition);
  font-family: inherit;
  line-height: 1;
  flex-shrink: 0;
}
.dp-btn-dots:hover { border-color: var(--accent); color: var(--text); background: var(--bg4); }
.dp-btn-dots.active { border-color: var(--accent); color: var(--accent-lt); background: rgba(124,58,237,0.1); }

/* Context menu */
.dp-ctx-menu {
  position: absolute;
  right: 16px;
  top: calc(100% - 4px);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
  min-width: 210px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 50;
}
.dp-ctx-item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--text2);
  font-size: 13px;
  font-family: inherit;
  padding: 7px 12px;
  text-align: left;
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.dp-ctx-item:hover { background: var(--bg4); color: var(--text); }
.dp-ctx-item.danger { color: #f87171; }
.dp-ctx-item.danger:hover { background: rgba(220,38,38,0.12); color: #fca5a5; }
.dp-ctx-sep { border: none; border-top: 1px solid var(--border2); margin: 3px 0; }

/* Orphans section */
.demo-orphans { padding: 12px 16px; border-bottom: 1px solid var(--border2); }
.demo-orphans-header { font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.demo-orphans-sub { font-size: 12px; color: var(--text3); margin-bottom: 10px; line-height: 1.5; }
.demo-orphan-card { display: flex; align-items: center; gap: 10px; background: var(--bg4); border: 1px solid var(--border); border-radius: 7px; padding: 9px 12px; }
.demo-orphan-icon { font-size: 18px; flex-shrink: 0; }
.demo-orphan-info { flex: 1; min-width: 0; }
.demo-orphan-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.demo-orphan-path { font-size: 11px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: monospace; }
.dp-btn-adopt { background: #0891b2; border: none; border-radius: 5px; color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; cursor: pointer; font-family: inherit; white-space: nowrap; transition: background var(--transition); flex-shrink: 0; }
.dp-btn-adopt:hover { background: #0e7490; }

/* Add profile row */
.demo-add-row { display: flex; justify-content: center; padding: 12px 16px; border-bottom: 1px solid var(--border2); }
.demo-add-row-btn { background: none; border: none; color: var(--accent-lt); font-size: 13px; font-family: inherit; cursor: pointer; padding: 5px 14px; border-radius: 5px; transition: background var(--transition); }
.demo-add-row-btn:hover { background: rgba(124,58,237,0.12); }

/* QuickAsk overlay */
.demo-qa-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  z-index: 20;
  border-radius: 14px;
}
.demo-qa-overlay.open { display: flex; }
.demo-qa-window {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 380px;
  max-width: calc(100% - 32px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: qa-appear 0.18s ease;
}
@keyframes qa-appear {
  from { opacity: 0; transform: scale(0.95) translateY(-8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.qa-titlebar { background: var(--bg3); height: 36px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text2); justify-content: space-between; }
.qa-close-btn { background: none; border: none; color: var(--text3); cursor: pointer; font-size: 14px; line-height: 1; padding: 2px 5px; border-radius: 3px; }
.qa-close-btn:hover { background: var(--bg4); color: var(--text); }
.qa-body { padding: 14px; }
.qa-textarea { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 7px; padding: 10px 12px; font-size: 13px; color: var(--text); resize: none; height: 68px; font-family: inherit; outline: none; transition: border-color var(--transition); margin-bottom: 10px; }
.qa-textarea:focus { border-color: var(--accent); }
.qa-profiles { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.qa-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1px solid; cursor: pointer; transition: all var(--transition); }
.qa-pill.running { background: var(--green-dim); border-color: rgba(34,197,94,0.4); color: var(--green-lt); }
.qa-pill.running.selected { background: rgba(34,197,94,0.25); border-color: var(--green-lt); box-shadow: 0 0 0 2px rgba(34,197,94,0.3); }
.qa-pill.stopped { background: transparent; border-color: var(--border); color: var(--text3); }
.qa-pill.stopped.selected { border-color: var(--accent); color: var(--accent-lt); }
.qa-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.qa-footer { display: flex; justify-content: flex-end; }
.qa-send-btn { background: var(--accent); color: #fff; border: none; padding: 7px 16px; border-radius: 5px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }
.qa-send-btn:hover { background: var(--accent-h); }
.qa-sent-msg { text-align: center; padding: 20px; font-size: 14px; color: var(--green-lt); display: none; }

/* Status bar - 2 columns like real app */
.demo-statusbar { background: var(--bg3); border-top: 1px solid var(--border); padding: 7px 16px; font-size: 12px; color: var(--text3); display: flex; align-items: center; justify-content: space-between; }
.demo-status-left { display: flex; align-items: center; gap: 6px; }
.demo-status-running { color: var(--green-lt); }

/* ── Download picker ── */
#dl-picker { background:var(--bg3); border:1px solid var(--border); border-radius:10px; padding:10px; min-width:252px; box-shadow:0 8px 28px rgba(0,0,0,.45); z-index:9999; }
.dl-p-label { font-size:11px; font-weight:600; color:var(--text3); text-transform:uppercase; letter-spacing:.06em; margin:0 0 6px 4px; }
.dl-p-opt { display:flex; align-items:center; justify-content:space-between; padding:9px 12px; border-radius:6px; font-size:14px; font-weight:500; color:var(--text); text-decoration:none; gap:12px; border:1px solid transparent; }
.dl-p-opt:hover { background:var(--bg4); }
.dl-p-opt.dl-p-rec { border-color:rgba(99,102,241,.3); }
.dl-p-tag { font-size:11px; color:var(--accent); font-weight:600; white-space:nowrap; }
.dl-p-note { font-size:11px; color:var(--text3); margin:6px 4px 2px; padding-top:8px; border-top:1px solid var(--border2); }
.dl-p-ss-link { display:block; text-align:center; font-size:11px; color:var(--text3); padding:7px 4px 2px; text-decoration:none; }
.dl-p-ss-link:hover { color:var(--accent-lt); text-decoration:underline; }
.ss-note { margin-top: 20px; background: var(--bg2); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 18px; font-size: 13px; color: var(--text2); line-height: 1.6; }
.ss-note strong { color: var(--text); }
.ss-trust-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.ss-trust-item { display: flex; align-items: center; gap: 6px; background: rgba(34,197,94,.07); border: 1px solid rgba(34,197,94,.22); border-radius: 20px; padding: 5px 13px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; line-height: 1; }
.ss-trust-item::before { content: '✓'; font-weight: 800; color: var(--green-lt); }

/* ── Pro Spotlight ── */
#pro { background: var(--bg); }
.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pro-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}
.pro-card:hover { border-color: rgba(124,58,237,0.35); }
.pro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.4), transparent);
}
.pro-badge {
  display: inline-flex;
  align-items: center;
  background: var(--yellow-dim);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--yellow-lt);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.pro-card-title { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.pro-card-desc { font-size: 15px; color: var(--text2); line-height: 1.65; margin-bottom: 20px; }
.pro-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text2);
}
.pro-card-list li::before {
  content: '✓';
  color: var(--green-lt);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Pricing ── */
#pricing { background: var(--bg2); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}
.pricing-card:hover { border-color: rgba(124,58,237,0.3); }
.pricing-card.featured {
  background: linear-gradient(160deg, rgba(124,58,237,0.08), var(--bg3));
  border-color: rgba(124,58,237,0.4);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-tier { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text2); margin-bottom: 8px; }
.pricing-price { font-size: 42px; font-weight: 800; line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.pricing-tagline { font-size: 13px; color: var(--green-lt); margin-bottom: 20px; font-style: italic; }
.pricing-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}
.pricing-features li { font-size: 14px; color: var(--text2); display: flex; align-items: flex-start; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--green-lt); font-weight: 700; flex-shrink: 0; }
.pricing-features li.no { color: var(--text3); }
.pricing-features li.no::before { content: '✗'; color: var(--red); }
.pricing-note { font-size: 13px; color: var(--text3); text-align: center; margin-top: 24px; }

/* ── FAQ ── */
#faq { background: var(--bg); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-question {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  list-style: none;
  color: var(--text);
  transition: color var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--accent-lt); }
.faq-chevron { flex-shrink: 0; transition: transform 0.2s; font-style: normal; color: var(--text3); }
details[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  padding-top: 12px;
}

/* ── Contact ── */
#contact { background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.contact-info p { color: var(--text2); margin-bottom: 20px; }
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-lt);
  font-size: 14px;
}
.contact-form-wrap {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text2); }
.form-input, .form-select, .form-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666680' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.form-select option { background: var(--bg3); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-honeypot { display: none !important; visibility: hidden !important; position: absolute !important; left: -9999px !important; }
.captcha-row {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.captcha-label { font-size: 14px; color: var(--text2); flex: 1; }
.captcha-input {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 14px;
  color: var(--text);
  width: 70px;
  text-align: center;
  outline: none;
  font-family: inherit;
  transition: border-color var(--transition);
}
.captcha-input:focus { border-color: var(--accent); }
.form-error { color: #f87171; font-size: 12px; margin-top: 4px; }
.form-success {
  background: rgba(22,163,74,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  padding: 16px;
  color: var(--green-lt);
  font-size: 14px;
  display: none;
  margin-bottom: 14px;
}
.form-submit-error {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 8px;
  padding: 12px;
  color: #f87171;
  font-size: 13px;
  display: none;
  margin-bottom: 14px;
}

/* ── Footer ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.footer-tagline { font-size: 13px; color: var(--text3); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text3); }
.footer-links a:hover { color: var(--text2); text-decoration: none; }
.footer-copy { font-size: 12px; color: var(--text3); text-align: right; }
.footer-disclaimer { font-size: 11px; color: var(--text3); margin-top: 3px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .demo-qa-trigger-btn .demo-qa-trigger-label { display: none; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}

/* ── Utilities ── */
.accent { color: var(--accent-lt); }
.text-green { color: var(--green-lt); }
.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; }

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════
   GUIDE / DOCUMENTATION PAGE
════════════════════════════════════════════ */
.nav-new-pill {
  display: inline-block;
  margin-left: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: middle;
}

/* Guide hero */
.guide-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border2);
  position: relative;
  overflow: hidden;
}
.guide-hero::before {
  content: '';
  position: absolute;
  top: -240px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 540px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.guide-breadcrumb { font-size: 14px; color: var(--text3); margin-bottom: 18px; position: relative; }
.guide-breadcrumb a { color: var(--text3); text-decoration: none; }
.guide-breadcrumb a:hover { color: var(--accent-lt); }
.guide-breadcrumb span { margin: 0 6px; }
.guide-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 760px;
  position: relative;
}
.guide-hero h1 .accent { color: var(--accent-lt); }
.guide-hero-sub {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 680px;
  position: relative;
}

/* Layout: sticky TOC + main */
.guide-layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 56px;
  align-items: start;
  padding: 48px 0 96px;
}
.guide-toc {
  position: sticky;
  top: 80px;
  font-size: 13.5px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.guide-toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  margin-bottom: 12px;
}
.guide-toc ul { list-style: none; margin: 0 0 18px; padding: 0; }
.guide-toc > ul > li { margin-bottom: 2px; }
.guide-toc a {
  display: block;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  color: var(--text2);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.guide-toc a:hover { color: var(--text); background: var(--bg3); text-decoration: none; }
.guide-toc a.active { color: var(--accent-lt); border-left-color: var(--accent); background: var(--bg3); }
.guide-toc .toc-group {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-lt);
  margin: 18px 0 6px 10px;
}

/* Main content */
.guide-main { min-width: 0; max-width: 760px; }
.guide-section { scroll-margin-top: 80px; margin-bottom: 56px; }
.guide-section > h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.guide-section > .guide-section-intro {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  margin: 14px 0 28px;
}

/* Feature block */
.guide-feature {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 18px;
  scroll-margin-top: 80px;
  transition: border-color var(--transition);
}
.guide-feature:hover { border-color: rgba(124,58,237,0.3); }
.gf-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.gf-icon { font-size: 22px; line-height: 1; }
.gf-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.gf-body { font-size: 15px; color: var(--text2); line-height: 1.72; }
.gf-body p { margin-bottom: 12px; }
.gf-body strong { color: var(--text); font-weight: 600; }
.gf-body ul { list-style: none; padding: 0; margin: 0 0 12px; }
.gf-body ul li { position: relative; padding-left: 22px; margin-bottom: 7px; }
.gf-body ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green-lt); font-weight: 700; }

/* Step list (how-to) */
.guide-steps { counter-reset: step; list-style: none; padding: 0; margin: 4px 0 12px; }
.guide-steps li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
}
.guide-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-steps li strong { color: var(--text); }

/* Path / shortcut helper */
.gf-body code, .guide-section code {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.86em;
  color: var(--accent-lt);
}

/* Tier / new badges */
.tier-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.5;
}
.tier-badge.all   { background: rgba(34,197,94,0.12);  border: 1px solid rgba(34,197,94,0.35);  color: var(--green-lt); }
.tier-badge.std   { background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.35); color: var(--accent-lt); }
.tier-badge.pro   { background: var(--yellow-dim);     border: 1px solid rgba(245,158,11,0.3);  color: var(--yellow-lt); }
.tier-badge.isnew { background: var(--accent);         border: 1px solid var(--accent);         color: #fff; }

/* Callout */
.guide-callout {
  background: var(--bg3);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 4px 0 14px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}
.guide-callout strong { color: var(--text); }
.guide-callout.warn { border-left-color: var(--yellow); }

/* Sessions board mini-mock */
.sess-board { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 14px; }
.sess-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px;
}
.sess-state { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 9px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.sess-state.working { background: rgba(59,130,246,0.14); color: #60a5fa; }
.sess-state.waiting { background: var(--yellow-dim); color: var(--yellow-lt); }
.sess-state.done    { background: var(--green-dim); color: var(--green-lt); }
.sess-state.stalled { background: var(--red-dim); color: #f87171; }
.sess-info { flex: 1; min-width: 0; }
.sess-name { font-size: 13px; font-weight: 600; color: var(--text); }
.sess-desc { font-size: 12px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sess-time { font-size: 12px; color: var(--text3); font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* Guide CTA */
.guide-cta {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(124,58,237,0.03));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  margin-top: 8px;
}
.guide-cta h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.guide-cta p { font-size: 15px; color: var(--text2); margin-bottom: 22px; max-width: 520px; margin-left: auto; margin-right: auto; }
.guide-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 0; padding-top: 28px; }
  .guide-toc {
    position: static;
    max-height: none;
    margin-bottom: 36px;
    padding: 16px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .guide-main { max-width: none; }
}
