:root {
  --bg: #05070b;
  --bg-2: #090d14;
  --surface: rgba(13, 18, 28, .86);
  --surface-2: rgba(18, 26, 39, .88);
  --surface-3: rgba(255, 255, 255, .055);
  --text: #f6f8fb;
  --muted: #aab6c6;
  --soft: #748196;
  --line: rgba(148, 163, 184, .22);
  --line-strong: rgba(255, 213, 74, .44);
  --accent: #ffd34d;
  --accent-2: #21f3d3;
  --accent-3: #ff4d8d;
  --ok: #83ff8f;
  --danger: #ff6b6b;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .48);
  --glow: 0 0 28px rgba(33, 243, 211, .22), 0 0 42px rgba(255, 211, 77, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 22% 12%, rgba(33, 243, 211, .16), transparent 28%),
    radial-gradient(circle at 80% 8%, rgba(255, 211, 77, .12), transparent 25%),
    linear-gradient(145deg, #05070b 0%, #0b111b 48%, #06080d 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  line-height: 1.55;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 22%, rgba(255,255,255,.025));
  mix-blend-mode: screen;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 11, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; font-weight: 900; letter-spacing: 0; }
.logo img { filter: drop-shadow(0 0 12px rgba(255, 211, 77, .22)); }
.logo .brand-logo { width: min(250px, 44vw); height: auto; max-height: 56px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 15px; }
.nav a { transition: color .18s ease, text-shadow .18s ease; }
.nav a:hover { color: var(--text); text-shadow: 0 0 16px rgba(33, 243, 211, .35); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  color: var(--text);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 19px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #fff0a6 100%);
  color: #101418;
  box-shadow: 0 0 22px rgba(255, 211, 77, .22);
}
.btn.secondary {
  background: rgba(255,255,255,.045);
  border-color: var(--line);
  color: var(--text);
}
.btn.secondary:hover { border-color: rgba(33, 243, 211, .65); box-shadow: 0 0 24px rgba(33, 243, 211, .13); }
.btn.accent { background: rgba(33, 243, 211, .12); color: var(--text); border-color: rgba(33, 243, 211, .45); box-shadow: 0 0 24px rgba(33, 243, 211, .12); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  padding: 92px 0 74px;
  background:
    radial-gradient(circle at 72% 22%, rgba(33, 243, 211, .16), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(255, 211, 77, .12), transparent 24%),
    linear-gradient(90deg, rgba(5,7,11,.98) 0%, rgba(5,7,11,.9) 56%, rgba(5,7,11,.76) 100%);
  border-bottom: 1px solid var(--line);
}

.hero .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(16px, 3.5vw, 56px);
  padding-right: 0;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(33, 243, 211, .16) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 211, 77, .12) 0 1px, transparent 1px 100%);
  background-size: 120px 120px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 242px);
  grid-template-columns: minmax(0, .95fr) minmax(420px, .62fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "copy photo"
    "trust photo";
  gap: 44px;
  align-items: end;
}

.hero-copy { grid-area: copy; align-self: center; max-width: 820px; }
.hero-trust { grid-area: trust; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(33, 243, 211, .34);
}
.eyebrow:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 211, 77, .7);
}

h1, h2, h3 { line-height: 1.08; letter-spacing: 0; margin: 0 0 18px; }
h1 { font-size: clamp(42px, 5.8vw, 66px); max-width: 780px; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 22px; }
.lead { font-size: 20px; color: var(--muted); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.trust-item, .card, .article-card, .admin-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.trust-item {
  padding: 16px;
  overflow: hidden;
}
.trust-item:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}
.trust-item strong { display: block; font-size: 26px; color: var(--accent); }

.hero-photo {
  grid-area: photo;
  position: relative;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  width: min(42vw, 620px);
  max-width: 620px;
  justify-self: end;
  align-self: end;
  padding-bottom: 0;
  margin-right: 0;
  margin-bottom: -74px;
}
.hero-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: min(76vh, 760px);
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(1.04) contrast(1.04) drop-shadow(0 28px 54px rgba(0,0,0,.72)) drop-shadow(0 0 22px rgba(33,243,211,.16));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.9) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.9) 94%, transparent 100%);
}
.hero-photo:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 6%;
  right: 0;
  top: 8%;
  bottom: 8%;
  border-radius: 34% 66% 54% 46%;
  background:
    radial-gradient(circle at 50% 40%, rgba(33,243,211,.2), transparent 58%),
    linear-gradient(135deg, rgba(33,243,211,.16), rgba(255,211,77,.1));
  filter: blur(22px);
}
.hero-photo:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 16%;
  right: 0;
  bottom: 46px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(33,243,211,.48), rgba(255,211,77,.18) 42%, transparent 72%);
  filter: blur(13px);
  box-shadow:
    0 0 34px rgba(33,243,211,.28),
    0 -20px 54px rgba(33,243,211,.1);
}

.section {
  padding: 76px 0;
  border-bottom: 1px solid rgba(148, 163, 184, .11);
}
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}
.section-head { max-width: 840px; margin-bottom: 30px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 23px;
  overflow: hidden;
}
.card:before, .article-card:before, .admin-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(33, 243, 211, .12), transparent 35%, rgba(255, 211, 77, .08));
  opacity: .86;
}
.card > *, .article-card > *, .admin-card > * { position: relative; z-index: 1; }
.card .icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  background: rgba(33, 243, 211, .1);
  border: 1px solid rgba(33, 243, 211, .38);
  color: var(--accent-2);
  border-radius: var(--radius);
  margin-bottom: 13px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(33, 243, 211, .12);
}

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.process span {
  position: relative;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  text-align: center;
  font-weight: 900;
  color: var(--muted);
}
.process span:after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-2);
  text-shadow: 0 0 14px rgba(33,243,211,.5);
}
.process span:last-child {
  color: #111;
  background: linear-gradient(135deg, var(--accent), #fff0a6);
}
.process span:last-child:after { content: ""; }

.benefits .section-head { max-width: 760px; }
.benefit-card { min-height: 170px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 28px;
  align-items: start;
}
.about-copy p { font-size: 19px; }
.about-card h3:not(:first-child) { margin-top: 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.tag-list span {
  padding: 8px 10px;
  border: 1px solid rgba(33,243,211,.28);
  border-radius: 999px;
  background: rgba(33,243,211,.08);
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
}
.faq-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(420px, .9fr);
  gap: 22px;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 17px 18px;
  font-weight: 900;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; float: right; color: var(--accent-2); }
.faq-item[open] summary:after { content: "−"; }
.faq-item p { padding: 0 18px 18px; margin: 0; }

.article-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 243, 211, .48);
  box-shadow: 0 18px 44px rgba(0,0,0,.25), 0 0 24px rgba(33, 243, 211, .12);
}
.article-card .meta { color: var(--accent-2); font-size: 14px; font-weight: 800; }
.article-card h3 { margin-bottom: 4px; }
.article-card p { color: var(--muted); }
.article-card .read { margin-top: auto; font-weight: 900; color: var(--accent); }

.form {
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  color: var(--text);
  font: inherit;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(33, 243, 211, .72);
  box-shadow: 0 0 0 3px rgba(33, 243, 211, .12);
}
input::placeholder, textarea::placeholder { color: var(--soft); }
textarea { min-height: 130px; resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.checkbox input { width: auto; margin-top: 6px; }
.inline-editing-ready [data-inline] {
  outline: 1px dashed rgba(33,243,211,.48);
  outline-offset: 4px;
  cursor: text;
}
.inline-editing-ready [data-inline]:focus {
  outline-color: var(--accent);
  background: rgba(255, 211, 77, .05);
}
.inline-save-error {
  outline-color: var(--danger) !important;
}

.breadcrumbs { padding: 22px 0 0; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--accent-2); }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}
.article-body {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: min(5vw, 44px);
  box-shadow: var(--shadow);
  font-size: 18px;
  line-height: 1.72;
}
.article-body > img:first-child {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.article-body h2 { margin-top: 42px; font-size: clamp(30px, 3.4vw, 42px); }
.article-body h3 { margin-top: 30px; font-size: 25px; }
.article-body p, .article-body li { color: #d5deec; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 7px; }
.article-body a { color: var(--accent-2); text-decoration: underline; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 24px 0;
  padding: 12px 18px;
  background: rgba(255, 211, 77, .09);
}
.article-body code {
  background: rgba(255,255,255,.1);
  padding: 2px 5px;
  border-radius: 4px;
}
.article-body pre { overflow: auto; padding: 16px; background: #020305; color: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.toc {
  position: sticky;
  top: 96px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--glow);
}
.toc a { display: block; color: var(--muted); margin: 8px 0; }
.note, .warning, .checklist-box {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 22px 0;
}
.note { background: rgba(33, 243, 211, .09); border-color: rgba(33, 243, 211, .28); }
.warning { background: rgba(255, 77, 141, .1); border-color: rgba(255, 77, 141, .28); }
.checklist-box { background: rgba(131, 255, 143, .08); border-color: rgba(131, 255, 143, .28); }

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: rgba(2, 3, 5, .92);
  color: #fff;
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-grid a { color: var(--accent); }

.admin-shell { min-height: 100vh; background: var(--bg); }
.admin-bar { background: rgba(2,3,5,.94); color: #fff; padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 28px 0; }
.admin-nav { display: grid; gap: 8px; align-content: start; }
.admin-nav a { padding: 10px 12px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.admin-card { padding: 20px; }
.table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: rgba(255,255,255,.075); }
.alert { padding: 12px 14px; border-radius: var(--radius); margin: 0 0 16px; background: rgba(131,255,143,.12); border: 1px solid rgba(131,255,143,.32); }
.alert.error { background: rgba(255,107,107,.12); border-color: rgba(255,107,107,.32); color: var(--danger); }

@media (max-width: 1040px) {
  .hero { padding-top: 64px; min-height: auto; }
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    padding: 16px;
    background: rgba(5, 7, 11, .96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .hero { padding-top: 42px; padding-bottom: 0; }
  .hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(136px, 40vw);
    grid-template-rows: auto auto;
    grid-template-areas:
      "copy copy"
      "trust photo";
    gap: 18px 14px;
    align-items: end;
  }
  .hero-copy { max-width: none; }
  .hero-photo {
    display: block;
    justify-self: end;
    align-self: end;
    width: min(42vw, 230px);
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .hero-photo img { max-height: 330px; object-position: center bottom; }
  .hero-photo:after { bottom: 4px; left: 10%; right: 0; }
  .trust { grid-template-columns: 1fr; }
  .hero-trust { align-self: end; gap: 10px; }
  .hero-trust .trust-item { padding: 13px 14px; }
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: 1fr; }
  .process span:after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%);
  }
  .process span:last-child:after { content: ""; }
  .about-grid, .faq-contact-grid, .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--max)); }
  .hero { padding-top: 34px; }
  .section { padding: 54px 0; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .logo .brand-logo { width: min(210px, 58vw); max-height: 48px; }
  h1 { font-size: clamp(38px, 11vw, 54px); }
  h2 { font-size: clamp(28px, 9vw, 38px); }
  .lead { font-size: 18px; }
  .hero-photo { width: min(44vw, 188px); }
  .hero-photo img { max-height: 270px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .card, .article-card { min-height: 0; }
  .article-body { padding: 22px; font-size: 16px; }
}

.tool-card { min-height: 320px; }
.tool-card.available {
  border-color: rgba(33, 243, 211, .42);
  box-shadow: 0 20px 54px rgba(0,0,0,.3), 0 0 28px rgba(33,243,211,.14);
}
.tool-card.locked {
  overflow: hidden;
}
.tool-card.locked > *:not(.soon-label) {
  filter: blur(5px);
  opacity: .34;
  user-select: none;
}
.soon-label {
  position: absolute;
  z-index: 2;
  inset: auto 18px 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 211, 77, .42);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, .8);
  color: var(--accent);
  font-weight: 900;
  text-align: center;
}
.tool-logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(33, 243, 211, .35);
  box-shadow: 0 0 24px rgba(33, 243, 211, .16);
  margin-bottom: 16px;
}
