:root {
  --bg: #070707;
  --panel: #111113;
  --panel-2: #18181b;
  --line: #2a2a31;
  --text: #f7f7f8;
  --muted: #a4a7b0;
  --soft: #f5f6fa;
  --ink: #15151a;
  --orange: #ff7a00;
  --orange-2: #ffb21f;
  --blue: #1683ff;
  --cyan: #42d9ff;
  --green: #23c46e;
  --red: #f43f5e;
  --shadow: 0 18px 55px rgba(0, 0, 0, .28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(255, 122, 0, .18), transparent 28%),
    linear-gradient(280deg, rgba(22, 131, 255, .2), transparent 32%),
    var(--bg);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  background: linear-gradient(180deg, rgba(10, 10, 12, .96), rgba(15, 16, 20, .92));
  border-right: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
}

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

.brand strong {
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  color: var(--orange-2);
  font-weight: 800;
  margin-top: 3px;
}

.nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  color: #d8dbe3;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  border-color: rgba(255, 122, 0, .36);
  background: linear-gradient(90deg, rgba(255, 122, 0, .2), rgba(22, 131, 255, .1));
  transform: translateX(2px);
}

.nav-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #070707;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 6px;
  font-size: 11px;
  font-weight: 950;
}

.sidebar-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  border-radius: 8px;
}

.account-line,
.mini-usage,
.customer-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sidebar-card small {
  color: var(--muted);
  line-height: 1.45;
}

.mini-usage {
  min-height: 42px;
  padding: 0 12px;
  color: #f8fafc;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
}

.mini-usage span {
  color: var(--muted);
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(35, 196, 110, .15);
}

.main {
  min-width: 0;
  padding: 28px;
}

.topbar,
.section-head,
.top-actions,
.hero-actions,
.service-main,
.service-meta,
.service-actions,
.tabs {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.12;
}

h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.18;
}

h3 {
  margin-bottom: 6px;
}

.top-actions {
  gap: 10px;
}

.customer-chip {
  min-height: 42px;
  padding: 0 14px;
  color: #f8fafc;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.customer-chip span,
.customer-chip strong {
  display: block;
  white-space: nowrap;
}

.customer-chip strong {
  color: var(--orange-2);
  font-size: 12px;
}

.primary-button,
.ghost-button,
.icon-button,
.service-actions button,
.package-card button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
}

.primary-button {
  color: #090909;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 10px 30px rgba(255, 122, 0, .25);
}

.ghost-button,
.icon-button {
  color: white;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}

.icon-button {
  width: 42px;
  padding: 0;
}

.full {
  width: 100%;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: center;
  min-height: 285px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(120deg, rgba(255, 122, 0, .24), rgba(22, 131, 255, .18)),
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  max-width: 690px;
}

.hero-copy h2 {
  margin-bottom: 14px;
  font-size: 38px;
}

.hero-copy p:not(.eyebrow) {
  color: #e9ebf3;
  line-height: 1.6;
  max-width: 650px;
}

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

.hero-brand,
.hero-status {
  display: grid;
  place-items: center;
}

.hero-status {
  align-content: center;
  gap: 14px;
  padding: 18px;
  color: #f8fafc;
  background: rgba(7, 7, 7, .38);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.hero-status img,
.hero-brand img {
  width: min(168px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .36);
}

.hero-status div {
  display: grid;
  gap: 7px;
  text-align: center;
}

.hero-status strong {
  font-size: 20px;
}

.hero-status small {
  color: #d8dbe3;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.metric,
.section,
.order-panel,
.split-section article {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .18);
}

.metric {
  padding: 18px;
}

.metric span,
.metric small {
  color: #636976;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 28px;
}

.section {
  margin-top: 18px;
  padding: 20px;
}

.section-head {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

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

.seo-grid article {
  padding: 18px;
  border: 1px solid #e0e4ec;
  background: white;
  border-radius: 8px;
}

.seo-grid p {
  color: #5f6673;
  line-height: 1.55;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.keyword-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: #101014;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 999px;
  font-weight: 850;
  font-size: 13px;
}

.section .eyebrow,
.order-panel .eyebrow {
  color: #bd4b00;
}

.service-list,
.package-grid {
  display: grid;
  gap: 12px;
}

.service {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 190px minmax(120px, .7fr) 190px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e1e4ea;
  border-radius: 8px;
  background: white;
}

.service-main {
  gap: 12px;
  min-width: 0;
}

.service-main p {
  margin-bottom: 0;
  color: #6b7280;
}

.product-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 950;
}

.product-badge.ts {
  background: linear-gradient(135deg, #ff7a00, #ffb21f);
}

.product-badge.mb {
  background: linear-gradient(135deg, #e11d48, #ff7a00);
}

.product-badge.sb {
  background: linear-gradient(135deg, #1683ff, #42d9ff);
}

.product-badge.yb {
  background: linear-gradient(135deg, #23c46e, #42d9ff);
}

.product-badge.by {
  background: linear-gradient(135deg, #6d5dfc, #ffb21f);
}

.service-meta {
  justify-content: space-between;
  gap: 8px;
  color: #4b5563;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-style: normal;
}

.pill.success {
  background: var(--green);
}

.pill.warn {
  background: var(--orange);
}

.progress {
  height: 8px;
  overflow: hidden;
  background: #e7e9ee;
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: inherit;
}

.service-actions {
  justify-content: flex-end;
  gap: 8px;
}

.service-actions button,
.service-link,
.package-card button {
  color: #101014;
  background: #f2f4f8;
  border-color: #dfe3eb;
}

.service-link {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.service-actions button:first-child,
.service-link:first-child,
.package-card button.active {
  color: white;
  background: #111113;
}

.package-section {
  background: rgba(255, 255, 255, .96);
}

.tabs {
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tab {
  min-height: 38px;
  padding: 0 12px;
  color: #384152;
  background: #eef1f6;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  font-weight: 900;
}

.tab.active {
  color: #08080a;
  background: var(--orange-2);
  border-color: #f59e0b;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

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

.package-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e0e4ec;
  background: #fff;
  border-radius: 8px;
}

.package-card.featured {
  border-color: rgba(255, 122, 0, .65);
  box-shadow: 0 18px 40px rgba(255, 122, 0, .16);
}

.package-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.package-card p {
  color: #6b7280;
  line-height: 1.45;
  margin-bottom: 0;
}

.price {
  font-size: 28px;
  font-weight: 950;
}

.price span {
  color: #737985;
  font-size: 13px;
  font-weight: 800;
}

.features {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #303644;
  font-weight: 750;
}

.features li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--orange);
  border-radius: 50%;
  vertical-align: 1px;
}

.order-panel {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 20px;
}

.summary-copy {
  color: #5f6673;
  line-height: 1.45;
}

.summary-price {
  margin: 18px 0;
  font-size: 30px;
  font-weight: 950;
}

.summary-price span {
  color: #6b7280;
  font-size: 14px;
}

dl {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

dl div,
.invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

dt {
  color: #6b7280;
  font-weight: 800;
}

dd {
  margin: 0;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.split-section article {
  padding: 20px;
}

.management-grid,
.automation-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.automation-grid {
  grid-template-columns: 1.1fr .9fr;
}

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

.workflow-grid,
.pool-grid,
.help-grid {
  display: grid;
  gap: 14px;
}

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

.pool-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

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

.management-card,
.automation-grid article,
.workflow-card,
.pool-grid article,
.help-card,
.admin-panel {
  padding: 18px;
  border: 1px solid #e0e4ec;
  background: white;
  border-radius: 8px;
}

.workflow-card {
  display: grid;
  gap: 10px;
}

.workflow-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #090909;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 8px;
  font-weight: 950;
}

.workflow-card p,
.help-card p {
  color: #5f6673;
  line-height: 1.48;
}

.template-list {
  margin: 0;
}

.help-card pre {
  margin: 12px 0 0;
  padding: 14px;
  overflow-x: auto;
  color: #f7f7f8;
  background: #101014;
  border-radius: 8px;
  line-height: 1.5;
}

.help-card code {
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

.media-card {
  align-content: start;
}

.media-placeholders {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.media-placeholders button {
  min-height: 42px;
  color: #101014;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  font-weight: 900;
}

.management-card {
  display: grid;
  gap: 12px;
}

.management-card p {
  color: #5f6673;
  line-height: 1.48;
}

.action-grid,
.panel-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.panel-links {
  grid-template-columns: 1fr;
}

.action-grid button,
.panel-links button,
.panel-links a,
.toggle {
  min-height: 38px;
  border: 1px solid #dfe3eb;
  background: #f2f4f8;
  color: #101014;
  border-radius: 8px;
  font-weight: 900;
}

.management-card .panel-link-button:not(.primary-link) {
  color: #101014;
  background: #f2f4f8;
}

.panel-links a {
  display: grid;
  place-items: center;
  text-decoration: none;
  text-align: center;
}

.panel-links .primary-link {
  color: #090909;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-color: rgba(255, 122, 0, .55);
}

.status-list {
  display: grid;
  gap: 10px;
  color: #384152;
  font-weight: 850;
}

.status-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f5;
}

.status-list span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(35, 196, 110, .12);
}

.status-list strong {
  margin-left: auto;
  color: var(--green);
}

.timeline {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f6f7fb;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
}

.timeline strong {
  color: #101014;
}

.timeline span {
  color: #606876;
  font-weight: 750;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid #e9edf3;
  color: #384152;
  font-weight: 900;
}

.toggle {
  min-width: 82px;
}

.toggle.on {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.admin-shell {
  min-height: 100vh;
  padding: 28px;
}

.admin-locked {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

.admin-locked img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
}

.admin-locked h1 {
  max-width: 620px;
}

.admin-locked p:not(.eyebrow) {
  max-width: 640px;
  color: #d6d9e1;
  line-height: 1.55;
}

.admin-locked a {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  text-decoration: none;
}

.admin-main {
  max-width: 1480px;
  margin: 0 auto;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-hero img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.admin-title p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #5f6673;
  line-height: 1.55;
}

.admin-back {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 0 12px;
  color: #101014;
  background: #edf0f5;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.admin-metrics {
  margin-bottom: 18px;
}

.admin-panel.wide {
  grid-column: span 2;
}

.panel-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.panel-title-row p,
.admin-panel > p {
  color: #5f6673;
  line-height: 1.45;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #e6eaf0;
  text-align: left;
  color: #222836;
}

.admin-table th {
  color: #687080;
  background: #f7f8fb;
  font-size: 13px;
}

.admin-table button {
  min-height: 34px;
  padding: 0 12px;
  color: #101014;
  background: #f2f4f8;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  font-weight: 900;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: white;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-badge.success {
  background: var(--green);
}

.admin-badge.warn {
  background: var(--orange);
}

.admin-badge.danger {
  background: var(--red);
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: #424958;
  font-weight: 900;
}

.admin-form input,
.admin-form select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #d7dce5;
  border-radius: 8px;
}

.invoice-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.invoice-row .pending {
  color: var(--orange);
}

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

.support-form label {
  display: grid;
  gap: 7px;
  color: #424958;
  font-weight: 900;
}

.support-form input,
.support-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

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

.profile-form label {
  display: grid;
  gap: 7px;
  color: #424958;
  font-weight: 900;
}

.profile-form label.wide {
  grid-column: 1 / -1;
}

.profile-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #d7dce5;
  border-radius: 8px;
}

.profile-form button {
  width: fit-content;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  min-width: 250px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  color: white;
  background: #111113;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
    margin-top: 18px;
  }

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

  .nav-link {
    justify-content: center;
  }

  .content-grid,
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    display: none;
  }
}

@media (max-width: 900px) {
  .main {
    padding: 18px;
  }

  .topbar,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-grid,
  .seo-grid,
  .package-grid,
  .split-section,
  .management-grid,
  .automation-grid,
  .workflow-grid,
  .pool-grid,
  .help-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel.wide {
    grid-column: auto;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }

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

  .service-actions {
    justify-content: flex-start;
  }

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

  .hero-copy h2 {
    font-size: 30px;
  }
}

@media (max-width: 520px) {
  .sidebar,
  .main,
  .hero-panel,
  .section {
    padding: 14px;
  }

  .top-actions,
  .hero-actions,
  .tabs {
    width: 100%;
  }

  .top-actions button,
  .hero-actions button,
  .tabs button {
    flex: 1;
  }
}

body[data-page="home"] {
  color: #f8fafc;
  background:
    linear-gradient(120deg, rgba(255, 122, 0, .2), transparent 34%),
    linear-gradient(290deg, rgba(66, 217, 255, .18), transparent 36%),
    #070707;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(7, 7, 7, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.site-brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
}

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

.site-brand strong {
  font-size: 20px;
  line-height: 1.05;
}

.site-brand small {
  margin-top: 4px;
  color: var(--orange-2);
  font-weight: 900;
}

.site-nav,
.site-actions,
.hero-proof,
.site-footer {
  display: flex;
  align-items: center;
}

.site-nav {
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: #d8dbe3;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
}

.site-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, .08);
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: white;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.site-actions,
.hero-actions {
  gap: 10px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #070707;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border: 0;
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(255, 122, 0, .28);
}

.site-main {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.site-hero {
  position: relative;
  min-height: min(720px, calc(100vh - 92px));
  display: flex;
  align-items: center;
  margin: 18px 0 20px;
  padding: clamp(34px, 7vw, 90px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, .96), rgba(7, 7, 7, .82) 42%, rgba(7, 7, 7, .2)),
    radial-gradient(circle at 82% 44%, rgba(255, 122, 0, .28), transparent 28%),
    radial-gradient(circle at 76% 58%, rgba(66, 217, 255, .28), transparent 30%),
    url("assets/gardas-icon.png") right 8% center / min(430px, 42vw) no-repeat,
    #0b0b0f;
  box-shadow: var(--shadow);
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 7, .78));
  pointer-events: none;
}

.site-hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.site-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
}

.site-hero p {
  max-width: 650px;
  color: #d9dee9;
  font-size: 18px;
  line-height: 1.75;
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  min-height: 42px;
  padding: 10px 14px;
  color: #dce3ee;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  font-weight: 850;
}

.hero-proof strong {
  color: white;
}

.public-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.site-announcement {
  margin: 0 0 18px;
  padding: 14px 18px;
  color: #08080a;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 8px;
  font-weight: 950;
}

.public-strip article,
.public-card-grid article {
  padding: 20px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #d9dde7;
  border-radius: 8px;
  color: var(--ink);
}

.public-strip span,
.step {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: #08080a;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 8px;
  font-weight: 950;
}

.public-strip strong,
.public-card-grid strong {
  display: block;
  color: #08080a;
  font-size: 18px;
}

.public-strip p,
.public-card-grid span {
  color: #596173;
  line-height: 1.6;
}

.public-section {
  margin: 18px 0;
}

.public-package-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.site-product-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 18px 0;
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, .95);
  border: 1px solid #d9dde7;
  border-radius: 8px;
}

.site-product-section.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, .9fr);
}

.site-product-section.reverse > div:first-child {
  order: 2;
}

.site-product-section h2 {
  margin: 0;
  color: #08080a;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.site-product-section p {
  color: #566073;
  line-height: 1.7;
}

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

.musicbot-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bot-offer-card {
  position: relative;
  min-height: 220px;
  padding-top: 44px;
}

.bot-offer-card em {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  color: #070707;
  background: linear-gradient(135deg, var(--orange-2), var(--cyan));
  border-radius: 6px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  width: min(1220px, calc(100% - 36px));
  margin: 18px auto 28px;
  padding: 18px 0;
  color: #d8dbe3;
}

.site-footer span {
  color: white;
  font-weight: 950;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  border: 0;
}

.login-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(440px, 100%);
  padding: 24px;
  color: var(--ink);
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-card img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
}

.login-card h2 {
  margin: 0;
}

.login-card label {
  display: grid;
  gap: 7px;
  color: #3f4654;
  font-weight: 900;
}

.login-card input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #d4dae5;
  border-radius: 8px;
}

.form-alert {
  padding: 12px 14px;
  color: #991b1b;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.form-alert.success {
  color: #166534;
  background: #ecfdf5;
  border-color: #bbf7d0;
  border-left-color: var(--green);
}

.remember-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #111827 !important;
}

.remember-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--orange);
}

.login-switch {
  display: grid;
  gap: 8px;
  padding-top: 2px;
  text-align: center;
}

.login-switch span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.login-switch .ghost-button {
  width: 100%;
  color: #111827;
  background: #f2f4f8;
  border-color: #d8dde8;
}

.login-card small {
  color: #6b7280;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  color: #111827;
  background: #f2f4f8;
  border: 1px solid #d8dde8;
  border-radius: 8px;
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-hero {
    min-height: 640px;
    background:
      linear-gradient(180deg, rgba(7, 7, 7, .96), rgba(7, 7, 7, .72)),
      url("assets/gardas-icon.png") center bottom 28px / min(340px, 72vw) no-repeat,
      #0b0b0f;
  }

  .public-strip,
  .public-package-layout,
  .site-product-section,
  .site-product-section.reverse,
  .public-card-grid,
  .musicbot-card-grid {
    grid-template-columns: 1fr;
  }

  .site-product-section.reverse > div:first-child {
    order: 0;
  }
}

@media (max-width: 560px) {
  .site-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .site-actions .ghost-button,
  .site-actions .primary-link,
  .hero-actions .ghost-button,
  .hero-actions .primary-link {
    width: 100%;
  }

  .site-hero {
    padding: 28px 18px 260px;
  }

  .site-hero h1 {
    font-size: 40px;
  }
}
