/* ==========================================================================
   IAM MCP (Model Context Protocol) — Enterprise SaaS Styles
   Harmonized with IAM Brand Design System (Variables, Colors, Typography)
   Fonts: Plus Jakarta Sans (Headings, Badges, Buttons) + Inter (Body, Inputs, Tables)
   Brand Colors: Primary Blue #0a90ea, Dark Blue #0070bb, Amber #f59e0b, Slate #0f172a
   ========================================================================== */

/* Page Wrapper */
.mcp-page {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  padding-top: var(--header-height, 72px);
  color: var(--color-text, #0f172a);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

.mcp-page h1,
.mcp-page h2,
.mcp-page h3,
.mcp-page h4,
.mcp-page h5,
.mcp-page h6 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
  font-weight: 700;
  color: var(--color-text, #0f172a);
  letter-spacing: -0.015em;
}

/* Background Ambient Glows (Light Brand Tint) */
.mcp-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.mcp-bg-glow--1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(10, 144, 234, 0.12) 0%, rgba(10, 144, 234, 0) 70%);
  top: -100px;
  right: -100px;
}

.mcp-bg-glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 70%);
  top: 600px;
  left: -150px;
}

.mcp-bg-glow--3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 144, 234, 0.08) 0%, rgba(10, 144, 234, 0) 70%);
  top: 1800px;
  right: -150px;
}

.mcp-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(10, 144, 234, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 144, 234, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 20%, black 50%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}

/* Container & Sections */
.mcp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.mcp-section {
  padding: 5rem 0;
  position: relative;
}

.mcp-section--alt,
.mcp-section--darker {
  background-color: var(--color-surface-alt, #f8fafc);
  border-top: 1px solid var(--color-border, #e2e8f0);
  border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.site-header__badge-ai {
  font-size: 0.65rem;
  background: rgba(10, 144, 234, 0.12);
  border: 1px solid rgba(10, 144, 234, 0.28);
  color: var(--color-primary, #0a90ea);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.35rem;
  vertical-align: middle;
  font-weight: 700;
  display: inline-block;
  line-height: 1.2;
}

/* Badges */
.mcp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(10, 144, 234, 0.08);
  border: 1px solid rgba(10, 144, 234, 0.22);
  color: var(--color-primary, #0a90ea);
  margin-bottom: 1.25rem;
}

.mcp-badge--purple {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.22);
  color: #6366f1;
}

.mcp-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary, #0a90ea);
  box-shadow: 0 0 8px rgba(10, 144, 234, 0.5);
  animation: mcpPulseDot 2s infinite ease-in-out;
}

@keyframes mcpPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Section Header */
.mcp-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.mcp-section-header__title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text, #0f172a);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.mcp-gradient-text {
  background: linear-gradient(135deg, var(--color-primary, #0a90ea) 0%, #005bb5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.mcp-section-header__desc {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--color-text-muted, #64748b);
  margin: 0;
}

/* ==========================================================================
   HERO SECTION (Light Brand Blue Hero)
   ========================================================================== */
.mcp-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5.5rem;
  background: linear-gradient(165deg, #ffffff 0%, #f0f7ff 55%, #e6f3fc 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  text-align: center;
}

.mcp-hero__title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2.35rem, 3.8vw, 3.65rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-text, #0f172a);
  letter-spacing: -0.03em;
  max-width: 980px;
  margin: 0 auto 1.5rem;
}

.mcp-hero__subtitle {
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
  line-height: 1.7;
  color: var(--color-text-secondary, #334155);
  max-width: 840px;
  margin: 0 auto 2.5rem;
}

.mcp-hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.mcp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #0084ff;
  color: #ffffff;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 132, 255, 0.35);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.mcp-btn-primary:hover {
  background: #0070bb;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 132, 255, 0.45);
  color: #ffffff;
}

.mcp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  color: var(--color-text, #0f172a);
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid var(--color-border, #cbd5e1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  cursor: pointer;
}

.mcp-btn-secondary:hover {
  border-color: var(--color-primary, #0a90ea);
  color: var(--color-primary, #0a90ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 144, 234, 0.12);
}

/* Hero Metrics Bar (Strictly 1 Row on Desktop) */
.mcp-metrics-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.6rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(10, 144, 234, 0.06);
  align-items: center;
}

.mcp-metric-item {
  text-align: center;
  padding: 0 0.75rem;
}

.mcp-metric-item:not(:first-child) {
  border-left: 1px solid #e2e8f0;
}

.mcp-metric-value {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text, #0f172a);
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.mcp-metric-label {
  font-size: 0.82rem;
  color: var(--color-text-muted, #64748b);
  line-height: 1.45;
  font-weight: 500;
}

@media (max-width: 1080px) {
  .mcp-metrics-bar {
    grid-template-columns: repeat(5, 1fr);
    padding: 1.25rem 0.75rem;
    gap: 0.25rem;
  }
  .mcp-metric-item {
    padding: 0 0.4rem;
  }
  .mcp-metric-value {
    font-size: 1.4rem;
  }
  .mcp-metric-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .mcp-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.25rem 1rem;
  }
  .mcp-metric-item:not(:first-child) {
    border-left: none;
  }
  .mcp-metric-item:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .mcp-metrics-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .mcp-metric-item:last-child {
    grid-column: span 1;
  }
}

/* ==========================================================================
   CORE ARCHITECTURE DIAGRAM (FLOW: User -> AI -> MCP -> IAM)
   ========================================================================== */
.mcp-flow-diagram-container {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.mcp-flow-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1.2fr 40px 1.4fr 40px 1.5fr;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

@media (max-width: 1024px) {
  .mcp-flow-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Flow Node Card */
.mcp-node {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.mcp-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
}

.mcp-node--user {
  border-color: #cbd5e1;
}
.mcp-node--user::before {
  background: #0ea5e9;
}

.mcp-node--ai {
  border-color: #cbd5e1;
}
.mcp-node--ai::before {
  background: #6366f1;
}

.mcp-node--mcp {
  background: #f0f7ff;
  border: 2px solid var(--color-primary, #0a90ea);
  box-shadow: 0 8px 24px rgba(10, 144, 234, 0.12);
}
.mcp-node--mcp::before {
  background: linear-gradient(90deg, #0a90ea, #005bb5);
}

.mcp-node--iam {
  border-color: #cbd5e1;
}
.mcp-node--iam::before {
  background: #10b981;
}

.mcp-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10, 144, 234, 0.1);
}

.mcp-node__tag {
  display: inline-block;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.mcp-node--user .mcp-node__tag { background: #e0f2fe; color: #0284c7; }
.mcp-node--ai .mcp-node__tag { background: #ede9fe; color: #6d28d9; }
.mcp-node--mcp .mcp-node__tag { background: rgba(10, 144, 234, 0.15); color: #0070bb; font-weight: 800; }
.mcp-node--iam .mcp-node__tag { background: #d1fae5; color: #059669; }

.mcp-node__title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text, #0f172a);
  margin-bottom: 0.4rem;
}

.mcp-node__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted, #64748b);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.mcp-node__pills {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mcp-node__pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--color-text-secondary, #334155);
}

.mcp-node__pill-icon {
  font-size: 0.95rem;
}

/* Connector Arrows */
.mcp-flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mcp-flow-arrow {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #cbd5e1, #0a90ea, #cbd5e1);
  position: relative;
}

.mcp-flow-arrow::after {
  content: '▶';
  position: absolute;
  right: -3px;
  top: -6px;
  font-size: 10px;
  color: var(--color-primary, #0a90ea);
}

@media (max-width: 1024px) {
  .mcp-flow-connector {
    transform: rotate(90deg);
    height: 30px;
  }
}

/* MCP Highlight Layer Box */
.mcp-core-features-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mcp-core-feat {
  background: #ffffff;
  border: 1px solid rgba(10, 144, 234, 0.25);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
}

.mcp-core-feat strong {
  color: var(--color-primary-dark, #0070bb);
  display: block;
  margin-bottom: 0.15rem;
}

.mcp-core-feat span {
  color: var(--color-text-muted, #64748b);
  font-size: 0.75rem;
}

/* ==========================================================================
   LIVE SIMULATOR / INTERACTIVE USE CASES (Light Modern Console)
   ========================================================================== */
.mcp-simulator {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
}

.mcp-sim-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border, #e2e8f0);
  overflow-x: auto;
}

.mcp-sim-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text-muted, #64748b);
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.mcp-sim-tab-btn:hover {
  background: rgba(10, 144, 234, 0.06);
  color: var(--color-primary, #0a90ea);
}

.mcp-sim-tab-btn.is-active {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--color-primary, #0a90ea);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.mcp-sim-stage {
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .mcp-sim-stage {
    grid-template-columns: 1fr;
  }
}

/* Prompt Box */
.mcp-prompt-card {
  background: #f8fafc;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mcp-prompt-user {
  display: flex;
  gap: 1rem;
}

.mcp-avatar-user {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a90ea, #0070bb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.mcp-bubble-user {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--color-text, #0f172a);
  line-height: 1.55;
}

/* MCP Tool Action Box (Sharp High-Contrast Code Terminal) */
.mcp-tool-call-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 1rem;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.78rem;
  position: relative;
  overflow-x: auto;
}

.mcp-tool-call-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #38bdf8;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.mcp-tool-call-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.mcp-code-text {
  color: #e2e8f0;
  margin: 0;
  line-height: 1.6;
}

/* Result Card */
.mcp-result-card {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.mcp-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mcp-result-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text, #0f172a);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mcp-badge-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mcp-data-display {
  background: #f8fafc;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 10px;
  padding: 1.25rem;
}

.mcp-table-compact {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.mcp-table-compact th {
  text-align: left;
  padding: 0.55rem 0.75rem;
  color: var(--color-text-muted, #64748b);
  font-weight: 600;
  border-bottom: 2px solid #e2e8f0;
  background: #f1f5f9;
}

.mcp-table-compact td {
  padding: 0.65rem 0.75rem;
  color: var(--color-text-secondary, #334155);
  border-bottom: 1px solid #e2e8f0;
}

.mcp-table-compact tr:last-child td {
  border-bottom: none;
}

.mcp-highlight-val {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary, #0a90ea);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   4 CORE PILLARS OF BENEFITS (Clean White Cards)
   ========================================================================== */
.mcp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .mcp-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 680px) {
  .mcp-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.mcp-pillar-icon--tenant {
  background: rgba(14, 165, 233, 0.1) !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
  color: #0284c7 !important;
}

.mcp-pillar-icon--mobile {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #059669 !important;
}

.mcp-pillar-card {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.mcp-pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-light, #3bb2ff);
  box-shadow: 0 16px 36px rgba(10, 144, 234, 0.1);
}

.mcp-pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(10, 144, 234, 0.08);
  border: 1px solid rgba(10, 144, 234, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.mcp-pillar-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text, #0f172a);
  margin-bottom: 0.75rem;
}

.mcp-pillar-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted, #64748b);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.mcp-pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mcp-pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary, #334155);
}

.mcp-pillar-list li::before {
  content: '✓';
  color: var(--color-primary, #0a90ea);
  font-weight: bold;
}

/* ==========================================================================
   CAPABILITIES DEEP DIVE (RESOURCES, PROMPTS, TOOLS) - REDESIGNED
   ========================================================================== */
.mcp-capabilities-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.mcp-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .mcp-caps-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 600px;
    margin: 0 auto;
  }
}

.mcp-cap-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 2.2rem 1.85rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mcp-cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #e2e8f0;
  transition: background 0.3s ease;
}

.mcp-cap-card--resources::before { background: linear-gradient(90deg, #38bdf8, #0084ff); }
.mcp-cap-card--prompts::before { background: linear-gradient(90deg, #c084fc, #8b5cf6); }
.mcp-cap-card--tools::before { background: linear-gradient(90deg, #34d399, #10b981); }

.mcp-cap-card:hover {
  transform: translateY(-6px);
}

.mcp-cap-card--resources:hover {
  border-color: #7dd3fc;
  box-shadow: 0 20px 42px rgba(2, 132, 199, 0.14);
}

.mcp-cap-card--prompts:hover {
  border-color: #c4b5fd;
  box-shadow: 0 20px 42px rgba(124, 58, 237, 0.14);
}

.mcp-cap-card--tools:hover {
  border-color: #6ee7b7;
  box-shadow: 0 20px 42px rgba(16, 185, 129, 0.14);
}

/* Card Header */
.mcp-cap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.mcp-cap-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.mcp-cap-card:hover .mcp-cap-icon-box {
  transform: scale(1.08);
}

.mcp-cap-icon--blue {
  background: #e0f2fe;
  color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18);
}

.mcp-cap-icon--purple {
  background: #ede9fe;
  color: #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.18);
}

.mcp-cap-icon--green {
  background: #dcfce7;
  color: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.18);
}

.mcp-cap-badge {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  display: inline-block;
}

.mcp-cap-badge--blue {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.mcp-cap-badge--purple {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.mcp-cap-badge--green {
  background: #f0fdf4;
  color: #059669;
  border: 1px solid #bbf7d0;
}

.mcp-cap-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.mcp-cap-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.62;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Modern macOS Terminal Box */
.mcp-terminal {
  background: #0b1329;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.mcp-terminal-header {
  background: #0f1a36;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mcp-terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mcp-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.mcp-dot--red { background: #ff5f56; }
.mcp-dot--yellow { background: #ffbd2e; }
.mcp-dot--green { background: #27c93f; }

.mcp-terminal-title {
  font-family: monospace;
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.mcp-terminal-tag {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  letter-spacing: 0.05em;
}

.mcp-terminal-body {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mcp-terminal-line {
  font-family: 'SF Mono', Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: 0.775rem;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mcp-term-proto {
  color: #38bdf8;
  font-weight: 600;
}

.mcp-term-proto--purple {
  color: #c084fc;
}

.mcp-term-path {
  color: #f1f5f9;
}

.mcp-term-path--gold {
  color: #fef08a;
}

.mcp-term-fn {
  color: #34d399;
  font-weight: 600;
}

.mcp-term-arg {
  color: #94a3b8;
}

/* ==========================================================================
   COMPARISON SECTION (Chatbot vs IAM MCP)
   ========================================================================== */
.mcp-compare-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 18px;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.mcp-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.mcp-compare-table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--color-border, #e2e8f0);
}

.mcp-compare-table th:first-child { width: 28%; color: var(--color-text, #0f172a); background: #f8fafc; }
.mcp-compare-table th:nth-child(2) { width: 36%; color: #dc2626; background: #fff1f2; }
.mcp-compare-table th:nth-child(3) { width: 36%; color: #059669; background: #ecfdf5; }

.mcp-compare-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border, #e2e8f0);
  line-height: 1.55;
}

.mcp-compare-table tr:last-child td { border-bottom: none; }
.mcp-compare-table td:nth-child(2) { color: #64748b; background: rgba(254, 242, 242, 0.5); }
.mcp-compare-table td:nth-child(3) { color: #0f172a; font-weight: 500; background: rgba(236, 253, 245, 0.5); }

/* ==========================================================================
   HOMEPAGE MCP HIGHLIGHT BLOCK (Exact Match to User Mockup)
   ========================================================================== */
.homepage-mcp-block {
  padding: 5.5rem 0 6rem;
  position: relative;
  background: radial-gradient(100% 120% at 85% 15%, #dbeafe 0%, #eff6ff 40%, #ffffff 85%);
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.homepage-mcp-block::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.homepage-mcp-block::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.homepage-mcp-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .homepage-mcp-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Badge (Pill with calendar icon) */
.homepage-mcp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 9999px;
  color: #0284c7;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.homepage-mcp-content h2,
.homepage-mcp-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.75rem, 2.3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.homepage-mcp-title-line1 {
  display: inline;
}

@media (min-width: 640px) {
  .homepage-mcp-title-line1 {
    display: inline-block;
    white-space: nowrap;
  }
}

.homepage-mcp-title-blue,
.homepage-mcp-title-line2 {
  display: inline-block;
  color: #0084ff;
  white-space: nowrap;
}

.homepage-mcp-content p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.72;
  margin-bottom: 2rem;
  max-width: 580px;
}

.homepage-mcp-content p strong {
  color: #0f172a;
  font-weight: 700;
}

/* 4 Features Grid (2x2) */
.homepage-mcp-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 600px) {
  .homepage-mcp-features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.homepage-mcp-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.homepage-mcp-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.homepage-mcp-feat:hover .homepage-mcp-feat-icon {
  transform: scale(1.08);
}

.homepage-mcp-feat-icon--blue {
  background: #e0f2fe;
}
.homepage-mcp-feat-icon--purple {
  background: #ede9fe;
}
.homepage-mcp-feat-icon--green {
  background: #dcfce7;
}
.homepage-mcp-feat-icon--amber {
  background: #fef3c7;
}

.homepage-mcp-feat-text h4 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.homepage-mcp-feat-text p {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Pill CTA Button */
.homepage-mcp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #0084ff;
  color: #ffffff;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2.15rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 132, 255, 0.35);
  transition: all 0.25s ease;
}

.homepage-mcp-btn:hover {
  background: #0070bb;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 132, 255, 0.45);
  color: #ffffff;
}

.homepage-mcp-btn-arrow {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}
.homepage-mcp-btn:hover .homepage-mcp-btn-arrow {
  transform: translateX(4px);
}

/* Right Visual Column (Floating Graphics + Mockup Card) */
.homepage-mcp-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 530px;
  padding-top: 55px; /* room for AI badge and robot at top edge */
  padding-right: 48px; /* room for 3 floating side icons on the right */
  margin: 0 auto;
}

/* Background Connector SVG */
.homepage-mcp-decor-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating AI Badge (Above Card, Left/Center) */
.homepage-mcp-float-ai {
  position: absolute;
  top: 15px;
  left: 28%;
  z-index: 3;
}

.homepage-mcp-ai-box {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  background: linear-gradient(135deg, #38bdf8 0%, #0084ff 50%, #4f46e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 25px rgba(0, 132, 255, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.45);
  animation: mcpFloatSoft 4s ease-in-out infinite alternate;
}

/* Cute Robot Mascot at TOP RIGHT CORNER */
.homepage-mcp-robot-corner {
  position: absolute;
  top: 4px;
  right: 58px; /* sits right on the top-right corner of the white card */
  width: 95px;
  height: 80px;
  z-index: 4;
  filter: drop-shadow(0 10px 22px rgba(0, 132, 255, 0.22));
  transition: transform 0.3s ease;
  animation: mcpFloatRobot 3.5s ease-in-out infinite alternate;
}

.homepage-mcp-robot-corner:hover {
  transform: translateY(-4px) scale(1.04);
}

.homepage-mcp-robot-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 3 Floating Side Icons along the right edge */
.homepage-mcp-float-side-icons {
  position: absolute;
  top: 55px;
  bottom: 0;
  right: 0;
  width: 48px;
  pointer-events: none;
  z-index: 3;
}

.homepage-mcp-side-icon {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(219, 234, 254, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(14, 165, 233, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  transition: all 0.25s ease;
}

.homepage-mcp-side-icon:hover {
  transform: scale(1.15) rotate(4deg);
  box-shadow: 0 12px 28px rgba(0, 132, 255, 0.32);
}

.homepage-mcp-side-icon--folder {
  top: 55px; /* Aligned with Query 1 */
  right: 4px;
  animation: mcpFloatIcon1 4.2s ease-in-out infinite alternate;
}

.homepage-mcp-side-icon--cloud {
  top: 155px; /* Aligned with Query 2, curving outward */
  right: -10px;
  animation: mcpFloatIcon2 4.8s ease-in-out infinite alternate;
}

.homepage-mcp-side-icon--shield {
  top: 255px; /* Aligned with Query 3 */
  right: 4px;
  animation: mcpFloatIcon3 4.5s ease-in-out infinite alternate;
}

@keyframes mcpFloatRobot {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

@keyframes mcpFloatSoft {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

@keyframes mcpFloatIcon1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

@keyframes mcpFloatIcon2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(5px); }
}

@keyframes mcpFloatIcon3 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* White Mockup Card */
.homepage-mcp-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 18px 45px rgba(14, 165, 233, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .homepage-mcp-visual-wrapper {
    padding-top: 48px;
    padding-right: 20px;
  }
  .homepage-mcp-float-ai {
    left: 14%;
  }
  .homepage-mcp-ai-box {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
  .homepage-mcp-robot-corner {
    width: 78px;
    height: 66px;
    right: 26px;
    top: 6px;
  }
  .homepage-mcp-side-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .homepage-mcp-side-icon svg {
    width: 17px;
    height: 17px;
  }
  .homepage-mcp-side-icon--folder {
    top: 50px;
    right: 0;
  }
  .homepage-mcp-side-icon--cloud {
    top: 140px;
    right: -8px;
  }
  .homepage-mcp-side-icon--shield {
    top: 230px;
    right: 0;
  }
}

.homepage-mcp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.homepage-mcp-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0084ff;
  display: inline-block;
}

.homepage-mcp-card-flow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.homepage-mcp-flow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.homepage-mcp-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.homepage-mcp-card-item {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.homepage-mcp-card-item:hover {
  border-color: #bae6fd;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.08);
}

.homepage-mcp-item-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.homepage-mcp-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.homepage-mcp-item-icon--chart {
  background: #fff1f2;
}
.homepage-mcp-item-icon--warn {
  background: #fffbeb;
}
.homepage-mcp-item-icon--doc {
  background: #f5f3ff;
}

.homepage-mcp-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
  line-height: 1.4;
}

.homepage-mcp-item-sub {
  font-size: 0.775rem;
  color: #64748b;
  line-height: 1.35;
}

.homepage-mcp-item-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: #ecfdf5;
  color: #16a34a;
  border: 1px solid #d1fae5;
  white-space: nowrap;
}

.homepage-mcp-card-footer {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.homepage-mcp-card-arch {
  font-size: 0.78rem;
  color: #94a3b8;
}

.homepage-mcp-card-link {
  font-size: 0.85rem;
  color: #0084ff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.homepage-mcp-card-link:hover {
  color: #005bb5;
  text-decoration: underline;
}

/* ==========================================================================
   REGISTRATION FORM ON MCP PAGE (Harmonized with IAM Forms)
   ========================================================================== */
.mcp-form-card {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 20px;
  padding: 3rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.05);
}

@media (max-width: 640px) {
  .mcp-form-card {
    padding: 2rem 1.5rem;
  }
}

.mcp-form-group {
  margin-bottom: 1.35rem;
}

.mcp-form-label {
  display: block;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text, #0f172a);
  margin-bottom: 0.5rem;
}

.mcp-form-input,
.mcp-form-select,
.mcp-form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid var(--color-border, #cbd5e1);
  border-radius: var(--radius-md, 10px);
  color: var(--color-text, #0f172a);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.mcp-form-input:focus,
.mcp-form-select:focus,
.mcp-form-textarea:focus {
  outline: none;
  border-color: var(--color-primary, #0a90ea);
  box-shadow: 0 0 0 3px rgba(10, 144, 234, 0.15);
}

.mcp-form-privacy-note {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #334155);
  line-height: 1.5;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--color-primary, #0a90ea);
  margin-bottom: 1.5rem;
}

.mcp-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.mcp-checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--color-primary, #0a90ea);
  cursor: pointer;
}

.mcp-checkbox-wrapper label {
  font-size: 0.85rem;
  color: var(--color-text-secondary, #334155);
  line-height: 1.5;
  cursor: pointer;
}

.mcp-checkbox-wrapper a {
  color: var(--color-primary, #0a90ea);
  text-decoration: underline;
}

.mcp-form-status {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

.mcp-form-status--success {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.mcp-form-status--error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

/* ==========================================================================
   MCP CTA SECTION ENHANCEMENT (Premium High-Converting Look)
   ========================================================================== */
.mcp-cta-section {
  position: relative;
  background: linear-gradient(135deg, #0968c8 0%, #0050b3 50%, #002d6b 100%) !important;
  color: #ffffff !important;
  padding: 5rem 0 !important;
  overflow: hidden;
}

.mcp-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(59, 178, 255, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.mcp-cta-content {
  text-align: left !important;
  color: #ffffff !important;
  padding-right: 2rem;
}

@media (max-width: 1023px) {
  .mcp-cta-content {
    padding-right: 0;
    margin-bottom: 2.5rem;
  }
}

.mcp-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mcp-page .cta-section__title.mcp-cta-title,
.mcp-cta-title {
  color: #ffffff !important;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 1rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mcp-page .cta-section__subtitle.mcp-cta-subtitle,
.mcp-cta-subtitle {
  color: rgba(241, 245, 249, 0.92) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  margin-bottom: 1.75rem !important;
  max-width: 540px;
}

.mcp-cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.mcp-cta-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.mcp-cta-benefit-item strong {
  color: #ffffff;
  font-weight: 700;
}

.mcp-cta-benefit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.25);
  border: 1.5px solid #34d399;
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
}

.mcp-cta-contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  max-width: 540px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 580px) {
  .mcp-cta-contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .mcp-cta-contact-divider {
    display: none;
  }
}

.mcp-cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mcp-cta-contact-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.mcp-cta-contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 2px;
}

.mcp-cta-contact-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mcp-cta-contact-val:hover {
  color: #38bdf8 !important;
  text-decoration: underline;
}

.mcp-cta-contact-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   ENTERPRISE DEDICATED TENANT & MOBILE ASSISTANT SHOWCASE
   ========================================================================== */
.homepage-mcp-feat-icon--indigo {
  background: #e0e7ff;
}
.homepage-mcp-feat-icon--emerald {
  background: #d1fae5;
}

.mcp-showcase-section {
  padding: 5.5rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(10, 144, 234, 0.05) 0%, #ffffff 80%);
  position: relative;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.mcp-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .mcp-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.mcp-showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mcp-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 144, 234, 0.08);
  border-color: #93c5fd;
}

.mcp-showcase-card__header {
  margin-bottom: 1.5rem;
}

.mcp-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.mcp-showcase-badge--blue {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.mcp-showcase-badge--emerald {
  background: #dcfce7;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.mcp-showcase-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.mcp-showcase-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.65;
}

/* Tenant Box Mockup */
.mcp-tenant-box {
  background: #0f172a;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
  border: 1px solid #334155;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.mcp-tenant-box__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mcp-tenant-box__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mcp-tenant-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.mcp-tenant-url-code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #38bdf8;
  word-break: break-all;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.mcp-tenant-url-var {
  color: #fbbf24;
  font-weight: 700;
}

/* Enterprise Benefits List */
.mcp-feature-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.mcp-feat-subcard {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  transition: all 0.2s ease;
}

.mcp-feat-subcard:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.mcp-feat-subcard-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mcp-feat-subcard-icon--blue {
  background: #e0f2fe;
  color: #0284c7;
}

.mcp-feat-subcard-icon--green {
  background: #dcfce7;
  color: #059669;
}

.mcp-feat-subcard-icon--amber {
  background: #fef3c7;
  color: #d97706;
}

.mcp-feat-subcard-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.mcp-feat-subcard-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

/* Mobile Phone Mockup */
.mcp-mobile-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mcp-phone-frame {
  width: 100%;
  max-width: 360px;
  background: #0f172a;
  border: 10px solid #1e293b;
  border-radius: 38px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 0 1px #334155;
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mcp-phone-notch {
  width: 110px;
  height: 20px;
  background: #1e293b;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.mcp-phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 1.25rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  background: #0f172a;
}

.mcp-phone-app-header {
  background: linear-gradient(135deg, #0070bb, #0a90ea);
  color: #ffffff;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mcp-phone-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mcp-phone-user-info {
  flex: 1;
}

.mcp-phone-username {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mcp-phone-user-status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mcp-phone-chat-body {
  background: #f1f5f9;
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 320px;
}

.mcp-chat-bubble {
  max-width: 85%;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mcp-chat-bubble--user {
  align-self: flex-end;
  background: #0a90ea;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.mcp-chat-bubble--bot {
  align-self: flex-start;
  background: #ffffff;
  color: #1e293b;
  border-bottom-left-radius: 4px;
  border: 1px solid #e2e8f0;
}

.mcp-chat-time {
  font-size: 0.65rem;
  opacity: 0.75;
  margin-top: 0.25rem;
  text-align: right;
}

.mcp-chat-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  margin: 0.4rem 0;
  font-size: 0.75rem;
}

.mcp-chat-badge-approved {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #dcfce7;
  color: #059669;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.35rem;
}

.mcp-phone-input-bar {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mcp-phone-input-placeholder {
  flex: 1;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.mcp-phone-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0a90ea;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.mcp-mobile-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.mcp-mob-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}
