:root {
  --bg: #0f0a1f;
  --bg-soft: #17112f;
  --surface: #221a43;
  --surface-2: #2b2156;
  --primary: #9c7dff;
  --primary-strong: #7f5cff;
  --text: #f3efff;
  --text-soft: #cfc2ff;
  --border: rgba(184, 157, 255, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(156, 125, 255, 0.22), transparent 40%),
    radial-gradient(circle at 90% 5%, rgba(127, 92, 255, 0.2), transparent 35%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  pointer-events: none;
  z-index: -1;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 10, 31, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 84px 0 26px;
}

.hero-card,
.card {
  background: linear-gradient(160deg, rgba(43, 33, 86, 0.95), rgba(34, 26, 67, 0.92));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 35px rgba(7, 4, 15, 0.38);
}

.hero-card {
  min-height: calc(100svh - 130px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--text-soft);
}

.hero-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
}

.hero-text {
  margin: 12px 0 0;
  color: var(--text-soft);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(120deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.secondary-link {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.secondary-link:hover {
  color: var(--text);
}

.section {
  padding: 20px 0;
}

.card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.card p {
  color: var(--text-soft);
  margin: 8px 0 18px;
}

video {
  width: min(300px, 100%);
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #000;
}

.card-actions {
  margin-top: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.shot-card {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery img:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 157, 255, 0.7);
}

.shot-card figcaption {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.35;
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  text-align: left;
}

.feature-list li {
  margin-bottom: 8px;
}

#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 4, 19, 0.88);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#modal.open {
  display: flex;
}

#modalImg {
  max-width: min(460px, 90vw);
  max-height: 88vh;
  border-radius: 14px;
  border: 1px solid var(--border);
}

#closeBtn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(156, 125, 255, 0.25);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 22px;
  color: var(--text-soft);
}

.footer-inner {
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 18px 0 24px;
  text-align: center;
}

.footer-inner p {
  margin: 12px 0 0;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 80px;
  }

  .hero-card {
    min-height: calc(100svh - 140px);
  }

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

@media (max-width: 640px) {
  .topbar {
    position: sticky;
  }

  .nav-inner {
    padding: 10px 0;
    gap: 10px;
  }

  .hero-card,
  .card {
    padding: 20px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 72px;
    padding-bottom: 14px;
    align-items: stretch;
  }

  .hero-card {
    min-height: calc(100svh - 100px);
  }

  .brand {
    font-size: 1rem;
  }

  .hero-card h2 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .primary-btn {
    width: 100%;
  }

  .hero-actions .secondary-link {
    width: 100%;
    text-align: center;
    padding: 6px 0;
  }

  .primary-btn {
    padding: 10px 14px;
  }

  video {
    width: min(250px, 100%);
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}