@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/anton.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/archivo.woff2') format('woff2');
}

:root {
  --bg-0: #0a0714;
  --bg-1: #120a22;
  --panel: #160e29;
  --panel-2: #1b1233;
  --border: rgba(168,85,247,.35);
  --accent: #a855f7;
  --accent-2: #ec4899;
  --ink: #f3eefc;
  --ink-soft: #b6acce;
  --ink-faint: #857a9c;
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #3a3050;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  display: flex;
  justify-content: center;
  padding: 28px 12px;
}

.no-print {
  position: fixed; top: 16px; right: 16px; z-index: 50;
  display: flex; gap: 10px;
}
.no-print button {
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 10px 18px; cursor: pointer; box-shadow: 0 8px 24px rgba(168,85,247,.4);
}
.no-print button.ghost { background: rgba(255,255,255,.1); }

.page {
  width: 850px;
  max-width: 100%;
  background:
    radial-gradient(ellipse 900px 500px at 20% 0%, rgba(168,85,247,.20), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 30%, rgba(236,72,153,.14), transparent 55%),
    radial-gradient(ellipse 800px 600px at 0% 100%, rgba(124,58,237,.14), transparent 55%),
    linear-gradient(160deg, var(--bg-1), var(--bg-0) 60%);
  border-radius: 22px;
  padding: 30px 34px 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

/* ── Header ── */
.header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 26px; color: #fff;
  box-shadow: 0 8px 22px rgba(168,85,247,.45);
}
.brand-text .name { font-family: var(--font-display); font-size: 26px; letter-spacing: .5px; line-height: 1; }
.brand-text .tag { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.brand-text .tag b { color: var(--accent); font-weight: 800; }

.modules-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 16px; max-width: 230px;
}
.modules-badge .cube {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.modules-badge .n { font-family: var(--font-display); font-size: 16px; line-height: 1.15; }
.modules-badge .l { font-size: 10px; color: var(--ink-soft); line-height: 1.3; margin-top: 1px; }

/* ── Hero ── */
.hero {
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px 26px; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 34px; line-height: 1.08; letter-spacing: .3px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 13px; color: var(--ink-soft); margin-top: 10px; max-width: 720px; line-height: 1.5; }

/* ── Category sections ── */
.cat { border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px 18px; margin-bottom: 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  break-inside: avoid; page-break-inside: avoid; }
.cat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cat-head .num {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; color: #fff;
}
.cat-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 16.5px; letter-spacing: .8px; text-transform: uppercase; }

.mod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.mod { display: flex; gap: 10px; align-items: flex-start; }
.mod .ic {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; margin-top: 1px;
  background: rgba(168,85,247,.16); border: 1px solid rgba(168,85,247,.3);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.mod h3 { font-size: 12.5px; font-weight: 800; line-height: 1.25; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mod p { font-size: 10.7px; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }
.diff {
  display: inline-block; font-size: 7px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: #fff; background: linear-gradient(100deg, var(--accent), var(--accent-2));
  border-radius: 999px; padding: 2.5px 6px; line-height: 1;
}

/* ── Footer ── */
.footer {
  display: flex; align-items: center; gap: 18px; margin-top: 18px;
  background: linear-gradient(100deg, rgba(168,85,247,.18), rgba(236,72,153,.12));
  border: 1px solid var(--border); border-radius: 18px; padding: 18px 22px;
  break-inside: avoid; page-break-inside: avoid;
}
.footer .rocket { font-size: 44px; flex-shrink: 0; filter: drop-shadow(0 6px 14px rgba(168,85,247,.5)); }
.footer .cta { flex: 1; min-width: 0; }
.footer .cta h2 { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.15; }
.footer .cta h2 .grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer .checks { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.footer .checks span { font-size: 11px; color: var(--ink-soft); display: flex; align-items: center; gap: 5px; }
.footer .checks span::before { content: '✓'; color: var(--accent); font-weight: 900; }

.footer .whats {
  background: rgba(0,0,0,.28); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 16px; text-align: center; flex-shrink: 0;
}
.footer .whats .num { font-family: var(--font-display); font-size: 15px; white-space: nowrap; }
.footer .whats .lbl { font-size: 9.5px; color: var(--accent); font-weight: 800; margin-top: 2px; }

.footer .qr-box { flex-shrink: 0; text-align: center; }
.footer .qr-box img {
  width: 76px; height: 76px; border-radius: 8px; background: #fff; padding: 5px; display: block;
}
.footer .qr-box .l { font-size: 8px; font-weight: 800; color: var(--accent); text-transform: uppercase; margin-top: 5px; letter-spacing: .4px; max-width: 86px; line-height: 1.3; }

@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  @page { size: A4 portrait; margin: 0; }
  html, body { background: #fff; padding: 0; }
  .no-print { display: none !important; }
  .page { width: 210mm; min-height: 297mm; border-radius: 0; box-shadow: none; padding: 14mm 13mm; }
}
