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

:root {
  --back-color: #fffbf6;
  --lime: #b8ff1f;
  --limon: #818c1f;
  --card-bg: #ffffff;
  --card-border: #e1e1e1;
  --text-color: #000000;
  --text-secondary: #5B5B66;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

@font-face {
  font-family: 'eightgon';
  src: url('Eightgon-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

html { scroll-behavior: smooth; }

body {
  background: var(--back-color);
  color: var(--text-color);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
  background: var(--back-color);
  border-bottom: 1px solid var(--card-border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-pill {
  background: var(--lime);
  color: var(--limon);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text-color); }

.nav-cta {
  background: var(--text-color) !important;
  color: var(--lime) !important;
  font-family: var(--font-mono);
  font-size: 0.8rem !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-cta:hover {
  background: var(--lime) !important;
  color: var(--text-color) !important;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 3rem;
  padding: 7rem 3rem 6rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  background-image:
    linear-gradient(var(--card-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--card-border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}

.hero > :not(.hero-grid-bg):not(.hero-terminal) {
  position: relative;
  z-index: 1;
  grid-column: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--limon);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--limon);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 900px;
  position: relative;
}

.hero-headline .accent {
  position: relative;
  display: inline-block;
}

.hero-headline .accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--lime);
  z-index: -1;
}

.hero-sub {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--text-color);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--lime);
  color: var(--text-color);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--back-color);
  color: var(--text-color);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--card-border);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s, transform 0.1s;
}

.btn-secondary:hover {
  border-color: var(--text-color);
  transform: translateY(-1px);
}

.btn-secondary-clear {
  background: transparent;
  color: var(--text-color);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--card-border);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s, transform 0.1s;
}

.hero-terminal {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 4;
  justify-self: end;
  align-self: center;
  width: 100%;
  background: #0d0d0d;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
  animation: floatUp 0.8s ease-out both;
}

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

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
}

.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-red { background: #ff5f57; }
.t-yellow { background: #ffbd2e; }
.t-green { background: #28c840; }

.terminal-title {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #666;
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
}

.t-prompt { color: #666; }
.t-cmd { color: #ffffff; }
.t-label { color: #888; }
.t-val-good { color: var(--lime); }
.t-val-warn { color: #ffbd2e; }
.t-val-bad { color: #ff5f57; }
.t-val-info { color: #60a5fa; }
.t-section { color: #555; margin-top: 4px; }
.t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--lime);
  animation: blink 1.1s step-end infinite;
  vertical-align: -2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.stats-bar {
  display: flex;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.stat-item {
  flex: 1;
  padding: 2rem 3rem;
  border-right: 1px solid var(--card-border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-num .unit {
  font-size: 1.4rem;
  color: var(--limon);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

section { padding: 5rem 3rem; }

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--limon);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 600px;
}

.section-title-light { color: #fff; }

.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 520px;
  margin-top: 1rem;
  line-height: 1.7;
}

footer {
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text-color); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #bbb;
}

.logo {
  color: black;
  font-family: 'eightgon', sans-serif;
  display: inline-block;
  margin-right: -0.12em;
  font-size: larger;
}

.logo_2 {
  color: var(--limon);
  font-family: 'eightgon', sans-serif;
  font-style: italic;
  display: inline-block;
  margin-left: -0.3em;
  font-size: x-large;
}
