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

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a25;
  --text: #e4e4e7;
  --text-muted: #8888a0;
  --primary: #009688;
  --primary-light: #4db6ac;
  --gradient: linear-gradient(135deg, #009688, #00bcd4);
  --border: #1e1e2e;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
}

.logo-icon { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.btn-nav {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 150, 136, 0.12);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 150, 136, 0.2);
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-code {
  max-width: 700px;
  margin: 0 auto 12px;
}

.hero-cta-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.btn-secondary:hover { background: var(--bg-card-hover); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* Features */
.features, .how-it-works, .developers {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

h2 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.2s, border-color 0.2s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 150, 136, 0.3);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 150, 136, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.feature-icon svg { width: 20px; height: 20px; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* How it works */
.steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.code-block {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  overflow-x: auto;
}

.code-block code, .code-block pre {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: var(--primary-light);
  white-space: pre;
  line-height: 1.5;
}

.code-block pre { margin: 0; }

/* Developers */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.dev-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.dev-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dev-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.dev-cta { text-align: center; }

/* CTA */
.cta-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
}

.cta-section h2 { margin-bottom: 12px; }

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cta-code {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-code code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
  color: var(--primary-light);
}

.copy-btn {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 36px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 8px;
}

.footer-meaning {
  font-style: italic;
  font-size: 13px !important;
  color: var(--text-muted);
}

.footer-links { display: flex; gap: 64px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 40px; }
  h2 { font-size: 28px; }
  .stat-number { font-size: 22px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active { display: flex; }
  .mobile-menu { display: flex; }

  .cta-code {
    flex-direction: column;
    text-align: center;
  }

  .cta-code code { font-size: 12px; word-break: break-all; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero { padding: 120px 16px 60px; }
  .step { flex-direction: column; gap: 12px; }
}
