/*
 * GoDigitalCard — Homepage only
 * -----------------------------
 * This stylesheet is loaded ONLY by /index.html.
 * Keep the original /style.css intact: customer business-card pages
 * (e.g. m/index.html and NavanPC/index.html) rely on it.
 *
 * Brand direction: the approved modern blue-and-white design,
 * using the site's original hero.jpg and customer artwork.
 */

:root {
  --navy: #0e2244;
  --blue: #2468e6;
  --blue-dark: #174eb6;
  --muted: #60728b;
  --border: #dde7f4;
  --pale: #f3f8ff;
  --paper: #ffffff;
  --radius: 22px;
  --shadow: 0 20px 55px rgba(18, 54, 108, 0.11);
}

/* Base and accessibility */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #83b5ff;
  outline-offset: 4px;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link { position: absolute; left: -10000px; z-index: 100; }
.skip-link:focus { left: 16px; top: 12px; background: white; padding: 12px; }

/* Header / navigation */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.brand-mark {
  width: 46px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 13px;
  font-size: 15px;
  letter-spacing: -0.3px;
}
.brand-accent { color: var(--blue); }
.desktop-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 650; }
.desktop-nav > a:not(.button):hover { color: var(--blue); }
.mobile-menu { display: none; }

/* Shared buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(36, 104, 230, 0.17);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 16px; }
.button-outline { background: white; color: var(--navy); border-color: var(--border); box-shadow: none; }
.button-outline:hover { background: var(--pale); }
.button-wide { width: 100%; }

/* Hero: keep ORIGINAL hero.jpg fully visible on the right */
.hero {
  padding: 96px 0 112px;
  background: linear-gradient(124deg, #fff 9%, #f2f7ff 90%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.8px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #52bd8c; }
.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 4.8vw, 65px);
  line-height: 1.09;
  letter-spacing: -2.8px;
  font-weight: 850;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-caption { margin: 26px 0 0; color: var(--muted); font-size: 13px; }
.hero-caption span { margin-inline: 7px; }
.hero-visual {
  position: relative;
  isolation: isolate;
  padding-bottom: 35px;
}
.promotional-image {
  width: 100%;
  height: auto;
  border-radius: 27px;
  box-shadow: var(--shadow);
  object-fit: contain;
  background: #e2ebfa;
}
.example-float {
  position: absolute;
  right: -15px;
  bottom: 0;
  width: min(46%, 250px);
  border: 1px solid #e2eaf8;
  padding: 10px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 39, 107, 0.2);
  transform: rotate(4deg);
}
.example-float img { width: 100%; height: auto; border-radius: 8px; }
.example-float span { display: block; padding: 8px 2px 0; text-align: center; color: var(--muted); font-size: 11px; font-weight: 650; }

/* Sections */
.section { padding: 92px 0; }
.section-intro { max-width: 730px; margin: 0 auto 42px; text-align: center; }
.section-intro .eyebrow { justify-content: center; }
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(31px, 3.5vw, 43px);
  line-height: 1.19;
  letter-spacing: -1.5px;
}
.section-intro > p:last-child, .how-grid > div > p:last-child {
  color: var(--muted);
  line-height: 1.8;
}
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.benefit-card {
  min-height: 277px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  box-shadow: 0 8px 28px rgba(12, 43, 88, 0.035);
}
.benefit-image { width: 93px; height: 60px; object-fit: contain; object-position: left center; }
.benefit-icon { width: 65px; height: 65px; object-position: center; }
.benefit-card h3 { margin: 22px 0 8px; font-size: 20px; letter-spacing: -0.3px; }
.benefit-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* Real gallery; all image URLs are relative to the existing live site folders. */
.examples-section { background: #f5f8fd; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.gallery li { min-width: 0; }
.gallery a {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: white;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.gallery a:hover { border-color: #aac9f8; box-shadow: var(--shadow); transform: translateY(-4px); }
.card-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.65 / 1;
  background: #ebf2fb;
  overflow: hidden;
}
.card-picture img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

/* Three simple steps */
.how-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 75px; }
.steps { display: grid; gap: 12px; }
.steps > div {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px 22px;
  background: var(--pale);
  border: 1px solid var(--border);
  border-radius: 13px;
}
.steps strong { color: var(--blue); font-size: 17px; }
.steps span { font-size: 15px; font-weight: 650; }

/* Pricing, preserving the original payment URL */
.pricing-section { background: #eaf3ff; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 65px;
}
.pricing-grid > div > p:last-child { color: var(--muted); }
.pricing-card {
  padding: 38px;
  border: 1px solid #d7e6fb;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.pricing-label { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: 1.3px; }
.price { margin: 12px 0 1px; font-size: clamp(44px, 5vw, 61px); line-height: 1.2; letter-spacing: -2px; font-weight: 425; }
.price small { color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: 0; }
.pricing-card > p:not(.price) { font-size: 14px; color: var(--muted); }
.pricing-card .button { margin-top: 12px; }
.pricing-details { text-align: center; margin: 18px 0 0; }
.pricing-details a:hover { color: var(--blue); text-decoration: underline; }

/* Footer, with all existing destinations left intact */
.site-footer { background: #0d2245; color: white; padding: 45px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.site-footer .brand-mark { background: #2468e6; }
.site-footer .brand-accent { color: #91bdff; }
.site-footer p { margin: 10px 0 0; color: #b7c9e2; font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; color: #d6e5f9; font-size: 14px; }
.site-footer nav a:hover { color: white; text-decoration: underline; }

/* Small displays */
@media (max-width: 1050px) {
  .desktop-nav { gap: 15px; }
  .hero { padding: 76px 0 90px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .container { width: min(100% - 32px, 560px); }
  .header-inner { min-height: 72px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 40px; height: 38px; font-size: 13px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav {
    position: absolute;
    z-index: 50;
    right: 0;
    top: calc(100% + 8px);
    min-width: 200px;
    display: grid;
    gap: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: var(--shadow);
    padding: 8px;
  }
  .mobile-menu nav a { padding: 10px 12px; border-radius: 7px; font-weight: 650; }
  .mobile-menu nav a:hover { background: var(--pale); }
  .hero-grid, .how-grid, .pricing-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero { padding: 65px 0 72px; }
  .hero h1 { font-size: clamp(41px, 9vw, 56px); }
  .hero-visual { margin-right: 14px; }
  .section { padding: 64px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pricing-card { padding: 28px; }
}
@media (max-width: 430px) {
  .brand { font-size: 16px; gap: 7px; }
  .brand-mark { width: 36px; height: 35px; font-size: 12px; }
  .hero-actions .button { width: 100%; }
  .hero h1 { letter-spacing: -1.7px; }
  .hero-caption { font-size: 11px; }
  .gallery { gap: 10px; }
  .card-action { font-size: 11px; padding: 10px 11px; }
  .example-float { width: 44%; }
  .site-footer nav { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .gallery a { transition: none; }
}
