:root {
  --bg: #080817;
  --ink: #f7fbff;
  --muted: #b9c6d6;
  --dim: #7d8ba3;
  --cyan: #55f0ff;
  --magenta: #f249ff;
  --lime: #b9ff68;
  --line: rgba(154, 230, 255, 0.2);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 73, 255, 0.13), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(85, 240, 255, 0.13), transparent 28%),
    linear-gradient(180deg, #070712, #0c1024 46%, #070712);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.demo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 5vw, 70px);
  background: rgba(5, 6, 17, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.demo-header img {
  width: 150px;
}

.protected-logo {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.back-link {
  color: var(--cyan);
  font-weight: 850;
}

.demo-hero,
.demo-section {
  padding: clamp(48px, 8vw, 90px) clamp(16px, 5vw, 70px);
}

.demo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: 72vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 6.2rem);
  line-height: 0.95;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 700px;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 20px;
  padding: 12px 16px;
  color: #080817;
  background: linear-gradient(135deg, var(--cyan), #ffffff 50%, var(--magenta));
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.panel,
.card,
.metric,
.table-wrap,
.form-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-preview {
  min-height: 370px;
  padding: 22px;
}

.preview-window {
  height: 100%;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(85,240,255,0.14), transparent 35%),
    radial-gradient(circle at 70% 28%, rgba(242,73,255,0.2), transparent 30%),
    rgba(8, 8, 23, 0.78);
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

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

.card,
.metric {
  padding: 20px;
}

.price {
  display: block;
  margin-top: 16px;
  color: var(--cyan);
  font-size: 1.45rem;
  font-weight: 950;
}

.review {
  min-height: 190px;
}

.table-wrap {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--cyan);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #06111a;
  background: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
}

.status.warn {
  background: #ffd36b;
}

.status.info {
  background: var(--cyan);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 16px;
}

.task-list,
.document-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-list li,
.document-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--lime);
  font-weight: 850;
}

.text-action {
  padding: 0;
  color: var(--cyan);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.text-action:hover {
  color: var(--lime);
}

.text-action:disabled {
  color: var(--lime);
  cursor: default;
}

.demo-footer {
  padding: 28px clamp(16px, 5vw, 70px);
  color: var(--dim);
  border-top: 1px solid var(--line);
}

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

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .demo-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
