:root {
  --bg: #0b1120;
  --surface: #111827;
  --card: #1e293b;
  --border: #334155;
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #10b981;
  --primary-dark: #059669;
  --amber: #f59e0b;
}

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

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 36%), var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

a {
  color: #34d399;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
}

.nav-brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 14px;
  color: var(--muted);
}

.hero {
  padding: 58px 0 42px;
  text-align: center;
}

.badge {
  display: inline-block;
  max-width: 100%;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.14;
  margin: 0 auto 16px;
  max-width: 780px;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 650px;
  margin: 0 auto 28px;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #042f2e;
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.section {
  padding: 36px 0;
}

.section-title {
  font-size: 24px;
  margin: 0 0 8px;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
}

.grid-2 > *,
.card > * {
  min-width: 0;
}

h1, h2, h3, p, .lead {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 36px 0 28px; }
  .cta-row .btn { width: 100%; text-align: center; }
}

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

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

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

.preview-box {
  background: #0f172a;
  border: 1px dashed #475569;
  border-radius: 10px;
  padding: 16px;
  margin-top: 12px;
}

.preview-output {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 14px;
}

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

th {
  background: #0f172a;
  color: var(--muted);
  font-weight: 600;
}

.price-tag {
  font-size: 32px;
  font-weight: 800;
  margin: 10px 0 4px;
}

.price-note {
  font-size: 13px;
  color: #fcd34d;
  font-weight: 600;
}

ul.clean {
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

ul.clean li {
  margin-bottom: 6px;
}

footer {
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  padding: 26px 0 40px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
