/* ============================================================
   Midgame Digital — Shared Styles
   Colors: #023E8A (navy) #0077B6 (blue) #00B4D8 (cyan) #90E0EF (pale)
   Neutrals: #1A1A1A (text) #F8F8F6 (bg) #FFFFFF (cards)
   Font: Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy:   #023E8A;
  --blue:   #0077B6;
  --cyan:   #00B4D8;
  --pale:   #90E0EF;
  --text:   #1A1A1A;
  --bg:     #F8F8F6;
  --card:   #FFFFFF;
  --muted:  #6B7280;
  --border: #E5E7EB;
}

html { scroll-behavior: smooth; }

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

/* ── Nav ── */
#nav-placeholder nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 100px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
}

#nav-placeholder nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}
#nav-placeholder nav ul a {
  text-decoration: none;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}
#nav-placeholder nav ul a:hover,
#nav-placeholder nav ul a.active { color: #1A1A1A; }

.nav-cta {
  background: linear-gradient(180deg, #0077b6, #023e8a) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  border: none;
  transition: opacity 0.15s;
}
.nav-cta:hover {
  opacity: 0.85;
}

/* Push page content below fixed nav */
body { padding-top: 100px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(180deg, #0077b6, #023e8a);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: transparent;
  border: 2px solid #0077b6;
  color: #0077b6;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.15s;
}

.btn-secondary:hover {
  opacity: 0.85;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 80px 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
}

h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text);
}

h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

p { color: var(--muted); line-height: 1.7; }

/* ── Cards ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── Footer ── */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 60px 60px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.3px;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 13px;
  color: #999;
}

.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #aaa;
}

.footer-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.15s;
}

.footer-cta:hover {
  opacity: 0.75;
}

@media(max-width: 768px) {
  footer { padding: 48px 24px 32px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { justify-content: flex-start; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── Divider accent ── */
.accent-bar {
  width: 48px;
  height: 4px;
  background: var(--cyan);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ── Pale section bg ── */
.bg-pale { background: rgba(144, 224, 239, 0.12); }
.bg-navy { background: var(--navy); }
.bg-white { background: var(--card); }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  h1 { font-size: 36px; }
}
