/**
 * Guide Landing Page Styles - Pixel Perfect with Figma
 */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.guide-hero-section .home-header-wrapper {
  align-self: stretch;
  padding: 30px 50px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}

.guide-hero-section .home-header {
  flex: 1 1 0;
  height: 720px;
  padding: 50px 290px;
  position: relative;
  background: linear-gradient(315deg, rgba(117, 115, 255, 0.15) 0%, rgba(117, 115, 255, 0.05) 100%);
  overflow: hidden;
  border-radius: 40px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
}

.guide-hero-section .home-header--container {
  display: flex;
  gap: 30px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.guide-hero-section .home-header--left {
  flex: 1 1 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.guide-hero-section .home-header__content-section {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
}

.guide-hero-section .home-header__skill-badge {
  padding: 10px;
  background: rgba(117, 115, 255, 0.10);
  border-radius: 15px;
  outline: 1px rgba(117, 115, 255, 0.20) solid;
  outline-offset: -1px;
}

.guide-hero-section .home-header__skill-badge-text {
  color: var(--color-main-1);
  font-size: 24px;
  font-family: Inter;
  font-weight: 500;
  line-height: 36px;
}

.guide-hero-section .home-header__main-title {
  align-self: stretch;
  color: var(--color-greyscale-2);
  font-size: 50px;
  font-family: Inter;
  font-weight: 500;
  line-height: 64px;
}

.guide-hero-section .home-header__subtitle {
  align-self: stretch;
  color: var(--color-greyscale-4);
  font-size: 20px;
  font-family: Inter;
  font-weight: 400;
  line-height: 26px;
}

.guide-hero-section .home-header__actions-section {
  padding: 10px;
  background: rgba(117, 115, 255, 0.10);
  border-radius: 15px;
  outline: 1px rgba(117, 115, 255, 0.20) solid;
  outline-offset: -1px;
  display: inline-flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
  align-content: flex-start;
}

.guide-hero-section .home-header__image-wrapper {
  width: 533px;
  height: 644px;
  position: relative;
}

.guide-hero-section .home-header__main-image {
  width: 454.81px;
  height: 621.35px;
  position: absolute;
  left: 31.79px;
  top: 0;
  transform: rotate(3deg);
  transform-origin: top left;
}

/* Image shadow at bottom - SVG shape */
.guide-hero-section .home-header__image-wrapper::before {
  content: '';
  width: 515px;
  height: 68px;
  position: absolute;
  left: 26px;
  top: 580px;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MTUiIGhlaWdodD0iNjgiIHZpZXdCb3g9IjAgMCA1MTUgNjgiIGZpbGw9Im5vbmUiPjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2ZfMzYyMl8xNTQwNSkiPjxwYXRoIGQ9Ik00MDMgNTUuNUwzODYgNjRMNCAyNC41TDEzNCA0SDUxMC41TDQxMS41IDU1LjVINDAzWiIgZmlsbD0idXJsKCNwYWludDBfbGluZWFyXzM2MjJfMTU0MDUpIiBmaWxsLW9wYWNpdHk9IjAuOCIvPjwvZz48ZGVmcz48ZmlsdGVyIGlkPSJmaWx0ZXIwX2ZfMzYyMl8xNTQwNSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxNC41IiBoZWlnaHQ9IjY4IiBmaWx0ZXJVbml0cz0idXNlclNwYWNlT25Vc2UiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiI+PGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz48ZmVCbGVuZCBtb2RlPSJub3JtYWwiIGluPSJTb3VyY2VHcmFwaGljIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJzaGFwZSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjIiIHJlc3VsdD0iZWZmZWN0MV9mb3JlZ3JvdW5kQmx1cl8zNjIyXzE1NDA1Ii8+PC9maWx0ZXI+PGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzM2MjJfMTU0MDUiIHgxPSIzODQiIHkxPSI2MSIgeDI9IjM5OC41IiB5Mj0iLTQuNSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiMzMTMyNDMiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM3QTdGQTkiIHN0b3Atb3BhY2l0eT0iMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPg==');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

/* White overlay on image - SVG shape */
.guide-hero-section .home-header__image-wrapper::after {
  content: '';
  width: 408px;
  height: 461px;
  position: absolute;
  left: 31px;
  top: 10px;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDgiIGhlaWdodD0iNDYxIiB2aWV3Qm94PSIwIDAgNDA4IDQ2MSIgZmlsbD0ibm9uZSI+PHBhdGggb3BhY2l0eT0iMC4xIiBkPSJNNDA4IDE2LjVDNDA4IDE2LjUgNTIuNSAxOTUuNSAwIDQ2MUwyMy41IDBMNDA4IDE2LjVaIiBmaWxsPSJ3aGl0ZSIvPjwvc3ZnPg==');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
}

/* Hero background blob SVG - U shape matching form section */
.guide-hero-section .home-header::before {
  content: '';
  width: 595px;
  height: 348px;
  position: absolute;
  bottom: 173px;
  opacity: 0.05;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1OTUiIGhlaWdodD0iMzQ4IiB2aWV3Qm94PSIwIDAgNTk1IDM0OCIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0iTTU5NSAxNzQuMzcxQzU5NSAyNzAuMDkgNTE2LjkxMSAzNDggNDIwLjk3MiAzNDhILTI4Ljk3MkMtMTI0LjkxMSAzNDggLTIwMyAyNzAuMDkgLTIwMyAxNzQuMzcxQy0yMDMgNzguNjUyNSAtMTI0LjkxMSAwIC0yOC45NzIgMEg0MjAuOTcyQzUxNi45MTEgMCA1OTUgNzguNjUyNSA1OTUgMTc0LjM3MVpNNTAyLjAzNiAxNzMuNjI5QzUwMi4wMzYgMTI5LjEwOSA0NjUuNTk1IDkyLjc1MDUgNDIwLjk3MiA5Mi43NTA1SC0yOC45NzJDLTczLjU5NDYgOTIuNzUwNSAtMTEwLjAzNiAxMjkuMTA5IC0xMTAuMDM2IDE3My42MjlDLTExMC4wMzYgMjE4LjE0OSAtNzMuNTk0NiAyNTQuNTA3IC0yOC45NzIgMjU0LjUwN0g0MjAuOTcyQzQ2NS41OTUgMjU0LjUwNyA1MDIuMDM2IDIxOC4xNDkgNTAyLjAzNiAxNzMuNjI5WiIgZmlsbD0iIzc1NzNGRiIvPgogIDwvc3ZnPg==');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   Problems Section
   ========================================================================== */

.guide-problems-wrapper {
  align-self: stretch;
  padding: 100px 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.guide-problems-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

.guide-problems-title {
  align-self: stretch;
  color: var(--color-greyscale-2);
  font-size: 40px;
  font-family: Inter;
  font-weight: 500;
  line-height: 54px;
}

.guide-problems-description {
  align-self: stretch;
  color: var(--color-greyscale-2);
  font-size: 16px;
  font-family: Inter;
  font-weight: 500;
  line-height: 22px;
}

.landing-stat-cards {
  align-self: stretch;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0 30px;
  flex-wrap: wrap;
  align-content: flex-start;
}

/* Stat card override for problems section */
.landing-stat-cards .m-stat-card {
  flex: 1 1 0;
  min-width: 400px;
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px var(--color-main-5) solid;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
}

/* ==========================================================================
   Solutions Section
   ========================================================================== */

.guide-solutions-wrapper {
  align-self: stretch;
  padding: 100px 340px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.guide-solutions-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

.guide-solutions-title {
  align-self: stretch;
  color: var(--color-greyscale-2);
  font-size: 40px;
  font-family: Inter;
  font-weight: 500;
  line-height: 54px;
}

.guide-solutions-description {
  align-self: stretch;
  color: var(--color-greyscale-2);
  font-size: 16px;
  font-family: Inter;
  font-weight: 500;
  line-height: 22px;
}

.landing-solution-cards {
  align-self: stretch;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  align-content: flex-start;
}

/* Stat card override for solutions section */
.landing-solution-cards .m-stat-card {
  flex: 1 1 0;
  min-width: 400px;
  padding: 40px 30px;
  background: linear-gradient(134deg, var(--color-main-5) 0%, var(--color-greyscale-6) 100%);
  overflow: hidden;
  border-radius: 15px;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
}

/* ==========================================================================
   CTA Form Section
   ========================================================================== */

.guide-cta-wrapper {
  align-self: stretch;
  padding: 30px 50px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}

.guide-cta-inner {
  flex: 1 1 0;
  height: 480px;
  padding: 50px 290px;
  position: relative;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0) 100%),
              linear-gradient(180deg, rgba(117, 115, 255, 0) 0%, rgba(117, 115, 255, 0.70) 100%),
              var(--color-main-1);
  box-shadow: 30px 70px 100px rgba(117, 115, 255, 0.20);
  overflow: hidden;
  border-radius: 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}

.guide-cta-content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
}

.guide-cta-title {
  align-self: stretch;
  color: var(--color-greyscale-7);
  font-size: 40px;
  font-family: Inter;
  font-weight: 500;
  line-height: 54px;
}

.guide-cta-description {
  align-self: stretch;
  color: var(--color-greyscale-7);
  font-size: 16px;
  font-family: Inter;
  font-weight: 500;
  line-height: 22px;
}

/* Form wrapper positioning */
.guide-cta-form-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.guide-cta-blob {
  width: 798px;
  height: 348px;
  left: -203px;
  top: 66px;
  position: absolute;
  opacity: 0.10;
  background: var(--color-main-1);
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */

.guide-testimonial-wrapper {
  align-self: stretch;
  padding: 100px 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.guide-testimonial-image-wrapper {
  width: 392px;
  height: 392px;
  position: relative;
  overflow: hidden;
  border-radius: 210px;
  outline: 10px var(--color-main-5) solid;
}

.guide-testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-testimonial-content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
}

.guide-testimonial-quote-icon {
  width: 42px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-testimonial-quote-icon .a-icon {
  width: 42px;
  height: 41px;
  fill: var(--color-greyscale-2);
}

.guide-testimonial-quote {
  align-self: stretch;
  color: var(--color-greyscale-2);
  font-size: 32px;
  font-family: Inter;
  font-weight: 500;
  line-height: 44px;
}

.guide-testimonial-author {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.guide-testimonial-author-name {
  text-align: right;
  color: var(--color-greyscale-4);
  font-size: 32px;
  font-family: Inter;
  font-weight: 500;
  line-height: 44px;
}

.guide-testimonial-author-title {
  text-align: right;
  color: var(--color-greyscale-4);
  font-size: 20px;
  font-family: Inter;
  font-weight: 500;
  line-height: 26px;
}

/* ==========================================================================
   Form Consent Checkbox
   ========================================================================== */

.guide-form-consent {
  align-self: stretch;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.guide-form-consent-icon {
  padding: 8px;
  background: var(--color-greyscale-7);
  border-radius: 10px;
  outline: 1px var(--color-greyscale-5) solid;
  outline-offset: -1px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.guide-form-consent-text {
  flex: 1 1 0;
  color: var(--color-greyscale-7);
  font-size: 12px;
  font-family: Inter;
  font-weight: 500;
  line-height: 18px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .guide-hero-section .home-header-wrapper,
  .guide-cta-wrapper {
    padding: 20px 30px;
  }

  .guide-hero-section .home-header {
    height: auto;
    padding: 40px 60px;
  }

  .guide-hero-section .home-header--container {
    flex-direction: column;
  }

  .guide-hero-section .home-header__image-wrapper {
    width: 100%;
    height: 400px;
  }

  .guide-hero-section .home-header__main-image {
    width: 100%;
    height: auto;
    position: static;
    transform: none;
  }

  .guide-problems-wrapper,
  .guide-solutions-wrapper,
  .guide-testimonial-wrapper {
    padding: 60px 50px;
  }

  .landing-stat-cards .m-stat-card,
  .landing-solution-cards .m-stat-card {
    min-width: 300px;
  }

  .guide-cta-inner {
    height: auto;
    padding: 40px 60px;
    flex-direction: column;
  }

  .guide-cta-form-wrapper .contact-section__form-wrapper,
  .guide-cta-form-wrapper .a-text-field__container {
    width: 100%;
  }

  .guide-testimonial-wrapper {
    flex-direction: column;
  }

  .guide-testimonial-image-wrapper {
    width: 300px;
    height: 300px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .guide-hero-section .home-header-wrapper,
  .guide-cta-wrapper {
    padding: 15px 20px;
  }

  .guide-hero-section .home-header {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .guide-hero-section .home-header__main-title {
    font-size: 32px;
    line-height: 42px;
  }

  .guide-hero-section .home-header__subtitle {
    font-size: 16px;
    line-height: 22px;
  }

  .guide-problems-wrapper,
  .guide-solutions-wrapper,
  .guide-testimonial-wrapper {
    padding: 40px 20px;
  }

  .guide-problems-title,
  .guide-solutions-title {
    font-size: 28px;
    line-height: 38px;
  }

  .landing-stat-cards .m-stat-card,
  .landing-solution-cards .m-stat-card {
    min-width: 100%;
  }

  .guide-cta-inner {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .guide-cta-title {
    font-size: 28px;
    line-height: 38px;
  }

  .guide-testimonial-quote {
    font-size: 24px;
    line-height: 32px;
  }

  .guide-testimonial-author-name {
    font-size: 24px;
    line-height: 32px;
  }

  .guide-testimonial-author-title {
    font-size: 16px;
    line-height: 22px;
  }

  .guide-testimonial-image-wrapper {
    width: 200px;
    height: 200px;
  }

  /* Hide background SVG blob on mobile for better performance */
  .guide-hero-section .home-header::before {
    display: none;
  }
}
