/* ─────────────────────────────────────────
   Velocity Fund — main.css
   Shared tokens, reset, nav, footer, utils
───────────────────────────────────────── */

/* TOKENS */
:root {
  --black:   #060608;
  --surface: #0e0e12;
  --card:    #0b0b0f;
  --border:  #1c1c22;
  --borderB: #2a2a35;
  --yellow:  #f5e642;
  --green:   #5af5a0;
  --blue:    #7aa2f7;
  --red:     #ff6b6b;
  --text:    #dddde8;
  --mid:     #b2b2c8; /* higher contrast */
  --muted:   #83839b; /* higher contrast on dark background */
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}

/* SCANLINE */
body::after {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,0,0,0.045) 2px, rgba(0,0,0,0.045) 4px
  );
  pointer-events: none;
  z-index: 100;
}

/* CURSOR */
.cursor,
.cursor-ring {
  display: none !important;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 52px; height: 60px;
  border-bottom: 1px solid var(--border);
  background: rgba(6,6,8,.96);
  backdrop-filter: blur(16px);
}
.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 17px; letter-spacing: -.02em;
  color: var(--text); text-decoration: none;
}
.nav-logo span { color: var(--yellow); }
nav ul { list-style: none; display: flex; gap: 36px; }
nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; transition: color .2s;
}
nav a:hover, nav a.active { color: var(--yellow); }
.nav-cta {
  border: 1px solid var(--yellow) !important;
  color: var(--yellow) !important;
  padding: 7px 18px;
}
.nav-cta:hover {
  background: var(--yellow) !important;
  color: var(--black) !important;
}

/* PAGE HEADER (inner pages) */
.page-header {
  padding: 120px 52px 0;
  position: relative; overflow: hidden;
}
.page-header-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .25; pointer-events: none;
}
.page-header-glow {
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,230,66,.04) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.0;
  position: relative; z-index: 1;
}
.page-header h1 em { font-style: normal; color: var(--yellow); }
.page-header p {
  margin-top: 20px; font-size: 15px; color: var(--mid);
  max-width: 540px; line-height: 1.75;
  position: relative; z-index: 1;
}

/* SECTION LABEL */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 1;
}
.section-label::before {
  content: '';
  display: inline-block; width: 24px; height: 1px;
  background: var(--yellow);
}

/* SECTION BASE */
section { padding: 80px 52px; position: relative; }

/* SECTION H2 */
.section-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.05;
}
.section-h2 em { font-style: normal; color: var(--yellow); }

/* TAGS */
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--borderB); padding: 4px 10px; color: var(--mid);
}

/* BUTTONS */
.btn-primary {
  background: var(--yellow); color: var(--black);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 30px; border: none;
  text-decoration: none; cursor: pointer; display: inline-block;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(245,230,66,.3); }

.btn-ghost {
  background: transparent; color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid var(--borderB);
  text-decoration: none; cursor: pointer; display: inline-block;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--muted); color: var(--yellow); }

.btn-dark {
  background: var(--black); color: var(--yellow);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 36px; border: none;
  text-decoration: none; cursor: pointer; display: inline-block;
  transition: transform .15s, box-shadow .15s;
}
.btn-dark:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(0,0,0,.25); }

/* TESTIMONIALS */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  margin-top: 56px;
}
.testimonial-card { background: var(--card); padding: 52px 48px; transition: background .2s; }
.testimonial-card:hover { background: var(--surface); }
.quote-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 60px; font-weight: 800; color: var(--yellow);
  line-height: .8; margin-bottom: 20px; opacity: .6;
}
.quote-text { font-size: 15px; line-height: 1.75; color: var(--text); margin-bottom: 28px; }
.quote-attr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--mid); letter-spacing: .04em; line-height: 1.7;
}
.quote-attr strong {
  display: block; color: var(--text); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  font-size: 9px; margin-bottom: 3px;
}

/* TICKER RESPONSIVE */
@media (max-width: 700px) {
  .ticker { display: none !important; }
}
@media (min-width: 701px) {
  .ticker { display: block; }
}

/* CTA SECTION */
.cta-section { background: var(--yellow); padding: 110px 52px; }
.cta-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800; color: var(--black); letter-spacing: -.04em;
  line-height: .95; max-width: 680px; margin-bottom: 48px;
}

/* FOOTER */
footer {
  padding: 36px 52px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
footer p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--mid); letter-spacing: .06em;
}
footer a { color: var(--mid); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--yellow); }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  nav ul { display: none; }
  .page-header { padding: 100px 20px 0; }
  section { padding: 60px 20px; }
  .cta-section { padding: 80px 20px; }
  footer { padding: 36px 20px; flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
