:root {
  --primary: #10b981;
  --dark: #1f2937;
  --light: #f9fafb;
  --text: #374151;
  --border: #e5e7eb;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: white;
}

html {
  scroll-behavior: smooth;
}

header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 1rem;
}

.cta-button.secondary:hover {
  background: white;
  color: var(--primary);
}

section {
  padding: 3rem 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--dark);
  text-align: center;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature {
  padding: 2rem;
  background: var(--light);
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
}

.feature h3 {
  color: var(--primary);
}

.benefits {
  background: var(--light);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
}

.benefits li {
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.benefits strong {
  color: var(--dark);
}

footer {
  background: var(--dark);
  color: white;
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

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

footer a:hover {
  text-decoration: underline;
}

.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.doc-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.doc-content h2 {
  text-align: left;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}

.doc-content h3 {
  text-align: left;
  margin-top: 2rem;
}

.doc-content p {
  margin-bottom: 1rem;
}

.doc-content code {
  background: var(--light);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: "Courier New", monospace;
}

.doc-content pre {
  background: var(--dark);
  color: #e0e0e0;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.doc-toc {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.doc-toc h4 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.doc-toc ul {
  list-style: none;
}

.doc-toc a {
  color: var(--primary);
  text-decoration: none;
}

.doc-toc a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .cta-button.secondary {
    display: block;
    margin-left: 0;
    margin-top: 1rem;
  }

  .nav-links {
    display: none;
  }
}
