:root {
  --bg: #0a0a0b;
  --bg-alt: #111113;
  --surface: #1a1a1e;
  --border: #2a2a2e;
  --text: #e8e8ed;
  --text-dim: #8e8e93;
  --accent: #d4a574;
  --accent-dim: rgba(212, 165, 116, 0.15);
  --green: #30d158;
  --red: #ff453a;
  --yellow: #ffd60a;
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

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

.logo-icon {
  font-size: 1.4rem;
}

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

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

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

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 48px;
}

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

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

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

.terminal-dot.red { background: var(--red); }
.terminal-dot.yellow { background: var(--yellow); }
.terminal-dot.green { background: var(--green); }

.terminal-title {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.terminal-body {
  padding: 16px;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.8;
}

.terminal-line .prompt {
  color: var(--green);
  margin-right: 8px;
}

.terminal-line.dim {
  color: var(--text-dim);
}

.terminal-line .cursor {
  color: var(--accent);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
}

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

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

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.card-highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface), var(--accent-dim));
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card-platform {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 4px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: "✓ ";
  color: var(--green);
}

/* Steps */
.steps {
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Code blocks */
.code-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-dim);
  white-space: pre;
}

.code-block code .comment {
  color: #555;
}

/* Workflow */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.workflow-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.workflow-step {
  padding: 12px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
}

.workflow-item .code-block {
  border: none;
  border-radius: 0;
}

/* Tips */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.tip h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.tip p {
  color: var(--text-dim);
  font-size: 0.93rem;
  margin-bottom: 12px;
}

.tip .code-block {
  margin-top: 12px;
}

/* Experience */
.experience {
  max-width: 700px;
  margin: 0 auto;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 32px;
}

blockquote p {
  font-size: 1.1rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.8;
}

.experience-setup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.experience-setup h3 {
  margin-bottom: 12px;
}

.experience-setup ul {
  list-style: none;
}

.experience-setup li {
  padding: 6px 0;
  color: var(--text-dim);
  font-size: 0.93rem;
}

/* CTA */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg), var(--bg-alt));
}

.cta-section p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

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

.btn-outline:hover {
  border-color: var(--text-dim);
  opacity: 1;
}

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

.footer p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .grid-3,
  .grid-2,
  .workflow-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .section {
    padding: 60px 0;
  }

  .step {
    flex-direction: column;
    gap: 12px;
  }

  .cta-links {
    flex-direction: column;
    align-items: center;
  }
}
