/* City Pulse AI — Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1A2744;
  --navy-light: #243460;
  --navy-dark:  #111b30;
  --cyan:    #0099CC;
  --cyan-light: #33b8e6;
  --cyan-dim:  #006e92;
  --orange:  #F4A021;
  --white:   #ffffff;
  --off-white: #f0f4f8;
  --slate:   #8898aa;
  --text-body: #e8edf5;
  --text-muted: #8898aa;
  --border:  rgba(0,153,204,0.18);
  --section-pad: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy-dark);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--text-body); }

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section    { padding: var(--section-pad) 0; }
.section--alt { background: rgba(255,255,255,0.025); }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(17,27,48,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex; align-items: center;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--cyan); color: var(--navy-dark) !important;
  padding: 8px 20px; border-radius: 6px;
  font-weight: 600 !important; font-size: 0.875rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--cyan-light) !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: all 0.2s;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--cyan); color: var(--navy-dark); }
.btn-primary:hover { background: var(--cyan-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── Cards ── */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.card:hover { border-color: rgba(0,153,204,0.4); background: rgba(0,153,204,0.04); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(0,153,204,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Stat ── */
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem; font-weight: 700;
  color: var(--cyan); line-height: 1;
}
.stat-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 6px; }

/* ── Divider scan line (signature element) ── */
.scan-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.4; margin: 0;
}

/* ── Page hero offset ── */
.page-hero { padding-top: calc(64px + 80px); padding-bottom: 80px; }
.page-hero-sm { padding-top: calc(64px + 48px); padding-bottom: 48px; }

/* ── Footer ── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1rem; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }

/* ── Responsive ── */
@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .container { padding: 0 20px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

/* ── Utility ── */
.text-cyan   { color: var(--cyan); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.max-w-prose { max-width: 680px; margin-left: auto; margin-right: auto; }

/* ── Tag/badge ── */
.tag {
  display: inline-block;
  background: rgba(0,153,204,0.12);
  color: var(--cyan);
  border: 1px solid rgba(0,153,204,0.25);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px;
  letter-spacing: 0.04em;
}

/* ── Highlight box ── */
.highlight-box {
  border-left: 3px solid var(--cyan);
  padding: 20px 24px;
  background: rgba(0,153,204,0.06);
  border-radius: 0 8px 8px 0;
}
