/* ══════════════════════════════════════════
   Header
   ══════════════════════════════════════════ */

.header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 18px 4px 8px;
  gap: 8px;
  z-index: 100;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.header:hover {
  transform: translateX(-50%) scale(1.03);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: none;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--text-light-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.header .cta-btn {
  padding: 8px 18px;
  background: var(--text-light);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 9999px;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header .cta-btn:hover {
  opacity: 0.85;
}

.header .cta-btn:active {
  opacity: 0.75;
}

/* ══════════════════════════════════════════
   Hero — Centered Layout
   ══════════════════════════════════════════ */

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid var(--border-dark-active);
  background: rgba(59, 130, 246, 0.06);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero-subheadline {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-light-secondary);
  max-width: 680px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.hero-btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--text-light);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ══════════════════════════════════════════
   Demo Showcase — Scroll-driven section
   ══════════════════════════════════════════ */

.demo-showcase {
  padding: 0 40px;
  opacity: 1;
  transform: none;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.demo-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.demo-scenes {
  display: flex;
  flex-direction: column;
}

.demo-scene {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.demo-scene--intro {
  min-height: 80vh;
}

.demo-scene-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.demo-scene-content.visible {
  opacity: 1;
  transform: none;
}

.demo-scene-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.demo-sticky-panel {
  position: sticky;
  top: 88px;
  height: 600px;
  align-self: start;
}

/* Chrome extension sidebar dimensions */
.demo-sticky-panel .chat-container {
  width: 400px;
  max-width: 400px;
  height: 600px;
  max-height: 600px;
}

/* ══════════════════════════════════════════
   Chat Demo — matches Chrome Extension
   ══════════════════════════════════════════ */

.chat-container {
  width: 100%;
  max-width: 640px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 20px 60px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  max-height: min(700px, 75vh);
  position: relative;
}

/* Chat Header */
.chat-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  border-bottom: 1px solid hsl(var(--border));
}

.chat-header-left {
  min-width: 0;
}

.chat-header-title {
  font-size: 16px;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.3;
}

.chat-header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

.chat-header-status svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.chat-header-settings-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.chat-header-settings-btn:hover {
  background: hsl(var(--secondary));
}

.chat-header-settings-btn svg {
  width: 16px;
  height: 16px;
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: hsl(var(--background));
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--muted-foreground) / 0.3) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background-color: hsl(var(--muted-foreground) / 0.3);
  border-radius: 999px;
}

/* Message wrapper */
.message {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 92%;
  animation: msgIn 0.4s ease-out;
}

.message.user {
  align-self: flex-end;
  align-items: flex-end;
}

.message.ai {
  align-self: flex-start;
  align-items: flex-start;
}

/* Message label */
.msg-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

.msg-label-name {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Message Bubbles */
.msg-bubble {
  border-radius: 1rem;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-width: 1px;
  border-style: solid;
  overflow-wrap: break-word;
  word-break: break-word;
}

.message.user .msg-bubble {
  background: #eff6ff;
  color: #111827;
  border-color: #dbeafe;
}

.message.ai .msg-bubble {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

/* Markdown rendering inside bubbles */
.msg-bubble strong {
  font-weight: 600;
}

.msg-bubble em {
  font-style: italic;
  color: hsl(var(--primary));
}

.msg-bubble ul,
.msg-bubble ol {
  padding-left: 18px;
  margin: 6px 0;
}

.msg-bubble li {
  margin: 3px 0;
}

.msg-bubble hr {
  border: none;
  border-top: 1px solid hsl(var(--border));
  margin: 10px 0;
}

/* Tool Call Pills */
.tool-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--muted) / 0.5);
  margin: 4px 0;
  transition: background 0.2s;
  max-width: 100%;
}

.tool-call:hover {
  background: hsl(var(--muted) / 0.7);
}

.tool-call .tool-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.tool-call .tool-icon.spinner {
  animation: spin 1s linear infinite;
  color: #3b82f6;
}

.tool-call .tool-icon.check {
  color: #10b981;
}

.tool-call .tool-name {
  color: hsl(var(--foreground) / 0.9);
}

.tool-call .tool-type {
  color: hsl(var(--muted-foreground) / 0.7);
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 8px 4px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--muted-foreground));
  animation: typeBounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Chart in chat */
.chat-chart {
  width: 100%;
  margin: 8px 0;
  padding: 16px;
  background: hsl(var(--background) / 0.4);
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
}

.chat-chart-title {
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 16px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding-bottom: 24px;
  position: relative;
}

.chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar-stack {
  width: 100%;
  max-width: 48px;
  display: flex;
  flex-direction: column-reverse;
  border-radius: 4px;
  overflow: hidden;
  transition: height 1s ease-out;
}

.chart-bar-segment {
  width: 100%;
  min-height: 2px;
  transition: height 1s ease-out;
}

.chart-bar-label {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  margin-top: 8px;
  text-align: center;
  white-space: nowrap;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  justify-content: center;
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: hsl(var(--muted-foreground));
}

.chart-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Stage breakdown chart (horizontal bars) */
.stage-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stage-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.stage-row-name {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.stage-row-value {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.stage-row-bar {
  height: 8px;
  border-radius: 9999px;
  background: hsl(var(--muted));
  overflow: hidden;
}

.stage-row-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: hsl(var(--primary));
  transition: width 1s ease-out;
}

/* Chat Input Area */
.chat-input-area {
  padding: 12px;
  flex-shrink: 0;
  background: hsl(var(--background));
}

.chat-input-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.chat-input-card textarea {
  width: 100%;
  resize: none;
  border: none;
  background: transparent;
  outline: none;
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  padding: 0;
  min-height: 24px;
}

.chat-input-card textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

.chat-input-card textarea[readonly] {
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.chat-input-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

/* Mic pill button */
.mic-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s;
}

.mic-btn:hover {
  background: hsl(var(--muted) / 0.8);
}

.mic-btn svg {
  width: 14px;
  height: 14px;
}

.mic-btn.active {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  animation: micPulse 1.5s ease-in-out infinite;
}

/* Send button */
.send-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: none;
  border-radius: var(--radius);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.send-btn:hover {
  opacity: 0.9;
}

.send-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.send-btn svg {
  width: 14px;
  height: 14px;
}

/* Suggestion Pills */
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
  flex-shrink: 0;
  background: hsl(var(--background));
}

.suggestion-chip {
  padding: 6px 14px;
  border-radius: 9999px;
  border: none;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-size: 12px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.suggestion-chip:hover {
  background: hsl(var(--secondary) / 0.8);
}

/* ══════════════════════════════════════════
   Section Headings
   ══════════════════════════════════════════ */

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-light-secondary);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════
   Integration Section
   ══════════════════════════════════════════ */

.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.integration-card {
  padding: 32px 28px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.integration-card:hover {
  border-color: var(--border-dark-active);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.integration-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.integration-card-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-light-secondary);
  margin-bottom: 28px;
}

.integration-feature {
  margin-bottom: 24px;
}

.integration-feature-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.integration-feature-label {
  font-size: 13px;
  color: var(--text-light-muted);
  margin-top: 2px;
}

.integration-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}

.integration-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-dark-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-light);
}

.integration-icon img {
  border-radius: 6px;
}

.integration-card-footer {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-light-muted);
  margin-top: auto;
}

.integration-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.integration-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-dark-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}

.integration-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-blue);
  margin-top: 2px;
}

.integration-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
}

.integration-item-desc {
  font-size: 12px;
  color: var(--text-light-secondary);
  line-height: 1.4;
}

/* Showcase Text (reused in demo-showcase scenes) */
.showcase-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 18px;
}

.showcase-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light-secondary);
  margin-bottom: 28px;
}

.showcase-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--text-light);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.showcase-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ══════════════════════════════════════════
   Team Section
   ══════════════════════════════════════════ */

.team-heading {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-light-secondary);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.team-card {
  padding: 40px 32px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--card-radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
  border-color: var(--border-dark-active);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-dark-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.team-avatar svg {
  width: 32px;
  height: 32px;
  color: var(--text-light-secondary);
}

.team-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.team-prev {
  font-size: 12px;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.team-logos {
  display: flex;
  gap: 24px;
  align-items: center;
}

.team-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
  opacity: 0.7;
}

/* ══════════════════════════════════════════
   AI Built for Asset Managers Section
   ══════════════════════════════════════════ */

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.ai-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 18px;
}

.ai-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light-secondary);
}

.ai-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-card {
  padding: 28px 24px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--card-radius);
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ai-card:hover {
  border-color: var(--border-dark-active);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ai-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ai-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
}

.ai-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
}

.ai-card-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-light-secondary);
}

/* ══════════════════════════════════════════
   FAQ Section
   ══════════════════════════════════════════ */

.faq-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.faq-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 24px;
}

.faq-contact {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light-muted);
}

.faq-contact a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}

.faq-contact a:hover {
  color: var(--text-light);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 28px 0;
  border-top: 1px solid var(--border-dark);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border-dark);
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.faq-answer {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light-secondary);
  margin-bottom: 8px;
}

.faq-answer:last-child {
  margin-bottom: 0;
}

/* ══════════════════════════════════════════
   Footer
   ══════════════════════════════════════════ */

.footer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 40px 24px;
  border-top: 1px solid var(--border-dark);
  position: relative;
  z-index: 10;
  background: #ffffff;
}

.footer-top {
  display: flex;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-divider-v {
  width: 1px;
  height: 24px;
  background: var(--border-dark);
}

.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-light-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 11px;
  color: var(--text-light-muted);
  letter-spacing: 0.02em;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: var(--text-light-muted);
  transition: color 0.3s;
  display: flex;
}

.footer-socials a:hover {
  color: var(--text-light);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

/* ══════════════════════════════════════════
   Scroll-Driven Demo Steps
   ══════════════════════════════════════════ */

/* Disable entrance animation for scroll-controlled messages */
.message.scroll-controlled {
  animation: none;
}

/* Smooth fade for scroll-driven step reveal */
.scroll-step {
  transition: opacity 0.35s ease-out;
}

/* Tool icon wrappers for reversible spinner/check toggle */
.scroll-spinner-icon,
.scroll-check-icon {
  display: inline-flex;
  align-items: center;
}

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   Hamburger Menu Button (hidden on desktop)
   ══════════════════════════════════════════ */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .header {
    width: 85%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .demo-showcase {
    padding: 0 20px;
  }

  .demo-showcase-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demo-scene {
    min-height: auto;
    padding: 24px 0;
  }

  .demo-scene--intro {
    min-height: auto;
    text-align: center;
  }

  /* Feature scenes as stacked cards on mobile */
  .demo-scene:not(.demo-scene--intro) {
    padding: 20px;
    border: 1px solid var(--border-dark);
    border-radius: var(--card-radius);
    background: var(--bg-dark-card);
    margin-bottom: 16px;
  }

  .demo-sticky-panel {
    position: relative;
    top: auto;
    height: auto;
    align-self: center;
    transform: none !important;
    order: -1;
    min-width: 0;
  }

  .demo-scenes {
    min-width: 0;
  }

  .demo-sticky-panel .chat-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    margin: 0 auto;
  }

  .demo-scene-content {
    opacity: 1;
    transform: none;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer {
    padding: 32px 24px 20px;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 10px 10px 10px 14px;
    top: 8px;
    width: 92%;
    flex-wrap: wrap;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: none;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 24px;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 16px;
  }


  .hero-headline {
    font-size: 32px;
  }

  .hero-subheadline {
    font-size: 15px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-btn-primary {
    text-align: center;
  }

  .chat-container {
    max-height: 70vh;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .integration-card {
    padding: 24px 20px;
  }

  .team-card {
    padding: 28px 20px;
  }

  .ai-card {
    padding: 20px 16px;
  }

  .faq-item {
    padding: 20px 0;
  }

  .suggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .suggestion-chip {
    white-space: nowrap;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .showcase-cta,
  .hero-btn-primary {
    min-height: 44px;
  }

  .header .cta-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer {
    padding: 24px 20px;
  }

  .footer-brand {
    flex-wrap: wrap;
    gap: 12px;
  }

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

/* ══════════════════════════════════════════
   Touch Feedback
   ══════════════════════════════════════════ */

@media (hover: none) {
  .integration-card:active,
  .ai-card:active,
  .team-card:active {
    border-color: var(--border-dark-active);
  }

  .showcase-cta:active,
  .hero-btn-primary:active,
  .suggestion-chip:active {
    transform: scale(0.97);
  }
}