:root {
  --bg: #0b1020;
  --bg-alt: #111831;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #eef2ff;
  --muted: #b6c2e1;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --max-width: 1240px;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(180deg, #0b1020 0%, #0d1327 100%);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover,
.brand:hover {
  color: var(--accent);
}

.hero {
  padding: 7rem 0 3.5rem;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.subtitle {
  width: min(100%, 980px);
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 2rem;
}

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

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), #818cf8);
  color: #07131e;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-copy {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 860px;
}

.card {
  padding: 1.4rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.hero-video-shell {
  margin-top: 2rem;
}

.feature-video,
.feature-media {
  display: block;
  width: 100%;
  height: auto;
  background: #05070f;
}

.results-player {
  display: grid;
  gap: 1rem;
}

.result-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.result-button {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.result-button:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.45);
  color: var(--text);
}

.result-button.is-active {
  color: #07131e;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #c4b5fd);
}

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

.sample-card {
  overflow: hidden;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sample-card video,
.sample-media {
  display: block;
  width: 100%;
  border-radius: 14px;
  background: #05070f;
}

.sample-card p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-word;
}

.site-footer {
  padding: 1.75rem 0 2.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.94rem;
}

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

@media (max-width: 720px) {
  .hero {
    padding-top: 5.5rem;
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-content {
    flex-direction: column;
  }
}
