:root {
  --page: #f6f8fb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --ink: #0d1d30;
  --muted: #526274;
  --faint: #7b8a9a;
  --line: rgba(13, 29, 48, 0.09);
  --line-strong: rgba(13, 29, 48, 0.14);
  --blue: #1467e8;
  --cyan: #20a7e8;
  --green: #1d9d70;
  --shadow-soft: 0 14px 42px rgba(18, 37, 63, 0.08);
  --shadow-lift: 0 22px 68px rgba(18, 37, 63, 0.13);
  --shadow-deep: 0 42px 120px rgba(18, 37, 63, 0.18);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(47, 126, 237, 0.12), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(28, 177, 227, 0.10), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, var(--page) 52%, #f9fbfe 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.preview-open { overflow: hidden; }

img, iframe { display: block; max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
main, .site-footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
main { position: relative; z-index: 2; }
button { font: inherit; }

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: 300;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.ambient,
.wave-field {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
.ambient {
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(76px);
  opacity: 0.28;
}
.ambient-a { top: 58px; left: -175px; background: rgba(38, 119, 236, 0.25); }
.ambient-b { top: 330px; right: -185px; background: rgba(45, 189, 230, 0.2); }

.wave-field {
  inset: 0;
  overflow: hidden;
  opacity: 0.58;
}
.wave-gradient {
  position: absolute;
  inset: -18%;
  background:
    linear-gradient(180deg,
      rgba(20, 103, 232, 0) 0%,
      rgba(20, 103, 232, 0.08) 22%,
      rgba(32, 167, 232, 0.11) 38%,
      rgba(29, 157, 112, 0.06) 54%,
      rgba(20, 103, 232, 0) 74%);
  background-size: 100% 240%;
  background-position: 50% -120%;
  animation: verticalWaveFlow 17s linear infinite;
  mix-blend-mode: multiply;
}
.wave-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wave-lines path {
  fill: none;
  stroke: url(#waveVertical);
  stroke-width: 1.12;
  stroke-linecap: round;
  stroke-dasharray: 680 1200;
  stroke-dashoffset: 0;
  animation: strokeDown 24s linear infinite;
}
.wave-lines path:nth-child(2n) { animation-duration: 30s; opacity: 0.72; }
.wave-lines path:nth-child(3n) { animation-duration: 36s; opacity: 0.55; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 24px rgba(22, 104, 232, 0.35);
  z-index: 90;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 42;
  padding: 16px 20px 0;
}
.header-shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(249, 251, 254, 0.76);
  backdrop-filter: blur(20px) saturate(1.08);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, padding 180ms ease;
}
.site-header.is-compact .header-shell {
  padding: 9px 12px;
  background: rgba(249, 251, 254, 0.88);
  box-shadow: 0 16px 44px rgba(18, 37, 63, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  border-radius: 999px;
  padding: 4px 6px 4px 4px;
  transition: background 180ms ease, transform 180ms ease;
}
.brand:hover { background: rgba(255,255,255,0.62); transform: translateY(-1px); }
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  box-shadow: 0 12px 24px rgba(18, 47, 96, 0.14);
}
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 15px; line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; }
.brand-copy small { color: var(--faint); font-size: 12px; line-height: 1.1; font-weight: 400; }

.segmented-nav {
  justify-self: center;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(238, 243, 249, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.segmented-nav a {
  position: relative;
  z-index: 2;
  padding: 10px 13px;
  border-radius: 999px;
  color: #526274;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  transition: color 180ms ease, transform 180ms ease;
}
.segmented-nav a:hover,
.segmented-nav a.is-active { color: var(--ink); transform: translateY(-1px); }
.nav-indicator {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: 84px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(18, 37, 63, 0.1);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), width 260ms cubic-bezier(.2,.8,.2,1);
}

.header-actions,
.hero-actions,
.download-actions { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.button.large { min-height: 48px; padding-inline: 20px; }
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 42px rgba(22, 104, 232, 0.22);
}
.button.soft,
.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  outline: none;
}
.button.primary:hover,
.button.primary:focus-visible { box-shadow: 0 22px 50px rgba(22, 104, 232, 0.28); }

.interactive {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}
.interactive:hover { transform: translateY(-2px); }

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 44px;
}
.eyebrow,
.section-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(22, 104, 232, 0.15);
  border-radius: 999px;
  background: rgba(22, 104, 232, 0.07);
  color: #1559bd;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.005em;
}
h1, h2, h3, strong { letter-spacing: -0.035em; }
h1 {
  margin-top: 18px;
  max-width: 620px;
  font-size: clamp(34px, 4.2vw, 40px);
  line-height: 1.08;
  font-weight: 500;
}
h2 {
  max-width: 700px;
  font-size: clamp(26px, 3.2vw, 32px);
  line-height: 1.12;
  font-weight: 500;
}
h3 {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 500;
}
.lead {
  margin-top: 22px;
  max-width: 590px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.76;
}
.hero-actions { margin-top: 30px; }
.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.quick-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #394b60;
  font-size: 13px;
}
.quick-facts i { font-style: normal; font-size: 17px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.product-frame,
.workflow-preview,
.shot-card,
.trailer-card,
.download-panel,
.feature-card,
.workflow-item,
.faq-list details,
.site-footer {
  border: 1px solid rgba(255,255,255,0.78);
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(1.04);
  box-shadow: var(--shadow-soft);
}
.product-frame {
  position: relative;
  width: min(830px, 100%);
  padding: 13px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
}
.product-frame:hover { box-shadow: 0 46px 128px rgba(18, 37, 63, 0.2); }
.frame-top {
  height: 38px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 8px 11px;
}
.traffic-lights { display: flex; gap: 7px; }
.traffic-lights span { width: 9px; height: 9px; border-radius: 999px; background: #d8e1eb; }
.frame-title,
.frame-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #41546a;
  font-size: 12px;
}
.frame-status span { width: 7px; height: 7px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 5px rgba(29, 157, 112, 0.10); }
.screen-wrap,
.workflow-preview,
.shot-card { position: relative; overflow: hidden; }
.screen-wrap { border-radius: 26px; box-shadow: 0 24px 70px rgba(18, 37, 63, 0.17); }
.screen-wrap img { width: 100%; transition: transform 260ms ease, filter 260ms ease; }
.screen-wrap:hover img,
.preview-target:hover img { transform: scale(1.012); filter: saturate(1.04); }
.preview-target { cursor: zoom-in; }
.preview-target:focus-visible { outline: 3px solid rgba(22,104,232,0.22); outline-offset: 4px; }
.zoom-pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(18,37,63,0.12);
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.preview-target:hover .zoom-pill,
.preview-target:focus-visible .zoom-pill { opacity: 1; transform: translateY(0); }
.metric-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 42px rgba(18,37,63,0.12);
  color: #23374d;
  font-size: 12px;
  animation: floatSoft 7s ease-in-out infinite;
}
.metric-a { left: -16px; top: 100px; }
.metric-b { right: -14px; top: 205px; animation-delay: .6s; }
.metric-c { left: 40px; bottom: -16px; animation-delay: 1.1s; }

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-xl);
}
.download-panel h2,
.section-head h2 { margin-top: 14px; }
.download-panel p,
.section-head p,
.feature-card p,
.workflow-item p,
.trailer-copy p,
.faq-list p,
.site-footer p,
.shot-card figcaption span { color: var(--muted); }
.download-panel > div > p { margin-top: 14px; max-width: 520px; }
.download-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.68);
}
.step-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); background: rgba(255,255,255,0.9); }
.step-card > .material-symbols-rounded,
.card-icon,
.trailer-copy > .material-symbols-rounded {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(22,104,232,0.12), rgba(32,167,232,0.14));
  color: #1559bd;
}
.step-card strong { font-weight: 500; }
.step-card p { font-size: 13px; line-height: 1.62; }

.section { padding-top: 106px; }
.section-head { display: grid; gap: 14px; margin-bottom: 28px; }
.section-head p { max-width: 760px; line-height: 1.72; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius-lg);
}
.feature-card:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.86); box-shadow: var(--shadow-lift); }
.feature-card p { margin-top: 10px; line-height: 1.68; }

.workflow-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 20px; align-items: stretch; }
.workflow-steps { display: grid; gap: 12px; }
.workflow-item {
  padding: 20px;
  border-radius: 24px;
}
.workflow-item:hover { box-shadow: var(--shadow-soft); background: rgba(255,255,255,0.88); }
.workflow-item span { display: block; margin-bottom: 10px; color: var(--blue); font-size: 12px; letter-spacing: 0.08em; }
.workflow-item strong { display: block; font-weight: 500; }
.workflow-item p { margin-top: 6px; font-size: 14px; line-height: 1.65; }
.workflow-preview { padding: 12px; border-radius: var(--radius-xl); }
.workflow-preview img { border-radius: 23px; width: 100%; }

.gallery-grid { display: grid; grid-template-columns: 1.16fr .92fr .92fr; gap: 16px; }
.shot-card {
  margin: 0;
  border-radius: var(--radius-lg);
  padding: 11px;
}
.shot-card:hover { box-shadow: var(--shadow-lift); background: rgba(255,255,255,0.86); }
.shot-card img { width: 100%; border-radius: 20px; transition: transform 260ms ease, filter 260ms ease; }
.shot-card.featured { grid-row: span 2; }
.shot-card figcaption { display: grid; gap: 5px; padding: 14px 4px 4px; }
.shot-card figcaption strong { font-weight: 500; }
.shot-card figcaption span { font-size: 13px; line-height: 1.55; }

.trailer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: 22px;
  padding: 14px;
  border-radius: var(--radius-xl);
}
.trailer-card:hover { box-shadow: var(--shadow-lift); }
.video-shell { overflow: hidden; border-radius: 24px; background: #06182b; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 22px 58px rgba(18,37,63,0.18); }
.video-shell iframe { width: 100%; aspect-ratio: 16 / 9; }
.trailer-copy { display: grid; align-content: center; gap: 14px; padding: 8px 10px 8px 0; }
.trailer-copy strong { font-size: 22px; line-height: 1.2; font-weight: 500; }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: 6px; color: #1559bd; font-size: 14px; }
.text-link:hover { text-decoration: underline; }

.faq-list { display: grid; gap: 12px; }
.faq-list details {
  padding: 20px 22px;
  border-radius: 24px;
}
.faq-list details:hover { box-shadow: var(--shadow-soft); background: rgba(255,255,255,0.88); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 30px;
  position: relative;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "-"; }
.faq-list p { margin-top: 12px; padding-left: 31px; line-height: 1.68; }

.preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(8, 18, 32, 0.42);
  backdrop-filter: blur(22px) saturate(1.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.preview-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.preview-dialog {
  width: min(1180px, 94vw);
  max-height: 88vh;
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 28px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: 0 50px 150px rgba(0,0,0,0.28);
  transform: translateY(18px) scale(.985);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1);
}
.preview-overlay.is-open .preview-dialog { transform: translateY(0) scale(1); }
.preview-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 20px;
  background: #07192d;
}
.preview-dialog figcaption {
  padding: 0 8px 4px;
  color: #eaf4ff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.34);
  font-size: 13px;
}
.preview-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 101;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}
.preview-close:hover { transform: translateY(-1px); background: #fff; }

.site-footer {
  margin: 108px auto 30px;
  padding: 24px;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.site-footer:hover { box-shadow: var(--shadow-lift); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 50px; height: 50px; border-radius: 5px; box-shadow: 0 14px 30px rgba(18,47,96,0.14); }
.footer-brand strong { display: block; font-weight: 500; margin-bottom: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  color: #43556a;
  font-size: 13px;
}
.footer-links a:hover { transform: translateY(-1px); background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 620ms cubic-bezier(.2,.7,.2,1), transform 620ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translate3d(0,0,0); }
.tilt-card { transform-style: preserve-3d; transition: transform 220ms ease; }

@keyframes verticalWaveFlow {
  0% { background-position: 50% -120%; }
  100% { background-position: 50% 120%; }
}
@keyframes strokeDown {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1880; }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .header-shell { grid-template-columns: auto auto; border-radius: 26px; }
  .segmented-nav { display: none; }
  .hero,
  .download-panel,
  .workflow-grid,
  .trailer-card { grid-template-columns: 1fr; }
  .download-steps,
  .feature-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .shot-card.featured { grid-row: auto; }
}

@media (max-width: 720px) {
  body { font-size: 14px; }
  main, .site-footer { width: min(calc(100% - 22px), var(--max)); }
  .site-header { top: 8px; padding: 10px 12px 0; }
  .header-shell { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .header-actions { width: 100%; }
  .header-actions .button,
  .hero-actions .button { width: 100%; }
  .hero { padding-top: 42px; min-height: 0; gap: 34px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .lead { font-size: 15px; }
  .download-panel,
  .product-frame,
  .trailer-card { border-radius: 24px; }
  .metric-pill { position: static; display: inline-flex; margin-top: 10px; margin-right: 6px; }
  .frame-top { grid-template-columns: auto 1fr; }
  .frame-status { display: none; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .preview-overlay { padding: 18px; }
  .preview-close { top: 14px; right: 14px; }
}
