:root {
  color-scheme: dark;
  --bg: #07111f;
  --card-border: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #9fb0c7;
  --brand: #465fff;
  --brand-light: #8da2fb;
  --success: #22c55e;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(70, 95, 255, 0.35), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.2), transparent 28rem),
    linear-gradient(135deg, var(--bg), #020617 72%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  width: min(1120px, 100%);
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(15, 28, 48, 0.92), rgba(15, 23, 42, 0.7));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-content {
  padding: clamp(32px, 7vw, 78px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: clamp(44px, 8vw, 88px);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 14px 34px rgba(70, 95, 255, 0.34);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.status-card {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: 38px;
  padding: 16px 18px;
  border: 1px solid rgba(141, 162, 251, 0.28);
  border-radius: 18px;
  background: rgba(70, 95, 255, 0.12);
}

.status-card strong,
.status-card span {
  display: block;
}

.status-card strong {
  font-size: 0.96rem;
}

.status-card span:not(.pulse) {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.pulse {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--success);
}

.pulse::after {
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  content: "";
  background: rgba(34, 197, 94, 0.22);
  animation: pulse 1.8s ease-out infinite;
}

.preview-panel {
  align-self: stretch;
  min-height: 560px;
  margin: 26px 26px 26px 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(2, 6, 23, 0.58);
}

.preview-header {
  display: flex;
  gap: 8px;
  padding: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.preview-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.preview-body {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.metric-card {
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.76);
}

.metric-card.primary {
  min-height: 190px;
  background: linear-gradient(135deg, rgba(70, 95, 255, 0.9), rgba(34, 197, 94, 0.62));
}

.metric-card span {
  display: block;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.92rem;
}

.metric-card strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
}

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

.timeline {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.58);
}

.timeline span {
  height: 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
}

.timeline span:nth-child(1) {
  width: 86%;
}

.timeline span:nth-child(2) {
  width: 64%;
}

.timeline span:nth-child(3) {
  width: 74%;
}

@keyframes pulse {
  from {
    opacity: 1;
    transform: scale(0.6);
  }

  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    min-height: auto;
    margin: 0 18px 18px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 16px;
  }

  .hero-card {
    border-radius: 24px;
  }

  .hero-content {
    padding: 28px;
  }

  .brand {
    margin-bottom: 54px;
  }

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

  .status-card {
    align-items: flex-start;
  }
}
