/* =========================================================
   GMC FINAL CTA SECTION (STANDALONE COMPONENT)
   ========================================================= */
.gmc-cta-section {
  position: relative;
  width: 100%;
  padding: 0;
  background: linear-gradient(180deg, #f8faff 50%, #ffffff 50%);
  box-sizing: border-box;
}

.gmc-cta-section *,
#gmc-final-footer,
#gmc-final-footer * {
  box-sizing: border-box;
}

/* =========================================================
   FOOTER SECTION (STANDALONE COMPONENT)
   Theme: Navy / Primary Blue / Clean Slate
   ========================================================= */
#gmc-final-footer,
.gmc-footer-section {
  --gmc-navy: #082d5f;
  --gmc-blue: #3478f6;
  --gmc-soft-blue: #6f95c6;
  --gmc-text: #617896;
  --gmc-line: #dce7f3;
  position: relative;
  width: 100%;
  padding: 60px 0 30px;
  overflow: hidden;
  background: #ffffff;
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

/* ========================================================= MAIN WRAPPER ========================================================= */
.gmc-final-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* ========================================================= CTA ========================================================= */
.gmc-final-cta {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1140px;
  min-height: 180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  padding: 29px 35px 29px 44px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(120deg, #7399c9 0%, #6d94c5 52%, #6990c0 100%);
  box-shadow: 0 18px 38px rgba(42, 75, 115, 0.16);
}
/* ========================================================= VERY SUBTLE LIGHT EFFECT ========================================================= */
.gmc-final-cta::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 200px;
  left: 35%;
  top: -110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  filter: blur(35px);
  pointer-events: none;
}
/* ========================================================= CTA CONTENT ========================================================= */
.gmc-cta-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}
/* HEADLINE */
.gmc-cta-title {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.55px;
}
/* DESCRIPTION */
.gmc-cta-description {
  max-width: 650px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
/* ========================================================= QR / SCANNER SIDE (holds buttons + QR) ========================================================= */
.gmc-scanner-area {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 15px;
  border: 0.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
/* ========================================================= APP STORE BUTTON AREA (STACKED) ========================================================= */
.gmc-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
/* ========================================================= STORE BUTTON ========================================================= */
.gmc-store-button {
  min-width: 154px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(9, 25, 45, 0.2);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
/* STORE ICON */
.gmc-store-button-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
}
.gmc-store-button-icon svg {
  width: 22px;
  height: 22px;
}
/* STORE TEXT */
.gmc-store-button-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.gmc-store-button-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Poppins", sans-serif;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.gmc-store-button-copy strong {
  margin-top: 2px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
}
/* HOVER */
@media (hover: hover) {
  .gmc-store-button:hover {
    transform: translateY(-2px);
    background: #141414;
    color: #ffffff;
  }
}
/* ========================================================= QR OUTER ========================================================= */
.gmc-fake-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
/* QR CARD */
.gmc-fake-qr {
  position: relative;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  padding: 6px;
  overflow: hidden;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(27, 60, 101, 0.12);
}
/* FAKE QR SVG */
.gmc-fake-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* SCAN CORNERS */
.gmc-scan-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.gmc-scan-corner.tl {
  top: 3px;
  left: 3px;
  border-top: 2px solid #3478f6;
  border-left: 2px solid #3478f6;
}
.gmc-scan-corner.tr {
  top: 3px;
  right: 3px;
  border-top: 2px solid #3478f6;
  border-right: 2px solid #3478f6;
}
.gmc-scan-corner.bl {
  bottom: 3px;
  left: 3px;
  border-bottom: 2px solid #3478f6;
  border-left: 2px solid #3478f6;
}
.gmc-scan-corner.br {
  bottom: 3px;
  right: 3px;
  border-bottom: 2px solid #3478f6;
  border-right: 2px solid #3478f6;
}
/* QR BOTTOM NOTE */
.gmc-qr-note {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1px;
  white-space: nowrap;
}
/* ========================================================= FOOTER PANEL ========================================================= */
.gmc-footer-panel {
  position: relative;
  width: 100%;
}
/* ========================================================= FOOTER GRID ========================================================= */
.gmc-footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.55fr) 0.68fr 0.75fr 0.75fr;
  gap: 70px;
  align-items: start;
}
/* ========================================================= FOOTER BRAND ========================================================= */
.gmc-footer-brand {
  max-width: 480px;
}
/* LOGO */
.gmc-footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.gmc-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gps-footer-logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.gmc-footer-app-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #78dcff, #3a93f5);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.gmc-footer-app-icon svg {
  width: 28px;
  height: 28px;
}
.gmc-footer-brand-name {
  color: #0a2054;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
/* FOOTER DESCRIPTION */
.gmc-footer-about {
  max-width: 370px;
  margin: 18px 0 0;
  color: #617896;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
/* ========================================================= EMAIL ========================================================= */
.gmc-footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 19px;
  color: #577395;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.gmc-footer-email:hover {
  color: #3478f6;
}
.gmc-footer-email-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #edf5ff;
  color: #2879ed;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.gmc-footer-email:hover .gmc-footer-email-icon {
  background: #3478f6;
  color: #ffffff;
}
.gmc-footer-email-icon svg {
  width: 16px;
  height: 16px;
}
/* ========================================================= SOCIAL ICONS ========================================================= */
.gmc-footer-socials {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
}
.gmc-footer-social {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e6f5;
  border-radius: 9px;
  background: #edf6ff;
  color: #1477e8;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.gmc-footer-social svg {
  width: 16px;
  height: 16px;
}
@media (hover: hover) {
  .gmc-footer-social:hover {
    transform: translateY(-2px);
    background: #3478f6;
    color: #ffffff;
    border-color: #3478f6;
  }
}
/* ========================================================= FOOTER COLUMNS ========================================================= */
.gmc-footer-heading {
  margin: 0;
  color: #071d4d;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.gmc-footer-links {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.gmc-footer-links a {
  color: #617896;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
@media (hover: hover) {
  .gmc-footer-links a:hover {
    color: #3478f6;
    transform: translateX(2px);
  }
}
/* ========================================================= COPYRIGHT ========================================================= */
.gmc-footer-bottom {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid #d9e6f3;
  color: #7086a0;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}
/* ========================================================= TABLET ========================================================= */
@media (max-width: 1050px) {
  .gmc-cta-section {
    padding: 0;
  }
  .gmc-final-cta {
    width: 100%;
    gap: 25px;
    padding: 27px 27px;
  }
  .gmc-cta-title {
    font-size: 27px;
  }
  #gmc-final-footer,
  .gmc-footer-section {
    padding: 50px 0 26px;
  }
  .gmc-footer-grid {
    grid-template-columns: 1.35fr 0.65fr 0.7fr 0.7fr;
    gap: 38px;
  }
}
/* ========================================================= SMALL TABLET ========================================================= */
@media (max-width: 820px) {
  .gmc-cta-section {
    padding: 0;
  }
  .gmc-final-cta {
    width: 100%;
    min-height: 175px;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
  }
  .gmc-cta-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .gmc-cta-title {
    font-size: 26px;
  }
  .gmc-cta-description {
    margin-left: auto;
    margin-right: auto;
  }
  /* On phones/tablets: keep the store buttons, drop the glass box + QR. */
  .gmc-scanner-area {
    justify-content: center;
    padding: 0;
    border: none;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .gmc-store-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .gmc-fake-qr-wrap {
    display: none;
  }
  #gmc-final-footer,
  .gmc-footer-section {
    padding: 40px 16px 20px;
  }
  .gmc-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
/* ========================================================= MOBILE ========================================================= */
@media (max-width: 600px) {
  .gmc-cta-section {
    padding: 0;
  }
  .gmc-final-cta {
    width: 100%;
    min-height: 170px;
    margin: 0 auto;
    padding: 23px 18px;
    border-radius: 18px;
  }
  .gmc-cta-title {
    font-size: 23px;
    line-height: 1.25;
  }
  .gmc-cta-description {
    font-size: 13.5px;
  }
  .gmc-store-buttons {
    width: 100%;
    gap: 8px;
  }
  .gmc-store-button {
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }
  #gmc-final-footer,
  .gmc-footer-section {
    padding: 35px 12px 20px;
  }
  .gmc-footer-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .gmc-footer-logo {
    flex-wrap: wrap;
  }
  .gmc-footer-brand-name {
    font-size: 20px;
    white-space: normal;
  }
  .gmc-footer-bottom {
    margin-top: 33px;
    font-size: 12px;
  }
}
