/* =========================================================
   GPS MAP CAMERA — DOWNLOAD PAGE STYLES
   Optimized for Core Web Vitals (LCP, INP, CLS) & All Devices
========================================================= */

/* =========================================================
   GLOBAL RESET FOR DOWNLOAD PAGE
========================================================= */
#gmc-download-page,
#gmc-download-page * {
  box-sizing: border-box;
}

#gmc-download-page {
  --navy: #082d5f;
  --navy-2: #153f6b;
  --blue: #3478f6;
  --blue-soft: #628ff5;
  --text: #607995;
  --muted: #8294a8;
  --line: #d8e7f5;
  --soft: #f3f8ff;
  --soft-2: #eaf4ff;
  --white: #ffffff;

  width: 100%;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--navy);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

#gmc-download-page a {
  text-decoration: none;
}

/* =========================================================
   UNIFIED CONTAINER RULES
   Matches the FAQ Section width and padding across all breakpoints
========================================================= */
#gmc-download-page .container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.gmc-wrap {
  width: 100%;
  box-sizing: border-box;
}

/* =========================================================
   SECTION 1: HERO SECTION
========================================================= */
.gmc-download-hero {
  position: relative;
  width: 100%;
  padding: 85px 0 90px;
  overflow: hidden;
  background: #f8faff;
}

.gmc-download-hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -275px;
  top: -300px;
  border: 1px solid rgba(52, 120, 246, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.gmc-download-hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -205px;
  bottom: -225px;
  border: 1px solid rgba(52, 120, 246, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

.gmc-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* Hero Left Copy */
.gmc-hero-copy {
  max-width: 620px;
}

.gmc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid #d7e5ff;
  border-radius: 999px;
  background: #f8faff;
  color: #3478f6;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 3px 10px rgba(52, 120, 246, 0.045);
}

.gmc-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78a6ff;
  box-shadow: 0 0 0 4px rgba(88, 145, 255, 0.12);
}

.gmc-hero-title {
  margin: 22px 0 0;
  color: #082d5f;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.gmc-hero-title span {
  color: #5b87f3;
}

.gmc-hero-description {
  max-width: 540px;
  margin: 18px 0 0;
  color: #607995;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}

/* Hero Right Actions & Card */
.gmc-download-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.gmc-download-actions::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 128, 235, 0.12), rgba(71, 128, 235, 0.035) 49%, transparent 72%);
  pointer-events: none;
}

#gmc-download-page .gmc-download-card,
.gmc-download-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  padding: 22px;
  margin: 0 auto;
  border: 1px solid #d2e2f3;
  border-radius: 26px;
  background: linear-gradient(145deg, #eff6fd, #e6f0fc);
  box-shadow: 0 24px 60px rgba(34, 72, 115, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#gmc-download-page .gmc-download-card .gmc-scanner-area,
#gmc-download-page .gmc-download-inner,
.gmc-download-card .gmc-scanner-area,
.gmc-download-inner {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 22px 18px !important;
  margin: 0 auto !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.6) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 16px rgba(34, 72, 115, 0.04) !important;
  box-sizing: border-box !important;
}

/* =========================================================
   STORE BUTTONS — IDENTICAL DIMENSIONS, NO WHITE BOX
========================================================= */
#gmc-download-page .gmc-download-card .gmc-store-buttons,
#gmc-download-page .gmc-store-side,
.gmc-download-inner .gmc-store-side,
.gmc-download-card .gmc-store-buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 13px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

#gmc-download-page .gmc-store-button,
#gmc-download-page .gmc-download-card .gmc-store-button,
.gmc-download-card .gmc-store-button,
.gmc-download-inner .gmc-store-button,
.gmc-store-side .gmc-store-button {
  position: relative !important;
  width: 180px !important;
  height: 54px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  flex: none !important;
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

#gmc-download-page .gmc-store-button:hover,
.gmc-download-inner .gmc-store-button:hover,
.gmc-store-side .gmc-store-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(19, 54, 95, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

#gmc-download-page .gmc-store-button:active,
.gmc-download-inner .gmc-store-button:active,
.gmc-store-side .gmc-store-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 10px rgba(19, 54, 95, 0.18) !important;
}

#gmc-download-page .gmc-store-button img,
.gmc-download-inner .gmc-store-button img,
.gmc-store-side .gmc-store-button img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  pointer-events: none !important;
  background: transparent !important;
  padding: 4px 10px !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* QR Code Box */
#gmc-download-page .gmc-download-card .gmc-fake-qr-wrap,
#gmc-download-page .gmc-fake-qr-wrap,
.gmc-download-card .gmc-fake-qr-wrap,
.gmc-fake-qr-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gmc-fake-qr {
  position: relative;
  width: 105px;
  height: 105px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid #d6e5f5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(24, 60, 102, 0.08);
}

.gmc-fake-qr img {
  width: 86px;
  height: 86px;
  display: block;
  object-fit: contain;
}

.gmc-scan-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: #3478f6;
  border-style: solid;
  pointer-events: none;
}

.gmc-scan-corner.tl { top: -2px; left: -2px; border-width: 2.5px 0 0 2.5px; border-top-left-radius: 4px; }
.gmc-scan-corner.tr { top: -2px; right: -2px; border-width: 2.5px 2.5px 0 0; border-top-right-radius: 4px; }
.gmc-scan-corner.bl { bottom: -2px; left: -2px; border-width: 0 0 2.5px 2.5px; border-bottom-left-radius: 4px; }
.gmc-scan-corner.br { bottom: -2px; right: -2px; border-width: 0 2.5px 2.5px 0; border-bottom-right-radius: 4px; }

.gmc-qr-note {
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 600;
  color: #172b50;
  text-align: center;
}

/* Card Footer */
.gmc-download-card-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px 2px;
  color: #6a829c;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.gmc-download-card-foot svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #3478f6;
}

/* =========================================================
   SECTION 2: STATS STRIP
========================================================= */
.gmc-stats-strip {
  width: 100%;
  padding: 0;
  background: #eef6ff;
  border-top: 1px solid #dce8f5;
  border-bottom: 1px solid #dce8f5;
  overflow: hidden;
}

.gmc-stats-inner {
  width: 100%;
  max-width: 100%;
  min-height: 96px;
  margin: 0 auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.gmc-stat-item {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  border-right: 1px solid #d9e6f5;
}

.gmc-stat-item:last-child {
  border-right: 0;
}

.gmc-stat-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #ffffff;
  color: #3478f6;
  border: 1px solid #dce8f7;
  box-shadow: 0 4px 10px rgba(52, 120, 246, 0.08);
}

.gmc-stat-icon svg {
  width: 18px;
  height: 18px;
}

.gmc-stat-copy {
  display: flex;
  flex-direction: column;
}

.gmc-stat-value {
  color: #082d5f;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.gmc-stat-label {
  margin-top: 2px;
  color: #698099;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  white-space: nowrap;
}

/* =========================================================
   SECTION 3: COMPARISON SECTION
========================================================= */
.gmc-comparison-sec {
  width: 100%;
  padding: 90px 0;
  background: #ffffff;
  overflow: hidden;
}

.gmc-comparison-header {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.gmc-comparison-title {
  margin: 18px 0 0;
  color: #082d5f;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.gmc-comparison-title span {
  color: #5b87f3;
}

.gmc-comparison-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #d9e8f7;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 65px rgba(36, 76, 120, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
}

.gmc-comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2ecf7;
  border-radius: 20px;
  background: #ffffff;
}

.gmc-comparison-table {
  width: 100%;
  min-width: 740px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.gmc-comparison-table thead tr th {
  padding: 22px 26px;
  border-bottom: 1px solid #e5eef8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gmc-comparison-table .col-capability {
  width: 34%;
  background: #ffffff;
  color: #7a8fa5;
  text-transform: uppercase;
  font-size: 11.5px;
}

.gmc-comparison-table .col-regular {
  width: 32%;
  background: #fbfdff;
  color: #35516f;
}

.gmc-comparison-table .col-gmc {
  width: 34%;
  background: linear-gradient(180deg, #eef6ff 0%, #eaf4ff 100%);
  color: #123e70;
  border-bottom-color: #cfe2fa;
}

.col-head-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.col-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.col-icon.regular-icon {
  background: #f0f4f8;
  color: #72869c;
}

.col-icon.gmc-icon {
  background: #3478f6;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(52, 120, 246, 0.22);
}

.col-icon svg {
  width: 18px;
  height: 18px;
}

.gmc-comparison-table tbody tr td {
  padding: 19px 26px;
  border-bottom: 1px solid #edf2f7;
  font-size: 13.5px;
  line-height: 1.55;
}

.gmc-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.cell-capability {
  color: #173d65;
  font-weight: 600;
}

.cell-regular {
  background: #fbfdff;
  color: #657c94;
}

.cell-gmc {
  background: #f1f7ff;
  color: #244b75;
  font-weight: 500;
  border-bottom-color: #dceaf8 !important;
}

.badge-check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
}

.badge-check.check-gray {
  background: #eef3f7;
  color: #607995;
}

.badge-check.check-blue {
  background: #dcebff;
  color: #3478f6;
}

/* =========================================================
   SECTION 4: HOW IT WORKS
========================================================= */
.gmc-how-section {
  position: relative;
  width: 100%;
  padding: 90px 0;
  overflow: hidden;
  background: #f8faff;
}

.gmc-how-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.gmc-how-title {
  margin: 18px 0 0;
  color: #082d5f;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.gmc-how-title span {
  color: #628ff5;
}

.gmc-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.gmc-steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 16.6%;
  right: 16.6%;
  height: 1px;
  background: linear-gradient(90deg, #bfd6ee, #afcdec, #bfd6ee);
  z-index: 1;
}

.gmc-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.gmc-step-icon-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.gmc-step-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid #bdd5ee;
  border-radius: 50%;
  background: #ffffff;
  color: #3478f6;
  box-shadow: 0 9px 22px rgba(36, 76, 120, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.gmc-step-icon svg {
  width: 28px;
  height: 28px;
}

.gmc-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  color: #3478f6;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gmc-step h3 {
  margin: 10px 0 0;
  color: #0b3560;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.gmc-step p {
  max-width: 300px;
  margin: 8px auto 0;
  color: #667e97;
  font-size: 13.5px;
  line-height: 1.65;
}

@media (hover: hover) {
  .gmc-step:hover .gmc-step-icon {
    transform: translateY(-3px);
    border-color: #9bc2eb;
    box-shadow: 0 14px 28px rgba(36, 76, 120, 0.12);
  }
}

/* =========================================================
   RESPONSIVE DESIGN & BREAKPOINTS
========================================================= */

/* Tablets & Small Laptops (<= 991px) */
@media (max-width: 991px) {
  .gmc-download-hero {
    padding: 60px 0 70px;
  }

  .gmc-hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    text-align: center;
  }

  .gmc-hero-copy {
    margin: 0 auto;
    max-width: 600px;
  }

  .gmc-hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .gmc-hero-title {
    font-size: 42px;
  }

  .gmc-download-card {
    margin: 0 auto;
  }

  .gmc-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .gmc-stat-item {
    min-height: 72px;
    border-bottom: 1px solid #d9e6f5;
  }

  .gmc-stat-item:nth-child(2) {
    border-right: 0;
  }

  .gmc-stat-item:nth-child(3),
  .gmc-stat-item:nth-child(4) {
    border-bottom: 0;
  }

  .gmc-comparison-sec,
  .gmc-how-section {
    padding: 70px 0;
  }

  .gmc-comparison-title,
  .gmc-how-title {
    font-size: 32px;
  }

  .gmc-steps {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 400px;
  }

  .gmc-steps::before {
    display: none;
  }
}

/* Mobile Devices (<= 650px) */
@media (max-width: 650px) {
  .gmc-download-hero {
    padding: 45px 0 55px;
  }

  .gmc-hero-title {
    font-size: 32px;
    line-height: 1.18;
  }

  .gmc-hero-description {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .gmc-download-card {
    max-width: 100%;
    padding: 16px;
    border-radius: 20px;
  }

  #gmc-download-page .gmc-download-card .gmc-scanner-area,
  .gmc-download-card .gmc-scanner-area,
  .gmc-download-inner {
    flex-direction: column !important;
    gap: 16px !important;
    padding: 20px 14px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .gmc-fake-qr-wrap {
    display: none !important;
  }

  #gmc-download-page .gmc-download-card .gmc-store-buttons,
  .gmc-download-card .gmc-store-buttons,
  .gmc-store-side {
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  #gmc-download-page .gmc-store-button,
  .gmc-download-inner .gmc-store-button,
  .gmc-store-side .gmc-store-button {
    width: 100% !important;
    max-width: 220px !important;
    min-width: 0 !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    border-radius: 10px !important;
    padding: 0 !important;
  }

  #gmc-download-page .gmc-store-button img,
  .gmc-download-inner .gmc-store-button img,
  .gmc-store-side .gmc-store-button img {
    padding: 4px 10px !important;
  }

  .gmc-download-card-foot {
    font-size: 11.5px;
    padding-top: 12px;
  }

  .gmc-stats-inner {
    grid-template-columns: 1fr;
  }

  .gmc-stat-item {
    justify-content: flex-start;
    padding: 0 16px;
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid #d9e6f5;
  }

  .gmc-stat-item:last-child {
    border-bottom: 0;
  }

  .gmc-comparison-sec,
  .gmc-how-section {
    padding: 55px 0;
  }

  .gmc-comparison-title,
  .gmc-how-title {
    font-size: 26px;
  }

  .gmc-comparison-card {
    padding: 6px;
    border-radius: 20px;
  }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
  .gmc-hero-title {
    font-size: 27px;
  }

  #gmc-download-page .gmc-store-button,
  .gmc-download-inner .gmc-store-button,
  .gmc-store-side .gmc-store-button {
    max-width: 200px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }
}
