:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --bg-alt-soft: #11182a;
  --card: #111827;
  --card-soft: #1f2937;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --primary: #22c55e;
  --primary-soft: rgba(34, 197, 94, 0.18);
  --primary-strong: #16a34a;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.16);
  --danger: #f97373;
  --danger-soft: rgba(248, 113, 113, 0.18);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.85);
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-full: 999px;
  --blur-strong: blur(22px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1d283a 0, #020617 55%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), transparent 50%)
    rgba(2, 6, 23, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(52, 211, 153, 0.2), transparent 55%)
    rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
}

.logo-mark {
  font-size: 18px;
}

.logo-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-soft);
}

.nav a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.nav a:hover {
  color: #e5e7eb;
  background-color: rgba(31, 41, 55, 0.8);
  transform: translateY(-1px);
}

.nav-primary {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #022c22 !important;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.6);
}

.nav-primary:hover {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  transform: translateY(-1px) scale(1.01);
}

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

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

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

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 12px 30px rgba(8, 47, 73, 0.9);
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #022c22;
  box-shadow: 0 16px 38px rgba(34, 197, 94, 0.85);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 20px 44px rgba(22, 163, 74, 0.95);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  border-color: rgba(75, 85, 99, 0.9);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(156, 163, 175, 1);
  transform: translateY(-1px);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12px;
  color: var(--text-soft);
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-visual {
  position: relative;
}

.browser-mock {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 70%)
    rgba(15, 23, 42, 0.98);
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 1);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(30, 64, 175, 0.7);
  background: linear-gradient(90deg, #020617, #0f172a, #020617);
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f9fafb, #6b7280);
}

.browser-body {
  padding: 18px 18px 20px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.badge-strong {
  background-color: var(--primary-soft);
  color: #bbf7d0;
}

.badge-ok {
  background-color: var(--accent-soft);
  color: #e0f2fe;
}

.badge-bad {
  background-color: var(--danger-soft);
  color: #fee2e2;
}

.browser-text {
  padding: 10px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.4), transparent 70%)
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(37, 99, 235, 0.5);
}

.browser-text .line {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.7), rgba(30, 64, 175, 0.8));
  margin-bottom: 8px;
}

.browser-text .line:last-child {
  margin-bottom: 0;
}

.line-lg { width: 80%; }
.line-md { width: 60%; }
.line-sm { width: 40%; }

.hero-visual-caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
  max-width: 320px;
}

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

.section-alt {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.section-alt .container {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 22px;
  margin: 0 0 6px;
}

.section-header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.section-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
}

/* Cards & Grid */
.grid {
  display: grid;
  gap: 18px;
}

.features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), transparent 60%)
    rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  border: 1px solid rgba(30, 64, 175, 0.75);
  box-shadow: var(--shadow-card);
}

.feature-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-card code {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
  word-break: break-all;
  font-weight: 500;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps-compact {
  gap: 10px;
}

.step-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent 60%)
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.step-index {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #e5e7eb;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.7);
}

.step-item h3 {
  margin: 0 0 3px;
  font-size: 14px;
}

.step-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.usage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: flex-start;
}

.usage-aside {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 60%)
    rgba(15, 23, 42, 0.98);
  border-color: rgba(37, 99, 235, 0.72);
}

.usage-aside h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.tips {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Score */
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.score-card {
  border-radius: var(--radius-lg);
  padding: 13px 14px 14px;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid transparent;
}

.score-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.score-strong {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), transparent 60%)
    rgba(15, 23, 42, 0.98);
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 14px 36px rgba(22, 163, 74, 0.7);
}

.score-ok {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 60%)
    rgba(15, 23, 42, 0.98);
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.65);
}

.score-bad {
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.22), transparent 60%)
    rgba(15, 23, 42, 0.98);
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow: 0 14px 36px rgba(248, 113, 113, 0.7);
}

/* Table */
.table-wrapper {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(31, 41, 55, 0.95);
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), transparent 60%)
    rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow-card);
}

.config-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.config-table thead {
  background: linear-gradient(90deg, rgba(30, 64, 175, 0.95), rgba(8, 47, 73, 0.95));
}

.config-table th,
.config-table td {
  padding: 10px 12px;
  text-align: left;
}

.config-table th {
  font-weight: 600;
}

.config-table tbody tr:nth-child(odd) {
  background-color: rgba(15, 23, 42, 0.8);
}

.config-table tbody tr:nth-child(even) {
  background-color: rgba(15, 23, 42, 0.96);
}

.config-table td {
  color: var(--text-muted);
  line-height: 1.7;
}

code {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

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

.faq-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 60%)
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(37, 99, 235, 0.8);
}

.faq-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.faq-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), #020617);
  padding: 16px 0 18px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--text-soft);
}

.footer-title {
  margin: 0 0 2px;
  font-weight: 500;
  color: var(--text-main);
}

.footer-desc {
  margin: 0;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-links a {
  color: var(--accent);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-dot {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-visual {
    order: -1;
  }

  .hero {
    padding-top: 52px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usage-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav {
    justify-content: flex-start;
    gap: 8px;
  }

  .nav-primary {
    padding-inline: 12px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .score-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 28px 0 32px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding-inline: 14px;
  }

  .container {
    padding-inline: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

