:root {
  color-scheme: dark;
  --bg: #0f172a;
  --bg-accent: #111827;
  --panel: rgba(15, 23, 42, 0.78);
  --text: #e5eefc;
  --muted: #9fb2d1;
  --line: rgba(148, 163, 184, 0.18);
  --primary: #7c3aed;
  --primary-strong: #6d28d9;
  --secondary: rgba(124, 58, 237, 0.12);
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}

* {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.72) 0%, rgba(15, 23, 42, 0.72) 100%),
    radial-gradient(circle at top, rgba(124, 58, 237, 0.22), transparent 32%),
    url("images/OfficeWall.webp") center / cover no-repeat fixed;
}

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

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.hero {
  padding: 4rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.68));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #c4b5fd;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 0.95;
}

.subtitle {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
}

.button-primary:hover {
  background: var(--primary-strong);
}

.button-secondary {
  border: 1px solid rgba(196, 181, 253, 0.28);
  background: var(--secondary);
}

main {
  margin-top: 2rem;
}

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

.card,
.feature {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.5rem;
}

.card h2,
.feature h2 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.card p,
.feature p,
.status-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.feature {
  margin-top: 1rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 1rem;
  align-items: center;
}

.status-panel {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(196, 181, 253, 0.14);
}

.status-label {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-value {
  margin: 0;
  color: var(--text) !important;
  font-size: 1.2rem;
  font-weight: 700;
}

.card-img {
  width: 100%;
  height: 160px;
  max-height: 160px;
  object-fit: contain;
  background: #050d1a;
  border-radius: 14px;
  margin-bottom: 1rem;
  display: block;
  flex-shrink: 0;
}

.campfire-img {
  width: 100%;
  height: 160px;
  max-height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
  display: block;
  flex-shrink: 0;
}

.video-section {
  margin-top: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.video-section h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.demo-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

@media (max-width: 860px) {
  .hero,
  .feature {
    padding: 2rem;
  }

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

@media (max-width: 540px) {
  .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero {
    padding: 1.4rem;
    border-radius: 20px;
  }

  .button {
    width: 100%;
  }
}
