/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
}
.landing-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

/* Header */
.header {
  height: min-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #f1f1f1;
}
.header__logo {
  width: 206px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #3b82f6;
}
.header__logo img {
  width: 100%;
  height: 100%;
}
.header__nav {
  display: flex;
  gap: 20px;
  margin-right: 20px;
}
.header__nav a {
  background: #f2f2f2;
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s;
}
.header__nav a:hover {
  background: #e0e0e0;
}
.header__nav a:last-child {
  background: #222;
  color: #fff;
  box-shadow: 0 0.7065919983928324px 0.7065919983928324px -0.625px #00000026,
    0 1.8065619053231785px 1.8065619053231785px -1.25px #00000024,
    0 3.6217592146567767px 3.6217592146567767px -1.875px #00000024,
    0 6.8655999097303715px 6.8655999097303715px -2.5px #00000021,
    0 13.646761411524492px 13.646761411524492px -3.125px #0000001a,
    0 30px 30px -3.75px #0000000d;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
  padding: 60px 40px 50px;
  background: linear-gradient(
    180deg,
    #fff 27.06771955340015%,
    #e6a9fd 55.5760838963964%,
    #5926b6 81.57903997747749%,
    #380a8f
  );
}
.hero__title {
  font-size: 72px;
  color: #18181b;
}
.hero__span {
  display: inline-block;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    136deg,
    rgb(0, 0, 0) 42.4462%,
    rgb(122, 30, 156) 100%
  );
}
.hero__btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.6px;
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 0.602187px 1.80656px -1.25px,
    rgba(0, 0, 0, 0.063) 0px 2.28853px 6.8656px -2.5px,
    rgba(0, 0, 0, 0.024) 0px 10px 30px -3.75px;
  transition: background 0.2s;
}
.hero__btn_white {
  background: #fff;
  color: #000;
}
.hero__media {
  margin: 0 auto;
  max-width: 1024px;
  width: 100%;
}
.hero__media img,
.hero__media iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.08);
}

/* Text Section */
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
  padding: 60px 40px;
}
.text-section__content {
  max-width: 925px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.text-section h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.text-section p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}
.text-section__span {
  color: #6532d2;
  font-weight: 600;
}

/* How it works */
.how-it-works {
  padding: 20px 40px;
  background: linear-gradient(180deg, #c1b8ff, #f6f5ff, #c1b8ff);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge__container {
  width: fit-content;
  height: auto;
  position: relative;
  padding: 8px 13px;
}
.badge__container p {
  color: #000;
}
.badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgb(41, 216, 255) 0%,
    rgb(173, 255, 188) 36.7592%,
    rgb(255, 253, 130) 66.6755%,
    rgb(245, 105, 255) 100%
  );
  opacity: 0.3;
  border-radius: 10px;
}
.how-it-works h2 {
  text-align: center;
  font-size: 64px;
  font-weight: 600;
  margin: 40px 0 60px;
}
.how-it-works__steps {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 60px;
}
.step {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.step img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: auto;
}
.step div {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.step p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* Discovery Agent */
.discovery-agent {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.discovery-agent__gradient {
  width: 100%;
  background: linear-gradient(180deg, #c1b8ff, #fff);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px;
}
.discovery-agent__gradient h2 {
  width: 70%;
  text-align: center;
  font-size: 46px;
  font-weight: 600;
  word-break: break-word;
  word-wrap: break-word;
}
.discovery-agent__features {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.feature {
  display: flex;
}
.feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  margin-left: 20px;
}
.feature__content h3 {
  font-size: 28px;
  font-weight: 600;
}
.feature__content p {
  max-width: 400px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #0e3057;
  text-align: left;
}
.feature__img {
  width: 100%;
  height: 400px;
  flex: 1;
}
.feature__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: auto;
}

/* Workflow */
.workflow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 40px 60px;
  background: #fff;
}
.workflow h2 {
  width: 70%;
  text-align: center;
  font-size: 46px;
  font-weight: 600;
  margin-bottom: 32px;
}
.workflow__features {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-auto-rows: min-content;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  grid-template-rows: repeat(2, min-content);
  gap: 40px;
}
.workflow-feature {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.workflow-feature__svg {
  width: 40px;
  height: 40px;
}
.workflow__info {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.workflow__info h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.workflow__info p {
  font-size: 16px;
  line-height: 1.5;
}

/* AI Workspace */
.ai-workspace {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 40px;
}
.ai-workspace h2 {
  text-align: center;
  font-size: 54px;
  font-weight: 600;
  margin-bottom: 32px;
}
.ai-workspace__features {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 20px;
}
.ai-feature {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  border: 1px solid #2222221a;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 20px #0000001a;
  padding: 20px;
}
.ai-feature__img {
  width: 100%;
  height: 340px;
}
.ai-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: auto;
}
.ai-feature__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ai-feature__info h3 {
  font-size: 36px;
  font-weight: 600;
}
.ai-feature__info p {
  max-width: 350px;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

/* Pricing */
.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background: #f9fafb;
  padding: 60px 40px;
}
.pricing h2 {
  text-align: center;
  font-size: 54px;
  font-weight: 600;
}
.pricing__text {
  max-width: 550px;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
}
.pricing__plans {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 20px;
}
.plan {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  border: 1px solid #2222221a;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 20px #0000001a;
  padding: 32px 24px;
}
.plan__heading {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plan__name {
  font-size: 24px;
  font-weight: 600;
  color: #7f7f7f;
}
.plan:nth-child(2) {
  background: #000;
  color: #fff;
}
.plan__price {
  font-size: 54px;
  font-weight: 600;
}
.plan__price span {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #7f7f7f;
}
.plan ol {
  list-style: none;
  text-align: left;
}
.plan ol li {
  font-size: 14px;
}
.plan:nth-child(2) ol li {
  color: #cccccc;
}
.plan ol li:not(:last-child) {
  padding-bottom: 20px;
}
.plan ol li::before {
  content: "\2713";
  margin-right: 5px;
}
.plan h5 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.plan a {
  width: 100%;
  text-align: center;
}
.plan__cta {
  position: relative;
  border: 1px solid #3d3d39;
  border-radius: 10px;
  padding: 8px 13px;
}
.cta__text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: transparent;
  background: linear-gradient(
    270deg,
    rgb(117, 205, 224) 0%,
    rgb(173, 255, 188) 36.7592%,
    rgb(255, 253, 130) 66.6755%,
    rgb(242, 166, 248) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 60px;
  background: #fff;
  padding: 80px 40px 0;
}
.faq h2 {
  text-align: center;
  font-size: 54px;
  font-weight: 600;
}
.faq__list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.faq__item:not(:last-child) {
  border-bottom: 1px solid #2222221a;
}
.faq__question {
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: none;
  outline: none;
  background: #fff;
  padding: 30px 0;
}
.faq__answer {
  display: none;
  max-width: 460px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  word-break: break-word;
  word-wrap: break-word;
  opacity: 0.8;
  padding: 0 0 30px;
}
.faq__item.active .faq__answer {
  display: block;
}

.faq__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transition: transform 2s;
  margin-left: 12px;
  color: #222;
}

.faq__item .faq__icon::before {
  content: "+";
}

.faq__item.active .faq__icon::before {
  content: "–";
}

/* CTA */
.cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(
    77.7% 108.60000000000001% at 99.4% 100%,
    #3867ff80,
    #fff
  );
  padding: 80px 40px;
}
.cta__container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  display: flex;
  align-items: center;
}
.cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.cta__content h5 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.cta__content span {
  color: #6532d2;
}
.cta__content p {
  max-width: 410px;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.cta__img-container {
  width: 587px;
  height: 337px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.cta__img {
  position: absolute;
  top: -39px;
  right: -132px;
  bottom: -134px;
  overflow: visible;
  aspect-ratio: 1.0478395061728396 / 1;
  transform: rotate(-13deg);
  z-index: 1;
}
.cta__img img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-position: center;
  object-fit: cover;
  aspect-ratio: auto 1500 / 1500;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  gap: 60px;
  background: #fff;
  text-align: center;
  padding: 60px 40px;
}
.footer__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.footer__contact {
  width: 60px;
  height: 60px;
}
.footer p {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: #7f7f7f;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .landing-wrapper {
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
  }
  .hero__title {
    font-size: 64px;
  }
  .discovery-agent__features {
    align-items: center;
  }
  .feature {
    flex-direction: column;
    align-items: center;
  }
  .feature__img {
    order: 2;
    aspect-ratio: auto;
    max-width: 400px;
  }
  .feature__content {
    align-items: center;
    margin-bottom: 20px;
    margin-left: 0;
  }
  .feature__content p {
    text-align: center;
  }
  .how-it-works__steps,
  .workflow__features {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 20px;
  }
  .ai-workspace__features {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
  .pricing__plans {
    grid-template-columns: repeat(1, minmax(200px, 1fr));
    justify-items: center;
  }
  .plan {
    width: 100%;
    max-width: 300px;
  }
}
@media (max-width: 850px) {
  .cta__img {
    right: -211px;
  }
}
@media (max-width: 800px) {
  .how-it-works__steps,
  .workflow__features {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
  .step,
  .workflow-feature,
  .feature,
  .ai-feature {
    max-width: 350px;
  }
  .ai-feature__info h3 {
    font-size: 32px;
  }
  .workflow h2 {
    width: 90%;
  }
  .discovery-agent__gradient h2,
  .workflow h2 {
    width: 100%;
  }
  .cta__img-container {
    display: none;
  }
  .cta__container {
    justify-content: center;
  }
  .cta__content {
    align-items: center;
  }
  .cta__content p {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 20px;
    padding: 20px 8px;
    border: none;
  }
  .hero,
  .how-it-works,
  .discovery-agent,
  .workflow,
  .ai-workspace,
  .pricing,
  .faq,
  .cta {
    padding: 32px 8px 24px 8px;
  }
  .discovery-agent {
    background: #fff;
  }
  .discovery-agent__gradient {
    background: #fff;
  }
  .how-it-works__steps,
  .workflow__features,
  .ai-workspace__features {
    grid-template-columns: repeat(1, minmax(200px, 1fr));
    justify-items: center;
  }
  .hero__title {
    font-size: 48px;
  }
  .how-it-works h2,
  .discovery-agent__gradient h2,
  .workflow h2,
  .ai-workspace h2,
  .pricing h2,
  .faq h2 {
    font-size: 42px;
  }
  .footer {
    gap: 20px;
    padding: 40px 20px 20px;
  }
}
