/* SYS AUDIT shop. Palette taken from the logo/banner: deep navy, ice-blue glow, white strokes. */
:root {
  --bg: #060b18;
  --bg-2: #0a1428;
  --panel: #0d1a33;
  --panel-2: #11213f;
  --border: #1c3156;
  --border-hi: #2c4a7c;
  --text: #e9f0fc;
  --muted: #93a5c6;
  --dim: #5f7396;
  --accent: #4f86f7;
  --accent-hi: #9dbcff;
  --accent-lo: #2f62d4;
  --ice: #cfe0ff;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 14px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(900px 520px at 22% -8%, rgba(39, 84, 160, .45), transparent 65%),
    radial-gradient(700px 500px at 100% 10%, rgba(29, 58, 110, .35), transparent 60%),
    var(--bg);
  color: var(--text); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mono { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 13px; letter-spacing: .03em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
.page-pad { padding-top: 40px; padding-bottom: 64px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

/* ───── header ───── */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); background: rgba(6, 11, 24, .72); border-bottom: 1px solid rgba(44, 74, 124, .45); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .08em; }
.brand:hover { text-decoration: none; }
.logo-mark { filter: drop-shadow(0 0 8px rgba(157, 188, 255, .55)); flex: none; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav > a:not(.btn) { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.site-nav > a:not(.btn):hover, .site-nav > a.active { color: var(--text); background: rgba(79, 134, 247, .12); text-decoration: none; }
.inline-form { margin: 0; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 8px; width: 42px; height: 38px; padding: 9px 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--text); margin: 3px 0; border-radius: 2px; }

/* ───── buttons & forms ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 10px; border: 1px solid var(--border-hi); background: var(--panel-2); color: var(--text);
  font: 600 14.5px var(--font); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: #172c52; border-color: #3b5f99; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, #5b91fb, var(--accent-lo)); border-color: rgba(157, 188, 255, .35); color: #fff; box-shadow: 0 8px 24px -8px rgba(79, 134, 247, .7); }
.btn.primary:hover { background: linear-gradient(180deg, #74a3ff, #3b6fe0); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: rgba(79, 134, 247, .12); }
.btn.danger { color: var(--bad); }
.btn.danger:hover { background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .5); }
.btn.small { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.form small { font-weight: 400; }
input, select, textarea {
  width: 100%; font: 15px var(--font); color: var(--text); background: #081227; border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 134, 247, .25); }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.form .check { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.form .check input { width: 18px; height: 18px; accent-color: var(--accent); }
.checks-row { display: flex !important; gap: 20px; flex-wrap: wrap; }

.flash { border-radius: 10px; padding: 12px 16px; margin: 16px 0; border: 1px solid; font-size: 14px; }
.flash.ok { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .4); color: #a7f3d0; }
.flash.info { background: rgba(79, 134, 247, .1); border-color: rgba(79, 134, 247, .45); color: var(--ice); }
.flash.error { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .45); color: #fecaca; }

/* ───── cards ───── */
.card { background: linear-gradient(180deg, rgba(17, 33, 63, .85), rgba(11, 22, 43, .85)); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card h2 { font-size: 19px; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { display: grid; gap: 4px; padding: 18px 20px; }
.stat small { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.stat strong { font-size: 30px; font-family: var(--font-display); }
.stat strong.smaller { font-size: 20px; }
.empty { text-align: center; padding: 28px 8px; color: var(--muted); }
.note { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .3); color: #fde68a; font-size: 14px; }

/* ───── hero ───── */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent-hi); text-transform: uppercase; letter-spacing: .22em; font-size: 12.5px; font-weight: 700; margin-bottom: 12px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); text-shadow: 0 0 40px rgba(157, 188, 255, .25); }
.lead { font-size: 17.5px; color: #b8c8e4; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 10px var(--accent-hi); margin-right: 10px; }

.hero-visual { position: relative; min-height: 320px; }
.tool-mock { width: min(100%, 400px); margin-left: auto; border-radius: 12px; border: 1px solid var(--border-hi); background: radial-gradient(400px 240px at 35% 0%, #16305c, #070d1c); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(79, 134, 247, .35); overflow: hidden; }
.tool-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.tool-bar i { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: #1f3a66; box-shadow: -16px 0 0 #1f3a66; }
.tool-body { padding: 26px 34px 34px; text-align: center; }
.tool-body p { margin: 14px 0 12px; font-weight: 600; }
.tool-body small { color: var(--dim); font-size: 12px; }
.scan-logo { display: inline-block; animation: sweep 1.8s ease-in-out infinite alternate; }
.bar { height: 6px; border-radius: 3px; background: #162745; overflow: hidden; margin-bottom: 10px; }
.bar span { display: block; height: 100%; width: 62%; border-radius: 3px; background: linear-gradient(90deg, var(--accent-lo), var(--accent-hi)); animation: fill 4s ease-in-out infinite; }
.pin-mock { position: absolute; left: 0; bottom: 6px; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--border-hi); background: rgba(13, 26, 51, .92); box-shadow: var(--shadow); }
.pin-mock small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.pin-mock strong { font: 700 26px "Cascadia Mono", Consolas, monospace; letter-spacing: .14em; }
@keyframes sweep { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
@keyframes fill { 0% { width: 12%; } 70% { width: 88%; } 100% { width: 88%; } }

/* ───── sections ───── */
.section { padding: 80px 0; }
.section.alt { background: linear-gradient(180deg, rgba(13, 26, 51, .55), rgba(6, 11, 24, 0)); border-top: 1px solid rgba(28, 49, 86, .6); border-bottom: 1px solid rgba(28, 49, 86, .6); }
.section > .wrap > h2 { margin-bottom: 12px; }
.section .grid { margin-top: 36px; }
.feature { background: rgba(13, 26, 51, .6); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.feature p { color: var(--muted); margin: 0; font-size: 14.5px; }
.f-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; color: var(--ice); background: rgba(79, 134, 247, .14); border: 1px solid rgba(157, 188, 255, .25); margin-bottom: 14px; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(13, 26, 51, .5); }
.steps li > span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 700; background: linear-gradient(180deg, #5b91fb, var(--accent-lo)); margin-bottom: 12px; box-shadow: 0 0 20px rgba(79, 134, 247, .5); }
.steps p { color: var(--muted); margin: 0; }

/* ───── pricing ───── */
.plans { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(17, 33, 63, .9), rgba(10, 20, 40, .9)); }
.plan.featured { border-color: rgba(157, 188, 255, .55); box-shadow: 0 0 0 1px rgba(157, 188, 255, .2), 0 30px 70px -25px rgba(79, 134, 247, .55); }
.badge { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: linear-gradient(180deg, #5b91fb, var(--accent-lo)); color: #fff; }
.price { margin: 10px 0 18px; }
.price strong { font: 700 40px var(--font-display); }
.price span { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; flex: 1; align-content: start; }
.checks li { position: relative; padding-left: 26px; color: #c3d1ea; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent-hi); border-bottom: 2px solid var(--accent-hi); transform: rotate(-45deg); }
.checks.small li { font-size: 14px; }

/* ───── FAQ ───── */
details { border: 1px solid var(--border); border-radius: 12px; background: rgba(13, 26, 51, .55); margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; color: var(--accent-hi); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }
.cta { text-align: center; }
.cta h2 { font-size: clamp(26px, 3.5vw, 36px); }

/* ───── auth & checkout ───── */
.auth-wrap { display: grid; place-items: center; }
.auth-card { width: min(100%, 440px); padding: 32px; }
.auth-card h1 { font-size: 26px; margin-top: 6px; }
.auth-logo { display: flex; }
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.summary .plan-name { font: 700 22px var(--font-display); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 10px; }
.total strong { font: 700 26px var(--font-display); }

/* ───── dashboard & admin ───── */
.page-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-title h1 { margin: 0; }
.page-title .eyebrow { margin-bottom: 4px; }
.table-wrap { overflow-x: auto; margin: 0 -8px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); padding: 10px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px 8px; border-bottom: 1px solid rgba(28, 49, 86, .6); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions form { display: inline-block; margin: 0 0 0 6px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; border: 1px solid; white-space: nowrap; }
.st-active { color: #a7f3d0; border-color: rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .1); }
.st-awaiting_payment { color: #fde68a; border-color: rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .08); }
.st-expired, .st-cancelled { color: var(--muted); border-color: var(--border-hi); background: rgba(95, 115, 150, .1); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs a { padding: 10px 16px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--text); border-bottom-color: var(--accent-hi); }
.grid.stats.four { margin-bottom: 20px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filters input { flex: 1 1 240px; width: auto; }
.filters select { flex: 0 1 200px; width: auto; }
.plan-edit h2 { margin-bottom: 4px; }
.admin-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-color: rgba(157, 188, 255, .45); }
.admin-box h2, .admin-box p { margin: 0; }
.admin-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pc-box { border-color: rgba(157, 188, 255, .45); background: radial-gradient(600px 200px at 0% 0%, rgba(79, 134, 247, .18), transparent 70%), linear-gradient(180deg, rgba(17, 33, 63, .9), rgba(11, 22, 43, .9)); }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pc-head h2, .pc-head p { margin: 0 0 4px; }
.pc-head form { margin: 0; }
.team-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.team-actions { display: flex; gap: 6px; }
.team-actions form { margin: 0; }
.inline-add { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.inline-add input { flex: 1 1 260px; width: auto; }
.give-form { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.give-form select { width: auto; padding: 6px 8px; font-size: 13px; border-radius: 8px; }

/* ───── products & coming soon ───── */
.soon { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 99px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  vertical-align: 1px; color: #fde68a; background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .4); }
.soon.big { font-size: 13px; padding: 4px 14px; margin: 0 0 18px; letter-spacing: .12em; text-transform: uppercase; }
.products-section { padding-top: 24px; }
.product { position: relative; padding: 28px; border-radius: 18px; border: 1px solid var(--border-hi); background: linear-gradient(180deg, rgba(17, 33, 63, .9), rgba(10, 20, 40, .9)); }
.product h3 { font-size: 22px; margin-top: 14px; }
.product.upcoming { border-style: dashed; background: linear-gradient(180deg, rgba(17, 33, 63, .55), rgba(10, 20, 40, .55)); }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.status-tag { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid; }
.status-tag.live { color: #a7f3d0; border-color: rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .1); }
.status-tag.soon-tag { color: #fde68a; border-color: rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .08); }
.soon-hero { text-align: center; }
.soon-logo { display: flex; justify-content: center; margin-bottom: 12px; }
.center-block { margin-left: auto; margin-right: auto; }
.center-row { justify-content: center; }
.feature.planned { border-style: dashed; }

/* ───── prose ───── */
.prose h2 { font-size: 20px; margin-top: 28px; }
.prose p { color: #c3d1ea; }

/* ───── footer ───── */
.site-footer { border-top: 1px solid rgba(28, 49, 86, .7); padding: 32px 0; background: rgba(4, 8, 18, .6); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 6px 0 0; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 14px; }

/* ───── responsive ───── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .tool-mock { margin: 0 auto; }
  .checkout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 20px 18px; background: rgba(6, 11, 24, .97); border-bottom: 1px solid var(--border); }
  .site-nav.open { display: flex; }
  .site-nav .btn, .site-nav .inline-form .btn { width: 100%; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0; }
  .card { padding: 18px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .pin-mock { position: static; margin: 16px auto 0; width: fit-content; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
