:root {
  --bg: #fafafa;
  --fg: #111;
  --muted: #666;
  --accent: #2563eb;
  --accent-light: #eff6ff;
  --border: #e5e7eb;
  --card-bg: #fff;
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Nav */
nav {
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
nav .logo { font-weight: 700; font-size: 1.25rem; color: var(--fg); }
nav .logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 28px; }
nav ul a { color: var(--muted); font-size: 0.95rem; }
nav ul a:hover { color: var(--fg); text-decoration: none; }

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 0 auto 32px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* Cards */
.grid { display: grid; gap: 24px; margin: 48px 0; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Sections */
section { padding: 64px 0; }
section h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
section .subtitle { color: var(--muted); margin-bottom: 32px; font-size: 1.05rem; }
.alt-bg { background: var(--accent-light); }

/* Page header */
.page-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.page-header h1 { font-size: 2rem; }
.page-header p { color: var(--muted); margin-top: 8px; }

/* Content */
.content h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.content h3 { font-size: 1.2rem; margin: 32px 0 8px; }
.content p { margin-bottom: 16px; }
.content ul, .content ol { margin: 0 0 16px 24px; }
.content li { margin-bottom: 8px; }
.content code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 16px;
}
.content pre code { background: none; padding: 0; color: inherit; }

/* Pricing */
.pricing-card {
  text-align: center;
}
.pricing-card .price { font-size: 2.5rem; font-weight: 800; margin: 16px 0 8px; }
.pricing-card .period { color: var(--muted); font-size: 0.9rem; }
.pricing-card ul { list-style: none; margin: 24px 0; text-align: left; }
.pricing-card li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.pricing-card li:last-child { border: none; }

/* FAQ */
.faq-item { margin-bottom: 24px; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.faq-item p { color: var(--muted); }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
