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

:root {
  --bg-hardware:    #0a0a0b;
  --surface-matte:  #151619;
  --surface-raised: #1c1f24;
  --accent-secure:  #00ff41;
  --accent-dim:     rgba(0, 255, 65, 0.15);
  --accent-border:  rgba(0, 255, 65, 0.22);
  --accent-warning: #ff4444;
  --text-primary:   #e8eaed;
  --text-secondary: #8e9299;
  --text-dim:       #555a62;
  --font-sans:      'Inter', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', 'Courier New', monospace;
  --radius:         8px;
  --radius-lg:      14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-hardware);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 60px;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--accent-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo svg { width: 28px; height: 28px; flex-shrink: 0; }

.nav-wordmark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-secure);
  letter-spacing: 0.12em;
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: color 0.2s, border-color 0.2s;
}
.lang-toggle:hover { color: var(--accent-secure); border-color: var(--accent-secure); }

/* ── SECTIONS ── */
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 4rem); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-secure);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ── HERO ── */
#hero {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(0,255,65,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-icon {
  width: clamp(64px, 12vw, 96px);
  height: clamp(64px, 12vw, 96px);
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(0,255,65,0.35));
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(0,255,65,0.30)); }
  50%       { filter: drop-shadow(0 0 32px rgba(0,255,65,0.55)); }
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.hero-headline .accent { color: var(--accent-secure); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-secure);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: not-allowed;
  text-decoration: none;
  position: relative;
  opacity: 0.72;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
button.btn-primary { font: inherit; }

.badge-soon {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(0,0,0,0.35);
  color: rgba(0,0,0,0.8);
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--accent-border);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--accent-secure); border-color: var(--accent-secure); }

.hero-meta {
  margin-top: 3rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-secure);
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── FEATURES ── */
#features { background: var(--surface-matte); }

#features h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  max-width: 560px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-hardware);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--accent-secure); transform: translateY(-2px); }

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
#how-it-works h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.steps { display: flex; flex-direction: column; gap: 0; max-width: 700px; }

.step {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.step-left { display: flex; flex-direction: column; align-items: center; }

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-secure);
  flex-shrink: 0;
}

.step-line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--accent-border), transparent);
  margin: 6px 0;
}

.step:last-child .step-line { display: none; }

.step-body { padding-bottom: 2.5rem; }

.step-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  padding-top: 8px;
}

.step-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-body code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-secure);
  background: var(--accent-dim);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ── STACK ── */
#stack { background: var(--surface-matte); text-align: center; }

#stack h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}

.pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-hardware);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 5px 14px;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s;
}
.pill:hover { color: var(--accent-secure); border-color: var(--accent-secure); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--accent-border);
  padding: 2rem clamp(1.25rem, 6vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-left svg { width: 22px; height: 22px; opacity: 0.7; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent-secure); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero-meta { gap: 1.5rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
