/* ==================== MCP DOCUMENTATION CSS ==================== */
/* Matches the PrePilot Unified Design System (Coral mode, Outfit headings, Inter body) */

:root {
  --mcp-coral: #FF6A2C;
  --mcp-coral-hover: #e55a1f;
  --mcp-ink: #191919;
  --mcp-bg-soft: #fcfcfc;
  --mcp-line: #eaeaea;
  --mcp-text-muted: #666666;
  --mcp-code-bg: #1e1e1e;
  --mcp-code-text: #f4f4f4;
  --radius-panel: 16px;
  --maxw-mcp: 1040px;
}

/* ==================== HERO SECTION ==================== */
.mcp-hero {
  padding-block: 80px 48px;
  background: var(--mcp-bg-soft);
  border-bottom: 1px solid var(--mcp-line);
  text-align: center;
}

.mcp-container {
  max-width: var(--maxw-mcp);
  margin-inline: auto;
  padding-inline: 32px;
}

.mcp-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--mcp-ink);
  line-height: 1.15;
  margin-block-end: 16px;
  letter-spacing: -0.02em;
}

.mcp-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 2.2vw, 18.5px);
  font-weight: 450;
  color: var(--mcp-text-muted);
  line-height: 1.5;
  max-width: 720px;
  margin-inline: auto;
}

/* ==================== ASK AI DROPDOWN ==================== */
.ask-ai-wrapper {
  position: relative;
  display: inline-flex;
  margin-block-start: 28px;
  z-index: 100;
}

.ask-ai-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  padding-inline: 18px;
  background: #ffffff;
  border: 1.5px solid #e0e0e0;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 550;
  color: var(--mcp-ink);
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.ask-ai-trigger:hover {
  border-color: var(--mcp-coral);
  box-shadow: 0 2px 12px rgba(255,106,44,0.12);
}

.ask-ai-trigger[aria-expanded="true"] {
  border-color: var(--mcp-coral);
  background: #fff8f5;
}

.ask-ai-trigger[aria-expanded="true"] .ask-ai-chevron {
  transform: rotate(180deg);
}

.ask-ai-chevron {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  color: var(--mcp-text-muted);
}

/* Dropdown Menu Panel */
.ask-ai-menu {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  max-height: 400px;
  overflow-y: auto;
  background: #ffffff;
  border: 1.5px solid #e8e8e8;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding-block: 8px;
  padding-inline: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 200;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}

.ask-ai-menu::-webkit-scrollbar {
  width: 6px;
}

.ask-ai-menu::-webkit-scrollbar-track {
  background: transparent;
}

.ask-ai-menu::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}

.ask-ai-menu::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.25);
}

.ask-ai-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Menu Items */
.ask-ai-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-block: 10px;
  padding-inline: 10px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: start;
  text-decoration: none;
  color: var(--mcp-ink);
  font-family: 'Inter', sans-serif;
  transition: background 0.13s;
}

.ask-ai-item:hover {
  background: #f5f5f5;
}

.ask-ai-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f2f2f2;
  border: 1px solid #e8e8e8;
  flex-shrink: 0;
  color: #444;
}

.ask-ai-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ask-ai-item-text strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mcp-ink);
  line-height: 1.3;
}

.ask-ai-item-text span {
  font-size: 12px;
  color: var(--mcp-text-muted);
  font-weight: 400;
  line-height: 1.3;
}

.ask-ai-ext-icon {
  opacity: 0.45;
  flex-shrink: 0;
  vertical-align: middle;
}

.ask-ai-divider {
  height: 1px;
  background: #f0f0f0;
  margin-block: 4px;
  margin-inline: 10px;
}

/* RTL support */
[dir="rtl"] .ask-ai-menu {
  inset-inline-start: auto;
  inset-inline-end: 50%;
  transform: translateX(50%) translateY(-6px);
}

[dir="rtl"] .ask-ai-menu.is-open {
  transform: translateX(50%) translateY(0);
}

@media (max-width: 480px) {
  .ask-ai-menu {
    inset-inline-start: 0;
    inset-inline-end: 0;
    transform: translateY(-6px);
    min-width: unset;
    width: calc(100vw - 48px);
  }
  .ask-ai-menu.is-open {
    transform: translateY(0);
  }
  [dir="rtl"] .ask-ai-menu {
    transform: translateY(-6px);
  }
  [dir="rtl"] .ask-ai-menu.is-open {
    transform: translateY(0);
  }
}



/* ==================== DOCS LAYOUT ==================== */
.mcp-docs-section {
  padding-block: 64px 96px;
  background: #ffffff;
}

.mcp-card {
  background: #ffffff;
  border: 1.5px solid var(--mcp-line);
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}

/* Tabs Navigation */
.mcp-tabs-nav {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  background: var(--mcp-bg-soft);
  border-bottom: 1.5px solid var(--mcp-line);
  scrollbar-width: none; /* Hide scrollbar for clean visual */
}

.mcp-tabs-nav::-webkit-scrollbar {
  display: none;
}

.mcp-tab-btn {
  background: transparent;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--mcp-text-muted);
  padding: 18px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease-out;
  border-bottom: 3.5px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mcp-tab-btn:hover {
  color: var(--mcp-ink);
  background: rgba(0, 0, 0, 0.015);
}

.mcp-tab-btn.active {
  color: var(--mcp-coral);
  border-bottom-color: var(--mcp-coral);
  background: #ffffff;
}

/* Panels */
.mcp-panels-container {
  padding: 40px;
}

.mcp-panel {
  display: none;
  animation: fadeInPanel 0.3s ease-out;
}

.mcp-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 750;
  color: var(--mcp-ink);
  margin-block-end: 20px;
  letter-spacing: -0.01em;
}

.panel-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--mcp-text-muted);
  line-height: 1.6;
  margin-block-end: 24px;
}

.panel-steps {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--mcp-ink);
  line-height: 1.7;
  margin-block-end: 32px;
  padding-inline-start: 20px;
}

.panel-steps li {
  margin-block-end: 12px;
  font-weight: 500;
}

/* ==================== COPY FIELD GROUP ==================== */
.copy-box-group {
  margin-block-end: 24px;
  max-width: 640px;
}

.copy-box-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--mcp-ink);
  margin-block-end: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mcp-copy-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--mcp-bg-soft);
  border: 1.5px solid var(--mcp-line);
  border-radius: 8px;
  padding: 12px 16px;
  gap: 12px;
  transition: all 0.15s ease-out;
}

.mcp-copy-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px;
  color: var(--mcp-ink);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}

.mcp-copy-text::-webkit-scrollbar {
  display: none;
}

.mcp-copy-btn {
  background: #ffffff;
  border: 1px solid var(--mcp-line);
  color: var(--mcp-ink);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.15s ease-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mcp-copy-btn:hover {
  background: var(--mcp-ink);
  color: #ffffff;
  border-color: var(--mcp-ink);
}

.mcp-copy-field.copied {
  border-color: #1f9a65;
  background: rgba(31, 154, 101, 0.03);
}

.mcp-copy-field.copied .mcp-copy-btn {
  color: #1f9a65;
  background: rgba(31, 154, 101, 0.08);
  border-color: #1f9a65;
}

/* ==================== CODE BOX GROUP ==================== */
.code-box-group {
  margin-block-end: 28px;
  border: 1.5px solid var(--mcp-line);
  border-radius: 10px;
  overflow: hidden;
  max-width: 720px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.015);
}

.mcp-code-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: var(--mcp-bg-soft);
  border-bottom: 1.5px solid var(--mcp-line);
  padding: 10px 16px;
}

.mcp-code-lang {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mcp-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mcp-code-block {
  margin: 0;
  background: var(--mcp-code-bg);
  padding: 18px;
  overflow-x: auto;
}

.mcp-code-block code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--mcp-code-text);
  line-height: 1.5;
}

/* ==================== ACTION ROW ==================== */
.panel-action-row {
  margin-block-start: 36px;
}

.btn-claude-1click {
  background: var(--mcp-ink);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-out;
}

.btn-claude-1click:hover {
  background: #000000;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

/* ==================== RESPONSIVENESS ==================== */
@media (max-width: 768px) {
  .mcp-hero {
    padding-block: 48px 32px;
  }
  .mcp-docs-section {
    padding-block: 32px 64px;
  }
  .mcp-panels-container {
    padding: 24px;
  }
  .mcp-container {
    padding-inline: 20px;
  }
}

.link-coral {
  color: var(--mcp-coral);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease-out;
}

.link-coral:hover {
  color: var(--mcp-coral-hover);
  text-decoration: underline;
}

/* Platform icons inside tabs */
.mcp-platform-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.mcp-tab-btn:hover .mcp-platform-icon {
  transform: scale(1.1);
}

/* Common Section Typography */
.mcp-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--mcp-ink);
  text-align: center;
  margin-block-end: 12px;
  letter-spacing: -0.01em;
}
.mcp-section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 450;
  color: var(--mcp-text-muted);
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-block-end: 48px;
  line-height: 1.5;
}

/* ==================== BENTO GRID ==================== */
.mcp-bento-section {
  padding-block: 80px;
  background: var(--mcp-bg-soft);
  border-block: 1.5px solid var(--mcp-line);
}
.mcp-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.mcp-bento-card {
  background: #ffffff;
  border: 1.5px solid var(--mcp-line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.mcp-bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--mcp-coral);
  box-shadow: 0 12px 30px rgba(255, 106, 44, 0.06);
}
.bento-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mcp-coral);
  background: rgba(255, 106, 44, 0.07);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-block-end: 20px;
}
.bento-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 750;
  color: var(--mcp-ink);
  margin-block-end: 12px;
}
.bento-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mcp-text-muted);
  line-height: 1.6;
  margin-block-end: 28px;
  flex-grow: 1;
}
.bento-copy-btn {
  background: var(--mcp-bg-soft);
  border: 1px solid var(--mcp-line);
  color: var(--mcp-ink);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 650;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease-out;
  width: 100%;
  justify-content: center;
}
.bento-copy-btn:hover {
  background: var(--mcp-coral);
  color: #ffffff;
  border-color: var(--mcp-coral);
}
.mcp-bento-card.copied .bento-copy-btn {
  background: #1f9a65 !important;
  color: #ffffff !important;
  border-color: #1f9a65 !important;
}

/* ==================== WHY PREPILOT SECTION ==================== */
.mcp-why-section {
  padding-block: 80px;
  background: #ffffff;
}
.mcp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.mcp-feature-card {
  text-align: center;
  padding: 16px;
}
.feature-icon {
  font-size: 32px;
  margin-block-end: 16px;
}
.mcp-feature-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 750;
  color: var(--mcp-ink);
  margin-block-end: 12px;
}
.mcp-feature-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mcp-text-muted);
  line-height: 1.6;
}

/* ==================== FAQ SECTION ==================== */
.mcp-faq-section {
  padding-block: 80px 120px;
  background: var(--mcp-bg-soft);
  border-block-start: 1.5px solid var(--mcp-line);
}
.mcp-accordion {
  max-width: 760px;
  margin-inline: auto;
}
.accordion-item {
  background: #ffffff;
  border: 1.5px solid var(--mcp-line);
  border-radius: 12px;
  margin-block-end: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.accordion-item:hover {
  border-color: var(--mcp-coral);
}
.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--mcp-ink);
  padding: 20px 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: start;
}
.accordion-arrow {
  color: var(--mcp-text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-header[aria-expanded="true"] .accordion-arrow {
  transform: rotate(180deg);
  color: var(--mcp-coral);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding-inline: 24px;
}
.accordion-body p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--mcp-text-muted);
  line-height: 1.6;
  padding-block-end: 20px;
  margin: 0;
}

/* ==================== FLOWCHART / ARCHITECTURE ==================== */
.mcp-flowchart-section {
  padding-block: 64px 32px;
  background: var(--mcp-bg-soft);
  border-block-end: 1.5px solid var(--mcp-line);
}
.mcp-flowchart {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin-inline: auto;
  gap: 16px;
}
.flowchart-node {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(255, 106, 44, 0.08);
  border-radius: var(--radius-landing, 24px);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  box-shadow: 0 10px 32px -10px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.flowchart-node::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 106, 44, 0.02) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.flowchart-node:hover::before {
  opacity: 1;
}
.flowchart-node:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 106, 44, 0.3);
  box-shadow: 0 24px 48px -12px rgba(255, 106, 44, 0.14), 0 4px 16px rgba(255, 106, 44, 0.02);
}
.flowchart-node .node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 18px;
  height: 64px;
  width: 64px;
  margin-inline: auto; /* Perfectly centered within container */
  background: rgba(255, 106, 44, 0.05);
  border: 1px solid rgba(255, 106, 44, 0.12);
  border-radius: 50%;
  color: var(--mcp-coral);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.flowchart-node:hover .node-icon {
  background: rgba(255, 106, 44, 0.12);
  border-color: rgba(255, 106, 44, 0.3);
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 0 20px rgba(255, 106, 44, 0.15);
}
.flowchart-node h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 750;
  color: var(--mcp-ink);
  margin-block-end: 6px;
}
.flowchart-node p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--mcp-text-muted);
  line-height: 1.4;
  margin: 0;
}
.flowchart-connection {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0.5;
  text-align: center;
  position: relative;
}
.connection-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--mcp-text-muted);
  margin-block-end: 8px;
  white-space: nowrap;
}
.connection-arrow {
  width: 100%;
  height: 2px;
  background: var(--mcp-line);
  position: relative;
}
.connection-arrow::after {
  content: '';
  position: absolute;
  inset-block-start: -4px;
  inset-inline-end: 0;
  width: 10px;
  height: 10px;
  border-block-start: 2px solid var(--mcp-line);
  border-inline-end: 2px solid var(--mcp-line);
  transform: rotate(45deg);
  transform-origin: center;
}
[dir="rtl"] .connection-arrow::after {
  transform: rotate(-135deg);
}
.arrow-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--mcp-coral);
  border-radius: 50%;
  inset-block-start: -2px;
  animation: moveDot 2s infinite linear;
}
@keyframes moveDot {
  0% { inset-inline-start: 0%; }
  100% { inset-inline-start: 100%; }
}
@media (max-width: 768px) {
  .mcp-flowchart {
    flex-direction: column;
    gap: 32px;
  }
  .flowchart-connection {
    width: 100%;
  }
  .connection-arrow {
    width: 2px;
    height: 40px;
  }
  .connection-arrow::after {
    inset-inline-end: auto;
    inset-block-end: 0;
    inset-inline-start: -4px;
    transform: rotate(135deg);
  }
  @keyframes moveDot {
    0% { inset-block-start: 0%; }
    100% { inset-block-start: 100%; }
  }
}

/* Product Value Map (PVM) Styling */
.node-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  background: rgba(255, 106, 44, 0.08);
  color: var(--mcp-coral);
  padding: 4px 10px;
  border-radius: 20px;
  margin-block-end: 14px;
  text-transform: uppercase;
}
.flowchart-node .node-icon {
  margin-block-end: 12px;
}
.node-desc {
  font-size: 13px !important;
  color: var(--mcp-text-muted);
  margin-block-end: 18px !important;
}
.pvm-details {
  border-block-start: 1px dashed var(--mcp-line);
  padding-block-start: 16px;
  margin-block-start: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
[dir="rtl"] .pvm-details {
  text-align: center;
}
.pvm-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pvm-detail-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--mcp-coral);
  background: rgba(255, 106, 44, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}
.pvm-detail-val {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mcp-ink);
  font-weight: 500;
  max-width: 92%;
  margin-inline: auto;
}

/* ==================== SKILLS EXPLORER ==================== */
.mcp-explorer-section {
  padding-block: 80px;
  background: var(--mcp-bg-soft);
  border-block-end: 1.5px solid var(--mcp-line);
}
.mcp-explorer-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-block-end: 40px;
}
.mcp-search-wrapper {
  position: relative;
  max-width: 600px;
  margin-inline: auto;
  width: 100%;
}
.mcp-search-icon {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  color: var(--mcp-text-muted);
  pointer-events: none;
}
#mcpSkillSearch {
  width: 100%;
  padding: 14px 16px;
  padding-inline-start: 48px;
  border: 1.5px solid var(--mcp-line);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--mcp-ink);
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease-out;
}
#mcpSkillSearch:focus {
  border-color: var(--mcp-coral);
  box-shadow: 0 0 0 3px rgba(255, 106, 44, 0.1);
}
.mcp-filter-chips {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-chip {
  background: #ffffff;
  border: 1.5px solid var(--mcp-line);
  border-radius: 20px;
  padding: 8px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--mcp-text-muted);
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.filter-chip:hover {
  border-color: var(--mcp-ink);
  color: var(--mcp-ink);
}
.filter-chip.active {
  background: var(--mcp-coral);
  border-color: var(--mcp-coral);
  color: #ffffff;
}
.mcp-explorer-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  min-height: 200px;
}
.explorer-card {
  background: #ffffff;
  border: 1.5px solid var(--mcp-line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease-out;
}
.explorer-card:hover {
  transform: translateY(-4px);
  border-color: var(--mcp-ink);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}
.explorer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 12px;
}
.explorer-card-badge {
  background: var(--mcp-bg-soft);
  border: 1px solid var(--mcp-line);
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mcp-coral);
  padding: 4px 8px;
}
.explorer-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 750;
  color: var(--mcp-ink);
  margin-block-end: 8px;
}
.explorer-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--mcp-text-muted);
  line-height: 1.5;
  margin-block-end: 20px;
  flex-grow: 1;
}
.explorer-card-prompt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  background: var(--mcp-bg-soft);
  border: 1px solid var(--mcp-line);
  border-radius: 6px;
  padding: 10px;
  color: var(--mcp-ink);
  margin-block-end: 16px;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 80px;
  overflow-y: auto;
}
.explorer-card-actions {
  display: flex;
  gap: 8px;
}
.explorer-action-btn {
  flex: 1;
  background: transparent;
  border: 1.5px solid var(--mcp-line);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--mcp-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease-out;
}
.explorer-action-btn:hover {
  background: var(--mcp-bg-soft);
  border-color: var(--mcp-ink);
}
.explorer-loading, .explorer-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding-block: 40px;
  font-family: 'Inter', sans-serif;
  color: var(--mcp-text-muted);
}
.mcp-explorer-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-block-start: 40px;
}
.page-btn {
  background: #ffffff;
  border: 1.5px solid var(--mcp-line);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mcp-text-muted);
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.page-btn:hover:not(:disabled) {
  border-color: var(--mcp-ink);
  color: var(--mcp-ink);
}
.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-info {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--mcp-text-muted);
}

/* Gemini 3-Column Sub-Grid Styles */
.gemini-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-block-start: 24px;
}
.gemini-card {
  background: var(--mcp-bg-soft);
  border: 1.5px solid var(--mcp-line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s ease-out;
}
.gemini-card:hover {
  border-color: var(--mcp-ink);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}
.gemini-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.gemini-card-header h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 750;
  color: var(--mcp-ink);
  margin: 0;
}
.gemini-card-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.gemini-card-steps {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--mcp-ink);
  line-height: 1.6;
  padding-inline-start: 20px;
  margin: 0;
  flex-grow: 1;
}
.gemini-card-steps li {
  margin-block-end: 8px;
}
.gemini-card-steps li:last-child {
  margin-block-end: 0;
}

/* ==================== NEWS BANNER ==================== */
.news-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #111111 0%, #1c1c1c 50%, #111111 100%);
  color: #ffffff;
  padding-block: 10px;
  padding-inline-start: 24px;
  padding-inline-end: 48px; /* space for the close button */
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  z-index: 110;
  border-bottom: 1px solid rgba(255, 106, 44, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.news-banner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--maxw-mcp);
  margin-inline: auto;
  gap: 8px;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 106, 44, 0.15);
  color: var(--mcp-coral);
  border: 1px solid rgba(255, 106, 44, 0.35);
  padding-block: 2px;
  padding-inline: 8px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-inline-end: 4px;
  box-shadow: 0 0 10px rgba(255, 106, 44, 0.15);
  flex-shrink: 0;
}

.news-content {
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
}

.news-banner-close {
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.18s ease-in-out;
}

.news-banner-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.news-banner.is-hidden {
  height: 0 !important;
  padding-block: 0 !important;
  border-bottom-width: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}

@media (max-width: 768px) {
  .news-banner {
    padding-inline-start: 16px;
    padding-inline-end: 40px;
    font-size: 12px;
  }
  
  .news-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .news-badge {
    margin-inline-end: 0;
  }
  
  .news-content {
    font-size: 11.5px;
    text-align: start;
  }
}

/* ==================== HOW PREPILOT WORKS SECTION ==================== */
.mcp-how-works-section {
  padding-block: 80px;
  background: var(--mcp-bg-soft);
  border-block: 1.5px solid var(--mcp-line);
}

/* Center section label */
.mcp-section-label-container {
  text-align: center;
  margin-block-end: 16px;
}

.mcp-section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mcp-coral);
  background: rgba(255, 106, 44, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
}

/* Force 4-column desktop, 2-column tablet, 1-column mobile */
.mcp-how-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .mcp-how-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mcp-how-works-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact and aligned card styles */
.mcp-how-works-card {
  background: #ffffff;
  border: 1.5px solid var(--mcp-line);
  border-radius: 20px;
  padding: 24px; /* decreased padding */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%; /* uniform heights */
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.mcp-how-works-card:hover {
  transform: translateY(-4px);
  border-color: var(--mcp-coral);
  box-shadow: 0 12px 30px rgba(255, 106, 44, 0.06);
}

/* Smaller Icon Wrapper */
.how-works-icon-wrapper {
  background: rgba(255, 106, 44, 0.08);
  border-radius: 10px;
  padding: 8px; /* decreased from 12px */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 16px; /* decreased from 20px */
  color: var(--mcp-coral);
}

.how-works-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--mcp-ink);
  margin-block-end: 10px;
}

.how-works-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px; /* improved readability */
  line-height: 1.5; /* tighter, cleaner spacing */
  color: var(--mcp-text-muted);
}

/* Bottom CTA block styling */
.mcp-how-works-cta {
  text-align: center;
  margin-block-start: 56px;
  padding: 40px;
  background: #ffffff;
  border: 1.5px solid var(--mcp-line);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.mcp-how-works-cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: var(--mcp-ink);
  margin-block-end: 24px;
}

.mcp-how-works-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mcp-how-works-cta-buttons .mcp-btn {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mcp-how-works-cta-buttons .mcp-btn.btn-coral {
  background: var(--mcp-coral);
  color: #ffffff;
  border: 1.5px solid var(--mcp-coral);
}

.mcp-how-works-cta-buttons .mcp-btn.btn-coral:hover {
  background: #e55a1f;
  border-color: #e55a1f;
  transform: translateY(-1px);
}

.mcp-how-works-cta-buttons .mcp-btn.btn-outline {
  background: transparent;
  color: var(--mcp-ink);
  border: 1.5px solid var(--mcp-line);
}

.mcp-how-works-cta-buttons .mcp-btn.btn-outline:hover {
  background: rgba(0, 0, 0, 0.02);
  border-color: var(--mcp-ink);
  transform: translateY(-1px);
}






