/* =========================================================================
   MCP PAGE — HEADER (solid white to match the top wave)
   ========================================================================= */

.header {
  background-color: #ffffff;
}


/* =========================================================================
   MCP PAGE — HERO (dark, full viewport, floating symbols)
   ========================================================================= */

.mc-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background: var(--color-ink);
  padding: 0 25px;
  position: relative;
  overflow: hidden;
}

.mc-hero .mc-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.mc-hero .mc-hero__bg .mc-hero__sym {
  position: absolute;
  color: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.mc-hero .mc-hero__bg .mc-hero__sym--drift-a {
  animation: mcDriftA 12s ease-in-out infinite;
}

.mc-hero .mc-hero__bg .mc-hero__sym--drift-b {
  animation: mcDriftB 15s ease-in-out infinite;
}

.mc-hero .mc-hero__bg .mc-hero__sym--drift-c {
  animation: mcDriftC 18s ease-in-out infinite;
}

@keyframes mcDriftA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(3deg); }
}

@keyframes mcDriftB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(15px) rotate(-2deg); }
  66% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes mcDriftC {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(-3deg); }
  75% { transform: translateY(10px) rotate(4deg); }
}

.mc-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0 L1440,0 L1440,32 C1200,72 960,8 720,48 C480,80 240,20 0,56 Z'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

.mc-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,80 C480,0 960,80 1440,20 L1440,80 L0,80 Z' fill='%23dbeafe'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

.mc-hero .mc-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mc-hero .mc-hero__inner .mc-hero__text {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
}

.mc-hero .mc-hero__inner .mc-hero__text .mc-hero__badge {
  display: inline-block;
  padding: 6px 25px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-secondary);
  font-weight: 600;
  letter-spacing: 1px;
  align-self: center;
}

.mc-hero .mc-hero__inner .mc-hero__text .mc-hero__headline {
  font-size: 28px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.3);
}

.mc-hero .mc-hero__inner .mc-hero__text .mc-hero__subheadline {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0;
}

.mc-hero .mc-hero__inner .mc-hero__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 100%;
  max-width: 550px;
}

.mc-hero .mc-hero__inner .mc-hero__card .mc-hero__card-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.mc-hero .mc-hero__inner .mc-hero__card .mc-hero__url-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 25px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mc-hero .mc-hero__inner .mc-hero__card .mc-hero__url-box:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(79, 190, 254, 0.3);
}

.mc-hero .mc-hero__inner .mc-hero__card .mc-hero__url-box .mc-hero__url-text {
  flex: 1;
  color: var(--color-secondary);
  font-family: 'Courier New', Courier, monospace;
  font-size: 20px;
  white-space: nowrap;
  line-height: 1.5;
}

.mc-hero .mc-hero__inner .mc-hero__card .mc-hero__url-box .mc-hero__copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.mc-hero .mc-hero__inner .mc-hero__card .mc-hero__url-box .mc-hero__copy-btn:hover {
  background: #1580cc;
}

.mc-hero .mc-hero__inner .mc-hero__card .mc-hero__url-box .mc-hero__copy-btn svg {
  width: 18px;
  height: 18px;
}

.mc-hero .mc-hero__inner .mc-hero__card .mc-hero__card-hint {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  text-align: center;
}

@media (min-width: 768px) {

  .mc-hero .mc-hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .mc-hero .mc-hero__inner .mc-hero__text {
    flex: 1;
    text-align: left;
    max-width: 500px;
  }

  .mc-hero .mc-hero__inner .mc-hero__text .mc-hero__badge {
    align-self: flex-start;
  }

  .mc-hero .mc-hero__inner .mc-hero__text .mc-hero__headline {
    font-size: 42px;
  }

  .mc-hero .mc-hero__inner .mc-hero__text .mc-hero__subheadline {
    font-size: 18px;
  }

  .mc-hero .mc-hero__inner .mc-hero__card {
    flex: 0 0 auto;
    max-width: 550px;
  }

}

@media (max-width: 767px) {

  .mc-hero::after {
    height: 50px;
  }

  .mc-hero .mc-hero__inner .mc-hero__card .mc-hero__url-box {
    flex-direction: column;
  }

  .mc-hero .mc-hero__inner .mc-hero__card .mc-hero__url-box .mc-hero__copy-btn {
    width: 100%;
    justify-content: center;
  }

}


/* =========================================================================
   MCP PAGE — HOW IT WORKS
   ========================================================================= */

.mc-how {
  background: #dbeafe;
  position: relative;
  z-index: 1;
}

.mc-how .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.mc-how .section-header .section-title {
  color: var(--color-ink);
}

.mc-how .section-header .section-subtitle {
  color: var(--color-muted);
  margin: 0 auto;
}

.mc-how .mc-how__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin-bottom: 50px;
}

.mc-how .mc-how__steps .mc-how__step {
  flex: 1 1 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 50px 25px;
}

.mc-how .mc-how__steps .mc-how__step .mc-how__step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.mc-how .mc-how__steps .mc-how__step .mc-how__step-title {
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.mc-how .mc-how__steps .mc-how__step .mc-how__step-desc {
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.mc-how .mc-how__command {
  background: var(--color-ink);
  border-radius: 10px;
  padding: 25px;
  max-width: 600px;
  margin: 0 auto;
  overflow-x: auto;
  text-align: center;
}

.mc-how .mc-how__command pre {
  margin: 0;
}

.mc-how .mc-how__command pre code {
  color: var(--color-secondary);
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  white-space: pre;
  line-height: 1.6;
}

.mc-how::before {
  content: "";
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C480,80 960,0 1440,60 L1440,80 L0,80 Z' fill='%23dbeafe'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}


/* =========================================================================
   MCP PAGE — CAPABILITIES
   ========================================================================= */

.mc-capabilities {
  background: var(--color-surface);
  position: relative;
  z-index: 1;
}

.mc-capabilities .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.mc-capabilities .section-header .section-title {
  color: var(--color-ink);
}

.mc-capabilities .section-header .section-subtitle {
  color: var(--color-muted);
  margin: 0 auto;
}

.mc-capabilities .mc-capabilities__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.mc-capabilities .mc-capabilities__grid .mc-capabilities__card {
  flex: 1 1 300px;
  max-width: 440px;
  background: var(--color-background);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-capabilities .mc-capabilities__grid .mc-capabilities__card .mc-capabilities__card-icon {
  width: 25px;
  height: 25px;
  color: var(--color-primary);
}

.mc-capabilities .mc-capabilities__grid .mc-capabilities__card .mc-capabilities__card-icon svg {
  width: 25px;
  height: 25px;
}

.mc-capabilities .mc-capabilities__grid .mc-capabilities__card .mc-capabilities__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mc-capabilities .mc-capabilities__grid .mc-capabilities__card .mc-capabilities__card-header .mc-capabilities__card-title {
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.mc-capabilities .mc-capabilities__grid .mc-capabilities__card .mc-capabilities__card-header .mc-capabilities__card-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(28, 145, 228, 0.1);
  padding: 2px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.mc-capabilities .mc-capabilities__grid .mc-capabilities__card .mc-capabilities__card-desc {
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.mc-capabilities::before {
  content: "";
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C360,80 1080,0 1440,60 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}


/* =========================================================================
   MCP PAGE — PLATFORMS
   ========================================================================= */

.mc-platforms {
  background: var(--color-ink);
  position: relative;
  z-index: 1;
}

.mc-platforms .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.mc-platforms .section-header .section-title {
  color: #ffffff;
}

.mc-platforms .mc-platforms__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.mc-platforms .mc-platforms__grid .mc-platforms__card {
  flex: 0 1 170px;
  background: #1e293b;
  border: 1px solid rgba(28, 145, 228, 0.15);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.mc-platforms .mc-platforms__grid .mc-platforms__card .mc-platforms__card-icon {
  width: 25px;
  height: 25px;
  color: var(--color-secondary);
}

.mc-platforms .mc-platforms__grid .mc-platforms__card .mc-platforms__card-icon svg {
  width: 25px;
  height: 25px;
}

.mc-platforms .mc-platforms__grid .mc-platforms__card .mc-platforms__card-name {
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  font-size: 14px;
}

.mc-platforms::before {
  content: "";
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C360,80 1080,0 1440,60 L1440,80 L0,80 Z' fill='%230f172a'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}


/* =========================================================================
   MCP PAGE — FAQ
   ========================================================================= */

.mc-faq {
  background: #dbeafe;
  position: relative;
  z-index: 1;
}

.mc-faq .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.mc-faq .section-header .section-title {
  color: var(--color-ink);
}

.mc-faq .mc-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-faq .mc-faq__list details {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
}

.mc-faq .mc-faq__list details summary {
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mc-faq .mc-faq__list details summary::-webkit-details-marker {
  display: none;
}

.mc-faq .mc-faq__list details summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}

.mc-faq .mc-faq__list details[open] summary::after {
  content: "−";
}

.mc-faq .mc-faq__list details .mc-faq__answer {
  margin-top: 10px;
  color: #334155;
  line-height: 1.7;
}

.mc-faq::before {
  content: "";
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C480,80 960,0 1440,60 L1440,80 L0,80 Z' fill='%23dbeafe'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}


/* =========================================================================
   MCP PAGE — CTA
   ========================================================================= */

.mc-cta {
  background: var(--color-surface);
  position: relative;
  z-index: 1;
  text-align: center;
}

.mc-cta .content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.mc-cta .mc-cta__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.3;
}

.mc-cta .mc-cta__subtitle {
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 500px;
}

.mc-cta .mc-cta__subtext {
  color: var(--color-muted);
  font-size: 14px;
  margin: 0;
}

.mc-cta::before {
  content: "";
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C360,80 1080,0 1440,60 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 768px) {

  .mc-cta .mc-cta__title {
    font-size: 36px;
  }

}


/* =========================================================================
   MCP PAGE — MOBILE WAVE OVERRIDES
   ========================================================================= */

@media (max-width: 767px) {

  .mc-how::before,
  .mc-capabilities::before,
  .mc-platforms::before,
  .mc-faq::before,
  .mc-cta::before {
    height: 50px;
    top: -49px;
  }

}
