@font-face {
  font-family: 'CustomPanelFont';
  src: local('Aremat');
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #030303;
  color: #f5f5f5;
  font-family: 'CustomPanelFont', 'Trebuchet MS', Arial, sans-serif;
}

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

.landing-body { min-height: 100vh; }
.plain-body { min-height: 100vh; }

.landing-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(320px, 360px);
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 24px 18px 24px 18px;
}

.brand-column {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.brand-inner {
  max-width: 500px;
  padding-left: 16px;
}

.hero-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 18px;
}

.brand-name {
  margin: 0 0 12px;
  font-size: 58px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: lowercase;
}

.hero-copy {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.small-button {
  min-width: 102px;
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #151515 0%, #0e0e0e 100%);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  transition: 0.2s ease;
}

.small-button:hover {
  border-color: rgba(140, 82, 255, 0.45);
}

.ghost-button {
  background: #0f0f0f;
}

.auth-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-column-offset {
  transform: translateX(-44px);
}

.auth-card {
  width: 100%;
  max-width: 320px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: #070707;
  border: 1px solid rgba(255,255,255,0.06);
}

.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.switch-btn {
  height: 38px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #101010;
  color: rgba(255,255,255,0.68);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
}

.switch-btn.active {
  color: #fff;
  border-color: rgba(131, 71, 255, 0.55);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-title {
  text-align: center;
  margin: 6px 0 16px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.auth-form input {
  width: 100%;
  height: 48px;
  margin-bottom: 12px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(126, 68, 255, 1);
  color: #fff;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  padding: 0 2px;
}

.auth-form input::placeholder {
  color: rgba(255,255,255,0.42);
}

.submit-button {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #111111 0%, #171328 100%);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
}

.notice {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.notice.error {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.26);
}

.notice.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.26);
}

.page-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.top-line,
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.dash-top h1,
.pricing-wrap h1 {
  margin: 0 0 8px;
  font-size: 36px;
}

.dash-top p {
  margin: 0;
  color: rgba(255,255,255,0.62);
}

.pricing-wrap {
  max-width: 720px;
}

.pricing-list {
  display: grid;
  gap: 12px;
}

.price-row,
.panel-box,
.table-wrap {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
}

.price-name {
  font-size: 18px;
  margin-bottom: 4px;
}

.price-desc {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}

.price-value {
  font-size: 24px;
  font-weight: 700;
}

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

.panel-box {
  padding: 18px;
}

.muted {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.58);
}

.table-wrap {
  overflow: auto;
  padding: 6px 12px;
}

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

th, td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

th {
  color: rgba(255,255,255,0.56);
  font-weight: 500;
}

@media (max-width: 900px) {
  .landing-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 40px;
  }

  .auth-column-offset {
    transform: none;
  }

  .brand-inner {
    padding-left: 0;
  }

  .brand-name {
    font-size: 46px;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }
}
