/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #39e75f;
  --green-glow: rgba(57, 231, 95, 0.3);
  --dark: #0a0a0a;
  --dark-surface: #141414;
  --dark-card: #1a1a1a;
  --dark-border: #2a2a2a;
  --text: #e0e0e0;
  --text-muted: #888;
  --text-heading: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--dark-border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 1.1rem;
}

nav .brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

nav .nav-links {
  display: flex;
  gap: 24px;
}

nav .nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

/* Hero */
.hero {
  text-align: center;
  padding: 80px 0 60px;
}

.hero-logo {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  margin-bottom: 32px;
  box-shadow: 0 0 60px var(--green-glow);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-block;
  background: var(--green);
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 12px;
  transition: opacity 0.2s;
}

.cta-button:hover {
  opacity: 0.85;
  text-decoration: none;
}

/* Sections */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -0.01em;
}

/* How It Works */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 24px;
}

.feature-card h3 {
  color: var(--text-heading);
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Footer */
footer {
  border-top: 1px solid var(--dark-border);
  padding: 32px 0;
  text-align: center;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

footer .footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

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

/* Legal pages */
.legal {
  padding: 60px 0;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.legal .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.3rem;
  text-align: left;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p,
.legal ul {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal ul {
  padding-left: 24px;
}

.legal li {
  margin-bottom: 8px;
}

/* Support / docs page */
.docs {
  padding: 60px 0;
}

.docs h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 32px;
}

.docs h2 {
  font-size: 1.3rem;
  text-align: left;
  margin-top: 36px;
  margin-bottom: 12px;
}

.docs h3 {
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-top: 24px;
  margin-bottom: 8px;
}

.docs p,
.docs ul,
.docs ol {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.docs ul,
.docs ol {
  padding-left: 24px;
}

.docs li {
  margin-bottom: 8px;
}

.docs code {
  font-family: "SF Mono", "Menlo", "Monaco", monospace;
  font-size: 0.85em;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 2px 6px;
  border-radius: 4px;
}

.docs pre {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 16px;
}

.docs pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.docs table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.docs th,
.docs td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--dark-border);
}

.docs th {
  color: var(--text-heading);
  font-weight: 600;
}

.docs td {
  color: var(--text-muted);
}

.docs td code {
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.05rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  nav .nav-links {
    gap: 16px;
  }
}
