:root {
  --bg: #061225;
  --ink: #eef5ff;
  --muted: #9db0cb;
  --panel: rgba(10, 27, 52, 0.82);
  --panel-strong: rgba(13, 34, 65, 0.95);
  --line: rgba(255, 255, 255, 0.1);
  --gold: #d8b35e;
  --gold-2: #f4d78a;
  --green: #29d59a;
  --danger: #ff6f81;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1180px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(244, 215, 138, 0.14), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(39, 145, 255, 0.16), transparent 27%),
    radial-gradient(circle at 76% 58%, rgba(41, 213, 154, 0.08), transparent 30%),
    linear-gradient(180deg, #081a32 0%, var(--bg) 58%, #030914 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(244, 215, 138, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 215, 138, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 58%);
}

body::after {
  content: "";
  position: fixed;
  right: -120px;
  top: 126px;
  z-index: -1;
  width: 760px;
  height: 520px;
  pointer-events: none;
  opacity: 0.62;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(244, 215, 138, 0.8) 42.2%, transparent 43.4%),
    linear-gradient(145deg, transparent 0 51%, rgba(30, 144, 255, 0.46) 51.2%, transparent 52.1%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(30, 144, 255, 0.12) 34px 48px, transparent 48px 68px);
  clip-path: polygon(0 72%, 100% 8%, 100% 100%, 0 100%);
}

a {
  color: inherit;
}

.topbar {
  width: 1180px;
  height: 116px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-mark {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 215, 138, 0.44);
  border-radius: 18px;
  background: rgba(3, 10, 22, 0.55);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 30px;
}

.brand small {
  color: var(--muted);
  font-size: 15px;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfdaec;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.nav-pill {
  min-width: 104px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #e9f2ff;
  background: linear-gradient(180deg, rgba(16, 38, 70, 0.92), rgba(5, 17, 34, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(0);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-pill:hover {
  border-color: rgba(244, 215, 138, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 34px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.nav-pill span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #071326;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  font-size: 12px;
  font-weight: 900;
}

.nav-cta {
  border-color: rgba(41, 213, 154, 0.36);
  color: #c9ffe9;
  background: rgba(41, 213, 154, 0.09);
}

main,
.footer {
  width: 1180px;
  margin: 0 auto;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 56px;
  align-items: center;
  padding: 38px 0 46px;
}

.hero-logo-row {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-logo-row span {
  border-left: 1px solid rgba(244, 215, 138, 0.42);
  padding-left: 18px;
  color: #d5e3f7;
  font-size: 13px;
  font-weight: 900;
}

.eyebrow {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 720px;
  font-size: 60px;
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-copy p {
  max-width: 660px;
  font-size: 19px;
}

.hero-actions,
.download-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.button,
button,
.plan-action {
  height: 50px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 34px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
button:hover,
.plan-action:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 24px 44px rgba(0, 0, 0, 0.32);
}

.button.primary,
button,
.plan-action {
  color: #071326;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
}

.button.secondary {
  color: #dfeaff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.trust-row {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-row span {
  border: 1px solid rgba(244, 215, 138, 0.2);
  border-radius: 999px;
  padding: 9px 12px;
  color: #d9e5f5;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 700;
}

.product-panel,
.register-card,
.plan-card,
.download-band,
.assurance article,
.result-card,
.legal-card,
.table-card,
.stats div {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.25);
}

.product-panel {
  border-radius: 18px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.product-panel::before {
  content: "";
  position: absolute;
  inset: -120px -80px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(244, 215, 138, 0.2);
  background: radial-gradient(circle, rgba(244, 215, 138, 0.18), transparent 58%);
}

.product-panel > * {
  position: relative;
}

.value-strip {
  margin: -10px 0 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.value-strip article {
  min-height: 154px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(12, 32, 61, 0.86), rgba(7, 18, 36, 0.76));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.value-strip span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #071326;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  font-weight: 900;
}

.value-strip h3 {
  margin: 16px 0 8px;
  color: #fff7d8;
}

.value-strip p {
  margin-bottom: 0;
  font-size: 14px;
}

.window-line {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.window-line span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.code-card,
.status-card,
.mini-grid div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(3, 10, 22, 0.46);
}

.code-card {
  padding: 28px 20px;
  text-align: center;
}

.code-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.code-card strong {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 54px;
  letter-spacing: 10px;
}

.status-card {
  margin-top: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c7ffe9;
  font-weight: 800;
}

.pulse {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(41, 213, 154, 0.12);
}

.mini-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-grid div {
  padding: 16px;
}

.mini-grid b,
.mini-grid small {
  display: block;
}

.mini-grid b {
  font-size: 24px;
}

.mini-grid small {
  color: var(--muted);
}

.section {
  padding: 46px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.plan-card {
  min-height: 330px;
  border-radius: 16px;
  padding: 18px;
}

.plan-card.featured {
  border-color: rgba(244, 215, 138, 0.55);
  background: linear-gradient(180deg, rgba(216, 179, 94, 0.16), rgba(10, 27, 52, 0.9));
}

.plan-topline span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  color: #071326;
  background: var(--gold-2);
  font-size: 11px;
  font-weight: 900;
}

.plan-card h3 {
  margin: 18px 0 10px;
  font-size: 19px;
}

.plan-price {
  color: var(--gold-2);
  font-size: 25px;
  font-weight: 900;
}

.plan-price small {
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}

.plan-card p {
  min-height: 70px;
  font-size: 13px;
}

ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: #cbd8ea;
  font-size: 13px;
  line-height: 1.7;
}

.plan-action {
  width: 100%;
  height: 40px;
}

.download-band,
.signup-section {
  margin: 42px 0;
  border-radius: 18px;
}

.download-band {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.setup-notes {
  width: 430px;
  display: grid;
  gap: 10px;
}

.setup-notes span {
  border: 1px solid rgba(244, 215, 138, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  color: #dfeaff;
  background: rgba(3, 10, 22, 0.36);
  font-size: 14px;
  font-weight: 800;
}

.signup-section {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 30px;
  align-items: stretch;
}

.signup-copy {
  padding: 30px;
}

.legal-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.legal-links a {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.renewal-offer {
  margin-top: 22px;
  border: 1px solid rgba(244, 215, 138, 0.24);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(244, 215, 138, 0.12), rgba(3, 10, 22, 0.28));
}

.renewal-offer strong,
.renewal-offer span {
  display: block;
}

.renewal-offer strong {
  color: var(--gold-2);
  margin-bottom: 6px;
}

.renewal-offer span {
  color: #d7e3f4;
  font-size: 14px;
  line-height: 1.45;
}

.register-card {
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input {
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  outline: none;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(3, 10, 22, 0.48);
}

select {
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  outline: none;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(3, 10, 22, 0.9);
}

.register-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.notice {
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.notice.success {
  color: #c8ffe8;
  border: 1px solid rgba(41, 213, 154, 0.28);
  background: rgba(41, 213, 154, 0.09);
}

.notice.error {
  color: #ffd1d8;
  border: 1px solid rgba(255, 111, 129, 0.3);
  background: rgba(255, 111, 129, 0.1);
}

.assurance {
  padding: 28px 0 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.assurance article {
  border-radius: 16px;
  padding: 22px;
}

.footer {
  height: 74px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-links a {
  color: #dbe6f7;
  text-decoration: none;
  font-weight: 700;
}

.center-shell,
.legal-shell,
.purchase-shell {
  width: 900px;
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.result-card,
.legal-card {
  border-radius: 18px;
  padding: 32px;
}

.legal-shell {
  display: block;
  padding: 64px 0;
}

.purchase-shell {
  width: 1180px;
  display: block;
  padding: 54px 0;
}

.purchase-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: stretch;
}

.payment-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  background: var(--panel);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.25);
}

.payment-card h1 {
  max-width: none;
  margin: 10px 0 18px;
  font-size: 42px;
}

.iban-box {
  margin-top: 26px;
  border: 1px solid rgba(244, 215, 138, 0.3);
  border-radius: 14px;
  padding: 18px;
  background: rgba(244, 215, 138, 0.08);
}

.iban-box span,
.iban-box strong,
.iban-box small {
  display: block;
}

.iban-box span,
.iban-box small {
  color: var(--muted);
  font-weight: 800;
}

.iban-box strong {
  margin: 8px 0;
  color: var(--gold-2);
  font-size: 28px;
  letter-spacing: 0.03em;
}

.payment-note {
  margin-top: 16px;
  color: #dce8f8;
  font-size: 15px;
  line-height: 1.55;
}

.purchase-form {
  min-height: 100%;
}

.back-link {
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 900;
}

.legal-card {
  margin-top: 18px;
}

.admin-shell {
  width: 1180px;
  margin: 0 auto;
  padding: 46px 0;
}

.admin-shell header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-logo {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(244, 215, 138, 0.42);
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(3, 10, 22, 0.55);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.admin-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-title-row h1 {
  margin-bottom: 6px;
  max-width: none;
  font-size: 54px;
  line-height: 1;
}

.admin-subtitle {
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 900;
}

.admin-current-user {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-notice {
  margin-top: 18px;
}

.stats {
  margin: 22px 0 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.stats div {
  border-radius: 14px;
  padding: 18px;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 32px;
}

.stats span {
  color: var(--muted);
}

.table-card {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  margin-bottom: 18px;
}

.chart-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(13, 34, 65, 0.94), rgba(6, 18, 37, 0.88));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.24);
}

.chart-card h2 {
  font-size: 24px;
}

.plan-meter {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
  align-items: center;
}

.plan-meter strong,
.plan-meter span {
  display: block;
}

.plan-meter strong {
  font-size: 13px;
}

.plan-meter span {
  color: var(--muted);
  font-size: 12px;
}

.plan-meter i {
  height: 18px;
  border-radius: 999px;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.38);
}

.plan-meter b {
  height: 100%;
  min-width: 7px;
  border-radius: inherit;
  display: block;
  background: linear-gradient(90deg, var(--gold), var(--green));
  box-shadow: 0 0 22px rgba(244, 215, 138, 0.28);
}

.renewal-card article {
  margin-top: 12px;
  border: 1px solid rgba(244, 215, 138, 0.18);
  border-radius: 14px;
  padding: 14px;
  background: rgba(244, 215, 138, 0.08);
}

.renewal-card strong,
.renewal-card span,
.renewal-card em {
  display: block;
}

.renewal-card span {
  color: var(--muted);
  margin: 4px 0;
}

.renewal-card em {
  color: var(--gold-2);
  font-style: normal;
  font-weight: 800;
}

.table-title {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.table-title h2 {
  margin: 0;
  font-size: 22px;
}

.table-title span {
  color: var(--muted);
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.04);
}

td {
  color: #dbe7f7;
}

td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.status-chip {
  border-radius: 999px;
  padding: 5px 9px;
  color: #dff2ff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.status-chip.active,
.status-chip.trial,
.status-chip.internal {
  color: #bfffe8;
  background: rgba(41, 213, 154, 0.14);
}

.table-link {
  color: var(--gold-2);
  font-weight: 900;
  text-decoration: none;
}

.inline-form {
  margin: 0;
}

.inline-form button {
  height: 36px;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 12px;
}

.password-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.password-form input {
  width: 150px;
  height: 36px;
  font-size: 12px;
}

.admin-user-form {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.15fr 1fr 150px 1fr 150px;
  gap: 12px;
  align-items: end;
}

.admin-user-form label {
  min-width: 0;
}

.admin-user-form button {
  height: 44px;
  border-radius: 10px;
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(255, 111, 129, 0.1);
}

.online-dot.on {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(41, 213, 154, 0.1);
}

code {
  color: #bfffe8;
}

.concept-shell {
  width: 1180px;
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-items: center;
}

.concept-hero {
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: center;
  background: rgba(10, 27, 52, 0.68);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.32);
}

.concept-hero h1 {
  max-width: 690px;
}

.concept-stack {
  display: grid;
  gap: 14px;
}

.concept-stack div {
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: rgba(3, 10, 22, 0.38);
  font-size: 22px;
  font-weight: 900;
}

.concept-b .concept-hero {
  background:
    linear-gradient(135deg, rgba(41, 213, 154, 0.12), transparent 34%),
    rgba(10, 27, 52, 0.74);
}

.concept-c .concept-hero {
  background:
    linear-gradient(135deg, rgba(216, 179, 94, 0.22), transparent 38%),
    rgba(5, 15, 32, 0.9);
}
