/* =====================================================
   AZ Advanced Analytics — Shared Stylesheet
   azadvancedanalytics.com
   ===================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Color Tokens ── */
:root {
  --navy:    #0A1630;
  --navy-dk: #050e20;
  --navy-md: #0d1b35;
  --blue:    #2E75B6;
  --blue-lt: #4A90D9;
  --gold:    #C8820A;
  --cream:   #F8F7F2;
  --mid:     #5a6a85;
  --border:  #e0e8f0;
  --white:   #ffffff;
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-family: 'Playfair Display', Georgia, serif; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.5vw, 40px); }
h3 { font-size: 22px; }
h4 { font-size: 17px; }
p  { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
  display: block;
}
.lede {
  font-size: 19px; color: var(--mid);
  line-height: 1.7; margin-bottom: 1.4em;
}

/* ── Layout ── */
.container   { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
.container--sm { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.container--md { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.section     { padding: 84px 0; }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); }
.section--dark  { background: var(--navy-md); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px; border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.03em; text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary  { background: var(--blue); color: #fff; }
.btn-primary:hover  { background: var(--blue-lt); }
.btn-outline  { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover  { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-gold     { background: var(--gold); color: #fff; }
.btn-gold:hover     { background: #e09412; }

/* ── NAV ── */
.nav-wrapper {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
nav {
  max-width: 1060px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
  height: 42px; width: auto;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
}
.nav-logo-text {
  color: #fff; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; line-height: 1.2;
}
.nav-logo-text span {
  display: block; color: rgba(255,255,255,0.45);
  font-weight: 400; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-family: 'Inter', sans-serif; font-size: 14px;
  font-weight: 500; letter-spacing: 0.03em;
  transition: color 0.2s; padding: 4px 0;
}
.nav-links a:hover  { color: #fff; }
.nav-links a.active {
  color: #fff;
  border-bottom: 2px solid var(--blue-lt);
}
.nav-cta {
  background: var(--blue); color: #fff;
  padding: 9px 22px; border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-decoration: none;
  transition: background 0.2s; white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue-lt); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; margin: 5px 0; transition: all 0.3s;
}

/* ── FOOTER ── */
footer { background: var(--navy-dk); padding: 56px 0 28px; }
.footer-inner { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-brand p {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.4);
  line-height: 1.7; margin-bottom: 14px;
}
.footer-brand a {
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: #7AABDC; text-decoration: none;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; padding-top: 24px;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: rgba(255,255,255,0.22);
  margin: 0;
}

/* ── SHARED SECTION COMPONENTS ── */

/* Blue CTA banner */
.cta-banner { background: var(--blue); padding: 72px 28px; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.78); font-size: 18px; margin-bottom: 32px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* Process steps strip */
.process { padding: 80px 0; background: var(--navy-md); }
.process h2 { color: #fff; text-align: center; margin-bottom: 56px; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step { text-align: center; padding: 28px 20px; }
.step-num {
  font-size: 48px; font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: var(--blue); opacity: 0.7;
  line-height: 1; margin-bottom: 14px;
}
.step h4 {
  color: #fff; margin-bottom: 10px;
  font-size: 15px; font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.step p { font-size: 14px; color: rgba(255,255,255,0.5); }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .lede { font-size: 17px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy); padding: 20px 28px 28px;
    gap: 18px; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.open + .nav-cta { display: block; }

  .process-steps { grid-template-columns: 1fr 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .section { padding: 56px 0; }
  .btn { padding: 13px 24px; font-size: 14px; }
}
