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

:root {
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;

  --danger: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
header {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.logo a {
  color: inherit;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--gray-900);
}

nav a.cta {
  background: var(--gray-900);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem;
}

nav a.cta:hover {
  background: var(--gray-800);
  color: white;
}

/* Hero */
.hero {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--accent);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.highlight {
  color: var(--accent);
  position: relative;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
  font-weight: 500;
}

.code-block {
  background: var(--gray-900);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 700px;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.code-block pre {
  overflow-x: auto;
}

.code-block code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-300);
}

.keyword { color: #c678dd; }
.string { color: #98c379; }
.function { color: #61afef; }
.property { color: #e06c75; }
.variable { color: #e5c07b; }
.comment { color: var(--gray-500); font-style: italic; }
.tag { color: #e06c75; }

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: white;
  color: var(--gray-900);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--gray-900);
  transform: translateY(-2px);
}

/* Hypermedia Callout */
.hypermedia-callout {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.callout-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.callout-badge {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.callout-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.callout-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.callout-meta {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.callout-content a {
  color: white;
  font-weight: 600;
  text-decoration: underline;
}

.callout-content a:hover {
  text-decoration: none;
}

/* Features */
.features {
  padding: 6rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--gray-300);
}

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

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Truth Section */
.truth {
  padding: 6rem 0;
  background: var(--gray-900);
  color: white;
}

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

.truth h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.truth-text p {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--gray-300);
}

.truth-text strong {
  color: white;
  font-weight: 600;
}

.truth-finale {
  font-size: 1.125rem !important;
  color: var(--gray-400) !important;
  margin-top: 3rem !important;
  font-style: italic;
}

/* Install */
.install {
  padding: 6rem 0;
  background: white;
}

.install-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.install-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.install-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-900);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.install-command code {
  font-family: 'Monaco', 'Courier New', monospace;
  color: white;
  font-size: 1.125rem;
}

.copy-btn {
  background: var(--gray-700);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.copy-btn:hover {
  background: var(--gray-600);
}

.install-note {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 3rem 0;
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

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

  nav {
    gap: 1rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .code-block {
    padding: 1.5rem;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}
