:root {
  --bg-body: #0f1012;
  --bg-sidebar: #16181c;
  --bg-topbar: #1b1e23;
  --bg-panel: #20242a;
  --bg-panel-soft: #272c33;
  --bg-panel-strong: #1a1d22;
  --line: #3a3f47;
  --line-soft: #2f333a;
  --text: #f2f4f6;
  --muted: #b0b5bc;
  --muted-2: #8f949c;
  --accent: #ff8c1a;
  --accent-2: #ff6a00;
  --success: #18c47b;
  --warning: #ff9f43;
  --danger: #ff5e73;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --shadow-soft: 0 12px 40px rgba(4, 8, 30, 0.45);
  --shadow-glow: 0 0 0 1px rgba(255, 62, 146, 0.24), 0 20px 38px rgba(143, 102, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Sora', sans-serif;
  color: var(--text);
  background-color: var(--bg-body);
  background:
    radial-gradient(960px 480px at 8% -10%, rgba(255, 140, 26, 0.16), transparent 62%),
    radial-gradient(780px 420px at 92% 2%, rgba(255, 106, 0, 0.12), transparent 58%),
    linear-gradient(180deg, #121316 0%, #0f1012 100%);
  overflow-x: clip;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.topbar__title,
.hero-card h1,
.hero-card h2,
.hero-card h3,
.card-head h3,
.metric-card strong,
.auth-card h1,
.visual-card h3,
.landing-hero h1,
.landing-head h2,
.landing-card h3,
.pricing-card h3,
.pricing-card strong,
.landing-cta-band h2 {
  font-family: 'Nunito', 'Sora', sans-serif;
  font-weight: 800;
}

.panel-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 232px;
  background: linear-gradient(180deg, #0c143b 0%, #0a1235 100%);
  border-right: 1px solid var(--line-soft);
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 45;
  transition: transform 0.24s ease;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  min-height: 56px;
  padding: 0 10px;
}

.sidebar__brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(255, 62, 146, 0.44);
}

.sidebar__subtitle {
  margin: 0 0 14px;
  padding: 0 10px;
  color: var(--muted-2);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.menu {
  display: grid;
  gap: 0.26rem;
}

.menu__item {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.55rem 0.72rem;
  color: #c9d3f9;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.menu__item:hover {
  border-color: #32407a;
  background: rgba(130, 150, 255, 0.08);
}

.menu__item.is-active {
  border-color: rgba(255, 62, 146, 0.38);
  background: linear-gradient(145deg, rgba(255, 62, 146, 0.16), rgba(143, 102, 255, 0.15));
  box-shadow: inset 0 0 0 1px rgba(255, 62, 146, 0.18);
  color: #fff;
}

.menu__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a9b6e8;
}

.sidebar__social {
  margin-top: auto;
  display: flex;
  gap: 0.45rem;
  padding: 0.5rem 0.25rem 0.1rem;
}

.dot-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #33407a;
  background: #121b47;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d4ddff;
}

.dot-btn.whatsapp {
  color: #41d483;
}

.dot-btn.telegram {
  color: #5fa9ff;
}

.dot-btn.youtube {
  color: #ff6073;
}

.content-shell {
  margin-left: 232px;
  width: calc(100% - 232px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 72px;
  background: rgba(15, 22, 63, 0.84);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.topbar__title {
  margin: 0;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__subtitle {
  margin: 0.15rem 0 0;
  color: var(--muted-2);
  font-size: 0.79rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.44rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #34437c;
  background: linear-gradient(180deg, #1a2458, #151e4a);
  color: #d3dcff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: #44559a;
}

.balance-pill,
.user-pill {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid #34437c;
  background: linear-gradient(180deg, #1a2458, #141d47);
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.85rem;
  gap: 0.45rem;
}

.user-pill__avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #ff6f5f);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.main-content {
  padding: 20px;
}

.section-stack {
  display: grid;
  gap: 16px;
}

.panel-card,
.hero-card,
.table-card,
.form-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 30, 76, 0.98), rgba(14, 24, 67, 0.98));
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: 24px 24px 22px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 240px;
  right: -100px;
  top: -80px;
  background: radial-gradient(circle, rgba(255, 62, 146, 0.36), transparent 62%);
  pointer-events: none;
}

.hero-card h1,
.hero-card h2,
.hero-card h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.01em;
}

.hero-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  max-width: 720px;
}

.hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
  grid-column: span 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(24, 36, 88, 0.96), rgba(18, 28, 70, 0.96));
  padding: 16px;
}

.metric-card small {
  display: block;
  color: var(--muted-2);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  margin-top: 0.52rem;
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
}

.metric-card em {
  margin-top: 0.48rem;
  display: block;
  color: #7484bf;
  font-size: 0.78rem;
  font-style: normal;
}

.metric-card--compact {
  grid-column: span 1;
  padding: 12px;
}

.metric-card--compact strong {
  font-size: 1.16rem;
  margin-top: 0.42rem;
}

.panel-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 12px;
}

.panel-two-col--equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-card,
.form-card,
.info-card {
  padding: 14px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 2px 2px 10px;
}

.card-head h3 {
  margin: 0;
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

.card-head p {
  margin: 0.25rem 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.table-toolbar,
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill,
.pill-btn {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid #32417a;
  background: #151f4d;
  color: #d5ddff;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
}

.pill.is-active,
.pill-btn.is-active,
.pill-btn:hover {
  border-color: rgba(255, 62, 146, 0.44);
  background: linear-gradient(145deg, rgba(255, 62, 146, 0.26), rgba(143, 102, 255, 0.2));
}

.search-shell {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #33427b;
  background: #111a44;
  min-height: 40px;
  overflow: hidden;
}

.search-shell input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0 12px;
  min-height: 40px;
}

.search-shell input::placeholder {
  color: #7988be;
}

.search-shell button {
  width: 40px;
  min-height: 40px;
  border: 0;
  border-left: 1px solid #314077;
  background: #1a2456;
  color: #d2dcff;
}

.table-scroll {
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.premium-table thead th {
  background: #1a2457;
  color: #b6c4f3;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
}

.premium-table tbody td {
  padding: 12px;
  border-bottom: 1px solid #202b58;
  color: #d6defe;
  font-size: 0.88rem;
  vertical-align: top;
}

.premium-table tbody tr:hover {
  background: rgba(129, 149, 255, 0.08);
}

.premium-table tbody tr:last-child td {
  border-bottom: 0;
}

.id-chip,
.price-chip {
  border-radius: 999px;
  border: 1px solid #39498a;
  background: #1f2a61;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.82rem;
  color: #edf1ff;
}

.status-chip {
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.status-chip.pending,
.status-chip.processing,
.status-chip.inprogress {
  color: #ffd79c;
  background: rgba(255, 159, 67, 0.18);
  border-color: rgba(255, 159, 67, 0.36);
}

.status-chip.completed,
.status-chip.approved,
.status-chip.active,
.status-chip.open,
.status-chip.answered {
  color: #8affcb;
  background: rgba(24, 196, 123, 0.15);
  border-color: rgba(24, 196, 123, 0.3);
}

.status-chip.partial {
  color: #9ec0ff;
  background: rgba(95, 169, 255, 0.16);
  border-color: rgba(95, 169, 255, 0.36);
}

.status-chip.canceled,
.status-chip.failed,
.status-chip.rejected,
.status-chip.suspended,
.status-chip.closed,
.status-chip.refunded {
  color: #ffb2be;
  background: rgba(255, 94, 115, 0.18);
  border-color: rgba(255, 94, 115, 0.36);
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form {
  display: grid;
  gap: 12px;
}

.label,
.form label {
  display: grid;
  gap: 0.4rem;
  color: #9ca9d7;
  font-size: 0.82rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #34437c;
  border-radius: var(--radius-sm);
  background: #151f4f;
  color: #ebefff;
  min-height: 44px;
  padding: 0.62rem 0.78rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 62, 146, 0.52);
  box-shadow: 0 0 0 3px rgba(255, 62, 146, 0.16);
}

input::placeholder,
textarea::placeholder {
  color: #7382bb;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-ghost {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-primary {
  color: #fff;
  border-color: rgba(255, 62, 146, 0.42);
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  color: #dce4ff;
  border-color: #394a89;
  background: #1c275f;
}

.btn-ghost {
  color: #c9d3f9;
  border-color: #3a4a88;
  background: transparent;
}

.btn-danger {
  color: #ffd4da;
  border-color: rgba(255, 94, 115, 0.46);
  background: rgba(255, 94, 115, 0.16);
}

.btn-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.info-row {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #33427b;
  background: #151f4f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0 12px;
}

.alert {
  border-radius: 13px;
  border: 1px solid;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.alert + .alert {
  margin-top: 8px;
}

.alert-success {
  color: #96ffd0;
  border-color: rgba(24, 196, 123, 0.44);
  background: rgba(24, 196, 123, 0.14);
}

.alert-error {
  color: #ffbfca;
  border-color: rgba(255, 94, 115, 0.45);
  background: rgba(255, 94, 115, 0.16);
}

.alert ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.divider {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 12px 0;
}

.info-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #c8d2f9;
  display: grid;
  gap: 0.35rem;
}

.ticket-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.ticket-item {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(19, 28, 73, 0.85);
  padding: 12px;
}

.ticket-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.ticket-item h4 {
  margin: 0.8rem 0 0.4rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
}

.code-block {
  margin: 0;
  border-radius: 12px;
  border: 1px solid #31407a;
  background: #0f173d;
  color: #d8e1ff;
  padding: 14px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.55;
}

.dialog {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
}

.dialog[hidden] {
  display: none;
}

.dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 26, 0.76);
}

.dialog__card {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 24px));
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 30, 76, 0.98), rgba(14, 24, 67, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.no-scroll {
  overflow: hidden;
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 24px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid #3a4b88;
  background: #1a2558;
  color: #dce4ff;
  font-size: 0.75rem;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pager a,
.pager span {
  min-height: 34px;
  min-width: 34px;
  border-radius: 9px;
  border: 1px solid #34437b;
  background: #141e4b;
  color: #d1dbff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 0.82rem;
}

.pager .is-active {
  border-color: rgba(255, 62, 146, 0.46);
  background: linear-gradient(145deg, rgba(255, 62, 146, 0.42), rgba(143, 102, 255, 0.32));
}

.pager .is-disabled {
  opacity: 0.45;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(860px 400px at -10% -10%, rgba(255, 62, 146, 0.2), transparent 60%),
    radial-gradient(880px 480px at 120% 8%, rgba(143, 102, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #060d2d 0%, #050b23 100%);
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.auth-card {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 28, 70, 0.95), rgba(14, 24, 65, 0.95));
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.18rem;
}

.auth-card h1 {
  margin: 8px 0 0;
  font-family: 'Space Grotesk', sans-serif;
}

.auth-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 10px;
  color: #a8b5e7;
  font-size: 0.82rem;
}

.auth-card .btn-primary {
  width: 100%;
}

.auth-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line-soft);
  overflow: hidden;
}

.auth-visual::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 102, 255, 0.3), transparent 66%);
  filter: blur(10px);
}

.visual-card {
  width: min(460px, calc(100% - 56px));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(20, 31, 80, 0.94), rgba(12, 22, 57, 0.94));
  box-shadow: var(--shadow-soft);
  position: relative;
}

.visual-card h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.38rem;
}

.visual-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.growth-chart {
  margin-top: 16px;
  height: 190px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 62, 146, 0.09), transparent),
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 28px,
      rgba(156, 175, 255, 0.08) 28px,
      rgba(156, 175, 255, 0.08) 29px
    );
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px;
}

.growth-bar {
  flex: 1;
  min-height: 30px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, rgba(255, 62, 146, 0.9), rgba(143, 102, 255, 0.78));
  box-shadow: 0 8px 20px rgba(255, 62, 146, 0.3);
}

.floating-badge {
  position: absolute;
  border-radius: 999px;
  border: 1px solid #3a4b88;
  background: #172258;
  color: #dce4ff;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 12px;
  box-shadow: var(--shadow-soft);
}

.floating-badge.badge-a {
  top: 20px;
  right: 20px;
}

.floating-badge.badge-b {
  left: -14px;
  bottom: 18px;
}

.page-footer {
  margin-top: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #121b47;
  color: #7f8dbe;
  font-size: 0.78rem;
  padding: 8px 12px;
}

.landing-body {
  min-height: 100vh;
  background:
    radial-gradient(760px 440px at 8% -8%, rgba(255, 62, 146, 0.18), transparent 62%),
    radial-gradient(860px 520px at 92% 8%, rgba(143, 102, 255, 0.2), transparent 64%),
    linear-gradient(180deg, #060d2d 0%, #050b23 100%);
}

.landing-wrap {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.landing-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 74px;
  background: rgba(10, 17, 48, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.landing-topbar .landing-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.landing-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border: 1px solid #304079;
  border-radius: 999px;
  background: #111b48;
  padding: 4px;
}

.landing-nav a {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  color: #b5c1ee;
  font-size: 0.84rem;
}

.landing-nav a:hover {
  color: #fff;
  background: rgba(140, 160, 255, 0.16);
}

.landing-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.landing-main {
  padding: 14px 0 36px;
}

.landing-section {
  padding: 18px 0;
}

.reveal {
  animation: reveal-up 0.66s ease both;
}

.reveal:nth-of-type(2) {
  animation-delay: 0.08s;
}

.reveal:nth-of-type(3) {
  animation-delay: 0.12s;
}

.reveal:nth-of-type(4) {
  animation-delay: 0.16s;
}

.reveal:nth-of-type(5) {
  animation-delay: 0.2s;
}

.landing-hero {
  padding-top: 30px;
}

.landing-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  align-items: center;
}

.landing-hero__grid > * {
  min-width: 0;
}

.landing-badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 62, 146, 0.44);
  background: rgba(255, 62, 146, 0.13);
  color: #ffd3e7;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0 12px;
}

.landing-hero h1 {
  margin: 0.85rem 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 700px;
}

.landing-lead {
  margin: 0.95rem 0 0;
  max-width: 700px;
  color: #aab7e7;
  line-height: 1.62;
}

.landing-cta {
  margin-top: 16px;
  display: flex;
  gap: 0.56rem;
  flex-wrap: wrap;
}

.landing-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.landing-stats article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 28, 70, 0.9);
  min-height: 86px;
  padding: 12px;
}

.landing-stats strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.24rem;
}

.landing-stats span {
  margin-top: 0.32rem;
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.landing-surface {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 30, 76, 0.98), rgba(14, 24, 67, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.landing-surface__head,
.landing-surface__footer {
  min-height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: #121b49;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0 12px;
  font-size: 0.84rem;
}

.landing-surface .table-scroll {
  margin: 10px 0;
}

.landing-flow-scroll {
  overflow-x: hidden;
}

.landing-flow-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.landing-flow-table .flow-col-id {
  width: 120px;
}

.landing-flow-table .flow-col-status {
  width: 220px;
}

.landing-flow-table th,
.landing-flow-table td {
  white-space: nowrap;
}

.landing-flow-table .flow-cell-service {
  white-space: normal;
  line-height: 1.4;
  word-break: break-word;
}

.landing-flow-table .flow-cell-status {
  text-align: right;
}

.landing-flow-table .status-chip {
  min-height: 34px;
  padding: 0 11px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.landing-strip {
  min-height: 62px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 31, 80, 0.96), rgba(12, 22, 58, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  flex-wrap: wrap;
  padding: 8px;
}

.landing-strip span {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid #33427b;
  background: #151f50;
  color: #d8e0ff;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
}

.landing-head {
  margin-bottom: 12px;
}

.landing-head h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.01em;
}

.landing-head p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.landing-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(23, 35, 88, 0.94), rgba(16, 26, 67, 0.94));
  padding: 15px;
}

.landing-card h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
}

.landing-card p {
  margin: 0.55rem 0 0;
  color: #a9b5e3;
  line-height: 1.56;
  font-size: 0.88rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 30, 76, 0.96), rgba(14, 24, 66, 0.96));
  padding: 16px;
}

.pricing-card h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.pricing-card p {
  margin: 0.4rem 0 0;
  color: var(--muted-2);
  font-size: 0.84rem;
}

.pricing-card strong {
  display: block;
  margin-top: 0.82rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.84rem;
}

.pricing-card strong span {
  font-size: 0.82rem;
  color: var(--muted);
}

.pricing-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: #ced8fe;
  display: grid;
  gap: 0.42rem;
  font-size: 0.86rem;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  margin-top: 12px;
  width: 100%;
}

.pricing-card--focus {
  border-color: rgba(255, 62, 146, 0.42);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.pricing-card--focus::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 140px;
  right: -80px;
  top: -70px;
  background: radial-gradient(circle, rgba(255, 62, 146, 0.34), transparent 70%);
}

.landing-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.landing-steps {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.56rem;
  color: #cfd9ff;
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  width: 100%;
  min-height: 44px;
  border: 1px solid #34437b;
  border-radius: 10px;
  background: #172253;
  color: #dbe4ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0 12px;
  cursor: pointer;
}

.faq-item.is-open {
  border-color: rgba(255, 62, 146, 0.48);
  background: linear-gradient(145deg, rgba(255, 62, 146, 0.24), rgba(143, 102, 255, 0.2));
}

.faq-body {
  display: none;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #121c49;
  color: #cfd9ff;
  font-size: 0.86rem;
  line-height: 1.55;
  padding: 11px 12px;
}

.faq-body.is-open {
  display: block;
}

.landing-cta-band__inner {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(460px 180px at 10% 0%, rgba(255, 62, 146, 0.25), transparent 70%),
    linear-gradient(180deg, rgba(20, 30, 76, 0.98), rgba(14, 24, 67, 0.98));
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-cta-band h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.landing-cta-band p {
  margin: 0.48rem 0 0;
  color: var(--muted);
}

.landing-footer {
  border-top: 1px solid var(--line-soft);
  padding: 16px 0 26px;
}

.landing-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: #7f8cc0;
  font-size: 0.82rem;
}

@keyframes reveal-up {
  from {
    transform: translateY(14px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.mobile-only {
  display: none;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(3, 7, 24, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
}

.sidebar-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1160px) {
  .panel-two-col {
    grid-template-columns: 1fr;
  }

  .panel-two-col--equal {
    grid-template-columns: 1fr;
  }

  .metric-card {
    grid-column: span 6;
  }

  .metric-card--compact {
    grid-column: span 1;
  }

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

  .landing-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 930px) {
  .sidebar {
    transform: translateX(-104%);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .content-shell {
    margin-left: 0;
    width: 100%;
  }

  .mobile-only {
    display: inline-flex;
  }

  .topbar {
    padding: 0 12px;
  }

  .main-content {
    padding: 12px;
  }

  .metric-card {
    grid-column: span 12;
  }

  .metric-grid--two,
  .metric-grid--three {
    grid-template-columns: 1fr;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

  .auth-panel {
    padding: 14px;
  }

  .landing-wrap {
    width: min(1200px, calc(100% - 20px));
  }

  .landing-nav {
    display: none;
  }

  .landing-topbar .landing-wrap {
    min-height: 66px;
  }

  .landing-main {
    padding-top: 8px;
  }

  .landing-stats {
    grid-template-columns: 1fr;
  }

  .landing-grid,
  .landing-grid--3 {
    grid-template-columns: 1fr;
  }

  .landing-cta-band__inner,
  .landing-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar__title {
    font-size: 1rem;
  }

  .topbar__subtitle {
    font-size: 0.72rem;
  }

  .topbar__actions {
    gap: 0.34rem;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .balance-pill,
  .user-pill {
    min-height: 36px;
    font-size: 0.77rem;
    padding: 0 10px;
  }

  .hero-card {
    padding: 16px;
  }

  .hero-actions {
    margin-top: 10px;
  }

  .premium-table {
    min-width: 680px;
  }

  .landing-actions .btn-ghost {
    display: none;
  }

  .landing-hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .landing-badge {
    min-height: 30px;
    font-size: 0.69rem;
  }

  .landing-surface {
    padding: 10px;
  }

  .landing-flow-table .flow-col-id {
    width: 96px;
  }

  .landing-flow-table .flow-col-status {
    width: 155px;
  }

  .landing-flow-table .status-chip {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.7rem;
  }
}

/* Metallic gray + orange theme overrides */
.sidebar {
  background: linear-gradient(180deg, #181b20 0%, #14171b 100%);
  border-right-color: #32363d;
}

.topbar {
  background: rgba(24, 27, 31, 0.9);
  border-bottom-color: #32363d;
}

.sidebar__brand-mark {
  background: linear-gradient(135deg, #ff9b2f, #ff6a00);
  box-shadow: 0 8px 24px rgba(255, 122, 12, 0.34);
}

.menu__item:hover {
  border-color: #4e545d;
  background: rgba(196, 201, 208, 0.08);
}

.menu__item.is-active {
  border-color: rgba(255, 140, 26, 0.56);
  background: linear-gradient(145deg, rgba(255, 140, 26, 0.24), rgba(255, 106, 0, 0.18));
  box-shadow: inset 0 0 0 1px rgba(255, 140, 26, 0.2);
}

.dot-btn {
  border-color: #454a53;
  background: #22262d;
}

.icon-btn,
.balance-pill,
.user-pill {
  border-color: #4b515a;
  background: linear-gradient(180deg, #2b3038, #232831);
}

.panel-card,
.hero-card,
.table-card,
.form-card,
.info-card {
  border-color: #3a3f47;
  background: linear-gradient(180deg, rgba(36, 40, 46, 0.98), rgba(28, 32, 37, 0.98));
}

.hero-card::after {
  background: radial-gradient(circle, rgba(255, 140, 26, 0.25), transparent 62%);
}

.metric-card {
  border-color: #3f444d;
  background: linear-gradient(165deg, rgba(44, 49, 57, 0.98), rgba(34, 39, 45, 0.96));
}

.pill,
.pill-btn,
.search-shell,
.search-shell button {
  border-color: #4a5059;
}

.pill,
.pill-btn {
  background: #272c34;
  color: #eceff3;
}

.pill.is-active,
.pill-btn.is-active,
.pill-btn:hover {
  border-color: rgba(255, 140, 26, 0.52);
  background: linear-gradient(145deg, rgba(255, 140, 26, 0.28), rgba(255, 106, 0, 0.22));
}

.search-shell {
  background: #222730;
}

.search-shell button {
  background: #2b313a;
}

.premium-table thead th {
  background: #2a3038;
  color: #d4dae2;
  border-bottom-color: #3d424b;
}

.premium-table tbody td {
  border-bottom-color: #343a43;
  color: #e7ebf2;
}

.premium-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.id-chip,
.price-chip {
  border-color: #515862;
  background: #2f353e;
}

input,
select,
textarea {
  border-color: #4a5059;
  background: #262b33;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 140, 26, 0.62);
  box-shadow: 0 0 0 3px rgba(255, 140, 26, 0.18);
}

.btn-primary {
  border-color: rgba(255, 140, 26, 0.46);
  background: linear-gradient(145deg, #ff9b2f, #ff6a00);
  box-shadow: 0 0 0 1px rgba(255, 140, 26, 0.22), 0 20px 34px rgba(255, 106, 0, 0.26);
}

.btn-secondary {
  border-color: #4c535d;
  background: #2c323b;
}

.btn-ghost {
  border-color: #4c535d;
  color: #e7ebf2;
}

.page-footer {
  border-color: #383e46;
  background: #222730;
}

.landing-body {
  background-color: #0f1012;
  background:
    radial-gradient(760px 440px at 8% -8%, rgba(255, 140, 26, 0.16), transparent 62%),
    radial-gradient(860px 520px at 92% 8%, rgba(255, 106, 0, 0.12), transparent 64%),
    linear-gradient(180deg, #131518 0%, #0f1012 100%);
  overflow-x: clip;
}

.landing-topbar {
  background: rgba(23, 26, 31, 0.9);
  border-bottom-color: #343941;
}

.landing-nav {
  border-color: #4b515b;
  background: #252a32;
}

.landing-nav a:hover {
  background: rgba(255, 140, 26, 0.22);
}

.landing-badge {
  border-color: rgba(255, 140, 26, 0.5);
  background: rgba(255, 140, 26, 0.16);
  color: #ffe1c2;
}

.landing-surface,
.landing-stats article,
.landing-strip,
.landing-card,
.pricing-card,
.landing-cta-band__inner,
.faq-body {
  border-color: #3a4049;
  background: linear-gradient(180deg, rgba(36, 40, 46, 0.98), rgba(27, 31, 36, 0.98));
}

.landing-strip span,
.landing-surface__head,
.landing-surface__footer,
.faq-item {
  border-color: #4c525b;
  background: #2a3038;
}

.pricing-card--focus {
  border-color: rgba(255, 140, 26, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 140, 26, 0.22), 0 18px 34px rgba(255, 106, 0, 0.2);
}

.pricing-card--focus::after {
  background: radial-gradient(circle, rgba(255, 140, 26, 0.3), transparent 70%);
}

.faq-item.is-open {
  border-color: rgba(255, 140, 26, 0.56);
  background: linear-gradient(145deg, rgba(255, 140, 26, 0.24), rgba(255, 106, 0, 0.18));
}
