@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
  --bg: #0e1116;
  --bg-alt: #151922;
  --surface: #1b202a;
  --surface-soft: #222936;
  --text: #f5f3ee;
  --muted: #aeb6c3;
  --subtle: #818a99;
  --accent: #8fd7c7;
  --accent-strong: #f1c86a;
  --accent-ink: #10211d;
  --border: #303746;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(143, 215, 199, 0.11), transparent 32rem),
    linear-gradient(180deg, #10141b 0%, var(--bg) 34rem);
  color: var(--text);
  line-height: 1.65;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

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

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

li + li {
  margin-top: 0.45rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 17, 22, 0.86);
  backdrop-filter: blur(18px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: color 0.2s ease;
}

.logo__mark {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 6px;
}

.logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.94rem;
}

.nav-links a,
.language-switcher {
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0.45rem 0.8rem;
  font: inherit;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
}

.language-switcher span {
  color: var(--subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switcher select {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #11161d;
  color: var(--text);
  padding: 0.45rem 1.8rem 0.45rem 0.7rem;
  font: inherit;
}

main {
  padding-top: 2rem;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-shot {
  padding: 0;
}

.hero-shot__heading {
  margin-bottom: 1.25rem;
}

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

.hero-shot__thumb {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(12, 15, 21, 0.88);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-shot__thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 215, 199, 0.4);
}

.hero-shot__thumb img {
  width: 100%;
  height: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 14, 0.84);
  backdrop-filter: blur(8px);
  opacity: 1;
  transition: opacity 0.18s ease;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  width: min(1200px, 92vw);
  max-height: calc(100vh - 5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(10, 13, 18, 0.96);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.45);
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lightbox__content img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 5rem);
  object-fit: contain;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(17, 22, 29, 0.82);
  color: var(--text);
  font-family: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(17, 22, 29, 0.88);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  font-family: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox.is-entering {
  opacity: 0;
}

.lightbox.is-entering .lightbox__backdrop {
  opacity: 0;
}

.lightbox.is-entering .lightbox__content {
  opacity: 0;
  transform: scale(0.985);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero__card {
  border: 1px solid rgba(143, 215, 199, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(143, 215, 199, 0.14), rgba(241, 200, 106, 0.07)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero__card p {
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 700;
}

.hero__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__card li {
  position: relative;
  padding-left: 1.2rem;
}

.hero__card li::before {
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  content: "•";
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 700px;
  color: #d9ded8;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section.alt {
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(24, 29, 38, 0.58);
}

.section.alt .section-heading p {
  color: #c6ced9;
}

.section.alt .grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)), rgba(27, 33, 43, 0.84);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading p {
  margin-bottom: 0;
}

.use-case-group + .use-case-group {
  margin-top: 2rem;
}

.use-case-group__title {
  margin-bottom: 1rem;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.grid article,
.hero__card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)), var(--surface);
}

.grid article {
  min-height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.grid article:hover {
  border-color: rgba(143, 215, 199, 0.45);
  background: var(--surface-soft);
  transform: translateY(-2px);
}

.grid article p:last-child,
.grid article ul:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.1;
  padding: 0.78rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.03);
}

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

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

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

@media (max-width: 820px) {
  main {
    padding-top: 1rem;
  }

  .header-content {
    flex-wrap: wrap;
  }

  .nav-links {
    position: absolute;
    inset: 64px 0 auto;
    display: none;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0;
    padding: 1rem 5vw;
    border-bottom: 1px solid var(--border);
    background: rgba(14, 17, 22, 0.98);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .language-switcher {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero-shot__grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox__content,
  .lightbox__content img {
    max-height: calc(100vh - 4rem);
  }

  .lightbox__nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
  }

  .lightbox__nav--prev {
    left: 0.6rem;
  }

  .lightbox__nav--next {
    right: 0.6rem;
  }

  .button {
    width: 100%;
  }
}
