:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-soft: #101018;
  --panel: #171622;
  --line: #2d2b3a;
  --text: #f4f2ff;
  --muted: #aaa6bd;
  --violet: #8b5cf6;
  --violet-2: #c084fc;
  --ok: #48d597;
  --warn: #f4b740;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(139, 92, 246, .18), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(192, 132, 252, .14), transparent 28%),
    var(--bg);
  color: var(--text);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 7, 11, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 210px;
  object-fit: contain;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), #4c1d95);
  box-shadow: 0 12px 30px rgba(139, 92, 246, .32);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.button, button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 15px;
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover, button:hover {
  transform: translateY(-1px);
  border-color: var(--violet-2);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet), #6d28d9);
}

.button.ghost {
  background: rgba(255, 255, 255, .04);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(34px, 7vw, 90px) clamp(18px, 4vw, 56px) 54px;
}

.hero h1 {
  margin: 8px 0 18px;
  font-size: clamp(56px, 10vw, 132px);
  line-height: .9;
}

.hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

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

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.actions.wrap { flex-wrap: wrap; justify-content: center; }

.terminal {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(16, 16, 24, .82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.product-preview {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(16, 16, 24, .82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.preview-top, .preview-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.preview-row span, .preview-top span {
  color: var(--muted);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--violet);
}

pre {
  margin: 0;
  padding: 24px;
  color: #d8d3ff;
  line-height: 1.8;
  white-space: pre-wrap;
}

.section, .workspace, .support, .legal-page {
  padding: 78px clamp(18px, 4vw, 56px);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: center;
  padding: 78px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.feature-band p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}

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

.feature-grid span {
  display: grid;
  place-items: center;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  font-weight: 800;
}

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

h2 { margin: 6px 0 0; font-size: clamp(30px, 5vw, 54px); }
h3 { margin: 0; font-size: 20px; }

.plans, .metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan, .metric, .panel, .workspace aside, .support {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 22, 34, .78);
}

.plan, .metric {
  padding: 22px;
}

.plan strong, .metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.plan small, .metric span {
  color: var(--muted);
}

.price {
  margin: 22px 0 6px;
  font-size: 34px;
  font-weight: 900;
}

.plan-features {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.workspace {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
}

.workspace aside, .panel {
  padding: 22px;
}

form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

input, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #0d0d14;
  color: var(--text);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
}

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

.service, .site-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
}

.site-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.site-head p {
  color: var(--muted);
  margin: 7px 0 0;
}

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

.tool-grid a, .tool-grid button {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-weight: 800;
}

.essentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #07110c;
  background: var(--ok);
  font-size: 12px;
  font-weight: 800;
}

.support {
  margin: 0 clamp(18px, 4vw, 56px) 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.support p {
  color: var(--muted);
  max-width: 760px;
}

.site-footer {
  margin-top: 34px;
  padding: 54px clamp(18px, 4vw, 56px) 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(5, 5, 9, .72);
}

.site-footer.compact {
  margin-top: 0;
  padding-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(180px, .6fr));
  gap: 30px;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.footer-brand img {
  height: 48px;
  max-width: min(300px, 82vw);
  object-fit: contain;
}

.footer-brand p,
.footer-links a,
.footer-bottom {
  color: var(--muted);
}

.footer-brand p {
  max-width: 560px;
  margin: 0;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links h3 {
  margin-bottom: 4px;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
}

.legal-page {
  display: grid;
  gap: 28px;
}

.legal-hero {
  max-width: 900px;
}

.legal-hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .96;
}

.legal-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-card {
  display: grid;
  gap: 14px;
  max-width: 1060px;
}

.legal-card article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(23, 22, 34, .78);
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.legal-card a {
  color: var(--violet-2);
  font-weight: 800;
}

.available-page {
  display: grid;
  place-items: center;
}

.available {
  width: min(880px, calc(100vw - 32px));
  min-height: 86vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 18px;
}

.available .brand img {
  height: 56px;
  max-width: min(420px, 88vw);
}

.available h1 {
  margin: 8px 0 0;
  font-size: clamp(38px, 8vw, 82px);
  line-height: 1;
}

.available p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
}

.manager-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  background: #0a0a0f;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #08080d;
}

.sidebar .brand {
  margin-bottom: 22px;
}

.sidebar a:not(.brand) {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--muted);
}

.sidebar a:not(.brand):hover {
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}

.manager-main {
  min-width: 0;
}

.manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.manager-head h1 {
  margin: 4px 0 0;
  font-size: clamp(34px, 5vw, 58px);
}

.manager-workspace {
  padding-top: 34px;
}

.compact-section {
  padding-top: 28px;
}

.web-console,
.dashboard-console,
.analytics-console,
.utility-console {
  padding-bottom: 26px;
}

.console-title,
.hosting-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.console-title .actions,
.hosting-plan-head .actions {
  margin-top: 0;
}

.hostinger-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 22, 34, .78);
}

.filter-row,
.analytics-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.filter,
.analytics-tabs span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  font-weight: 800;
}

.filter.active,
.analytics-tabs .active {
  color: var(--text);
  border-color: var(--violet);
  background: rgba(139, 92, 246, .22);
}

.hosting-list,
.dashboard-grid,
.chart-grid,
.utility-grid {
  display: grid;
  gap: 14px;
}

.hosting-plan,
.site-summary,
.analytics-top,
.chart-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 22, 34, .78);
}

.hosting-plan {
  padding: 18px;
}

.hosting-plan p,
.site-summary p,
.performance-panel p,
.analytics-top p,
.chart-card small {
  margin: 6px 0 0;
  color: var(--muted);
}

.domain-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 120px;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.domain-row span {
  font-weight: 900;
}

.domain-row a,
.domain-row button {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  font-weight: 800;
}

.site-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px;
  margin-bottom: 14px;
}

.summary-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.summary-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #07110c;
  background: var(--ok);
  font-size: 12px;
  font-weight: 900;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
}

.essentials-panel {
  grid-row: span 2;
}

.essentials-panel h3,
.performance-panel h3,
.resources-panel h3,
.chart-card h3 {
  margin-bottom: 16px;
}

.essentials-panel a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.essentials-panel a:first-of-type {
  border-top: 0;
}

.essentials-panel small {
  color: var(--muted);
}

.essentials-panel b {
  grid-row: span 2;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
}

.score-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 68px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 5px solid var(--ok);
  font-weight: 900;
}

.score-ring.muted {
  border-color: var(--line);
  color: var(--muted);
}

.resource-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

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

.analytics-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
  gap: 24px;
  padding: 20px;
}

.big-number {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 900;
}

.country-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.country-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.chart-card,
.backup-banner {
  padding: 18px;
}

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

.utility-grid .wide {
  grid-column: 1 / -1;
}

.form-panel,
.table-panel,
.backup-card {
  display: grid;
  gap: 14px;
}

.form-panel p,
.backup-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.split-input {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
  align-items: stretch;
}

.split-input span {
  display: grid;
  place-items: center start;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
}

.split-input input {
  border-radius: 0 8px 8px 0;
}

.data-row,
.info-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.data-row:first-of-type,
.info-line:first-of-type {
  border-top: 0;
}

.data-row small {
  color: var(--muted);
}

.data-row a {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--violet-2);
  background: rgba(255, 255, 255, .04);
  font-weight: 900;
}

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

.info-line b {
  overflow-wrap: anywhere;
}

textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #0d0d14;
  color: var(--text);
}

.backup-banner {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, .05);
}

.line-chart {
  height: 180px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px) 0 20% / 100% 33%,
    linear-gradient(135deg, transparent 0 9%, var(--violet) 9.5% 10%, transparent 10.5% 36%, var(--violet-2) 36.5% 37%, transparent 37.5% 62%, var(--violet) 62.5% 63%, transparent 63.5%),
    rgba(255, 255, 255, .025);
}

.line-chart.two {
  background:
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px) 0 20% / 100% 33%,
    linear-gradient(120deg, transparent 0 12%, var(--violet-2) 12.5% 13%, transparent 13.5% 44%, var(--violet) 44.5% 45%, transparent 45.5% 74%, var(--violet-2) 74.5% 75%, transparent 75.5%),
    rgba(255, 255, 255, .025);
}

.line-chart.three {
  height: 150px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px) 0 20% / 100% 40%,
    linear-gradient(100deg, transparent 0 40%, rgba(139, 92, 246, .9) 40.5% 41%, transparent 41.5% 78%, rgba(192, 132, 252, .9) 78.5% 79%, transparent 79.5%),
    rgba(255, 255, 255, .025);
}

.pulse {
  width: 118px;
  height: 118px;
  border: 1px solid rgba(192, 132, 252, .35);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
  background: radial-gradient(circle, rgba(139, 92, 246, .5), transparent 62%);
}

@keyframes pulse {
  0%, 100% { transform: scale(.94); opacity: .7; }
  50% { transform: scale(1.05); opacity: 1; }
}

@media (max-width: 920px) {
  nav { display: none; }
  .hero, .workspace, .feature-band, .manager-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .plans, .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .console-title, .hosting-plan-head, .site-summary { flex-direction: column; align-items: flex-start; }
  .dashboard-grid, .analytics-top, .utility-grid { grid-template-columns: 1fr; }
  .domain-row { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 68px minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .topbar { padding: 14px 16px; }
  .topbar .button { display: none; }
  .plans, .metrics { grid-template-columns: 1fr; }
  .actions { flex-direction: column; align-items: stretch; }
  .service, .site-head { grid-template-columns: 1fr; }
  .site-head { flex-direction: column; }
  .tool-grid, .essentials { grid-template-columns: 1fr; }
  .split-input { grid-template-columns: 1fr; }
  .split-input span { min-height: 42px; border-right: 1px solid var(--line); border-radius: 8px 8px 0 0; }
  .split-input input { border-radius: 0 0 8px 8px; }
}
