/* ========================================================
   Quint — getquint.ai — Main Stylesheet
   Design: Dark theme, electric cyan + gold accents
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg:        #0a0f1e;
  --bg2:       #0d1424;
  --card:      #131929;
  --card2:     #1a2235;
  --primary:   #00d4ff;
  --primary-dim: #0097b8;
  --accent:    #ffd700;
  --accent-dim: #c9a800;
  --text:      #e8eaf6;
  --text-muted: #8892a8;
  --border:    rgba(0, 212, 255, 0.12);
  --border-accent: rgba(255, 215, 0, 0.2);
  --glow:      0 0 30px rgba(0, 212, 255, 0.15);
  --glow-strong: 0 0 60px rgba(0, 212, 255, 0.25);
  --radius:    12px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

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

section {
  padding: 100px 0;
  position: relative;
}

/* ---- Nav ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

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

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary);
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0099cc);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 212, 255, 0.06);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #e6b800);
  color: #0a0f1e;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}
.btn-accent:hover {
  color: #0a0f1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.45);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label.gold { color: var(--accent); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.section-title .hl { color: var(--primary); }
.section-title .hl-gold { color: var(--accent); }

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  position: relative;
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    var(--bg);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { max-width: 540px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--border-accent);
  background: rgba(255, 215, 0, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

h1.hero-headline {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
h1.hero-headline .primary { color: var(--primary); }

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-social-proof {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-avatars {
  display: flex;
}
.hero-avatars .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-right: -8px;
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-social-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-social-text strong { color: var(--text); }

/* OpenClaw ICP callout */
.openclaw-callout {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 460px;
}
.callout-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 6px;
}

/* ---- Demo Window ---- */
.hero-demo {
  position: relative;
  z-index: 2;
}

.demo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-window {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--glow), 0 20px 60px rgba(0,0,0,0.4);
}

.demo-titlebar {
  padding: 10px 14px;
  background: var(--card2);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.demo-dots {
  display: flex;
  gap: 5px;
}
.demo-dots span {
  width: 9px; height: 9px; border-radius: 50%;
}
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }

.demo-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}
.demo-badge {
  margin-left: auto;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--primary);
  font-weight: 600;
}
.demo-badge.gold-badge {
  background: rgba(255, 215, 0, 0.12);
  color: var(--accent);
}

.demo-body {
  padding: 16px;
  min-height: 200px;
  font-size: 0.8rem;
}

.demo-msg {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  animation: msg-appear 0.4s ease forwards;
  opacity: 0;
}
.demo-msg.user { justify-content: flex-end; }
.demo-msg.user .demo-bubble {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.25);
  color: var(--primary);
}
.demo-msg.assistant .demo-bubble {
  background: var(--card2);
  border-color: var(--border);
}
.demo-msg.with-quint .demo-bubble {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.2);
  border-left: 3px solid var(--primary);
}

.demo-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--card2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.demo-bubble {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  line-height: 1.5;
  color: var(--text);
  max-width: 200px;
}
.demo-bubble small {
  display: block;
  font-size: 0.7rem;
  color: var(--primary);
  margin-bottom: 3px;
  font-weight: 600;
}
.demo-bubble small.gold { color: var(--accent); }

@keyframes msg-appear {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.demo-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  background: var(--card2);
  border-radius: 10px;
  border: 1px solid var(--border);
  width: fit-content;
}
.demo-typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.demo-typing span:nth-child(2) { animation-delay: 0.2s; }
.demo-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.quint-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.25);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.quint-pill::before { content: '⚡'; }

/* ============================================
   PROBLEM SECTION
   ============================================ */
#problem {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.stat-card .stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.ai-tools-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
}

.ai-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.ai-tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.ai-tool-card.broken {
  border-color: rgba(255, 80, 80, 0.3);
  background: rgba(255, 80, 80, 0.04);
}

.ai-tool-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
}
.ai-tool-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}
.ai-tool-status {
  font-size: 0.7rem;
  color: #ff6b6b;
  margin-top: 4px;
}

.broken-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
#how-it-works {
  text-align: center;
}

#how-it-works .section-title,
#how-it-works .section-desc {
  margin-left: auto;
  margin-right: auto;
}
#how-it-works .section-desc { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent 30%, transparent 70%, var(--primary));
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0099cc);
  color: #000;
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.works-with {
  margin-top: 72px;
}
.works-with h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}
.platform-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.platform-pill.soon {
  opacity: 0.5;
  cursor: default;
}
.platform-pill.soon:hover {
  border-color: var(--border);
  color: var(--text);
}
.platform-pill .pill-icon { font-size: 1rem; }
.pill-soon {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   FEATURES
   ============================================ */
#features {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-card.feature-wide {
  grid-column: span 3;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}
.feature-icon.gold-icon {
  background: rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 215, 0, 0.15);
  color: var(--accent);
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   RIDING SHOTGUN
   ============================================ */
#riding-shotgun {
  overflow: hidden;
}

.shotgun-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.shotgun-demo {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--glow);
  position: relative;
}

.shotgun-demo::before {
  content: '';
  position: absolute;
  top: -1px; left: 20px; right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.shotgun-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.shotgun-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.shotgun-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shotgun-step-text {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}
.shotgun-step-text .cmd {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--primary);
  display: inline-block;
  margin-top: 6px;
}

/* ============================================
   PRICING
   ============================================ */
#pricing {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  text-align: center;
}

#pricing .section-title,
#pricing .section-desc { margin: 0 auto; }
#pricing .section-desc { text-align: center; margin-bottom: 0; }

.pricing-card {
  max-width: 480px;
  margin: 56px auto 0;
  background: var(--card);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  position: relative;
  box-shadow: var(--glow-strong), 0 30px 80px rgba(0,0,0,0.4);
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-price {
  margin-bottom: 8px;
}
.price-amount {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
}
.price-amount sup {
  font-size: 1.8rem;
  vertical-align: super;
  font-weight: 700;
  color: var(--text-muted);
}
.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.pricing-features li:last-child { border-bottom: none; }
.check {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta { width: 100%; justify-content: center; }

.pricing-footer {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pricing-footer a { color: var(--primary); }

/* ============================================
   OPEN PROTOCOL
   ============================================ */
#open-protocol {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, var(--bg) 50%);
}

.protocol-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.protocol-code {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.code-header {
  padding: 12px 20px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.code-header .code-dots { display: flex; gap: 6px; }
.code-header .code-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.code-header .code-dots span:nth-child(1) { background: #ff5f57; }
.code-header .code-dots span:nth-child(2) { background: #febc2e; }
.code-header .code-dots span:nth-child(3) { background: #28c840; }
.code-filename {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
  margin-left: 8px;
}

pre.code-block {
  padding: 24px;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
}
.code-comment { color: #4a5568; }
.code-key { color: var(--primary); }
.code-val { color: var(--accent); }
.code-str { color: #a8d8a8; }
.code-num { color: #ffab76; }

/* ============================================
   FAQ
   ============================================ */
#faq {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  cursor: pointer;
}
.faq-item:hover {
  border-color: rgba(0, 212, 255, 0.2);
}
.faq-item.open {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.faq-q-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}
.faq-toggle {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--transition);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-brand .logo span { color: var(--primary); }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.github-link:hover {
  color: var(--text);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.04);
}

/* ============================================
   HERO — CENTERED VARIANT (new homepage)
   ============================================ */
.hero-content--centered {
  grid-template-columns: 1fr !important;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero-content--centered .hero-subheadline {
  margin-left: auto;
  margin-right: auto;
}
.hero-content--centered .hero-tagline {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-content--centered .hero-expository {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-content--centered .hero-ctas {
  justify-content: center;
}

/* ============================================
   THREE MOMENTS SECTION
   ============================================ */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.moment-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.moment-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.moment-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.15);
  margin-bottom: 20px;
  padding: 10px;
}

.moment-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.moment-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   HOW IT WORKS — STEP CODE SNIPPET
   ============================================ */
.step-code {
  margin-top: 14px;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.82rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--primary);
  display: inline-block;
  word-break: break-all;
}

.steps--three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.steps--three::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent 30%, transparent 70%, var(--primary));
  opacity: 0.25;
  z-index: 0;
}

/* ============================================
   WHAT WORKS WITH QUINT SECTION
   ============================================ */
#works-with {
  padding: 60px 0;
  background: var(--bg2);
}

.works-with-inner {
  text-align: center;
}

.works-with-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pill-check {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ============================================
   PRICING — SINGLE TIER
   ============================================ */
.pricing-single {
  max-width: 560px;
  margin: 48px auto 0;
  text-align: center;
}

.pricing-statement {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.pricing-cta-btn {
  display: inline-flex;
}

.pricing-footnote {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pricing-footnote a { color: var(--primary); }

/* ============================================
   FOOTER — SIMPLE
   ============================================ */
.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 16px 0;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}
.footer-logo span { color: var(--primary); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

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

/* ============================================
   RESPONSIVE — NEW SECTIONS
   ============================================ */
@media (max-width: 960px) {
  .moments-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .steps--three { grid-template-columns: 1fr; }
  .steps--three::before { display: none; }
}

@media (max-width: 600px) {
  .hero-content--centered .hero-headline { font-size: 2.6rem; }
  .platform-pills { gap: 8px; }
}

/* ============================================
   SIGNUP PAGE SPECIFIC
   ============================================ */
.signup-page body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.signup-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    var(--bg);
}

.signup-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--glow), 0 30px 80px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.signup-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.signup-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.signup-logo span { color: var(--primary); }

.signup-card h1 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.signup-card .subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.signup-card .subtitle strong {
  color: var(--primary);
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: all var(--transition);
}
.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}
.form-group input::placeholder { color: var(--text-muted); }

.form-error {
  font-size: 0.8rem;
  color: #ff6b6b;
  margin-top: 6px;
  display: none;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 1rem;
  padding: 14px;
  position: relative;
}
.btn-submit .btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-spinner { display: block; }

.signup-terms {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}

/* Success State */
.signup-success {
  display: none;
}
.signup-success.show { display: block; }
.signup-form-wrap.hide { display: none; }

.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
}
.success-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}
.success-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.token-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}
.token-box-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.token-value {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--primary);
  word-break: break-all;
  line-height: 1.5;
}
.copy-btn {
  margin-top: 10px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.copy-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.setup-steps {
  list-style: none;
  margin-bottom: 28px;
}
.setup-steps li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.setup-steps li:last-child { border-bottom: none; }
.setup-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.setup-step-text {
  flex: 1;
  line-height: 1.5;
  color: var(--text);
}
.setup-step-text a { color: var(--primary); }
.setup-code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { max-width: 100%; }
  .demo-split { max-width: 440px; margin: 0 auto; }

  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .ai-tools-visual { height: auto; }
  .ai-tools-grid { max-width: 320px; margin: 0 auto; }

  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.feature-wide { grid-column: span 2; }

  .shotgun-inner { grid-template-columns: 1fr; gap: 48px; }

  .faq-grid { grid-template-columns: 1fr; }

  .protocol-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 600px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card.feature-wide { grid-column: span 1; }

  .problem-stats { grid-template-columns: 1fr; }

  .pricing-card { padding: 36px 28px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .signup-card { padding: 32px 24px; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ============================================
   GLOW ORBS
   ============================================ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-cyan {
  background: rgba(0, 212, 255, 0.08);
}
.orb-gold {
  background: rgba(255, 215, 0, 0.06);
}
