:root {
  --bg: #000;
  --bg-2: #0b0b0d;
  --fg: #f5f5f7;
  --fg-2: #a1a1a6;
  --accent: #2997ff;
  --card: #1c1c1e;
  --card-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wordmark {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 14px;
}

.nav nav {
  display: flex;
  gap: 28px;
}

.nav nav a {
  font-size: 13px;
  color: var(--fg-2);
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  text-align: center;
  padding: 96px 24px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--fg-2);
  margin: 0 0 32px;
  line-height: 1.4;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #0a84ff; }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: rgba(41, 151, 255, 0.4);
}
.btn-secondary:hover { background: rgba(41, 151, 255, 0.08); }

/* Hero shot */
.hero-shot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.hero-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
}

/* Highlights */
.highlights {
  padding: 96px 0 80px;
  background: var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.highlights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 0 32px;
}

.highlights-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ctrl {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ctrl:hover { background: rgba(255, 255, 255, 0.18); }

.ctrl-play::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 9px solid var(--fg);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 2px;
}

.ctrl-play.paused::before {
  border: none;
  width: 4px;
  height: 12px;
  background: var(--fg);
  margin: 0;
  box-shadow: 6px 0 0 var(--fg);
}

/* Carousel */
.carousel {
  overflow: hidden;
  position: relative;
  padding: 0 24px;
}

.track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 min(820px, 74vw);
  margin: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0.42;
  transform: scale(0.96);
  transition: opacity 0.4s, transform 0.4s;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow);
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.slide figcaption {
  padding: 24px 28px 28px;
}

.slide figcaption h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.slide figcaption p {
  margin: 0;
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.5;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.25s;
}

.dots button.is-active {
  background: var(--fg);
  width: 28px;
  border-radius: 4px;
}

/* Features */
.features {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px;
}

.features h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.5;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 24px 64px;
  color: var(--fg-2);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
  color: var(--fg);
  margin: 0 4px;
}

/* Mobile */
@media (max-width: 680px) {
  .highlights-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .slide { flex-basis: 84vw; }
  .hero { padding-top: 56px; }
  .features { padding: 64px 20px; }
}
