:root {
  --bg: #0b1026;
  --bg-alt: #0f152b;
  --card: #151b33;
  --text: #f8fafc;
  --text-sub: #cbd5f5;
  --border: rgba(148, 163, 184, 0.25);
  --accent: #4f9bff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, rgba(79, 155, 255, 0.12), transparent 55%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(11, 16, 38, 0.8);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 155, 255, 0.9), rgba(59, 130, 246, 0.6));
  box-shadow: 0 20px 40px -24px rgba(79, 155, 255, 0.9);
}

.brand__name {
  font-size: 15px;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--text-sub);
}

.nav a:hover {
  color: var(--text);
}

.hero {
  padding: clamp(48px, 10vw, 96px) 0;
}

.hero__inner {
  display: grid;
  gap: clamp(32px, 8vw, 64px);
  align-items: center;
}

@media (min-width: 880px) {
  .hero__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--text-sub);
  margin: 0 0 16px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.02;
}

.lead {
  margin: 18px 0 0;
  max-width: 460px;
  color: var(--text-sub);
  font-size: clamp(16px, 2vw, 18px);
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn--primary {
  background: linear-gradient(135deg, rgba(79, 155, 255, 1), rgba(37, 99, 235, 1));
  box-shadow: 0 40px 60px -40px rgba(79, 155, 255, 0.9);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text-sub);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero__video {
  position: relative;
  border: none;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 60px 120px -80px rgba(79, 155, 255, 0.6);
  cursor: pointer;
}

.hero__video img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: white;
  text-shadow: 0 30px 60px rgba(15, 23, 42, 0.8);
}

.section {
  padding: clamp(40px, 9vw, 88px) 0;
}

.section--alt {
  background: radial-gradient(circle at top, rgba(79, 155, 255, 0.08), transparent 60%), var(--bg-alt);
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(24px, 6vw, 40px);
}

.section__header h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
}

.section__header p {
  margin: 0;
  color: var(--text-sub);
}

.grid {
  display: grid;
  gap: clamp(18px, 4vw, 24px);
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--links {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.12) 0%, transparent 100%), var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 60px 80px -70px rgba(79, 155, 255, 0.45);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 155, 255, 0.8);
}

.card__media {
  position: relative;
}

.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: white;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px 22px;
}

.card__body h3 {
  margin: 0;
  font-size: 18px;
}

.card__body p {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(79, 155, 255, 0.14) 0%, transparent 70%), var(--card);
  transition: transform 180ms ease, border-color 180ms ease;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 155, 255, 0.8);
}

.link-card h3 {
  margin: 0;
  font-size: 18px;
}

.link-card p {
  margin: 6px 0 0;
  color: var(--text-sub);
  font-size: 14px;
}

.link-card__arrow {
  font-size: 20px;
  color: var(--text-sub);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  color: var(--text-sub);
  font-size: 14px;
}

.footer__inner p {
  margin: 0;
}

.modal {
  border: none;
  background: transparent;
  padding: 0;
}

.modal::backdrop {
  background: rgba(11, 16, 38, 0.88);
}

.modal[open] {
  display: grid;
  place-items: center;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
}

.modal__content {
  position: relative;
  width: min(960px, 100% - 24px);
  border-radius: 20px;
  overflow: hidden;
  background: black;
  box-shadow: 0 80px 160px -100px rgba(79, 155, 255, 0.7);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  background: rgba(15, 23, 42, 0.7);
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.modal__video {
  width: 100%;
  display: block;
}
