:root {
  --bg: #090913;
  --bg-soft: #121421;
  --panel: rgba(19, 21, 33, 0.9);
  --panel-soft: rgba(22, 24, 38, 0.88);
  --line: rgba(117, 122, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f6ff;
  --muted: #99a2bf;
  --accent: #6f6bff;
  --accent-2: #00d7a7;
  --accent-3: #ffb02e;
  --danger: #ff4d67;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --container: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Aptos, "Segoe UI Variable", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(111, 107, 255, 0.18), transparent 22%),
    radial-gradient(circle at 78% 14%, rgba(0, 215, 167, 0.08), transparent 20%),
    linear-gradient(180deg, #090913 0%, #0c0d18 48%, #090b12 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.3;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
}

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

.page-shell {
  width: min(calc(100% - 56px), var(--container));
  margin: 0 auto;
  padding-bottom: 78px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 11, 19, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #7f7cff;
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 8px);
  gap: 4px;
}

.brand-mark span {
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8f8cff, #615eff);
  animation: bars 2s ease-in-out infinite;
}

.brand-mark span:nth-child(1) { height: 18px; }
.brand-mark span:nth-child(2) { height: 28px; animation-delay: -0.2s; }
.brand-mark span:nth-child(3) { height: 16px; animation-delay: -0.4s; }

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(111, 107, 255, 0.24);
  border-radius: 999px;
  color: #cdd2ff;
  background: rgba(111, 107, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.button,
.panel-button,
.fake-button,
.tag-button,
.save-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.button:hover,
.panel-button:hover,
.fake-button:hover {
  transform: translateY(-2px);
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.button.primary,
.panel-button,
.fake-button.button.primary {
  color: white;
  background: linear-gradient(135deg, #5d5af7 0%, #6e6bff 52%, #7d7aff 100%);
  box-shadow: 0 12px 28px rgba(111, 107, 255, 0.3);
}

.button.secondary,
.button.ghost,
.fake-button.button.secondary,
.tag-button,
.save-request {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: #dbe0f0;
}

.button.large {
  min-height: 56px;
  padding-inline: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(720px, 1.28fr);
  gap: clamp(36px, 4.5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 74px 0 56px;
}

.eyebrow,
.section-kicker,
.card-kicker,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a8aeff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
}

.stat-panel .panel-label {
  max-width: 180px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.status-dot,
.sidebar-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(0, 215, 167, 0.5);
  animation: pingDot 1.8s infinite;
}

.hero h1,
.section-head h2,
.feature-copy h2,
.cta h2 {
  margin: 18px 0 16px;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: clamp(3rem, 5.4vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-text,
.section-head p,
.feature-copy p,
.cta p,
.panel-banner p,
.platform-card p,
.seo-card p,
.faq-item p,
.config-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.trust-row li {
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #dfe3f3;
}

.domain-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(111, 107, 255, 0.22);
  border-radius: 999px;
  background: rgba(111, 107, 255, 0.07);
  color: var(--muted);
}

.domain-line strong {
  color: #f4f6ff;
  letter-spacing: 0.02em;
}

.glass,
.platform-card,
.stat-panel,
.latency-panel,
.config-card,
.monitor-table,
.request-box,
.response-box,
.server-card,
.alert-card,
.cta {
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(23, 24, 38, 0.95), rgba(13, 14, 25, 0.94));
  box-shadow: var(--shadow);
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 760px;
  overflow: hidden;
  border-radius: 32px;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  padding: 26px 18px;
  border-right: 1px solid var(--line-soft);
  background: rgba(8, 9, 16, 0.86);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  color: #7f7cff;
}

.sidebar-brand b {
  padding: 3px 7px;
  border-radius: 7px;
  color: white;
  background: #6f6bff;
  font-family: Aptos, "Segoe UI Variable", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.sidebar-menu {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-menu li {
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: #adb5d0;
  font-size: 1rem;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sidebar-menu li.active,
.sidebar-menu li:hover {
  color: #f6f7ff;
  border-color: rgba(111, 107, 255, 0.24);
  background: rgba(111, 107, 255, 0.12);
}

.usage-stats {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.usage-title {
  display: block;
  margin-bottom: 16px;
  color: #68718e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.usage-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #aeb6ce;
  font-size: 0.92rem;
}

.usage-row strong {
  color: #c9d0e6;
}

.usage-bar {
  height: 4px;
  margin: 8px 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.usage-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #6f6bff;
}

.logout-row {
  margin-top: 26px;
  color: #ff5c64;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dash-main {
  padding: 28px 30px 30px;
}

.dash-welcome,
.panel-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border: 1px solid rgba(111, 107, 255, 0.3);
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(29, 27, 56, 0.85), rgba(12, 12, 22, 0.9));
}

.dash-welcome strong,
.panel-banner strong {
  display: block;
  font-size: 1.25rem;
}

.dash-welcome p,
.panel-banner p {
  margin: 6px 0 0;
}

.panel-button {
  min-width: 156px;
  min-height: 46px;
  padding: 0 18px;
}

.panel-button.small {
  min-width: 110px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.stat-panel {
  position: relative;
  padding: 22px 24px;
  border-radius: 22px;
  overflow: hidden;
}

.stat-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.05) 45%, transparent 90%);
  transform: translateX(-120%);
  animation: shimmer 4.2s ease-in-out infinite;
}

.panel-metric {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
}

.metric-big {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: clamp(2.1rem, 3.2vw, 3.05rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-live {
  color: var(--accent-3);
  font-size: 1rem;
  font-weight: 700;
}

.metric-ok {
  color: var(--accent-2);
  font-size: 0.95rem;
  font-weight: 700;
}

.metric-dim {
  color: #7a829b;
  max-width: 82px;
  font-size: 0.92rem;
  line-height: 1.2;
}

.accent-warn {
  color: #7c35ff;
}

.latency-panel {
  position: relative;
  padding: 24px 24px 18px;
  border-radius: 24px;
  min-height: 390px;
}

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

.latency-head strong {
  font-size: 1.3rem;
}

.latency-head span,
.chart-grid span,
.chart-times span {
  color: #747d9a;
}

.chart-grid {
  position: absolute;
  top: 70px;
  bottom: 54px;
  left: 24px;
  width: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.95rem;
}

.chart-grid::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.latency-chart {
  width: calc(100% - 54px);
  height: 300px;
  margin-left: 54px;
  overflow: visible;
}

.chart-area {
  fill: rgba(108, 105, 255, 0.14);
}

.chart-line {
  fill: none;
  stroke: url(#chartStroke);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 3s ease-out forwards;
  filter: drop-shadow(0 0 12px rgba(111, 107, 255, 0.35));
}

.chart-times {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-left: 54px;
  padding-top: 6px;
  font-size: 0.92rem;
}

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

.rail-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.rail-label {
  color: #7c86a4;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rail-card strong {
  font-size: 1.2rem;
}

.rail-trend {
  font-size: 0.86rem;
  font-weight: 700;
}

.rail-trend.good {
  color: var(--accent-2);
}

.rail-trend.warn {
  color: var(--accent-3);
}

.platform,
.feature-section,
.seo-section,
.pricing-section,
.faq-section {
  padding: clamp(56px, 8vw, 96px) 0 34px;
}

.section-head {
  max-width: 860px;
  margin-bottom: 36px;
}

.section-head h2,
.feature-copy h2,
.cta h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

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

.platform-card {
  padding: 30px;
  border-radius: 28px;
}

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

.seo-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
}

.seo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(111, 107, 255, 0.18), transparent 42%);
  opacity: 0.8;
  pointer-events: none;
}

.seo-card h3,
.faq-item h3 {
  position: relative;
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.seo-card p,
.faq-item p {
  position: relative;
  margin: 0;
}

.platform-card h3,
.seo-card h3,
.faq-item h3,
.config-card h3,
.request-box h3,
.response-box h3 {
  margin: 14px 0 10px;
  font-size: 1.35rem;
}

.feature-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(42px, 7vw, 78px);
  align-items: center;
}

.api-layout {
  grid-template-columns: 1.08fr 0.92fr;
}

.feature-panel {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 34px;
}

.config-card,
.monitor-table,
.request-box,
.response-box,
.server-card,
.alert-card {
  border-radius: 24px;
}

.config-card {
  margin-top: 22px;
  padding: 24px;
}

.config-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  color: #9aa3c0;
  font-size: 0.95rem;
}

.input,
.method-pill,
.url-bar {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  color: #dfe4f8;
}

.static-select {
  position: relative;
}

.static-select::after {
  content: "v";
  margin-left: auto;
  color: #cdd4f7;
}

.config-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.tag-button {
  min-height: 44px;
  padding: 0 16px;
}

.button-row {
  display: flex;
  gap: 12px;
}

.fake-button {
  min-height: 48px;
  padding: 0 18px;
}

.monitor-table {
  margin-top: 20px;
  overflow: hidden;
}

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

.incident-item {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.incident-item p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.incident-dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(255, 176, 46, 0.9);
  box-shadow: 0 0 0 0 rgba(255, 176, 46, 0.25);
  animation: pingWarm 1.9s infinite;
}

.incident-dot.active {
  background: rgba(0, 215, 167, 0.9);
  box-shadow: 0 0 0 0 rgba(0, 215, 167, 0.28);
  animation: pingDot 1.9s infinite;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 140px 180px 1fr 120px 80px;
  gap: 12px;
  align-items: center;
}

.table-head {
  padding: 18px 22px;
  color: #616b89;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.table-row {
  padding: 18px 22px;
  border-top: 1px solid var(--line-soft);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 74px;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-pill.up {
  color: var(--accent-2);
  background: rgba(0, 215, 167, 0.12);
  border: 1px solid rgba(0, 215, 167, 0.25);
}

.status-pill.checking {
  color: var(--accent-3);
  background: rgba(255, 176, 46, 0.12);
  border: 1px solid rgba(255, 176, 46, 0.25);
}

.action-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 77, 103, 0.75);
  box-shadow: 0 0 0 0 rgba(255, 77, 103, 0.4);
  animation: pingDanger 1.7s infinite;
}

.action-dot.warm {
  background: rgba(255, 176, 46, 0.85);
  box-shadow: 0 0 0 0 rgba(255, 176, 46, 0.35);
  animation: pingWarm 1.7s infinite;
}

.api-console {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 22px;
}

.request-box,
.response-box {
  padding: 22px;
  min-height: auto;
}

.response-box {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.request-row {
  display: grid;
  grid-template-columns: 112px 1fr 110px;
  gap: 12px;
  margin-top: 18px;
}

.method-pill {
  justify-content: space-between;
  font-weight: 700;
}

.method-pill::after {
  content: "v";
  color: #dce0ff;
}

.url-bar {
  color: #8e95b0;
}

.code-block {
  display: grid;
  gap: 8px;
  min-height: 138px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(11, 12, 20, 0.86);
  color: #f4f6ff;
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.6;
}

.save-request {
  min-height: 46px;
  margin-top: 18px;
}

.response-stream {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: center;
  min-height: 190px;
  margin-top: 18px;
}

.stream-line {
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.stream-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(111, 107, 255, 0.65), transparent);
  transform: translateX(-100%);
  animation: streamPass 2.8s linear infinite;
}

.stream-line.short { width: 56%; }
.stream-line.mid { width: 72%; }

.response-status {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(0, 215, 167, 0.1);
  border: 1px solid rgba(0, 215, 167, 0.2);
}

.response-json {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(11, 12, 20, 0.86);
  color: #dbe3ff;
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.55;
}

.server-layout {
  grid-template-columns: 1fr;
  gap: 34px;
}

.server-layout .feature-copy {
  max-width: 900px;
}

.server-detail {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 34px;
}

.server-detail-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(111, 107, 255, 0.28);
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(29, 27, 56, 0.86), rgba(12, 12, 22, 0.92));
}

.server-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(0, 215, 167, 0.09);
}

.server-avatar span {
  width: 34px;
  height: 10px;
  border: 3px solid var(--accent-2);
  border-radius: 5px;
}

.server-avatar span + span {
  margin-top: -16px;
}

.server-detail-head strong {
  display: block;
  font-size: 1.55rem;
}

.server-detail-head p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--muted);
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(0, 215, 167, 0.4);
  animation: pingDot 1.8s infinite;
}

.range-toggle {
  display: flex;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
}

.range-toggle span {
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
}

.range-toggle span.active {
  color: white;
  background: var(--accent);
}

.server-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.server-metrics article,
.server-chart-card {
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.025);
}

.server-metrics article {
  min-height: 174px;
  padding: 24px;
}

.metric-name {
  color: #9aa3c0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  font-weight: 700;
}

.server-metrics strong {
  display: block;
  margin-top: 16px;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 1.85rem;
}

.server-metrics p {
  margin: 10px 0 14px;
  color: var(--muted);
}

.mini-meter {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mini-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  animation: meterGlow 2.8s ease-in-out infinite;
}

.mini-meter.green span {
  background: var(--accent-2);
}

.mini-meter.amber span {
  background: var(--accent-3);
}

.spark-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 28px;
}

.spark-bars span {
  width: 100%;
  height: 40%;
  border-radius: 999px;
  background: var(--accent-2);
  animation: spark 1.8s ease-in-out infinite;
}

.spark-bars span:nth-child(2) { height: 72%; animation-delay: -0.2s; }
.spark-bars span:nth-child(3) { height: 48%; animation-delay: -0.4s; }
.spark-bars span:nth-child(4) { height: 84%; animation-delay: -0.6s; }
.spark-bars span:nth-child(5) { height: 58%; animation-delay: -0.8s; }

.spark-bars.purple span {
  background: var(--accent);
}

.server-chart-card {
  margin-top: 24px;
  padding: clamp(22px, 3vw, 30px);
}

.server-chart-card.small {
  margin-top: 0;
}

.server-chart-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.server-chart-title strong {
  font-size: 1.1rem;
}

.server-chart-title span {
  color: var(--muted);
}

.server-line-chart {
  width: 100%;
  height: 220px;
}

.server-grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}

.server-cpu-line,
.network-in,
.network-out {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 3s ease-out forwards;
}

.server-cpu-line {
  stroke: var(--accent);
  filter: drop-shadow(0 0 10px rgba(111, 107, 255, 0.38));
}

.network-in {
  stroke: var(--accent);
}

.network-out {
  stroke: #9a62ff;
  animation-delay: 0.3s;
}

.server-chart-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.area-chart {
  position: relative;
  height: 170px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.area-chart::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  clip-path: polygon(0 16%, 18% 15%, 22% 13%, 24% 15%, 42% 14%, 52% 13%, 60% 15%, 74% 14%, 88% 12%, 100% 15%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(0, 215, 167, 0.58), rgba(0, 215, 167, 0.04));
  border-top: 3px solid var(--accent-2);
  animation: areaPulse 3s ease-in-out infinite;
}

.disk-chart::before {
  height: 69%;
  clip-path: polygon(0 2%, 100% 2%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 176, 46, 0.48), rgba(255, 176, 46, 0.04));
  border-top-color: var(--accent-3);
}

.proof-section {
  padding: clamp(56px, 8vw, 92px) 0 12px;
}

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

.proof-card {
  padding: 30px;
  border-radius: 28px;
}

.proof-title {
  display: inline-block;
  margin-bottom: 12px;
  color: #a8aeff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.proof-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

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

.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 28px;
  align-items: start;
}

.billing-card {
  padding: 22px;
  border-radius: 26px;
}

.current-plan {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(0, 215, 167, 0.22);
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(0, 215, 167, 0.08);
  font-weight: 800;
}

.billing-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 18px 0;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
}

.billing-toggle button {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 13px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.billing-toggle button.active {
  color: white;
  background: rgba(111, 107, 255, 0.82);
  box-shadow: 0 10px 24px rgba(111, 107, 255, 0.22);
}

.billing-toggle button:focus-visible {
  outline: 2px solid rgba(111, 107, 255, 0.9);
  outline-offset: 2px;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 28px;
  border-radius: 30px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 107, 255, 0.36);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.featured-plan {
  border-color: rgba(111, 107, 255, 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 107, 255, 0.22), transparent 35%),
    linear-gradient(180deg, rgba(28, 29, 51, 0.96), rgba(13, 14, 25, 0.96));
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #6f6bff, #8b88ff);
  box-shadow: 0 14px 30px rgba(111, 107, 255, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-top {
  min-height: 112px;
}

.plan-name {
  display: block;
  margin-bottom: 12px;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.plan-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 22px;
}

.plan-price strong {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: clamp(2.9rem, 4vw, 4rem);
  letter-spacing: -0.06em;
}

.plan-price span {
  color: var(--muted);
  font-weight: 800;
}

.price-note {
  min-height: 24px;
  margin: -12px 0 18px;
  color: #9fa7c4;
  font-size: 0.95rem;
  font-weight: 700;
}

.plan-limits,
.plan-features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-limits {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.plan-limits li,
.plan-features li {
  position: relative;
  padding-left: 24px;
  color: #d6dced;
  line-height: 1.45;
}

.plan-limits li::before,
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(0, 215, 167, 0.36);
}

.plan-limits strong {
  color: white;
}

.plan-features {
  margin-top: 18px;
}

.plan-features li {
  color: var(--muted);
}

.plan-cta {
  width: 100%;
  margin-top: auto;
}

.comparison-wrap {
  margin-top: 26px;
  padding: 26px;
  border-radius: 30px;
  overflow: hidden;
}

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

.comparison-head h3 {
  margin: 10px 0 0;
  font-size: 1.5rem;
}

.unlock-note {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.55;
}

.comparison-table {
  min-width: 900px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(130px, 1fr));
  border-top: 1px solid var(--line-soft);
}

.comparison-row span {
  padding: 16px 14px;
  color: #d5dbea;
  line-height: 1.45;
}

.comparison-row span:first-child {
  color: white;
  font-weight: 800;
}

.comparison-row.table-header {
  border-top: 0;
  border-radius: 18px;
  background: rgba(111, 107, 255, 0.08);
}

.comparison-row.table-header span {
  color: #c8ccff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

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

.faq-item {
  padding: 26px;
  border-radius: 26px;
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 72px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bars {
  0%, 100% { transform: scaleY(0.72); opacity: 0.8; }
  50% { transform: scaleY(1.06); opacity: 1; }
}

@keyframes pingDot {
  0% { box-shadow: 0 0 0 0 rgba(0, 215, 167, 0.45); }
  75% { box-shadow: 0 0 0 14px rgba(0, 215, 167, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 215, 167, 0); }
}

@keyframes shimmer {
  0%, 20% { transform: translateX(-140%); }
  45%, 100% { transform: translateX(140%); }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes streamPass {
  from { transform: translateX(-100%); }
  to { transform: translateX(200%); }
}

@keyframes pingDanger {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 103, 0.35); }
  75% { box-shadow: 0 0 0 12px rgba(255, 77, 103, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 103, 0); }
}

@keyframes pingWarm {
  0% { box-shadow: 0 0 0 0 rgba(255, 176, 46, 0.35); }
  75% { box-shadow: 0 0 0 12px rgba(255, 176, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 176, 46, 0); }
}

@keyframes meterGlow {
  0%, 100% { filter: brightness(0.95); }
  50% { filter: brightness(1.15); }
}

@keyframes pingBars {
  0%, 100% { transform: scaleX(0.92); opacity: 0.7; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes spark {
  0%, 100% { transform: scaleY(0.72); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes areaPulse {
  0%, 100% { filter: brightness(0.95); transform: translateY(0); }
  50% { filter: brightness(1.12); transform: translateY(-2px); }
}

@media (max-width: 1160px) {
  .hero,
  .feature-section,
  .api-layout,
  .server-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .platform-grid,
  .seo-grid,
  .pricing-head,
  .server-grid,
  .proof-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

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

  .dashboard-preview {
    min-height: auto;
  }

  .config-form,
  .stats-grid,
  .api-console,
  .metric-rail,
  .incident-strip,
  .server-metrics,
  .server-chart-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .site-header {
    align-items: center;
  }

  .domain-chip {
    display: none;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .sidebar-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .sidebar-menu li {
    min-height: 42px;
    padding: 10px;
    text-align: center;
    font-size: 0.84rem;
  }

  .dash-main {
    padding: 18px;
  }

  .usage-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: 18px;
    padding-top: 18px;
  }

  .usage-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .usage-bar {
    margin: -4px 0 4px;
  }

  .logout-row {
    margin-top: 14px;
  }

  .dash-welcome,
  .panel-banner {
    padding: 20px;
  }

  .dash-welcome,
  .panel-banner,
  .config-actions,
  .server-detail-head,
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .server-detail-head {
    display: flex;
  }

  .table-head,
  .table-row {
    grid-template-columns: 1fr;
  }

  .request-row {
    grid-template-columns: 1fr;
  }

  .response-box {
    grid-template-columns: 1fr;
  }

  .metric-rail {
    margin-left: 0;
  }

  .latency-chart {
    width: 100%;
    margin-left: 0;
  }

  .chart-grid {
    display: none;
  }

  .chart-times {
    margin-left: 0;
  }

  .server-detail-head p {
    flex-wrap: wrap;
  }

  .range-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .range-toggle span {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    top: 10px;
    padding: 12px;
    border-radius: 24px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .button.ghost {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.9rem;
  }

  .hero h1,
  .section-head h2,
  .feature-copy h2,
  .cta h2 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .hero-actions,
  .button-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding: 42px 0 30px;
  }

  .trust-row,
  .sidebar-menu {
    grid-template-columns: 1fr;
  }

  .trust-row li,
  .domain-line {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .dashboard-preview,
  .feature-panel,
  .server-detail {
    border-radius: 24px;
  }

  .dash-sidebar {
    padding: 18px;
  }

  .sidebar-brand {
    margin-bottom: 16px;
    font-size: 1.1rem;
  }

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

  .dash-welcome strong,
  .panel-banner strong {
    font-size: 1.08rem;
  }

  .stats-grid,
  .platform-grid,
  .seo-grid,
  .pricing-grid,
  .proof-grid {
    gap: 14px;
  }

  .stat-panel,
  .platform-card,
  .seo-card,
  .pricing-card,
  .comparison-wrap,
  .faq-item,
  .proof-card,
  .config-card,
  .monitor-table,
  .request-box,
  .response-box,
  .server-chart-card {
    border-radius: 20px;
  }

  .metric-big {
    font-size: 2.15rem;
  }

  .config-actions {
    align-items: stretch;
  }

  .tag-button,
  .save-request,
  .panel-button {
    width: 100%;
  }

  .server-detail-head {
    padding: 18px;
  }

  .server-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .server-detail-head strong {
    font-size: 1.25rem;
  }

  .server-metrics article {
    min-height: auto;
    padding: 20px;
  }

  .server-metrics strong {
    font-size: 1.55rem;
  }

  .server-line-chart {
    height: 170px;
  }

  .area-chart {
    height: 140px;
  }

  .cta {
    margin-top: 48px;
  }

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

  .pricing-card {
    min-height: auto;
    padding: 24px;
  }

  .plan-top {
    min-height: auto;
    padding-right: 96px;
  }

  .comparison-wrap {
    padding: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-table {
    min-width: 760px;
  }

  .comparison-row span {
    padding: 14px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .chart-line {
    stroke-dashoffset: 0;
  }
}
