:root {
  --bg: #050606;
  --panel: #111515;
  --panel-2: #191d1b;
  --text: #f4f1e8;
  --muted: #a9aaa0;
  --line: rgba(245, 241, 226, 0.16);
  --green: #7cff49;
  --red: #e2312b;
  --amber: #f1b24a;
  --danger: #ff6b62;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(124, 255, 73, 0.035), transparent 340px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  align-items: center;
  background: rgba(5, 6, 6, 0.88);
  border-bottom: 1px solid rgba(124, 255, 73, 0.22);
  display: flex;
  height: 66px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 58px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 12px;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--red), #77110f);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  color: var(--text);
  display: inline-flex;
  font-size: 19px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  transform: rotate(-3deg);
  width: 34px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--green);
}

.hero {
  min-height: 94vh;
  overflow: hidden;
  position: relative;
}

.hero-image {
  filter: saturate(1.16) contrast(1.08);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    radial-gradient(circle at 82% 48%, rgba(226, 49, 43, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(5, 6, 6, 0.98) 0%, rgba(5, 6, 6, 0.87) 37%, rgba(5, 6, 6, 0.35) 72%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 6, 0) 30%);
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 760px;
  padding: 138px clamp(20px, 5vw, 70px) 84px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  color: var(--text);
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 740px;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  margin-bottom: 16px;
  text-transform: uppercase;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  color: #e9e5d7;
  font-size: 19px;
  max-width: 650px;
}

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

.signal-row span {
  background: rgba(124, 255, 73, 0.08);
  border: 1px solid rgba(124, 255, 73, 0.28);
  border-radius: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  padding: 9px 12px;
  text-transform: uppercase;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  text-transform: uppercase;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), #d5ff5a);
  box-shadow: 0 0 0 1px rgba(124, 255, 73, 0.28), 0 14px 40px rgba(124, 255, 73, 0.16);
  color: #071007;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(244, 241, 232, 0.22);
  color: var(--text);
}

.button.compact {
  min-height: 44px;
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.band {
  border-top: 1px solid var(--line);
  padding: 74px clamp(20px, 5vw, 70px);
}

.split {
  background:
    linear-gradient(90deg, rgba(226, 49, 43, 0.08), transparent 46%),
    #080a0a;
}

.split,
.app-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
}

.price-panel,
.auth-panel,
.license-panel,
.columns article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
}

.price-panel {
  border-left-color: var(--red);
}

.price {
  color: var(--green);
  font-size: 92px;
  font-weight: 950;
  line-height: 0.9;
  text-shadow: 0 0 28px rgba(124, 255, 73, 0.2);
}

ul {
  color: var(--text);
  line-height: 2;
  margin: 18px 0 0;
  padding-left: 20px;
}

li::marker {
  color: var(--green);
}

.tabs {
  background: #080a0a;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
  padding: 4px;
}

.tab {
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 40px;
  text-transform: uppercase;
}

.tab.active {
  background: var(--green);
  color: #071007;
}

label {
  color: #eee9db;
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

input {
  background: #050606;
  border: 1px solid rgba(244, 241, 232, 0.2);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  min-height: 46px;
  outline: none;
  padding: 0 12px;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(124, 255, 73, 0.1);
}

.message {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 0;
  min-height: 22px;
}

.message.error {
  color: var(--danger);
}

.message.ok {
  color: var(--green);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  background: rgba(124, 255, 73, 0.09);
  border: 1px solid rgba(124, 255, 73, 0.34);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 11px;
  text-transform: uppercase;
}

.pill.muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--muted);
}

.pill.pending {
  background: rgba(241, 178, 74, 0.1);
  border-color: rgba(241, 178, 74, 0.35);
  color: var(--amber);
}

.columns {
  background: #070808;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 70px);
}

.admin-page {
  padding-top: 120px;
}

.admin-list-section {
  padding-top: 0;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  min-width: 880px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 6, 6, 0.96), rgba(5, 6, 6, 0.72)),
      linear-gradient(0deg, var(--bg), rgba(5, 6, 6, 0) 28%);
  }

  .hero-content {
    padding-top: 116px;
  }

  .split,
  .app-grid,
  .columns {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}
