/* ===== A1 CONNECT — Shared base styles (reset, layout utilities, blue palette) =====
   Load this BEFORE section-specific stylesheets (hero.css, why-reviews.css, etc.)
   so section files can safely override just what they need. */

:root {
  --gray-50: #f8fafc;
  --gray-100: #edf1f7;
  --gray-300: #cfd8e6;
  --gray-600: #5c6675;
  --gray-800: #1a2029;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 33, 78, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* safety net so no section can cause horizontal scroll on mobile */
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-family: "Sora", "Inter", sans-serif; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--gray-600); }
section { padding: 80px 0; }
.center { text-align: center; }
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }

/* Small-phone tightening (applies site-wide to every section using these utilities) */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  section { padding: 56px 0; }
}

/* Eyebrow badge — default (light background, blue) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-dark); background: linear-gradient(135deg, #eaf2ff, #dbe8ff);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
  border: 1px solid var(--gold-line, rgba(59,130,246,0.32));
}

/* Buttons — shared across every section/page (hero, product-hero, industries, etc.)
   so there's one definition instead of duplicating it per section file. Works on
   both dark and light backgrounds. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  cursor: pointer; border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background-color: var(--gold-dark);
  background-image: linear-gradient(135deg, #5b9dff, var(--gold) 55%, var(--gold-dark));
  background-clip: padding-box;
  border: none;
  color: #ffffff; box-shadow: 0 10px 24px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255,255,255,0.35);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-image 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn-primary:hover {
  background-image: none; background-color: #ffffff; color: var(--gold-dark);
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.4), inset 0 0 0 1px rgba(59,130,246,0.15);
}
/* Outline variant — designed for dark backgrounds (hero, product-hero) */
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.35); color: #ffffff; }
.btn-outline:hover { background: rgba(59,130,246,0.1); border-color: var(--gold); }

/* Feature grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #ffffff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,33,78,0.12); }
.card .icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, #eaf2ff, #d7e6ff);
  color: var(--gold-dark); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}

.bg-tint { background: var(--gray-50); }
