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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #f8f9fa;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #1a1a2e;
  color: #fff;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: #a0a0b8;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.2rem;
  color: #a0a0b8;
  margin-bottom: 2rem;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: #e94560;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: #0f3460;
}

/* Content pages */
.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.content h1 {
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #0f3460;
}

/* API Docs */
.api-section {
  margin-top: 2rem;
}

.endpoint {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.endpoint code {
  font-size: 1rem;
  font-weight: 600;
}

.endpoint p {
  margin: 0.5rem 0;
  color: #555;
}

.method {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 0.5rem;
}

.method.get {
  background: #d4edda;
  color: #155724;
}

.method.post {
  background: #cce5ff;
  color: #004085;
}

pre {
  background: #1a1a2e;
  color: #e0e0e0;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

/* Guide sections */
.guide-section {
  margin-bottom: 2rem;
}

.guide-section ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.guide-section li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: #777;
  font-size: 0.9rem;
  border-top: 1px solid #e0e0e0;
  margin-top: 2rem;
}

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    flex-direction: column;
    gap: 0.75rem;
  }
}
