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

/* ─── Variables ─── */
:root {
  --green: #22FF55;
  --green-deep: #16D946;
  --green-dim: rgba(34,255,85,0.15);
  --green-pale: rgba(34,255,85,0.06);
  --black: #0A0A0A;
  --dark: #0D0D0D;
  --dark-2: #141414;
  --dark-3: #1A1A1A;
  --dark-4: #222222;
  --grey: #888888;
  --light-grey: #F5F5F5;
  --white: #FFFFFF;
  --border-dark: rgba(34,255,85,0.12);
  --border-light: rgba(0,0,0,0.08);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── Navigation — dark like nansen.ai ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34,255,85,0.1);
  transition: all 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  /* Logo is white+green — shows perfectly on dark nav */
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--green) !important;
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--green-deep) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 20px rgba(34,255,85,0.3) !important;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--black);
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,255,85,0.35);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green);
  padding: 13px 31px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--green);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--green);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,255,85,0.25);
}

/* ─── Section Titles ─── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 20px;
}
.section-title span { color: var(--green-deep); }
.section-title.light { color: var(--white); }
.section-title.light span { color: var(--green); }
.section-desc { font-size: 1rem; color: var(--grey); max-width: 560px; line-height: 1.75; }

/* ─── Footer ─── */
footer {
  background: var(--dark);
  color: #aaa;
  padding: 60px 8% 32px;
  border-top: 1px solid rgba(34,255,85,0.08);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
/* Logo shows directly — white+green works on dark footer */
.footer-brand img {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}
.footer-brand-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.45;
}
.footer-brand p {
  font-size: 0.84rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col li { display: flex; align-items: flex-start; gap: 10px; color: #666; font-size: 0.87rem; line-height: 1.55; }
.footer-col .f-icon { font-size: 0.9rem; margin-top: 1px; flex-shrink: 0; }
.footer-col a { color: #666; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #333;
}

/* ─── Utilities ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(34,255,85,0.2); }
  50% { box-shadow: 0 0 40px rgba(34,255,85,0.5); }
}

.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--dark);
    padding: 24px 5%; gap: 24px;
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
