/* ============================================================
   HAWKFIN — Shared Styles
   Theme: Analytics · Gold & White · Dark Navy
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── Variables ── */
:root {
  --bg:       #07111f;
  --bg2:      #0c1a2e;
  --bg3:      #101f35;
  --bg4:      #0a1828;
  --gold:     #D4AF37;
  --gold2:    #f2cc55;
  --gold3:    #fff5c0;
  --amber:    #e8a020;
  --white:    #e8f2fc;
  --light:    #b8d0e8;
  --muted:    #5a7a96;
  --accent:   #c8a84b;
  --border:   rgba(212,175,55,0.1);
  --border2:  rgba(212,175,55,0.2);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ── Custom Cursor ── */
#cur {
  position: fixed; width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--gold), 0 0 24px rgba(212,175,55,.4);
  transition: transform .1s;
}
#cur-r {
  position: fixed; width: 34px; height: 34px;
  border: 1px solid rgba(212,175,55,.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .18s, height .18s, border-color .18s;
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(7,17,31,0.6);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background .4s;
  animation: slideDown .8s ease-out;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.nav-container {
  max-width: 1400px; margin: 0 auto; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 700;
  color: var(--gold); letter-spacing: 4px;
  text-shadow: 0 0 24px rgba(212,175,55,.4);
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: .78rem;
  font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: .5rem 1.3rem !important;
  border: 1px solid rgba(212,175,55,.35) !important;
  border-radius: 2px;
}
.nav-cta:hover { background: rgba(212,175,55,.08) !important; border-color: var(--gold) !important; }
.nav-cta::after { display: none !important; }
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
}
.mobile-menu-btn span { width: 25px; height: 2px; background: var(--gold); transition: transform .3s ease, opacity .3s ease; transform-origin: center; }

/* ── Page Container ── */
.page-container { margin-top: 78px; min-height: calc(100vh - 78px); }

/* ── Hero ── */
.hero {
  min-height: 90vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 0 6%;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; padding-top: 4rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .42rem 1.1rem; margin-bottom: 2rem;
  border: 1px solid rgba(212,175,55,.2); border-radius: 3px;
  background: rgba(212,175,55,.05);
  opacity: 0; transform: translateY(14px);
  animation: fadeUp .8s .15s forwards;
}
.badge-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
  animation: blink 1.8s infinite; flex-shrink: 0;
}
.badge-text {
  font-family: 'DM Mono', monospace;
  font-size: .68rem; letter-spacing: 2px; color: var(--gold);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  line-height: 1.02; font-weight: 300; color: var(--white);
  margin-bottom: 1.6rem;
  opacity: 0; transform: translateY(28px);
  animation: fadeUp 1s .35s forwards;
}
.hero h1 em {
  display: block; font-style: italic; font-weight: 600;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold2) 55%, var(--gold3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(212,175,55,.55));
}
.hero-subtitle {
  font-size: 1.05rem; color: var(--muted);
  max-width: 500px; line-height: 1.9; margin-bottom: 2.6rem;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .9s .55s forwards;
}
.hero-subtitle strong { color: var(--light); font-weight: 500; }
.hero-tagline {
  font-size: .72rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.cta-container {
  display: flex; gap: 1.1rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .9s .72s forwards;
}
.scroll-hint {
  position: absolute; bottom: 2.2rem; left: 6%; z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  opacity: 0; animation: fadeUp 1s 1.1s forwards;
}
.scroll-line {
  width: 36px; height: 1px;
  background: rgba(212,175,55,.2);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--gold);
  animation: scanAnim 2s 1.2s ease-in-out infinite;
}
.scroll-text {
  font-family: 'DM Mono', monospace;
  font-size: .62rem; letter-spacing: 3px; color: var(--muted);
}

/* ── Buttons ── */
.btn {
  display: inline-block; padding: .85rem 2rem;
  font-size: .78rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; border-radius: 2px;
  cursor: none; transition: all .3s; border: none;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--gold); color: var(--bg);
  border: 2px solid var(--gold);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-100%); transition: transform .5s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  background: var(--gold2); border-color: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212,175,55,.45), 0 8px 24px rgba(0,0,0,.4);
}
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-secondary:hover {
  border-color: rgba(212,175,55,.5); color: var(--gold);
  background: rgba(212,175,55,.05); transform: translateY(-2px);
}

/* ── Stats Band ── */
.stats-band {
  position: relative; z-index: 2;
  background: rgba(12,26,46,.95);
  border-top: 1px solid rgba(212,175,55,.12);
  border-bottom: 1px solid rgba(212,175,55,.08);
  padding: 2.8rem 5%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  backdrop-filter: blur(12px);
}
.stat-item { text-align: center; padding: .8rem; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,175,55,.15), transparent);
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem; font-weight: 700; color: var(--gold);
  line-height: 1; margin-bottom: .25rem;
  text-shadow: 0 0 28px rgba(212,175,55,.4);
}
.stat-label {
  font-size: .68rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted);
}

/* ── Sections ── */
section { padding: 7rem 5%; position: relative; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 4.5rem; }
.section-label {
  font-size: .68rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  color: var(--white); font-weight: 300; line-height: 1.12; margin-bottom: .9rem;
}
.section-title em { font-style: italic; color: var(--gold); filter: drop-shadow(0 0 14px rgba(212,175,55,.4)); }
.section-description {
  color: var(--muted); font-size: .92rem; line-height: 1.85;
}

/* ── Cards ── */
.card {
  background: rgba(12,26,46,.75);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px; padding: 2.3rem;
  transition: all .4s; position: relative; overflow: hidden; cursor: none;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.4), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.card:hover::after { transform: scaleX(1); }
.card:hover {
  border-color: rgba(212,175,55,.18); transform: translateY(-8px);
  box-shadow: 0 0 50px rgba(0,0,0,.6), 0 0 25px rgba(212,175,55,.05);
}
.card-icon {
  width: 50px; height: 50px; border-radius: 4px;
  background: rgba(212,175,55,.07);
  border: 1px solid rgba(212,175,55,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.5rem; transition: all .3s;
}
.card:hover .card-icon {
  background: rgba(212,175,55,.12);
  border-color: rgba(212,175,55,.4);
  box-shadow: 0 0 16px rgba(212,175,55,.2);
}
.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: var(--white); font-weight: 400;
  margin-bottom: .6rem; line-height: 1.2;
}
.card p { font-size: .86rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.4rem; }
.card-badge {
  font-family: 'DM Mono', monospace;
  font-size: .58rem; letter-spacing: 1.5px; padding: 2px 8px;
  border-radius: 2px; background: rgba(212,175,55,.08);
  color: var(--gold2); border: 1px solid rgba(212,175,55,.18);
  display: inline-block; margin-bottom: .8rem;
}
.service-features { list-style: none; margin-bottom: 1.6rem; }
.service-features li {
  font-size: .82rem; color: var(--muted); padding: .28rem 0;
  display: flex; align-items: center; gap: .55rem;
}
.service-features li::before {
  content: ''; width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 4px rgba(212,175,55,.5); flex-shrink: 0;
}
.card-link {
  font-family: 'DM Mono', monospace;
  font-size: .7rem; letter-spacing: 2px; color: var(--gold);
  text-decoration: none; display: inline-flex; align-items: center; gap: .45rem;
  transition: gap .3s, filter .3s;
}
.card-link:hover { gap: .85rem; filter: drop-shadow(0 0 6px rgba(212,175,55,.5)); }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ── Why-item rows ── */
.why-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.1rem 1.3rem;
  background: rgba(12,26,46,.6);
  border: 1px solid rgba(212,175,55,.07);
  border-radius: 4px; transition: all .3s; cursor: none;
}
.why-item:hover {
  border-color: rgba(212,175,55,.22);
  background: rgba(12,26,46,.9);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.why-item-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.why-item h4 { font-size: .9rem; color: var(--white); font-weight: 500; margin-bottom: .2rem; }
.why-item p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ── Timeline cards ── */
.timeline-card {
  background: rgba(12,26,46,.75);
  border: 1px solid rgba(212,175,55,.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0; padding: 2rem 2.3rem;
  margin-bottom: 1.5rem; transition: all .3s;
}
.timeline-card:hover { border-left-color: var(--gold2); background: rgba(12,26,46,.95); }
.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 700; color: var(--gold);
  line-height: 1; margin-bottom: .3rem;
}
.timeline-heading { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--white); font-weight: 400; }
.timeline-sub { font-size: .72rem; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; margin-bottom: .8rem; }
.timeline-body { font-size: .88rem; color: var(--muted); line-height: 1.8; }

/* ── Founder cards ── */
.founder-card { text-align: center; }
.founder-avatar {
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 2px solid rgba(212,175,55,.3);
  margin: 0 auto 1.4rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700; color: var(--gold);
  box-shadow: 0 0 30px rgba(212,175,55,.1);
  transition: all .3s;
}
.founder-card:hover .founder-avatar {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(212,175,55,.2);
}
.founder-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--white); margin-bottom: .3rem; }
.founder-role { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.founder-bio { font-size: .85rem; color: var(--muted); line-height: 1.7; }

/* ── Testimonial cards ── */
.testimonial-card {
  background: rgba(12,26,46,.75);
  border: 1px solid rgba(212,175,55,.08);
  border-radius: 6px; padding: 2.3rem;
  transition: all .3s; position: relative;
}
.testimonial-card:hover { border-color: rgba(212,175,55,.2); transform: translateY(-5px); }
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; color: var(--gold); opacity: .2;
  line-height: 0; margin-bottom: 1rem;
}
.testimonial-text { font-size: .95rem; color: var(--light); line-height: 1.85; margin-bottom: 1.8rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--bg); font-size: .85rem; flex-shrink: 0;
}
.author-name { font-size: .95rem; color: var(--white); font-weight: 500; margin-bottom: .15rem; }
.author-title { font-size: .78rem; color: var(--muted); }

/* ── Dashboard component ── */
.dash-card {
  background: rgba(10,18,32,.95);
  border: 1px solid rgba(212,175,55,.12);
  border-radius: 10px; padding: 1.8rem;
  box-shadow: 0 0 70px rgba(0,0,0,.7), 0 0 40px rgba(212,175,55,.04);
  position: relative; overflow: hidden;
}
.dash-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 60px; height: 60px;
  border-top: 1px solid rgba(212,175,55,.3);
  border-left: 1px solid rgba(212,175,55,.3);
  border-radius: 10px 0 0 0; pointer-events: none;
}
.dash-card::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 60px; height: 60px;
  border-bottom: 1px solid rgba(212,175,55,.2);
  border-right: 1px solid rgba(212,175,55,.2);
  border-radius: 0 0 10px 0; pointer-events: none;
}
.dash-title { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--white); margin-bottom: .2rem; }
.dash-subtitle { font-size: .72rem; color: var(--muted); letter-spacing: .5px; }
.dash-period {
  font-family: 'DM Mono', monospace; font-size: .6rem; letter-spacing: 1px;
  padding: .3rem .7rem; border: 1px solid rgba(212,175,55,.2); border-radius: 2px;
  color: var(--accent); background: rgba(212,175,55,.04);
}
.kpi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-bottom: 1.4rem; }
.kpi-box {
  padding: .9rem; background: rgba(7,14,26,.8);
  border: 1px solid rgba(212,175,55,.08); border-radius: 6px; transition: border-color .3s;
}
.kpi-box:hover { border-color: rgba(212,175,55,.22); }
.kpi-value { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; line-height: 1; margin-bottom: .2rem; }
.kpi-value.gold { color: var(--gold); text-shadow: 0 0 16px rgba(212,175,55,.35); }
.kpi-value.white { color: var(--white); }
.kpi-value.amber { color: var(--amber); text-shadow: 0 0 14px rgba(232,160,32,.3); }
.kpi-label { font-size: .6rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.kpi-delta { font-family: 'DM Mono', monospace; font-size: .6rem; margin-top: .15rem; }
.kpi-delta.pos { color: var(--gold2); }
.kpi-delta.neu { color: var(--muted); }
.perf-label { font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.perf-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .55rem; }
.perf-name { font-size: .68rem; color: var(--light); width: 110px; flex-shrink: 0; }
.perf-track { flex: 1; height: 5px; background: rgba(255,255,255,.05); border-radius: 3px; overflow: hidden; }
.perf-fill { height: 100%; border-radius: 3px; width: 0; transition: width 1.6s cubic-bezier(.22,1,.36,1); }
.perf-fill.gold  { background: linear-gradient(90deg, rgba(212,175,55,.6), var(--gold2)); }
.perf-fill.white { background: linear-gradient(90deg, rgba(200,215,235,.4), rgba(232,242,252,.8)); }
.perf-fill.amber { background: linear-gradient(90deg, rgba(232,160,32,.5), #f0b84a); }
.perf-pct { font-family: 'DM Mono', monospace; font-size: .62rem; color: var(--muted); width: 30px; text-align: right; flex-shrink: 0; }

/* ── Forms ── */
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; margin-bottom: .45rem; color: var(--light); font-size: .85rem; font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .9rem 1rem;
  background: rgba(7,17,31,.7);
  border: 1px solid rgba(212,175,55,.15);
  border-radius: 3px; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: .9rem;
  transition: all .3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(212,175,55,.5);
  background: rgba(7,17,31,.9);
  box-shadow: 0 0 0 3px rgba(212,175,55,.06);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg2); }

/* ── Modal ── */
.modal {
  display: none; position: fixed; z-index: 2000;
  inset: 0; background: rgba(7,17,31,.95);
  backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal-content {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 8px; padding: 2.8rem;
  max-width: 560px; width: 90%; max-height: 90vh; overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; right: 1.4rem; top: 1.4rem;
  font-size: 1.6rem; color: var(--muted); cursor: pointer; transition: color .3s;
}
.modal-close:hover { color: var(--gold); }

/* ── Contact info items ── */
.contact-item { display: flex; align-items: flex-start; gap: 1.3rem; }
.contact-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: rgba(212,175,55,.07);
  border: 1px solid rgba(212,175,55,.15);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.contact-icon-label { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.contact-icon-value { font-size: .95rem; color: var(--light); }
.contact-icon-note { font-size: .78rem; color: var(--muted); margin-top: .2rem; }

/* ── Footer ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
}
.footer-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 3rem;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 700; color: var(--gold);
  letter-spacing: 4px; margin-bottom: 1rem;
  text-shadow: 0 0 18px rgba(212,175,55,.3);
}
.footer-brand p { font-size: .88rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.4rem; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { font-size: .8rem; color: var(--accent); transition: color .3s; }
.footer-social a:hover { color: var(--gold); }
.footer-col h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--white); margin-bottom: 1.3rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .7rem; }
.footer-col ul li a { font-size: .82rem; color: var(--muted); transition: color .3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center; color: var(--muted); font-size: .78rem;
}

/* ── Scroll Reveal ── */
.fade-in-section {
  opacity: 0; transform: translateY(32px);
  transition: opacity .85s ease, transform .85s ease;
}
.fade-in-section.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* ── Keyframes ── */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes blink  { 0%,100%{opacity:1;} 50%{opacity:.3;} }
@keyframes scanAnim { 0%{left:-100%;} 100%{left:100%;} }
@keyframes pulse  { 0%,100%{opacity:1;} 50%{opacity:.6;} }
@keyframes orbitSpin { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

/* ── Responsive ── */
/* Why/Dashboard grid wrapper */
.why-grid-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .why-grid-wrap { grid-template-columns: 1fr !important; gap: 3rem !important; }
}

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.4rem; }
  .section-title { font-size: 2.6rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Dashboard + why grid: stack on tablet */
  .dash-card + div,
  .why-grid { grid-template-columns: 1fr !important; gap: 3rem !important; }
  /* Contact two-col */
  .grid-2.contact-grid { grid-template-columns: 1fr !important; gap: 3rem !important; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .mobile-menu-btn { display: flex; }
  .nav-links {
    position: fixed; top: 78px; left: -100%; width: 100%;
    height: calc(100vh - 78px); background: rgba(7,17,31,.98);
    flex-direction: column; padding: 2.5rem 5%;
    transition: left .35s; gap: 1.8rem; overflow-y: auto;
    z-index: 999;
  }
  .nav-links.active { left: 0; }
  .nav-links a { font-size: 1.1rem; }

  /* Hide custom cursor — touch devices don't need it */
  #cur, #cur-r { display: none; }

  /* Hero */
  .hero { padding: 0 5%; min-height: 100svh; }
  .hero-content { padding-top: 5rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-subtitle { font-size: .95rem; max-width: 100%; }
  .cta-container { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .btn { width: 100%; text-align: center; }
  .hero-badge { font-size: .62rem; }
  .scroll-hint { display: none; }

  /* Stats */
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item { padding: 1.2rem .5rem; }
  .stat-number { font-size: 2.4rem; }
  .stat-label { font-size: .6rem; }
  .stat-item + .stat-item::before { display: none; }

  /* Sections */
  section { padding: 4rem 5%; }
  .section-header { margin-bottom: 2.8rem; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .section-label { font-size: .62rem; }
  .section-description { font-size: .88rem; }

  /* Grids → single column */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Cards */
  .card { padding: 1.6rem; }
  .card h3 { font-size: 1.4rem; }

  /* Inline grids on index: dashboard + why section */
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  /* Dashboard card */
  .dash-card { padding: 1.2rem; }
  .dash-title { font-size: 1.1rem; }
  .kpi-grid { grid-template-columns: repeat(3,1fr); gap: .5rem; }
  .kpi-value { font-size: 1.2rem; }
  .kpi-label { font-size: .52rem; }

  /* Why items */
  .why-item { padding: .9rem 1rem; }
  .why-item h4 { font-size: .85rem; }
  .why-item p { font-size: .78rem; }

  /* Timeline cards */
  .timeline-card { padding: 1.3rem 1.5rem; }
  .timeline-year { font-size: 2rem; }
  .timeline-heading { font-size: 1.3rem; }

  /* Founders */
  .founder-avatar { width: 100px; height: 100px; font-size: 1.6rem; }

  /* Testimonials */
  .testimonial-text { font-size: .88rem; }

  /* Contact */
  .contact-item { gap: 1rem; }
  .contact-icon { width: 44px; height: 44px; font-size: 1.1rem; flex-shrink: 0; }
  .contact-icon-value { font-size: .88rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand-name { font-size: 1.5rem; }
  footer { padding: 3rem 5% 2rem; }

  /* Modal */
  .modal-content { padding: 1.8rem; }

  /* Forms */
  .form-group input, .form-group textarea, .form-group select { font-size: .88rem; padding: .75rem .9rem; }

  /* Callout boxes */
  .callout { padding: 1rem 1.2rem; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }
  .kpi-grid { grid-template-columns: 1fr; gap: .5rem; }
  .kpi-box { display: flex; align-items: center; gap: 1rem; }
  .kpi-value { font-size: 1.5rem; margin-bottom: 0; }
  .footer-social { gap: 1rem; }
  .cta-container .btn { font-size: .72rem; padding: .8rem 1.5rem; }
  section { padding: 3.5rem 4%; }
}

/* ── Blog post layout (post pages) ── */
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .post-sidebar { position: static !important; }
  .post-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .post-hero-visual { height: 180px; }
  .post-hero-icon { font-size: 4.5rem; }
  .formula-box { padding: .9rem 1rem; }
  .formula { font-size: 1rem; }
}

/* ── Blog listing ── */
@media (max-width: 768px) {
  .blog-search-wrap { flex-direction: column; gap: .6rem; }
  .blog-search, .search-btn { width: 100%; }
  .cat-pills { gap: .4rem; }
  .cat-pill { font-size: .65rem; padding: .35rem .8rem; }
  .featured-post { grid-template-columns: 1fr !important; }
  .featured-visual { min-height: 160px; }
  .featured-title { font-size: 1.4rem; }
  .featured-content { padding: 1.5rem; }
  .nl-form { flex-direction: column; }
  .nl-input, .nl-btn { width: 100%; }
  .use-case-grid { grid-template-columns: 1fr !important; }
  .stage-card { padding: 1.2rem 1.3rem; }
  .pay-options { grid-template-columns: 1fr !important; }
  .calc-row { grid-template-columns: 1fr !important; }
}

/* ── Services animated icons ── */
@media (max-width: 768px) {
  .card-icon-wrap { width: 52px; height: 52px; }
  .card-icon-anim { width: 52px; height: 52px; font-size: 1.3rem; }
}
