:root {
  color-scheme: light;
  --page: #f8fbff;
  --ink: #171a20;
  --muted: #667085;
  --soft: #f6f8fc;
  --line: #e8edf5;
  --line-strong: #dde5f0;
  --blue: #4f7cff;
  --cyan: #3fd1e5;
  --rose: #f36b8a;
  --orange: #f6a13b;
  --green: #19c37d;
  --shadow: 0 26px 80px rgba(15, 23, 42, 0.10);
  --soft-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background-color: var(--page);
  background-image:
    radial-gradient(circle, rgba(37, 99, 235, 0.18) 1.1px, transparent 1.1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.92));
  background-size: 18px 18px, 100% 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: auto 10% 0;
  height: 34%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.14), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}

.theme-toggle {
  position: fixed;
  top: 34px;
  right: 36px;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #111827;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1430px, calc(100vw - 96px));
  min-height: min(78vh, 860px);
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(420px, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.intro-panel,
.visual-panel {
  min-width: 0;
  padding: clamp(38px, 5vw, 78px);
}

.intro-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-panel {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(250, 252, 255, 0.88), rgba(246, 248, 252, 0.92));
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.brand-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #080b16;
  box-shadow: 0 18px 38px rgba(8, 11, 22, 0.18);
}

.brand-mark span {
  width: 41px;
  height: 41px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #172554 0 28%, transparent 29%),
    conic-gradient(from 160deg, #5eead4, #4f7cff, #ef4f8f, #f97316, #5eead4);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.08);
}

.brand-row strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.brand-row p {
  margin: 5px 0 0;
  color: #9aa3af;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.36em;
}

.access-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 11px 22px;
  border: 1px solid #dbe6f7;
  border-radius: 999px;
  color: #5f6b7a;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(79, 124, 255, 0.08);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.34em;
}

.access-pill svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 6.2vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

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

.service-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 124, 255, 0.38);
  box-shadow: var(--soft-shadow);
}

.service-card.primary {
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.12), rgba(63, 209, 229, 0.10));
}

.service-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue);
  background: #f0f5ff;
  font-weight: 900;
}

.service-card strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.service-card small {
  display: block;
  margin-top: 5px;
  color: #98a2b3;
  font-size: 13px;
}

.visual-panel > * { width: min(100%, 620px); }

.dashboard-preview {
  position: relative;
  min-height: 430px;
  padding: 66px 72px 52px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(90deg, transparent 0 50%, rgba(232, 237, 245, 0.58) 50% 50.3%, transparent 50.3%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 252, 255, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--soft-shadow);
}

.dashboard-preview::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: 34px;
  right: 58px;
  border-radius: 50%;
  background:
    linear-gradient(#eef3fa, #eef3fa) center/100% 1px no-repeat,
    linear-gradient(90deg, #eef3fa, #eef3fa) center/1px 100% no-repeat,
    radial-gradient(circle, transparent 0 33px, #edf2f8 34px 35px, transparent 36px 51px, #edf2f8 52px 53px, transparent 54px);
}

.browser-dots {
  position: absolute;
  top: 22px;
  left: 28px;
  display: flex;
  gap: 8px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d6dde8;
}

.preview-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.skeleton {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #e8edf5;
}

.line-lg { width: 168px; margin-bottom: 14px; }
.line-sm { width: 238px; opacity: 0.64; }
.short { width: 58px; height: 10px; }
.tiny { width: 80px; height: 8px; opacity: 0.72; }

.shield-badge {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.shield-badge svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #5b6676;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 16px;
  margin-bottom: 20px;
}

.mini-card,
.status-strip {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-card {
  min-height: 105px;
  padding: 24px;
}

.metric {
  display: block;
  width: 92px;
  height: 9px;
  margin: 18px 0 16px;
  border-radius: 999px;
  background: #f4a8b6;
}

.chart-card { padding: 0; overflow: hidden; }

.chart {
  width: 100%;
  height: 105px;
  overflow: visible;
}

.chart path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 8;
  stroke-linecap: round;
}

.chart circle {
  fill: #fff;
  stroke: var(--orange);
  stroke-width: 5;
}

.chart circle:nth-of-type(2) { stroke: var(--rose); }

.status-strip {
  position: relative;
  z-index: 1;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}

.status-item {
  width: 86px;
  height: 36px;
  border-radius: 999px;
  background: #f2f5fa;
}

.status-item.active {
  background: #fff0f2;
  position: relative;
}

.status-item.active::after,
.status-item::after {
  content: "";
  display: block;
  width: 42px;
  height: 8px;
  margin: 14px auto;
  border-radius: 999px;
  background: #d6dde8;
}

.status-item.active::after { background: var(--rose); }
.status-item.wide { width: 128px; }

.system-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.online-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(25, 195, 125, 0.12);
}

.system-note strong { display: block; }
.system-note p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  body { padding: 28px 16px; place-items: start center; }
  .app-shell {
    width: min(100%, 760px);
    grid-template-columns: 1fr;
    border-radius: 34px;
  }
  .visual-panel { border-left: 0; border-top: 1px solid var(--line-strong); }
  .theme-toggle { top: 18px; right: 18px; }
}

@media (max-width: 640px) {
  .intro-panel,
  .visual-panel { padding: 30px 22px; }
  .brand-row { margin-bottom: 34px; }
  .brand-row p { letter-spacing: 0.22em; }
  .access-pill { letter-spacing: 0.18em; }
  .service-grid { grid-template-columns: 1fr; }
  .dashboard-preview { min-height: 360px; padding: 58px 24px 28px; }
  .mini-grid { grid-template-columns: 1fr; }
  .status-strip { flex-wrap: wrap; padding: 18px; }
}
