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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

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

/* Navbar */
.navbar {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-brand {
  font-size: 20px;
  font-weight: 700;
  color: #667eea;
}

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

.nav-links a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.3em;
  opacity: 0.95;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary {
  background: white;
  color: #667eea;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Sections */
section {
  padding: 80px 20px;
}

section h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 16px;
  color: #333;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1em;
  margin-bottom: 48px;
}

/* Demo Section */
.demo-section {
  background: white;
}

.demo-card {
  max-width: 500px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3em;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.4em;
  margin-bottom: 12px;
  color: #333;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Install Section */
.install-section {
  background: white;
}

.install-option {
  max-width: 800px;
  margin: 0 auto 48px;
}

.install-option h3 {
  font-size: 1.8em;
  margin-bottom: 8px;
  color: #333;
}

.install-option > p {
  color: #666;
  margin-bottom: 16px;
}

pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 16px 0;
}

code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 14px;
}

.code-example {
  margin-top: 24px;
}

.code-example h4 {
  margin-bottom: 8px;
  color: #333;
}

/* Examples Section */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.example-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  text-align: center;
}

.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.example-icon {
  font-size: 3.5em;
  margin-bottom: 16px;
}

.example-card h3 {
  font-size: 1.6em;
  margin-bottom: 12px;
  color: #333;
}

.example-card p {
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6;
}

.example-link {
  color: #667eea;
  font-weight: 600;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer p {
  margin-bottom: 8px;
}

.footer a {
  color: #667eea;
  text-decoration: none;
}

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

/* Page-specific styles */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5em;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.2em;
  opacity: 0.95;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.demo-card-wrapper {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.demo-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.demo-description {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.5;
}

.code-block {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px;
  margin-top: 16px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 11px;
  color: #333;
  overflow-x: auto;
  white-space: pre;
}

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

  .hero-subtitle {
    font-size: 1.1em;
  }

  section h2 {
    font-size: 2em;
  }

  .nav-links {
    gap: 16px;
  }

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