:root {
  --primary-color: #9146ff;
  --text-dark: #222222;
  --text-medium: #4b5563;
  --text-light: #374151;
  --bg-light-purple: rgba(145, 70, 255, 0.05);
  --bg-white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

.agent_container{
    position: relative;
    margin: 0;
    padding: 0;
}
.agent_container::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url("/wp-content/uploads/2025/05/Group13.svg") no-repeat;
    background-position: left center;
    width: 100%;
    height: 100%;
}

.page-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* CSS from section:hero */
#hero {
  padding: 167px 0 220px;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


.typing-cursor {
            display: inline-block;
            width: 2px;
            height: 1.2em;
            background-color: var(--primary-color);
            animation: blink 1s infinite;
            margin-left: 2px;
            vertical-align: text-bottom;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#hero h1 {
  font-size: 50px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  max-width: 915px;
}

#hero .subtitle {
  font-size: 26px;
  font-weight: 400;
  color: rgba(34, 34, 34, 0.9);
  line-height: 1.2;
  max-width: 730px;
}
video.dw-banner-bg-video{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0;
    z-index: 0;
    pointer-events: none;
    width: 100%;
    object-fit: cover;
    border: 0px solid !important;
}

#hero .subtitle .highlight {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: underline;
  display: inline-block;
}

@media (max-width: 768px) {
  #hero {
    padding: 120px 0 180px;
  }
  #hero h1 {
    font-size: 48px;
  }
  #hero .subtitle {
    font-size: 20px;
  }
}

/* CSS from section:how-it-works */
#how-it-works {
  margin-top: -140px;
  position: relative;
  z-index: 10;
}
/* #how-it-works-card .container{
  position: inherit;
} */
/* #how-it-works .container:after{
    content: "";
    position: absolute;
    width: 1125px;
    height: 76px;
    bottom: 45px;
    left: 69px;
    background: #FFF;
    background: #F5EEFF;
    background: linear-gradient(60deg, rgb(243 235 255) -94%, rgba(255, 255, 255, 1) 31%);

} */

/* video.dw-bg-video{
    position: absolute;
    top: -115px;
    left: 0px;
    z-index: 1;
    pointer-events: none;
    width: calc(100% + 150px);
    object-fit: cover;
    height: fit-content;
    border: 0px solid !important;
} */
.how-it-works-card {
  /* background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 87.02%); */
  padding: 50px 60px;
  /* box-shadow: 0px 4px 70px 0px rgba(145, 70, 255, 0.25); */
  text-align: center;
  position: relative;
    background: #ecf0f5;

    position: relative;
    margin: -100px auto 0;
    background: #fff;
    border-radius: 30px;
}
.how-it-works-card:before,
.how-it-works-card:after {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
background: linear-gradient(45deg, #9146ff, #5ff4ff, #5ff4ff, #d8beff, #e4d1ff, #d8beff, #5ff4ff, #5ff4ff, #9146ff, #e4d1ff);
	background-size: 400%;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	z-index: -1;
	animation: animate 20s linear infinite;
    border-radius: 30px;
}
.how-it-works-card:after {
	filter: blur(20px);
}
@keyframes animate {
	0%
	{
		background-position: 0 0;
	}
	50%
	{
		background-position: 400% 0;
	}
	100%
	{
		background-position: 0 0;
	}
}

.how-it-works-card h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.how-it-works-card .description {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-medium);
  line-height: 1.45;
  max-width: 533px;
  margin: 0 auto 70px;
}

.steps-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 220px;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  right: -30px;
  width: 1px;
  height: 104px;
  border-left: 1px dashed #D1D5DB;
  transform: rotate(90deg);
}

.step-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(145, 70, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.step-item h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.step-item p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .steps-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  .step-item {
    flex-basis: 45%;
  }
  .step-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .how-it-works-card {
    padding: 40px 20px;
    margin: 0 10px;
  }
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}

/* CSS from section:due-diligence */
#due-diligence {
  padding: 40px 0 75px;
  text-align: center;
}

#due-diligence h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 25px;
}

#due-diligence p {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-medium);
  line-height: 1.8;
  max-width: 946px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  #due-diligence {
    padding: 60px 0;
  }
  #due-diligence h2 {
    font-size: 28px;
  }
  #due-diligence p {
    font-size: 16px;
  }
}

/* CSS from section:challenges-solutions */
#challenges-solutions {
  background-color: var(--primary-color);
    padding: 60px 60px;
    overflow: hidden;
    width: 1140px;
    margin: 0px auto;
    border-radius: 30px;
}

.challenges-bg-overlay {
  position: absolute;
  z-index: 1;
    background: url("/wp-content/themes/elsai-child/assets/img/tiles.svg") no-repeat;
    background-size: 100% auto;
    background-position: bottom left;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    left: 0;
}

#challenges-solutions .container {
  position: relative;
  z-index: 2;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.comparison-card {
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0px 8.8px 13.3px 0px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.comparison-card h3 {
  color: var(--primary-color);
  font-size: 22px;
  font-weight: 700;
  margin: 12px 0px;
}

.comparison-card ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
  flex-grow: 1;
  margin-left: 0;
  padding-left: 0;
}

.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.2;
  margin-left: 0;
}

.comparison-card li img {
  margin-top: 2px;
}

.card-image {
  width: 100%;
  border-radius: 7px;
  margin-top: auto;
}

.data-sources-title {
  color: var(--bg-white);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.datasources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.datasource-item {
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.datasource-icon-wrapper {
  background: var(--bg-white);
  border-radius: 10px;
  width: 50px;
  height: 50px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.datasource-item h4 {
  color: var(--bg-white);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .datasources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #challenges-solutions {
    padding: 60px 0;
    width: 100%;
  }
  .datasources-grid {
    grid-template-columns: 1fr;
  }
  section#how-it-works:after{
    display: none;
  }
}

/* CSS from section:performance */
#performance {
  padding: 64px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.performance-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.performance-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.performance-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}

.performance-header p {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-medium);
  margin-bottom: 64px;
}

.performance-content {
  max-width: 1012px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0px 9.7px 14.5px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
}

.process-card {
  flex: 1;
  padding: 65px;
  text-align: left;
}

.automated-card {
  background-color: var(--bg-light-purple);
  border-radius: 12px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 50px;
}

.card-header .icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.manual-card .icon-wrapper {
  background: #f2f2f2;
}

.automated-card .icon-wrapper {
  background: var(--primary-color);
}

.card-header h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.manual-card h3 {
  color: #1f2937;
  margin: 0;
}

.automated-card h3 {
  color: var(--primary-color);
}

.metrics-list {
  display: flex;
  flex-direction: column;
gap: 20px;
margin: 20px 0px;
padding: 0;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.metric-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.metric-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 4px 0;
}

.metric-text p {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.manual-card .metric-text p {
  color: #1f2937;
}

.automated-card .metric-text p {
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .performance-content {
    flex-direction: column;
  }
  .process-card {
    padding: 40px;
  }
  .automated-card {
    border-radius: 0 0 12px 12px;
  }
}

@media (max-width: 768px) {
  #performance {
    padding: 60px 0;
  }
  .performance-header h2 {
    font-size: 28px;
  }
  .performance-header p {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .process-card {
    padding: 30px 20px;
  }
  .card-header {
    margin-bottom: 30px;
  }
  .metrics-list {
    gap: 30px;
  }
}