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

:root {
  --dark: #0a0a0b;
  --surface: #141416;
  --border: #2a2a2e;
  --text: #e4e4e7;
  --muted: #71717a;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --success: #22c55e;
  --warning: #f59e0b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

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

/* Typography */
h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
p { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

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

.nav-actions {
  display: flex;
  gap: 12px;
}

/* Hero */
.hero {
  padding: 120px 0 100px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-light);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.35rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--muted);
}

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

/* Code Preview */
.code-preview {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

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

.code-dot:nth-child(1) { background: #ff5f56; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #27c93f; }

.code-title {
  margin-left: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.code-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-body pre {
  margin: 0;
}

.comment { color: #6a737d; }
.keyword { color: #ff7b72; }
.string { color: #a5d6ff; }
.method { color: #d2a8ff; }
.class { color: #7ee787; }

/* Logos */
.logos {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.logos-title {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logo-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.framework-logo {
  padding: 12px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Problem/Solution */
.problem-solution {
  padding: 100px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.problem h2, .solution h2 {
  margin-bottom: 24px;
}

.problem ul, .solution ul {
  list-style: none;
}

.problem li, .solution li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.problem li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #ef4444;
}

.solution li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.solution strong {
  color: var(--text);
}

/* Features */
.features {
  padding: 100px 0;
  background: rgba(255,255,255,0.02);
}

.features h2 {
  text-align: center;
  margin-bottom: 64px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 12px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

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

.feature-card h3 {
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 64px;
}

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

.step {
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
  color: white;
}

.step h3 {
  color: var(--text);
  margin-bottom: 12px;
}

.step p {
  margin-bottom: 16px;
}

.code-block {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent-light);
}

/* Pricing */
.pricing {
  padding: 100px 0;
  background: rgba(255,255,255,0.02);
}

.pricing h2 {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 12px;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 12px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Get Started */
.get-started {
  padding: 100px 0;
  text-align: center;
}

.get-started h2 {
  margin-bottom: 48px;
}

.terminal {
  max-width: 700px;
  margin: 0 auto 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.terminal-header {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.terminal-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
}

.prompt {
  color: var(--success);
  margin-right: 8px;
}

.indent {
  padding-left: 24px;
}

.output {
  color: var(--accent-light);
  margin-top: 12px;
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.get-started-text {
  margin-bottom: 24px;
}

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

/* Footer */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.95rem;
}

.footer-links h4 {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .feature-grid, .steps, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-grid, .steps, .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .logo-grid {
    gap: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
