:root {
  color-scheme: dark;
  --bg: #05070a;
  --panel: rgba(12, 17, 24, 0.82);
  --panel-strong: #0c1118;
  --line: rgba(148, 163, 184, 0.16);
  --text: #f4f7fb;
  --muted: #8d98a8;
  --cyan: #5de4ff;
  --blue: #638bff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 50% -15%, rgba(50, 104, 255, 0.16), transparent 35%),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 10, 0.9));
  content: "";
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(120px);
  pointer-events: none;
}

.ambient-left {
  top: 32%;
  left: -180px;
  background: var(--blue);
}

.ambient-right {
  right: -190px;
  bottom: 10%;
  background: var(--cyan);
}

.page-shell {
  width: min(100% - 40px, 1000px);
  margin: 0 auto;
  padding: 92px 0 34px;
}

.hero {
  max-width: 850px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow,
.section-label {
  color: var(--cyan);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 8px 13px;
  border: 1px solid rgba(93, 228, 255, 0.18);
  border-radius: 999px;
  background: rgba(93, 228, 255, 0.045);
}

.eyebrow span,
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.65rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 em {
  background: linear-gradient(115deg, var(--cyan), #9a7cff 78%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.01em;
}

.demo-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.demo-card {
  overflow: hidden;
  border-radius: 18px;
}

.card-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2b3441;
}

.card-bar p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #b3bdca;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-label {
  justify-self: end;
  color: #626d7b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.video-frame {
  padding: 11px;
  background: #070a0e;
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: #000;
  object-fit: contain;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
  margin-top: 24px;
  padding: 30px 32px;
  border-radius: 16px;
}

.section-label {
  margin: 0 0 9px;
  font-size: 0.62rem;
}

h2 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
}

.contact-links {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
}

.contact-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

a.contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 228, 255, 0.35);
  background: rgba(93, 228, 255, 0.045);
}

.contact-icon {
  display: grid;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(93, 228, 255, 0.18);
  border-radius: 8px;
  background: rgba(93, 228, 255, 0.07);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.contact-item div {
  min-width: 0;
}

.contact-item div span,
.contact-item strong {
  display: block;
}

.contact-item div span {
  margin-bottom: 3px;
  color: #6f7b8a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-item strong {
  overflow: hidden;
  color: #dbe2ec;
  font-size: 0.77rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow {
  margin-left: auto;
  color: #657180;
}

footer {
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  color: #3e4855;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1000px);
    padding-top: 62px;
  }

  .hero {
    margin-bottom: 34px;
  }

  .contact-card,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-card {
    gap: 22px;
    padding: 24px;
  }

  .live-label {
    display: none;
  }

  .card-bar {
    grid-template-columns: 1fr auto;
  }

  footer {
    gap: 12px;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
