/* ═══════════════════════════════════════════════════
   invo2tech — Shared Design System
   ═══════════════════════════════════════════════════ */

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #0b0f1a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── CSS Variables ───────────────────────────────── */
:root {
  --blue-50:   #E6F1FB;
  --blue-100:  #B5D4F4;
  --blue-400:  #378ADD;
  --blue-600:  #185FA5;
  --blue-700:  #1a6fc4;
  --blue-800:  #0C447C;
  --blue-900:  #0d4a8a;
  --purple-50:  #EEEDFE;
  --purple-600: #534AB7;
  --teal-50:   #E1F5EE;
  --teal-600:  #0F6E56;
  --gray-50:   #f8f9fb;
  --gray-100:  #f1f3f6;
  --gray-200:  #e4e8ef;
  --gray-400:  #8899aa;
  --gray-600:  #5F6B7A;
  --dark:      #0b1628;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
}

/* ── Typography ──────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }

/* ── Layout ──────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
section { padding: 80px 0; }
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 3vw, 32px); font-weight: 700;
  letter-spacing: -0.5px; color: #0b0f1a; margin-bottom: 10px;
}
.section-sub {
  font-size: 15px; color: var(--gray-600);
  line-height: 1.7; max-width: 540px; margin-bottom: 40px;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--gray-200);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 64px; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: -0.5px; color: #0b0f1a;
}
.nav-logo-text span { color: var(--blue-700); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--gray-600); font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: #0b0f1a; }
.nav-links .ai-link { color: var(--blue-700); }
.nav-links .ai-link::after { content: ' ✦'; font-size: 10px; }
.nav-cta {
  background: var(--blue-700); color: #fff !important;
  font-size: 13px; font-weight: 600; padding: 9px 20px;
  border-radius: var(--radius-sm); transition: background .15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-600); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #0b0f1a; border-radius: 2px; }
.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  border-top: 0.5px solid var(--gray-200); background: #fff;
}
.mobile-menu a {
  display: block; padding: 14px 32px; font-size: 15px; font-weight: 500;
  color: var(--gray-600); border-bottom: 0.5px solid var(--gray-100);
}
.mobile-menu a:hover { color: var(--blue-700); background: var(--blue-50); }
.mobile-menu.open { display: flex; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-700); color: #fff;
  font-size: 14px; font-weight: 600; padding: 12px 24px;
  border-radius: var(--radius-sm); transition: background .15s, transform .1s;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: #0b0f1a;
  font-size: 14px; font-weight: 600; padding: 12px 24px;
  border-radius: var(--radius-sm); border: 1px solid var(--gray-200);
  transition: border-color .15s, transform .1s;
}
.btn-secondary:hover { border-color: var(--gray-400); transform: translateY(-1px); }

/* ── CARDS shared ────────────────────────────────── */
.svc-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px; flex-shrink: 0;
}
.svc-icon.blue   { background: var(--blue-50);   color: var(--blue-700); }
.svc-icon.teal   { background: var(--teal-50);   color: var(--teal-600); }
.svc-icon.purple { background: var(--purple-50); color: var(--purple-600); }
.svc-icon.dark   { background: var(--dark);      color: #5aabff; }

/* ── PAGE HERO (inner pages) ─────────────────────── */
.page-hero {
  background: var(--dark); padding: 72px 0 64px;
}
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(90,171,255,0.12); color: #5aabff;
  font-size: 11px; font-weight: 600; padding: 4px 12px;
  border-radius: 99px; margin-bottom: 16px;
  border: 0.5px solid rgba(90,171,255,0.25); letter-spacing: .04em;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px); font-weight: 700;
  color: #fff; letter-spacing: -1px; margin-bottom: 14px;
}
.page-hero h1 em { font-style: normal; color: #5aabff; }
.page-hero p { font-size: 16px; color: #8899aa; line-height: 1.75; max-width: 540px; }

/* ── CTA SECTION ─────────────────────────────────── */
.cta-section { background: var(--dark); padding: 80px 0; text-align: center; }
.cta-section h2 {
  font-size: clamp(24px, 3vw, 34px); font-weight: 700;
  color: #fff; letter-spacing: -0.5px; margin-bottom: 12px;
}
.cta-section p { font-size: 15px; color: #8899aa; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-700); color: #fff;
  font-size: 14px; font-weight: 600; padding: 13px 28px;
  border-radius: var(--radius-sm); transition: background .15s;
}
.cta-btn-primary:hover { background: var(--blue-600); }
.cta-btn-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.07); color: #fff;
  font-size: 14px; font-weight: 600; padding: 13px 28px;
  border-radius: var(--radius-sm); border: 0.5px solid rgba(255,255,255,0.18);
  transition: background .15s;
}
.cta-btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: #fff; border-top: 0.5px solid var(--gray-200); padding: 40px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.footer-logo { display: flex; align-items: center; gap: 9px; }
.footer-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 700; color: #0b0f1a;
}
.footer-logo-text span { color: var(--blue-700); }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; color: var(--gray-600); transition: color .15s; }
.footer-links a:hover { color: var(--blue-700); }
.footer-right { text-align: right; }
.footer-copy { font-size: 12px; color: var(--gray-400); }
.footer-social { display: flex; gap: 12px; justify-content: flex-end; margin-bottom: 6px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 0.5px solid var(--gray-200); display: flex; align-items: center;
  justify-content: center; color: var(--gray-600); transition: border-color .15s, color .15s;
}
.footer-social a:hover { border-color: var(--blue-700); color: var(--blue-700); }

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fadein { animation: fadein .5s ease both; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; }
  .footer-social { justify-content: center; }
}
@media (max-width: 540px) {
  .container { padding: 0 18px; }
  section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════════════
   MOBILE FIXES — comprehensive responsive pass
   ═══════════════════════════════════════════════════ */

/* ── Prevent horizontal overflow globally ─────────── */
html, body { overflow-x: hidden; }
* { min-width: 0; }

/* ── Nav — hide "Get started" button on small screens  */
/* Keep hamburger icon large enough for touch (44px)   */
.hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* ── Buttons — full width on small phones ─────────── */
@media (max-width: 400px) {
  .btn-primary, .btn-secondary,
  .cta-btn-primary, .cta-btn-secondary {
    width: 100%; justify-content: center;
  }
  .cta-btns { flex-direction: column; align-items: stretch; padding: 0 16px; }
  .hero-btns { flex-direction: column; }
}

/* ── Container — tighter padding on tiny screens ───── */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
}

/* ── Section padding reduced on mobile ─────────────── */
@media (max-width: 540px) {
  section { padding: 48px 0; }
  .page-hero { padding: 48px 0 40px; }
  .cta-section { padding: 52px 0; }
  footer { padding: 32px 0; }
}

/* ── Footer — stack vertically on mobile ───────────── */
@media (max-width: 680px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .footer-right { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-links { justify-content: center; gap: 16px; }
  .footer-copy { font-size: 11px; line-height: 1.6; }
}

/* ── Hero stats — wrap on mobile ───────────────────── */
@media (max-width: 540px) {
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 22px; }
}

/* ── Services grid — single column on tiny screens ─── */
@media (max-width: 400px) {
  .services-grid { grid-template-columns: 1fr; }
  .ai-cards      { grid-template-columns: 1fr; }
  .metrics-grid  { grid-template-columns: 1fr 1fr; }
}

/* ── Section subtitle — remove max-width on mobile ─── */
@media (max-width: 640px) {
  .section-sub { max-width: 100%; }
  .page-hero p { max-width: 100%; }
}

/* ── Touch targets — all links/buttons min 44px tall ─ */
.nav-links a, .mobile-menu a, .footer-links a {
  min-height: 44px; display: flex; align-items: center;
}
.footer-links a { min-height: 32px; }
.mobile-menu a  { min-height: 48px; }

/* ── Mobile menu — show correct active state ─────────  */
@media (max-width: 860px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
}

/* ── Metric cards — 2-col on mobile ───────────────── */
@media (max-width: 640px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-num   { font-size: 26px; }
}

/* ── AI banner pills — wrap on mobile ─────────────── */
@media (max-width: 640px) {
  .ai-pills { flex-direction: row; flex-wrap: wrap; }
  .ai-pill  { white-space: normal; font-size: 12px; }
}

/* ── Why grid — single column on mobile ───────────── */
@media (max-width: 500px) {
  .why-grid { grid-template-columns: 1fr; }
}
.cert-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;}
