:root {
  --ink: #14142b;
  --muted: #5c5c72;
  --faint: #9a9aa8;
  --accent: #4f6df5;
  --accent-dark: #3b52d1;
  --accent-soft: #eef1fe;
  --bg: #fafafc;
  --card: #ffffff;
  --border: #e6e6ee;
  --shadow: 0 1px 2px rgba(20, 20, 43, 0.04), 0 8px 24px rgba(20, 20, 43, 0.06);
  --shadow-hover: 0 4px 8px rgba(20, 20, 43, 0.06), 0 16px 32px rgba(20, 20, 43, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

header.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand-block {
  text-decoration: none;
  line-height: 1.2;
}

.logo {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--accent);
}

nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-left: 28px;
  padding-bottom: 4px;
  transition: color 0.15s ease;
}

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

nav a.active {
  color: var(--accent);
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 88px 0 56px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--accent-soft), transparent);
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  line-height: 1.15;
}

.hero p.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 32px;
}

/* Copyable code snippet */
.snippet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Consolas, Menlo, monospace;
  font-size: 14px;
  background: var(--ink);
  color: #f4f4f7;
  padding: 12px 12px 12px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.snippet code {
  font-family: inherit;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #f4f4f7;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
}

.copy-btn.copied {
  background: #2f9e60;
}

/* Standalone pre blocks (Install page) get a copy button positioned top-right */
.code-block {
  position: relative;
}

.code-block .copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(20, 20, 43, 0.06);
  color: var(--muted);
}

.code-block .copy-btn:hover {
  background: rgba(20, 20, 43, 0.12);
  color: var(--ink);
}

.code-block .copy-btn.copied {
  background: #2f9e60;
  color: #ffffff;
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 109, 245, 0.3);
}

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

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
}

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

section {
  padding: 48px 0;
}

section h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 8px;
}

section p.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 36px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.feature-card .icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-card .icon svg {
  width: 18px;
  height: 18px;
}

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

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.price-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-hover);
}

.price-card h3 {
  font-size: 13px;
  margin: 0 0 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.price-card .amount {
  font-size: 32px;
  font-weight: 800;
  margin: 8px 0 4px;
  letter-spacing: -0.01em;
}

.price-card .amount small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 20px;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}

.price-card ul li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.license-type-select {
  width: 100%;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 10px;
  margin-top: 12px;
}

.license-description {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  text-align: left;
  min-height: 32px;
}

.trial-snippet {
  font-family: Consolas, Menlo, monospace;
  font-size: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 8px 10px;
  border-radius: 6px;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
  color: var(--faint);
  font-size: 13px;
}

footer.site-footer a {
  color: var(--muted);
}

/* Details / Install pages */
.docs-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.docs-body h2 {
  text-align: left;
  font-size: 21px;
  font-weight: 800;
  margin-top: 36px;
}

.docs-body h2:first-child {
  margin-top: 0;
}

.docs-body p {
  font-size: 15px;
}

.docs-body pre {
  background: #f7f8fc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  padding-right: 46px;
  overflow-x: auto;
  font-family: Consolas, Menlo, monospace;
  font-size: 13px;
  margin: 0 0 16px;
}

.docs-nav {
  margin-bottom: 24px;
}

.docs-nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.page-h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 8px 0 24px;
}

/* Thank-you page */
.thanks-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  max-width: 480px;
  margin: 64px auto;
  box-shadow: var(--shadow);
}

.thanks-box h1 {
  font-size: 22px;
  margin-bottom: 12px;
}

.thanks-box p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 32px;
  }

  header.site-header .container {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    margin-left: 14px;
    margin-right: 14px;
  }
}
