/* ========================================
   DI SUITE PAGE STYLES
   ======================================== */

/* Hero */
.do-di-hero {
background: #ffffff;
    background-image: radial-gradient(circle at 100% 0%, rgb(251 242 255) 0%, rgba(245, 217, 255, 0) 40%), radial-gradient(circle at 0% 100%, rgba(234, 196, 254, 1) 0%, rgba(234, 196, 254, 0) 40%);
  padding: 60px 0;
  max-width: 100%;
  margin: 0 auto;
}

.do-di-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 0 20px;
}

.do-di-hero-left {
  flex: 1;
  min-width: 0;
}

.do-di-hero-right {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.do-di-badge-pill {
  display: inline-block;
  background: #F0CFFE;
  color: #70557D;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.do-di-hero-left h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 55px;
  letter-spacing: -1.56px;
  color: #191C1D;
  margin: 0 0 16px 0;
}

.do-di-hero-left h1 .text-purple {
  color: #66288B;
}

.do-di-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #413A43;
  margin: 0 0 16px 0;
}

.do-di-hero-left p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 29.25px;
  color: #4D4450;
  margin: 0 0 32px 0;
  max-width: 512px;
}

.do-di-hero-buttons {
  display: flex;
  gap: 12px;
  padding-top: 16px;
}

.do-di-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #8042A5;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 0 24px;
  height: 52px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.do-di-btn-primary:hover {
  opacity: 0.9;
  color: #FFFFFF;
  text-decoration: none;
}

.do-di-btn-primary .btn-arrow {
  width: 12px;
  height: 12px;
}

/* Hero Image */
.do-di-hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.do-di-hero-bg-blur {
  position: absolute;
  inset: -40px;
  background: linear-gradient(136deg, rgba(102, 40, 139, 0.05) 0%, rgba(102, 40, 139, 0) 100%);
  filter: blur(32px);
  border-radius: 12px;
}

.do-di-hero-img {
  position: relative;
  width: 500px;
  max-width: 100%;
  height: auto;
}

.do-di-hero-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Ecosystem Section */
.do-di-ecosystem {
  background: radial-gradient(ellipse at center, #F7E9FF 0%, #e7c9f9 65%, #cf87f9 100%);
  opacity: 0.95;
  padding: 100px 0;
  text-align: left;
}

.do-di-ecosystem-inner {
  width: 100%;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.do-di-ecosystem-text {
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.72px;
  color: #191919;
  margin: 0;
  width: 60%;
      margin-bottom: 30px;
}

.do-di-ecosystem-img-wrap {
  width: 100%;
  position: relative;
}

.do-di-ecosystem-img {
  width: 100%;
  height: auto;
  display: block;
}

.do-di-ecosystem-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Decision Lifecycle Section */
.do-di-lifecycle {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.do-di-lifecycle-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.do-di-lifecycle-bg-svg {
  width: 100%;
  height: 100%;
}

.do-di-lifecycle-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.do-di-lifecycle-header {
  width: 100%;
  padding-top: 8px;
}

.do-di-lifecycle-header h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: #191C1D;
  margin: 0;
}

.do-di-lifecycle-header p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #4D4450;
  margin: 0;
}

/* Lifecycle Diagram */
.do-di-lifecycle-diagram {
  position: relative;
  width: 100%;
  max-width: 686px;
  height: 686px;
  margin: 0 auto;
}

.do-di-orbit-ring {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: 574px;
  height: 574px;
  border: 2px dashed rgba(200, 124, 211, 0.5);
  border-radius: 50%;
}

.do-di-center-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 192px;
  height: 192px;
  background: #FFFFFF;
  border: 1px solid rgba(208, 194, 210, 0.4);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(25, 28, 29, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.do-di-center-core .core-logo {
  width: 36px;
  height: 34.5px;
  margin-bottom: 8px;
}

.do-di-center-core .core-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 17.5px;
  letter-spacing: -0.7px;
  text-transform: uppercase;
  color: #191C1D;
  text-align: center;
}

.do-di-center-core .core-label {
  display: inline-block;
  margin-top: 12px;
  background: rgba(102, 40, 139, 0.1);
  color: #66288B;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  text-align: center;
}

/* Lifecycle diagram animation overlay */
.do-di-lifecycle-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Stage nodes */
.do-di-stage {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

/* Stage 1 - Top */
.do-di-stage-1 {
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}

/* Stage 2 - Top Right */
.do-di-stage-2 {
  top: 106px;
  right: 80px;
}

/* Stage 3 - Right */
.do-di-stage-3 {
  top: 293px;
  right: 10px;
}

/* Stage 4 - Bottom Right */
.do-di-stage-4 {
  bottom: 86px;
  right: 86px;
}

/* Stage 5 - Bottom */
.do-di-stage-5 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Stage 6 - Bottom Left */
.do-di-stage-6 {
  bottom: 86px;
  left: 86px;
}

/* Stage 7 - Left */
.do-di-stage-7 {
  top: 293px;
  left: 10px;
}

/* Stage 8 - Top Left */
.do-di-stage-8 {
  top: 106px;
  left: 80px;
}

.do-di-stage-icon {
  width: 64px;
  height: 64px;
  background: #F7EAFB;
  border: 3px solid #C495DD;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.do-di-stage-icon img {
  width: 36px;
  height: 36px;
}

.do-di-stage-label {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.do-di-stage-label .stage-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #8345A7;
}

.do-di-stage-label .stage-num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #94A3B8;
}

/* Stage hover interaction */
.do-di-stage {
  cursor: pointer;
  z-index: 2;
}

.do-di-stage:hover {
  z-index: 10;
}

.do-di-stage:hover .do-di-stage-icon {
  transform: scale(1.12);
  box-shadow: 0 0 20px rgba(29, 248, 211, 0.3), 0 0 40px rgba(102, 40, 139, 0.1);
}

.do-di-stage-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

/* Tooltip */
.do-di-stage-tooltip {
  position: absolute;
  width: 260px;
  background: #1E1229;
  border: 1px solid rgba(196, 149, 221, 0.15);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  z-index: 100;
  text-align: left;
  left: 50%;
  margin-left: -130px;
  top: 100%;
  margin-top: 8px;
}

.do-di-stage-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 12px;
  background: #1E1229;
  border-left: 1px solid rgba(196, 149, 221, 0.15);
  border-top: 1px solid rgba(196, 149, 221, 0.15);
  transform: rotate(45deg);
}

.do-di-stage:hover .do-di-stage-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.do-di-stage-tooltip strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: #C9A0E0;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.do-di-stage-tooltip p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 19px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Tooltip positioning overrides for edge nodes */
/* Right-side nodes: tooltip goes left */
.do-di-stage-2 .do-di-stage-tooltip,
.do-di-stage-3 .do-di-stage-tooltip,
.do-di-stage-4 .do-di-stage-tooltip {
  left: auto;
  right: 100%;
  top: 50%;
  margin-top: 0;
  transform: translate(-8px, -50%);
  margin-left: 0;
  margin-right: 8px;
}

.do-di-stage-2:hover .do-di-stage-tooltip,
.do-di-stage-3:hover .do-di-stage-tooltip,
.do-di-stage-4:hover .do-di-stage-tooltip {
  transform: translate(0, -50%);
}

.do-di-stage-2 .do-di-stage-tooltip::before,
.do-di-stage-3 .do-di-stage-tooltip::before,
.do-di-stage-4 .do-di-stage-tooltip::before {
  top: 50%;
  left: auto;
  right: -6px;
  margin-top: -6px;
  margin-left: 0;
  border-left: none;
  border-top: none;
  border-right: 1px solid rgba(196, 149, 221, 0.15);
  border-bottom: 1px solid rgba(196, 149, 221, 0.15);
  transform: rotate(-45deg);
}

/* Left-side nodes: tooltip goes right */
.do-di-stage-6 .do-di-stage-tooltip,
.do-di-stage-7 .do-di-stage-tooltip,
.do-di-stage-8 .do-di-stage-tooltip {
  left: 100%;
  right: auto;
  top: 50%;
  margin-top: 0;
  transform: translate(8px, -50%);
  margin-left: 8px;
}

.do-di-stage-6:hover .do-di-stage-tooltip,
.do-di-stage-7:hover .do-di-stage-tooltip,
.do-di-stage-8:hover .do-di-stage-tooltip {
  transform: translate(0, -50%);
}

.do-di-stage-6 .do-di-stage-tooltip::before,
.do-di-stage-7 .do-di-stage-tooltip::before,
.do-di-stage-8 .do-di-stage-tooltip::before {
  top: 50%;
  left: -6px;
  right: auto;
  margin-top: -6px;
  margin-left: 0;
  border-right: none;
  border-bottom: none;
  border-left: 1px solid rgba(196, 149, 221, 0.15);
  border-top: 1px solid rgba(196, 149, 221, 0.15);
  transform: rotate(-45deg);
}

/* Bottom node: tooltip goes up */
.do-di-stage-5 .do-di-stage-tooltip {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 8px;
  transform: translateY(-6px);
}

.do-di-stage-5:hover .do-di-stage-tooltip {
  transform: translateY(0);
}

.do-di-stage-5 .do-di-stage-tooltip::before {
  top: auto;
  bottom: -6px;
  border-left: none;
  border-top: none;
  border-right: 1px solid rgba(196, 149, 221, 0.15);
  border-bottom: 1px solid rgba(196, 149, 221, 0.15);
  transform: rotate(45deg);
}

/* DI Suite CTA */
.do-di-cta {
  padding: 40px 0;
  text-align: center;
}

.do-di-cta-card {
  max-width: 1232px;
  margin: 0 auto;
  background: #F5D9FF;
  border-radius: 24px;
  padding: 40px 280px;
  position: relative;
  overflow: hidden;
}

.do-di-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/products/landing/di-cta-bg.png') center/cover no-repeat;
  opacity: 0.1;
}

.do-di-cta h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 45px;
  color: #723597;
  margin: 0 0 20px 0;
  position: relative;
}

.do-di-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #2E3337;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
  position: relative;
}

.do-di-cta .cta-btn:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #2E3337;
}

/* Animations */
.do-di-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.do-di-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1280px) {
  .do-di-ecosystem {
    padding: 50px 40px;
  }

  .do-di-cta-card {
    padding: 40px 80px;
  }
}

@media (max-width: 991px) {
  .do-di-hero-inner {
    flex-direction: column;
    align-items: center;
  }

  .do-di-hero-left {
    text-align: center;
  }

  .do-di-hero-left p {
    max-width: 100%;
  }

  .do-di-hero-left h1 {
    font-size: 38px;
    line-height: 42px;
  }

  .do-di-hero-subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  .do-di-hero-buttons {
    justify-content: center;
  }

  .do-di-hero-img {
    width: 400px;
  }

  .do-di-ecosystem {
    padding: 40px 20px;
  }

  .do-di-ecosystem-text {
    font-size: 20px;
    line-height: 28px;
  }

  .do-di-lifecycle-diagram {
    transform: scale(0.75);
    transform-origin: top center;
    height: 520px;
  }

  .do-di-lifecycle-header h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .do-di-cta-card {
    padding: 40px 30px;
    margin: 0 15px;
  }
}

@media (max-width: 767px) {
  .do-di-hero {
    padding: 40px 0;
  }

  .do-di-hero-left h1 {
    font-size: 32px;
    line-height: 36px;
  }

  .do-di-hero-subtitle {
    font-size: 18px;
    line-height: 26px;
  }

  .do-di-hero-left h1 br {
    display: none;
  }

  .do-di-hero-img {
    width: 100%;
  }

  .do-di-lifecycle-diagram {
    transform: scale(0.55);
    height: 380px;
  }

  .do-di-cta h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .do-di-cta-card {
    border-radius: 16px;
    padding: 30px 20px;
  }
}
