/* ========================================
   GO DIGITAL PAGE STYLES
   ======================================== */

/* Page Background */
body.body {
  background-color: rgb(246, 245, 251);
  color: #14121f;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

/* Background Pattern */
.pattern-bg {
  background-image: url('../images/pattern-pages.svg');
  background-position: 50% 0px;
  background-repeat: no-repeat;
  background-size: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
}

/* Container Width Override */
.container-regular {
  width: 100%;
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.go-digital-hero {
  padding: 128px 0 64px;
  background-color: transparent;
  text-align: center;
}

.go-digital-hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.go-digital-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  color: #14121f;
  margin-bottom: 24px;
}

.go-digital-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #5b5870;
  max-width: 760px;
  margin: 0 auto 12px;
}

.go-digital-subtitle:last-child {
  margin-bottom: 0;
}

.go-digital-subtitle a {
  color: #5e50a0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Workflow Subtitle Section */
.workflow-subtitle-section {
  padding: 72px 0 40px;
  text-align: center;
}

.workflow-subtitle {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.16;
  color: #14121f;
  max-width: 780px;
  margin: 0 auto;
}

/* Workflow Diagram Section */
.workflow-diagram-section {
  padding: 40px 0 80px;
}

.workflow-diagram {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e7e6ee;
  box-shadow: 0 24px 60px rgba(20, 18, 31, 0.12);
}

.workflow-diagram-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Features Section */
.features-section {
  padding: 60px 0;
  background: #faf9fd;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  border: 1px solid #e7e6ee;
  box-shadow: 0 8px 24px rgba(20, 18, 31, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(20, 18, 31, 0.12);
}

.feature-number {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: #5e50a0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image-wrapper {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f0ff;
}

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

.feature-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #14121f;
  margin-bottom: 16px;
}

.feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: #5b5870;
  margin-bottom: 12px;
}

.feature-description:last-child {
  margin-bottom: 0;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: #fff;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-form-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #14121f;
  margin-bottom: 20px;
}

.contact-form-description {
  font-size: 16px;
  line-height: 1.6;
  color: #5b5870;
  margin-bottom: 24px;
}

.contact-form-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-form-benefits li {
  font-size: 15px;
  color: #2c2940;
  margin-bottom: 12px;
  font-weight: 500;
}

.contact-form-container {
  background: #faf9fd;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e7e6ee;
  box-shadow: 0 8px 24px rgba(20, 18, 31, 0.08);
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #2c2940;
  margin-bottom: 8px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #5e50a0;
  box-shadow: 0 0 0 3px rgba(94, 80, 160, 0.14);
}

.form-submit-button {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #5e50a0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.form-submit-button:hover {
  background: #4a3f86;
  transform: translateY(-1px);
}

.form-submit-button:active {
  transform: translateY(0);
}

/* Logo marquee: mirrors the landing-page client strip. */
.wl-logos {
  padding-block: 64px;
  border-block: 1px solid #e7e6ee;
  background: #faf9fd;
  overflow: hidden;
}

.wl-logos-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #84819a;
  margin: 0 0 32px;
}

.wl-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.wl-marquee-track {
  display: flex;
  width: max-content;
  gap: 96px;
  animation: wl-scroll 38s linear infinite;
}

.wl-marquee-group {
  display: flex;
  align-items: center;
  gap: 96px;
}

.wl-marquee img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wl-marquee img:hover {
  transform: scale(1.08);
}

@keyframes wl-scroll {
  to {
    transform: translateX(calc(-50% - 48px));
  }
}

/* Footer */
.footer {
  padding: 80px 0 60px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 24px;
  max-width: 400px;
}

.footer-copyright {
  font-size: 13px;
  color: #9ca3af;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-link {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #111827;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .go-digital-title {
    font-size: 46px;
  }

  .workflow-subtitle {
    font-size: 32px;
  }

  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 767px) {
  body.body {
    font-size: 16px;
  }

  .go-digital-hero {
    padding: 80px 0 40px;
  }

  .go-digital-title {
    font-size: 40px;
  }

  .go-digital-subtitle {
    font-size: 16px;
  }

  .workflow-subtitle {
    font-size: 26px;
    padding: 0 20px;
  }

  .workflow-diagram {
    padding: 20px;
  }

  /* 2 columns on mobile for better readability */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 20px;
  }

  .feature-card {
    padding: 16px;
  }

  .feature-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
    top: 12px;
    left: 12px;
  }

  .feature-image-wrapper {
    margin-bottom: 12px;
  }

  .feature-title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .feature-description {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .contact-form-title {
    font-size: 24px;
  }

  .contact-form-section {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 0 4px;
  }

  .contact-form-container {
    padding: 24px;
  }

  .wl-marquee-track,
  .wl-marquee-group {
    gap: 48px;
  }

  .wl-marquee img {
    height: 40px;
  }

  .footer {
    padding: 60px 0 40px;
  }
}

/* Extra small mobile - adjust for very narrow screens */
@media screen and (max-width: 479px) {
  .features-grid {
    gap: 12px;
    padding: 0 16px;
  }

  .feature-card {
    padding: 12px;
  }

  .feature-title {
    font-size: 13px;
  }

  .feature-description {
    font-size: 10px;
  }

  .contact-form-container {
    padding: 16px;
  }
}
