@font-face {
  font-family: "Roobert";
  src: url("assets/fonts/Roobert-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("assets/fonts/Roobert-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("assets/fonts/Roobert-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --panel: #101010;
  --panel-2: #151515;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #fff;
  --muted: #bcbcbc;
  --soft: rgba(255, 255, 255, 0.68);
  --accent: #ffa800;
  --green: #b0ff22;
  --max: 1170px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Roobert", Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand-link img {
  width: 112px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.main-nav a,
.header-action,
.footer-links a {
  transition: color 160ms ease, opacity 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: #fff;
}

.header-action {
  min-width: 128px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.header-action:hover {
  background: #fff;
  color: #000;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 160ms ease, top 160ms ease;
}

.nav-toggle span:first-child {
  top: 15px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-open .nav-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 118px 0 112px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), #000 80%),
    url("assets/hero/hero-glow.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: min(1440px, 100%) auto;
}

.hero-shell {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8d8d8d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  width: min(950px, 100%);
  margin: 0 auto 18px;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 1.03;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 0 auto 44px;
  color: var(--soft);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-slider {
  position: relative;
}

.hero-track {
  position: relative;
  min-height: 452px;
}

.hero-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(290px, 360px) 1fr;
  align-items: center;
  gap: 28px;
  min-height: 452px;
  padding: 48px 50px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.98), rgba(15, 15, 15, 0.76) 44%, rgba(15, 15, 15, 0.18)),
    url("assets/hero/hero-neo-bg.jpg") center / cover no-repeat,
    #0f0f0f;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  visibility: hidden;
  transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease;
  text-align: left;
}

.hero-panel:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.98), rgba(15, 15, 15, 0.7) 45%, rgba(15, 15, 15, 0.18)),
    url("assets/hero/hero-mobile-bg.jpg") center / cover no-repeat,
    #0f0f0f;
}

.hero-panel:nth-child(3) {
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 168, 0, 0.18), transparent 40%),
    linear-gradient(90deg, rgba(15, 15, 15, 0.98), rgba(15, 15, 15, 0.72) 42%, rgba(15, 15, 15, 0.1)),
    #050505;
}

.hero-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.hero-panel-copy {
  position: relative;
  z-index: 2;
}

.product-logo {
  width: auto;
  height: 22px;
  margin-bottom: 26px;
}

.logo-luminar {
  height: 21px;
}

.hero-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.1;
}

.hero-panel p {
  margin-bottom: 28px;
  color: var(--soft);
  font-size: 18px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.hero-visual img {
  width: min(780px, 105%);
  max-width: none;
  margin-right: -32px;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, 0.44));
}

.hero-visual-mobile img {
  width: min(620px, 95%);
  margin-right: -10px;
}

.hero-visual-aperty img {
  width: min(840px, 118%);
  margin-right: -170px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 28px;
  border: 1px solid #fff;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button.primary {
  background: #fff;
  color: #000;
}

.button.primary:hover {
  background: transparent;
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: #fff;
}

.button.secondary:hover {
  background: #fff;
  color: #000;
}

.button.compact {
  min-height: 42px;
  padding: 12px 18px;
  font-size: 11px;
}

.button.centered {
  width: fit-content;
  margin: 36px auto 0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.slider-arrow:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.slider-arrow-prev {
  left: -68px;
}

.slider-arrow-next {
  right: -68px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #404040;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.slider-dots button.is-active {
  width: 56px;
  background: #fff;
}

.hero-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  text-align: left;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.proof-item img {
  width: min(230px, 42%);
  height: auto;
  flex: 0 0 auto;
}

.proof-item span {
  color: var(--soft);
  font-size: 18px;
}

.proof-item strong {
  display: block;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
}

.section-block {
  padding: 104px 0;
}

.section-head {
  width: min(770px, 100%);
  margin: 0 auto 50px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  color: #f2f2f2;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.14;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
}

.product-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 28px;
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 600;
}

.product-card p {
  flex: 1;
  margin-bottom: 28px;
  color: var(--muted);
}

.market-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 230px;
  gap: 20px;
}

.market-card,
.news-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  isolation: isolate;
}

.market-card::after,
.news-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
  z-index: 1;
}

.market-card img,
.news-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.market-card:hover img,
.news-card:hover img {
  transform: scale(1.04);
}

.market-card.large {
  grid-row: span 2;
}

.market-card.wide {
  grid-column: span 2;
}

.market-info,
.news-card span {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: 100%;
  padding: 22px;
}

.market-info strong,
.news-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.market-info small,
.news-card small {
  display: block;
  color: var(--soft);
  font-size: 15px;
}

.quote-slider {
  position: relative;
  width: min(930px, 100%);
  margin: 0 auto;
  padding: 0 70px;
}

.quote-track {
  position: relative;
  min-height: 272px;
}

.quote-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  opacity: 0;
  transform: scale(0.98);
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.quote-card.is-active {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.quote-card blockquote {
  margin: 0 0 24px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.23;
}

.quote-card figcaption {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slider-arrow.mini {
  width: 42px;
  height: 42px;
  font-size: 30px;
}

.slider-arrow.mini.prev {
  left: 0;
}

.slider-arrow.mini.next {
  right: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, 245px);
  gap: 20px;
}

.news-card.feature {
  grid-row: span 2;
}

.news-card.feature strong {
  font-size: 34px;
}

.stats {
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(1180px, 130%);
  opacity: 0.28;
  transform: translateX(-50%);
  pointer-events: none;
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease;
}

.stat-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.stat-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(58px, 6vw, 94px);
  font-weight: 600;
  line-height: 0.95;
}

.stat-card span {
  color: var(--soft);
  font-size: 15px;
  font-weight: 600;
}

.site-footer {
  padding: 74px 0 36px;
  border-top: 1px solid var(--line);
  background: #000;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 70px;
}

.footer-brand img {
  width: 118px;
  margin-bottom: 24px;
}

.footer-brand p {
  margin-bottom: 24px;
  color: var(--soft);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-group button {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #8d8d8d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.footer-group div {
  display: grid;
  gap: 8px;
}

.footer-group a {
  color: #a8a8a8;
  font-size: 15px;
}

.social-row {
  display: flex !important;
  align-items: center;
  gap: 14px;
}

.social-row img {
  width: 20px;
  height: 20px;
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.social-row a:hover img {
  opacity: 1;
}

@media (max-width: 1320px) {
  .slider-arrow-prev {
    left: 16px;
  }

  .slider-arrow-next {
    right: 16px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
  }

  .main-nav {
    position: fixed;
    top: 54px;
    right: 0;
    left: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 16px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 170ms ease, transform 170ms ease;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 18px;
  }

  .header-action {
    display: none;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 620px;
    padding: 38px 28px 0;
    text-align: center;
  }

  .hero-panel-copy {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-panel .button-row {
    justify-content: center;
  }

  .product-logo {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-visual {
    justify-content: center;
    align-self: end;
  }

  .hero-visual img,
  .hero-visual-mobile img,
  .hero-visual-aperty img {
    width: min(760px, 118%);
    margin-right: 0;
  }

  .hero-visual-aperty img {
    transform: translateY(8%);
  }

  .hero-proof,
  .product-grid,
  .stats-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-card.large,
  .market-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 30px), var(--max));
  }

  .hero {
    padding: 92px 0 74px;
  }

  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), #000 72%),
      url("assets/hero/hero-glow-mobile.png");
  }

  h1 {
    font-size: 36px;
  }

  .hero-copy {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .hero-track {
    min-height: 585px;
  }

  .hero-panel {
    min-height: 585px;
    padding: 30px 18px 0;
  }

  .hero-panel h2 {
    font-size: 24px;
  }

  .hero-panel p {
    font-size: 15px;
  }

  .hero-visual img {
    width: 116%;
  }

  .hero-visual-mobile img {
    width: 88%;
  }

  .hero-visual-aperty img {
    width: 132%;
  }

  .slider-arrow {
    display: none;
  }

  .slider-dots {
    margin-top: 18px;
  }

  .hero-proof {
    gap: 18px;
    margin-top: 34px;
  }

  .proof-item {
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
  }

  .proof-item img {
    width: 108px;
  }

  .proof-item span {
    font-size: 14px;
  }

  .proof-item strong {
    font-size: 18px;
  }

  .section-block {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .product-card {
    min-height: 0;
    padding: 24px;
  }

  .market-grid,
  .news-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    margin: 0 -15px;
    padding: 0 15px 8px;
    scroll-snap-type: x mandatory;
  }

  .market-card,
  .news-card,
  .news-card.feature {
    min-width: 282px;
    height: 365px;
    scroll-snap-align: center;
  }

  .news-card.feature strong,
  .market-info strong,
  .news-card strong {
    font-size: 20px;
  }

  .quote-slider {
    padding: 0;
  }

  .quote-track {
    min-height: 300px;
  }

  .quote-card {
    padding: 26px;
  }

  .quote-card blockquote {
    font-size: 22px;
  }

  .stats-grid {
    gap: 12px;
  }

  .stat-card {
    min-height: 134px;
    padding: 18px;
  }

  .site-footer {
    padding-top: 54px;
  }

  .footer-shell {
    gap: 40px;
  }

  .footer-links {
    display: block;
  }

  .footer-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .footer-group button {
    position: relative;
    margin: 0;
    padding: 16px 0;
    border-bottom: 0;
    font-size: 15px;
    cursor: pointer;
  }

  .footer-group button::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    color: #fff;
    font-size: 22px;
    transform: translateY(-50%);
  }

  .footer-group.is-open button::after {
    content: "-";
  }

  .footer-group div {
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 180ms ease, padding-bottom 180ms ease;
  }

  .footer-group.is-open div {
    max-height: 240px;
    padding-bottom: 16px;
  }
}

@media (max-width: 440px) {
  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-panel .button {
    width: 100%;
    min-height: 42px;
    padding: 11px 16px;
    font-size: 11px;
  }

  .hero-track,
  .hero-panel {
    min-height: 570px;
  }

  .proof-item {
    display: grid;
    grid-template-columns: 110px 1fr;
  }
}
