.lab-page {
  background: #fff;
  padding-top: 66px;
}

.cd-header {
  background: linear-gradient(90deg, #3477ff 0%, #283ec1 54%, #1f226f 100%);
  box-shadow: none;
}

.cd-header.cd-scrolled {
  box-shadow: 0 2px 18px rgba(12, 18, 80, .18);
}

.cd-header .cd-nav>a,
.cd-header .cd-lang {
  color: #fff;
}

.cd-header .cd-logo img {
  filter: none;
}

.cd-header .cd-burger span {
  background: #fff;
}

.cd-header .cd-nav>a:hover {
  color: #eaf1ff;
}

.cd-header .cd-btn-ghost {
  background: #3477ff;
  box-shadow: 0 10px 26px rgba(12, 18, 80, .18);
  color: #fff;
}

.cd-header .cd-btn-ghost:hover {
  background: #2563eb;
}

.lab-preview {
  background: #fff;
}

.lab-preview .cd-ai-hero {
  background: linear-gradient(90deg, #3477ff 0%, #2d4ad8 52%, #202169 100%);
  color: #fff;
  min-height: 690px;
  padding: 150px 0 96px;
  text-align: center;
}

.lab-preview .cd-ai-hero .cd-hero-grid {
  display: none;
}

.lab-preview .cd-hero-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  justify-items: center;
}

.lab-preview .cd-hero-copy {
  max-width: 1040px;
}

.lab-preview .cd-ai-hero .cd-hero-eyebrow {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fff;
  display: block;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 32px;
  padding: 0;
}

.lab-preview .cd-ai-hero .cd-hero-eyebrow::before {
  display: none;
}

.lab-preview .cd-ai-hero .cd-hero-title {
  color: #fff;
  font-size: clamp(42px, 5.9vw, 80px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0 auto 24px;
  max-width: 1040px;
}

.lab-preview .cd-hero-accent {
  color: #fff;
}

.lab-title-keep {
  display: inline-block;
  white-space: nowrap;
}

.lab-title-line {
  display: block;
  white-space: nowrap;
}

.lab-preview .cd-hero-position {
  color: #fff;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.7;
  margin: 0 auto 18px;
  max-width: 920px;
}

.lab-preview .cd-ai-hero .cd-hero-rotate {
  color: rgba(255, 255, 255, .94);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  justify-content: center;
  margin: 0 0 16px;
}

.lab-preview .cd-ai-hero .cd-rotate-word {
  color: #ffd27a;
}

.lab-preview .cd-ai-hero .cd-hero-sub {
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 860px;
}

.lab-preview .cd-ai-hero .cd-hero-actions {
  gap: 18px;
  justify-content: center;
  margin-top: 38px;
}

.lab-preview .cd-ai-hero .cd-btn-primary,
.lab-preview .cd-ai-hero .cd-btn-ghost {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 18px;
  font-weight: 500;
  justify-content: center;
  line-height: 1;
  min-width: 210px;
  min-height: 66px;
  padding: 0 34px;
  text-align: center;
}

.lab-preview .cd-ai-hero .cd-btn-primary {
  background: #24266f;
  box-shadow: none;
  color: #fff;
}

.lab-preview .cd-ai-hero .cd-btn-primary:hover {
  background: #18194f;
  color: #fff;
}

.lab-preview .cd-ai-hero .cd-btn-ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.lab-preview .cd-ai-console {
  background: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(10, 14, 74, .28);
  color: #111827;
  max-width: 860px;
  text-align: left;
  width: 100%;
}

.lab-preview .cd-ai-console::before {
  display: none;
}

.lab-preview .cd-console-drawing {
  border-radius: 16px;
  min-height: 360px;
}

.lab-preview .cd-console-answer {
  background: #fff7ed;
}

.lab-preview .cd-section {
  padding: 100px 0;
}

.lab-preview .cd-h2,
.lab-preview .cd-stats-title {
  color: #000;
  font-size: clamp(34px, 3.6vw, 45px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.lab-preview .cd-section-kicker {
  color: var(--cd-orange);
  font-size: 14px;
  letter-spacing: .08em;
}

.lab-preview .cd-why-now {
  background: #fff;
}

.lab-preview .cd-why-now .cd-split {
  display: block;
}

.lab-preview .cd-split-copy {
  margin: 0 auto 52px;
  max-width: 900px;
  text-align: center;
}

.lab-preview .cd-h2-left {
  text-align: center;
}

.lab-preview .cd-lead {
  color: #333;
  font-size: 18px;
  line-height: 1.9;
}

.lab-preview .cd-ai-pain-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lab-preview .cd-ai-pain {
  border: 0;
  box-shadow: none;
  display: block;
  padding: 10px 24px;
  text-align: center;
}

.lab-preview .cd-ai-pain i {
  background: transparent;
  color: var(--cd-blue);
  display: inline-flex;
  font-size: 38px;
  height: 64px;
  margin: 0 auto 18px;
  width: 64px;
}

.lab-preview .cd-ai-pain h3 {
  font-size: 22px;
  font-weight: 700;
}

.lab-preview .cd-ai-pain p {
  color: #333;
  font-size: 16px;
}

.lab-preview .cd-magic {
  background: #fff;
}

.lab-preview .cd-magic-map {
  align-items: start;
  gap: 64px;
  grid-template-columns: .9fr 1.1fr;
}

.lab-preview .cd-magic-drawing {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.lab-preview .cd-magic-drawing img {
  border: 0;
  border-radius: 0;
  box-shadow: 0 18px 44px rgba(30, 45, 90, .12);
}

.lab-preview .cd-magic-nodes {
  gap: 18px;
}

.lab-preview .cd-magic-node,
.lab-preview .cd-ai-role-card {
  border: 1px solid #e9edf5;
  border-radius: 0;
  box-shadow: none;
}

.lab-preview .cd-magic-node {
  padding: 22px;
}

.lab-preview .cd-magic-node h3,
.lab-preview .cd-ai-role-card h3 {
  align-items: center;
  color: #000;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 700;
}

.lab-preview .cd-magic-node p,
.lab-preview .cd-ai-role-card span:last-of-type {
  color: #333;
  font-size: 14.5px;
}

.lab-preview .cd-ai-role-grid {
  gap: 18px;
}

.lab-preview .cd-ai-role-card {
  min-height: 268px;
  padding: 26px 20px;
}

.lab-preview .cd-ai-role-icon {
  background: transparent;
  color: var(--cd-blue);
  font-size: 28px;
  height: 42px;
  margin-bottom: 18px;
  width: 42px;
}

.lab-preview .cd-ai-proof {
  background: linear-gradient(90deg, #3477ff 0%, #2d4ad8 52%, #202169 100%);
}

.lab-preview .cd-ai-proof .cd-stats-title {
  color: #fff;
}

.lab-preview .cd-stats-grid {
  max-width: 1040px;
}

.lab-preview .cd-stat-value {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
}

.lab-preview .cd-ba-section {
  background: #fff;
}

.lab-preview .cd-ba {
  border-radius: 0;
  max-width: 1040px;
}

.lab-preview .cd-ba-head {
  background: #f5f7fb;
}

.lab-preview .cd-ba-row {
  grid-template-columns: 124px 1fr 1fr;
}

.lab-preview .cd-ba-row span {
  font-size: 15px;
  padding: 18px 20px;
}

.lab-preview .cd-partners {
  background: #ececec;
}

.lab-preview .cd-partner-logos img {
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.lab-preview .cd-partner-logos img[alt="Wistron"] {
  height: 45px;
}

.lab-preview .cd-partner-logos img[alt*="NVIDIA"] {
  height: 87px;
}

.lab-preview .cd-partner-logos img[alt="wiAdvance"] {
  height: 34px;
}

.lab-preview .cd-partner-logos img[alt="AppWorks"] {
  height: 50px;
}

.lab-preview .cd-faq-section {
  background: #fff;
}

.lab-preview .cd-faq {
  border-radius: 0;
  box-shadow: none;
}

.lab-preview .cd-final-cta {
  background: linear-gradient(90deg, #3477ff 0%, #2d4ad8 52%, #202169 100%);
}

.lab-preview .cd-final-grid h2 {
  color: #fff;
  font-size: clamp(32px, 3.4vw, 48px);
}

.lab-feature-link {
  align-items: center;
  color: var(--cd-blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 6px;
  line-height: 1.4;
  margin-top: 10px;
}

.lab-feature-link i {
  font-size: 11px;
  transition: transform .18s;
}

.lab-feature-link:hover {
  color: var(--cd-blue-deep);
}

.lab-feature-link:hover i {
  transform: translateX(3px);
}

.lab-custom-badge {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: #f08a24;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 5px 8px;
  white-space: nowrap;
}

.cd-ai-role-card .lab-feature-link {
  margin-top: auto;
  padding-top: 16px;
}

@media (max-width: 980px) {
  .lab-preview .cd-ai-hero {
    min-height: auto;
    padding: 112px 0 72px;
  }

  .lab-preview .cd-hero-layout,
  .lab-preview .cd-magic-map,
  .lab-preview .cd-ai-pain-grid,
  .lab-preview .cd-magic-nodes {
    grid-template-columns: 1fr;
  }

  .lab-preview .cd-ai-pain-grid {
    gap: 24px;
  }

  .lab-preview .cd-ai-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-preview .cd-console-drawing {
    min-height: 260px;
  }

  .lab-preview .cd-ba-row {
    grid-template-columns: 86px 1fr 1fr;
  }

  .lab-preview .cd-ba-row span {
    font-size: 13px;
    padding: 13px 12px;
  }
}

@media (max-width: 520px) {
  .lab-preview .cd-ai-hero {
    padding: 86px 0 54px;
  }

  .lab-preview .cd-ai-hero .cd-hero-title {
    font-size: 42px;
    line-height: 1.18;
  }

  .lab-preview .cd-ai-hero .cd-hero-eyebrow {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .lab-preview .cd-ai-hero .cd-btn-primary,
  .lab-preview .cd-ai-hero .cd-btn-ghost {
    font-size: 16px;
    min-width: 0;
    width: 100%;
  }

  .lab-preview .cd-ai-console {
    border-radius: 16px;
  }

  .lab-preview .cd-console-drawing {
    min-height: 210px;
  }

  .lab-preview .cd-section {
    padding: 68px 0;
  }

  .lab-preview .cd-h2,
  .lab-preview .cd-stats-title {
    font-size: 30px;
  }

  .lab-preview .cd-ai-role-grid {
    grid-template-columns: 1fr;
  }

  .lab-preview .cd-magic-node,
  .lab-preview .cd-ai-role-card {
    padding: 20px;
  }

  .lab-preview .cd-ba-head {
    display: none;
  }

  .lab-preview .cd-ba-row {
    grid-template-columns: 1fr;
  }

  .lab-preview .cd-ba-row span {
    padding: 12px 16px;
  }

  .lab-preview .cd-ba-label {
    border-bottom: 1px solid var(--cd-line);
  }
}
