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

:root {
  --ink:       #080b10;
  --ink2:      #0d1117;
  --surface:   #0f1520;
  --surface2:  #141c2e;
  --surface3:  #1a243d;
  --accent:    #00e5a0;
  --accent2:   #0090ff;
  --accent3:   #ff4d6d;
  --amber:     #f59e0b;
  --text:      #dde4f0;
  --muted:     #6b7a99;
  --border:    rgba(255,255,255,0.06);
  --border-a:  rgba(0,229,160,0.2);
  --mono:      'IBM Plex Mono', monospace;
  --sans:      'Syne', sans-serif;
  --ease:      cubic-bezier(0.16,1,0.3,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grid background */
.grid-bg {
  background-image:
    linear-gradient(rgba(0,229,160,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,160,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* Typography */
h1,h2,h3,h4,h5 { font-family: var(--sans); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
p { font-size: 15px; line-height: 1.75; color: var(--muted); }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--mono); }
.accent { color: var(--accent); }

/* Buttons */
.btn-primary {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent); color: var(--ink);
  border: none; padding: 14px 28px;
  cursor: pointer; transition: opacity 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 24px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline-accent {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 20px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-accent:hover { background: var(--accent); color: var(--ink); }

/* Section */
.section { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Tags */
.tag {
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.tag::before {
  content: '';
  display: block; width: 24px; height: 1px; background: var(--accent);
}

/* Pulse dot */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.6)} }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes scanline {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
@keyframes drawLine {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.fade-up { opacity: 0; }
.fade-up.visible { animation: fadeUp 0.7s var(--ease) forwards; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }
