:root {
  --bg: #070b14;
  --bg-elevated: #0e1525;
  --bg-card: #111a2e;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(99, 102, 241, 0.45);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --accent: #6366f1;
  --accent-bright: #818cf8;
  --accent-cyan: #38bdf8;
  --green: #34d399;
  --radius: 16px;
  --max-w: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, rgba(99, 102, 241, 0.14), transparent 42%),
              radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.1), transparent 38%),
              var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-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: 18px;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

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

.pro-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #818cf8, #6366f1);
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.1);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(148, 163, 184, 0.18);
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 auto 18px;
  max-width: 780px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-sub {
  margin: 0 auto 28px;
  max-width: 650px;
  color: var(--text-muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

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

/* Sections */
section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em;
}

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

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

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

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

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

.feature-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.14);
  color: var(--accent-bright);
}

.feature-tag.is-free {
  background: rgba(52, 211, 153, 0.14);
  color: var(--green);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}

.price-card.is-featured {
  border-color: var(--border-strong);
  box-shadow: 0 18px 46px rgba(79, 70, 229, 0.18);
}

.price-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.price-name {
  margin: 0 0 6px;
  font-size: 18px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 6px;
}

.price-amount strong {
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-amount span {
  color: var(--text-muted);
  font-size: 14px;
}

.price-desc {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13.5px;
  min-height: 40px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.price-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--text-soft);
  font-size: 14px;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-footnote {
  margin: 22px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--text);
  font-weight: 600;
  background: rgba(148, 163, 184, 0.05);
}

tr:last-child td {
  border-bottom: none;
}

td {
  color: var(--text-soft);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
}

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

/* Legal pages */
.legal-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-main h1 {
  margin: 0 0 8px;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.legal-meta {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 14px;
}

.legal-main h2 {
  margin: 32px 0 10px;
  font-size: 20px;
}

.legal-main p, .legal-main li {
  color: var(--text-soft);
  font-size: 15px;
}

.legal-main ul {
  padding-left: 20px;
}

.legal-main code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.14);
  font-size: 13.5px;
}

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

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

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

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

@media (max-width: 640px) {
  .header-inner {
    padding: 10px 0;
  }
  .hero {
    padding: 48px 0 36px;
  }
  .nav {
    gap: 14px;
  }
}
