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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0c0c;
  color: #e5e7eb;
  line-height: 1.6;
}

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

/* Header */
.header {
  background: #0f1111;
  border-bottom: 1px solid #1c1f1f;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: #10b981;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: #0a0c0c;
}

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

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: #8b949e;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav a:hover {
  color: #e5e7eb;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #0a0c0c 0%, #0f1111 100%);
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #e5e7eb, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: #8b949e;
  margin-bottom: 32px;
}

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

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #10b981;
  color: #0a0c0c;
}

.btn-primary:hover {
  background: #0ea572;
}

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

.btn-secondary:hover {
  border-color: #8b949e;
}

/* Preview Window */
.hero-preview {
  max-width: 900px;
  margin: 0 auto;
}

.preview-window {
  background: #0f1111;
  border-radius: 12px;
  border: 1px solid #1c1f1f;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.preview-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #0a0c0c;
  border-bottom: 1px solid #1c1f1f;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #f44747; }
.dot.yellow { background: #dcdcaa; }
.dot.green { background: #10b981; }

.title {
  margin-left: 12px;
  color: #8b949e;
  font-size: 13px;
}

.preview-content {
  display: flex;
  height: 300px;
}

.preview-sidebar {
  width: 48px;
  background: #0f1111;
  border-right: 1px solid #1c1f1f;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sidebar-icon {
  width: 24px;
  height: 24px;
  background: #2a2d2d;
  border-radius: 4px;
}

.sidebar-icon.active {
  background: #10b981;
}

.preview-editor {
  flex: 1;
  padding: 16px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.line {
  white-space: pre;
}

.indent { padding-left: 24px; }
.indent-2 { padding-left: 48px; }

.keyword { color: #c586c0; }
.type { color: #4ec9b0; }
.method { color: #dcdcaa; }
.string { color: #ce9178; }
.annotation { color: #dcdcaa; }

/* Features */
.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
}

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

.feature-card {
  background: #0f1111;
  border: 1px solid #1c1f1f;
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: #10b981;
}

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

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  color: #8b949e;
  font-size: 14px;
}

/* Plugins */
.plugins {
  padding: 80px 0;
  background: #0f1111;
}

.plugins h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: #8b949e;
  margin-bottom: 48px;
}

.plugins-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.plugin-feature {
  background: #0a0c0c;
  border: 1px solid #1c1f1f;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.plugin-feature h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #10b981;
}

.plugin-feature p {
  color: #8b949e;
  font-size: 13px;
}

/* Code example */
.code-example {
  background: #0a0c0c;
  border: 1px solid #1c1f1f;
  border-radius: 12px;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.code-example {
  background: #0a0c0c;
  border: 1px solid #1c1f1f;
  border-radius: 12px;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.code-header {
  padding: 12px 16px;
  background: #0f1111;
  border-bottom: 1px solid #1c1f1f;
}

.code-title {
  color: #8b949e;
  font-size: 13px;
}

.code-example pre {
  padding: 20px;
  font-family: 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
}

.code-example code {
  color: #e5e7eb;
}

.code-example .keyword { color: #c586c0; }
.code-example .type { color: #4ec9b0; }
.code-example .method { color: #dcdcaa; }
.code-example .string { color: #ce9178; }
.code-example .comment { color: #6a9955; }

/* Download */
.download {
  padding: 80px 0;
}

.download h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 12px;
}

.download-cards {
  max-width: 400px;
  margin: 0 auto;
}

.download-card {
  background: #0f1111;
  border: 1px solid #1c1f1f;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.download-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.download-card p {
  color: #8b949e;
  margin-bottom: 20px;
}

.download-card pre {
  background: #0a0c0c;
  padding: 12px;
  border-radius: 8px;
  text-align: left;
  font-family: 'Consolas', monospace;
  font-size: 12px;
  color: #10b981;
}

/* Footer */
.footer {
  padding: 40px 0;
  background: #0a0c0c;
  border-top: 1px solid #1c1f1f;
  text-align: center;
}

.footer p {
  color: #8b949e;
  font-size: 14px;
}

.footer-sub {
  color: #4b5563;
  font-size: 12px;
  margin-top: 8px;
}

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

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

  .download-cards {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 16px;
  }
}
