/* ═══════════════════════════════════════════════
   DASHFLOW — Global Stylesheet
   ═══════════════════════════════════════════════ */

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

:root {
  --white:        #ffffff;
  --off-white:    #fafaf8;
  --gray-50:      #f6f5f3;
  --gray-100:     #eae9e5;
  --gray-200:     #d8d6d0;
  --gray-300:     #b8b5ac;
  --gray-500:     #857f74;
  --gray-700:     #4a4640;
  --gray-900:     #1c1a17;
  --ink:          #0f0e0c;
  --accent:       #1a56db;
  --accent-hover: #1648c0;
  --accent-light: #dbeafe;
  --accent-mid:   #3b82f6;
  --green:        #059669;
  --green-light:  #d1fae5;
  --purple:       #7c3aed;
  --purple-light: #ede9fe;

  --nav-h: 68px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── NAVIGATION ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center;
  padding: 0 5%;
  gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { width: 36px; height: 36px; }
.nav-logo-name {
  font-size: 18px; font-weight: 700; letter-spacing: -0.4px; color: var(--ink);
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  text-decoration: none; padding: 7px 14px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active { background: var(--gray-50); color: var(--ink); }
.nav-cta {
  margin-left: 8px;
  background: var(--ink) !important; color: var(--white) !important;
  padding: 9px 20px !important; border-radius: 9px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}
.nav-cta:hover { background: var(--gray-900) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; margin-left: auto; padding: 6px;
}
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; display: block; transition: .3s; }
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); z-index: 199;
  padding: 20px 5% 28px;
  border-bottom: 1px solid var(--gray-100);
  flex-direction: column; gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px; font-weight: 500; color: var(--gray-700);
  text-decoration: none; padding: 12px 10px;
  border-bottom: 1px solid var(--gray-50);
}
.mobile-menu a:last-child { border: none; color: var(--accent); font-weight: 600; }

/* ── LAYOUT HELPERS ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 5%; }
.page-wrap { padding-top: var(--nav-h); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-dark { background: var(--ink); color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 5px 20px rgba(0,0,0,0.20); }
.btn-blue { background: var(--accent); color: var(--white); }
.btn-blue:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--gray-700);
  border: 1px solid var(--gray-200) !important;
}
.btn-outline:hover { border-color: var(--gray-300) !important; color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--off-white); }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 8px; }

/* ── SECTION HEADINGS ── */
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-light);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.eyebrow-green { color: var(--green); background: var(--green-light); }
.eyebrow-purple { color: var(--purple); background: var(--purple-light); }

h1,h2,h3,h4 {
  font-family: 'Instrument Serif', serif;
  letter-spacing: -0.5px; line-height: 1.15;
}
.display-1 { font-size: clamp(38px, 5.5vw, 62px); }
.display-2 { font-size: clamp(30px, 4vw, 48px); }
.display-3 { font-size: clamp(22px, 3vw, 32px); }
em.highlight { font-style: italic; color: var(--accent); }
em.highlight-green { font-style: italic; color: var(--green); }

.lead {
  font-size: 18px; line-height: 1.75; color: var(--gray-700);
  font-weight: 400;
}

/* ── SECTION ── */
section { padding: 96px 0; }
section.bg-off { background: var(--off-white); }
section.bg-dark { background: var(--ink); }
section.bg-blue { background: #0b2e6e; }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 32px;
  transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-200); }

/* ── FEATURE ICON ── */
.f-icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--gray-100); margin: 0; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink); color: var(--white);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 56px; margin-bottom: 56px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer-logo img { width: 32px; height: 32px; }
.footer-logo-name { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 14px; color: #64748b; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-email a { font-size: 14px; color: #93c5fd; text-decoration: none; }
.footer-email a:hover { color: var(--white); }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #475569; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: #94a3b8; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p, .footer-bottom a { font-size: 13px; color: #475569; text-decoration: none; }
.footer-bottom a:hover { color: #94a3b8; }

/* ── PULSE DOT ── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }
.pulse { animation: pulse 2s infinite; display:inline-block; }

/* ── BLOG CARD ── */
.blog-card { text-decoration: none; display: block; }
.blog-card .card { height: 100%; display: flex; flex-direction: column; }
.blog-card:hover .card { box-shadow: var(--shadow-lg); border-color: var(--gray-200); transform: translateY(-3px); }
.blog-card .card { transition: box-shadow .2s, border-color .2s, transform .2s; }
.blog-tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .8px;
  text-transform: uppercase; padding: 4px 11px; border-radius: 20px; margin-bottom: 14px;
}
.tag-blue { background: var(--accent-light); color: var(--accent); }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-purple { background: var(--purple-light); color: var(--purple); }
.blog-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.blog-card p { font-size: 14px; color: var(--gray-700); line-height: 1.7; flex: 1; }
.blog-card .read-more { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 20px; display: inline-flex; align-items: center; gap: 4px; }

/* ── RESPONSIVE ── */
@media(max-width:960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media(max-width:600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 64px 0; }
}
