:root {
  --bg: #0f1115;
  --card: #171a21;
  --card-strong: #1f2633;
  --text: #edf2f7;
  --muted: #a7b0bf;
  --accent: #6ee7b7;
  --accent-2: #93c5fd;
  --warm: #f6c177;
  --danger: #fca5a5;
  --border: #2a3040;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b0d12;
  color: var(--text);
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 28px 20px 56px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.brand { color: var(--text); font-weight: 800; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.nav-links a { color: var(--muted); }
.hero-shell {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17,20,28,0.98), rgba(8,10,15,0.98));
  box-shadow: 0 24px 70px rgba(0,0,0,0.36);
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  pointer-events: none;
}
.hero-content { max-width: 720px; padding: 46px 46px 0; position: relative; z-index: 2; text-shadow: 0 2px 26px rgba(0,0,0,0.42); }
.hero-product-preview {
  position: relative;
  z-index: 1;
  width: calc(100% - 72px);
  margin: 30px 36px 36px;
  overflow: hidden;
  border: 1px solid rgba(237,242,247,0.16);
  border-radius: 8px;
  background: rgba(15,17,21,0.76);
  box-shadow: 0 26px 80px rgba(0,0,0,0.48);
}
.hero-product-preview img {
  display: block;
  width: 100%;
  height: clamp(320px, 38vw, 430px);
  object-fit: cover;
  object-position: center top;
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.meta-pill {
  border: 1px solid rgba(237,242,247,0.16);
  background: rgba(15,17,21,0.62);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
}
.card { background: rgba(23,26,33,0.94); border: 1px solid var(--border); border-radius: 8px; padding: 24px; box-shadow: 0 18px 46px rgba(0,0,0,0.22); }
.section { margin-top: 26px; }
.section-heading { max-width: 720px; margin-bottom: 16px; }
.badge { display: inline-block; background: rgba(110,231,183,0.12); color: var(--accent); border: 1px solid rgba(110,231,183,0.2); border-radius: 999px; padding: 8px 12px; font-size: 13px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
p { color: var(--muted); line-height: 1.6; }
.lead { font-size: 19px; color: #d9e2ec; max-width: 620px; }
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.btn, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 8px; padding: 12px 18px;
  background: #1d2430; color: var(--text); cursor: pointer; font-weight: 600;
}
.btn-primary { background: linear-gradient(135deg, #2b7fff 0%, #5eead4 100%); color: #08111c; border: none; }
.btn-danger { background: rgba(252,165,165,0.08); color: var(--danger); }
.kpi { font-size: 32px; font-weight: 700; }
.small { font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: #0d1219; color: var(--text); font: inherit;
}
textarea { min-height: 110px; resize: vertical; }
.notice { padding: 12px 14px; border-radius: 8px; background: rgba(147,197,253,0.08); border: 1px solid rgba(147,197,253,0.14); color: var(--text); }
.notice.error { background: rgba(252,165,165,0.08); border-color: rgba(252,165,165,0.18); }
.notice + form, .notice + .notice { margin-top: 12px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.feature-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.feature-list li { color: var(--muted); line-height: 1.55; padding-left: 22px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.media-row { display: grid; grid-template-columns: 1.3fr 0.85fr 0.85fr; gap: 18px; align-items: stretch; }
.media-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(237,242,247,0.16);
  border-radius: 8px;
  background: rgba(23,26,33,0.94);
  box-shadow: 0 18px 46px rgba(0,0,0,0.22);
}
.media-card img { display: block; width: 100%; height: 260px; object-fit: cover; }
.media-card figcaption { padding: 12px 14px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.media-card-portrait img { height: 320px; }
.help-page { max-width: 1040px; }
.help-hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr); gap: 22px; align-items: center; }
.help-hero-visual { margin: 0; border: 1px solid rgba(237,242,247,0.16); border-radius: 8px; overflow: hidden; background: rgba(23,26,33,0.94); }
.help-hero-visual img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center top; }
.step-list { counter-reset: step; display: grid; gap: 12px; margin-top: 16px; }
.step-item {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 54px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(23,26,33,0.94);
}
.step-item::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(110,231,183,0.14);
  color: var(--accent);
  font-weight: 800;
}
.step-item h3 { font-size: 17px; margin-bottom: 6px; }
.step-item p { margin: 0; }
.key-table code {
  display: inline-block;
  min-width: 36px;
  padding: 3px 7px;
  border: 1px solid rgba(237,242,247,0.16);
  border-radius: 6px;
  background: #0d1219;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-align: center;
}
.callout {
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  background: rgba(110,231,183,0.08);
  border-radius: 8px;
}
.callout p { margin: 0; }
.price-card { background: linear-gradient(180deg, rgba(31,38,51,0.98), rgba(23,26,33,0.96)); }
.price { font-size: 42px; font-weight: 800; color: var(--text); margin: 4px 0 10px; }
.payment-panel { margin-top: 22px; display: grid; gap: 12px; }
.paypal-button {
  background: #ffc439;
  border-color: #ffc439;
  color: #111827;
  font-weight: 800;
  width: 100%;
}
.paypal-button:hover { text-decoration: none; background: #f5b800; }
.legal-page { max-width: 820px; }
.legal-page h1 { font-size: 42px; }
.legal-page h2 { margin-top: 26px; font-size: 22px; }
.legal-page ul { color: var(--muted); line-height: 1.6; }
.faq-list { margin: 0; display: grid; gap: 16px; }
.faq-list dt { font-weight: 700; color: var(--text); }
.faq-list dd { margin: 6px 0 0; color: var(--muted); line-height: 1.6; }
.footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .media-row, .help-hero { grid-template-columns: 1fr; }
  .site-nav { align-items: flex-start; flex-direction: column; }
  .hero-shell { padding-bottom: 18px; }
  .hero-content { padding: 28px; }
  .hero-product-preview {
    width: calc(100% - 28px);
    margin: 0 14px;
  }
  .hero-product-preview img { height: 280px; }
  .media-card img, .media-card-portrait img, .help-hero-visual img { height: 260px; }
  h1 { font-size: 42px; }
}
@media (max-width: 640px) {
  .key-table,
  .key-table thead,
  .key-table tbody,
  .key-table tr,
  .key-table th,
  .key-table td {
    display: block;
    width: 100%;
  }
  .key-table thead { display: none; }
  .key-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .key-table td {
    border-bottom: 0;
    padding: 6px 0;
  }
  .key-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }
}
