:root {
  --bg: #0b0f17;
  --surface: #131a26;
  --elevated: #1a2333;
  --border: #263248;
  --border-strong: #364766;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --blue: #3b82f6;
  --blue-hover: #2563eb;
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --blue-soft: rgba(59, 130, 246, 0.14);
  --amber-soft: rgba(217, 119, 6, 0.14);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 18% 0%, rgba(59, 130, 246, 0.12), transparent 45%), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.6;
}

a {
  color: #93c5fd;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.narrow {
  max-width: 820px;
}

/* Navbar */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

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

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

/* Buttons & Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-secondary {
  background: var(--elevated);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: #222d42;
}

.btn-emerald {
  background: #0f766e;
  border-color: #14b8a6;
  color: #ffffff;
}

.btn-emerald:hover {
  background: #0d9488;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--blue-soft);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.pill-emerald {
  background: var(--emerald-soft);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  margin: 16px 0 14px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-note code {
  background: var(--elevated);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 5px;
  color: #6ee7b7;
}

.hero-shot {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  background: var(--surface);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections & Cards */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 8px 0 8px;
  font-size: 28px;
  line-height: 1.25;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 680px;
}

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

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

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

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

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.step-num {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #60a5fa;
}

/* Pricing */
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.pricing-pro {
  border-color: rgba(59, 130, 246, 0.55);
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.14), var(--surface));
}

.price {
  font-size: 32px;
  font-weight: 800;
  margin: 8px 0;
}

.price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.check-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
}

.check-list li {
  margin-bottom: 6px;
}

/* Promo Banner */
.promo-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(59, 130, 246, 0.12));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Guide Articles & Interactive Template */
.article-wrap {
  padding: 44px 0 64px;
}

.article-wrap h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 14px 0 12px;
}

.article-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.article-wrap h2 {
  font-size: 22px;
  margin: 30px 0 10px;
  color: #e2e8f0;
}

.article-wrap p,
.article-wrap li {
  color: var(--text-secondary);
  font-size: 15px;
}

.article-wrap code {
  background: var(--elevated);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 13px;
  color: #93c5fd;
}

.template-tool {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px 0;
  display: grid;
  gap: 14px;
}

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

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.field input,
.template-tool textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
}

.template-tool textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.5;
  resize: vertical;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}

summary {
  font-weight: 600;
  cursor: pointer;
}

details p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 32px;
  }
  .nav-links {
    display: none;
  }
}
