:root {
  color-scheme: dark;
  --bg: #020812;
  --bg-raised: #06182b;
  --panel: #0a2038;
  --panel-soft: rgba(10, 32, 56, 0.72);
  --line: rgba(109, 215, 255, 0.22);
  --line-strong: rgba(109, 215, 255, 0.42);
  --text: #f5fbff;
  --muted: #a8c5da;
  --accent: #20d8f2;
  --accent-strong: #1588ff;
  --green: #1bd3c6;
  --gold: #f2c14e;
  --shadow: 0 28px 80px rgba(0, 13, 31, 0.5);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 77% 7%, rgba(21, 136, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 17% 20%, rgba(32, 216, 242, 0.1), transparent 26rem),
    linear-gradient(180deg, #06182b 0, #020812 42rem, #020812 100%);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(109, 215, 255, 0.1);
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section-shell,
.footer-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-link img {
  display: block;
  width: 190px;
  max-width: 42vw;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.4vw, 30px);
}

.primary-nav a {
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-text-link {
  color: var(--muted);
  transition: color 160ms ease;
}

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

.nav-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(32, 216, 242, 0.48);
  border-radius: 8px;
  background: rgba(32, 216, 242, 0.1);
  color: var(--accent);
}

.hero {
  width: min(1240px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0 clamp(88px, 10vw, 134px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(50px, 7vw, 96px);
}

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

.eyebrow {
  display: block;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: clamp(3.5rem, 6.8vw, 6.25rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  box-shadow: 0 14px 34px rgba(21, 136, 255, 0.28);
}

.hero-points {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  list-style: none;
  color: #c9e0ef;
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(27, 211, 198, 0.7);
}

.product-preview {
  position: relative;
  min-width: 0;
  padding: 32px 18px 54px 0;
}

.display-glow {
  position: absolute;
  inset: 5% -10% 0 5%;
  border-radius: 50%;
  background: rgba(32, 216, 242, 0.13);
  filter: blur(65px);
}

.display-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #07192e;
  box-shadow: var(--shadow), 0 0 42px rgba(32, 216, 242, 0.1);
  transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
}

.dummy-display-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #05070d;
}

.phone-preview {
  position: absolute;
  z-index: 3;
  right: -38px;
  bottom: -20px;
  width: 150px;
  height: 313px;
  padding: 4px;
  border: 1px solid #8d9299;
  border-radius: 17px;
  background: linear-gradient(145deg, #92979d 0%, #31363d 16%, #11151a 48%, #747980 82%, #2a2f35 100%);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(238, 244, 249, 0.15),
    inset 0 0 0 1px rgba(0, 0, 0, 0.72);
  transform: rotate(4deg);
  transform-origin: 50% 100%;
}

.phone-preview::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 1px;
  left: 50%;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: #05070a;
  transform: translateX(-50%);
}

.phone-side-buttons {
  position: absolute;
  z-index: 0;
  top: 62px;
  right: -4px;
  width: 4px;
  height: 36px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #292e34, #969ba1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.phone-side-buttons::after {
  content: "";
  position: absolute;
  top: 45px;
  right: 0;
  width: 4px;
  height: 25px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #292e34, #969ba1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.phone-screen {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #020308;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.92);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-camera {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid #1a2027;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #23364c 0 12%, #070b11 34%, #000 72%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.78);
  transform: translateX(-50%);
}

.slider-showcase {
  padding: clamp(80px, 10vw, 132px) 0;
  border-top: 1px solid rgba(109, 215, 255, 0.08);
}

.slider-showcase-shell {
  display: grid;
  gap: clamp(78px, 10vw, 128px);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.final-cta h2 {
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-heading > p {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.content-slider {
  min-width: 0;
}

.content-slider + .content-slider {
  padding-top: clamp(72px, 9vw, 112px);
  border-top: 1px solid var(--line);
}

.slider-heading {
  max-width: 780px;
}

.slider-heading h2 {
  margin: 15px 0 0;
  font-size: clamp(2.35rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.slider-heading p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.slider-tabs {
  margin-top: clamp(28px, 4vw, 42px);
  display: flex;
  align-items: flex-end;
  gap: clamp(22px, 4vw, 48px);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: rgba(109, 215, 255, 0.25) transparent;
}

.slider-tabs button {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 0 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.slider-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(32, 216, 242, 0.6);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.slider-tabs button[aria-selected="true"] {
  color: var(--text);
}

.slider-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.slider-tabs button:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(32, 216, 242, 0.34);
  outline-offset: 4px;
}

.slider-stage {
  position: relative;
  margin-top: clamp(18px, 2.8vw, 28px);
}

.slider-panels {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(32, 216, 242, 0.08), transparent 36rem),
    #03101f;
  box-shadow: var(--shadow), 0 0 44px rgba(32, 216, 242, 0.08);
}

.slider-panel {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  animation: sliderPanelReveal 220ms ease-out;
}

.slider-panel[hidden] {
  display: none;
}

.slider-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

@keyframes sliderPanelReveal {
  from {
    opacity: 0.28;
    transform: scale(0.996);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: clamp(44px, 5vw, 58px);
  height: clamp(58px, 8vw, 78px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(109, 215, 255, 0.36);
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.52);
  color: var(--text);
  opacity: 0.68;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: opacity 160ms ease, background 160ms ease, border-color 160ms ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  border-color: var(--accent);
  background: rgba(7, 25, 46, 0.86);
  opacity: 1;
}

.slider-arrow:focus-visible {
  outline: 3px solid rgba(32, 216, 242, 0.34);
  outline-offset: 3px;
}

.slider-arrow span {
  margin-top: -5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1;
}

.slider-arrow-previous {
  left: clamp(10px, 2vw, 22px);
}

.slider-arrow-next {
  right: clamp(10px, 2vw, 22px);
}

.slider-empty-state {
  min-height: 320px;
  margin-top: 30px;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(7, 25, 46, 0.58);
  color: var(--muted);
  text-align: center;
}

.workflow {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 45%, rgba(32, 216, 242, 0.08), transparent 27rem),
    rgba(7, 25, 46, 0.6);
}

.workflow-shell {
  padding-block: clamp(80px, 10vw, 124px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.workflow-heading {
  position: sticky;
  top: 40px;
}

.workflow-list {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
  counter-reset: none;
}

.workflow-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.workflow-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.workflow-list > li > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(32, 216, 242, 0.08);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 900;
}

.workflow-list h3 {
  margin: 1px 0 0;
  font-size: 1.22rem;
}

.workflow-list p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta {
  margin-block: clamp(82px, 10vw, 130px);
  padding: clamp(30px, 5vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 30%, rgba(32, 216, 242, 0.14), transparent 25rem),
    linear-gradient(135deg, rgba(10, 32, 56, 0.96), rgba(7, 25, 46, 0.88));
  box-shadow: var(--shadow);
}

.final-cta h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
}

.final-cta p {
  margin: 13px 0 0;
  color: var(--muted);
}

.final-cta .button {
  flex: 0 0 auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #01060d;
}

.footer-shell {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.footer-shell > img {
  width: 165px;
  max-width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

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

.footer-shell > p {
  justify-self: end;
  margin: 0;
  color: rgba(168, 197, 218, 0.58);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

a:focus-visible {
  outline: 3px solid rgba(32, 216, 242, 0.42);
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .product-preview {
    width: min(740px, 100%);
    justify-self: center;
  }

  .workflow-shell {
    grid-template-columns: 1fr;
  }

  .workflow-heading {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .section-shell,
  .footer-shell,
  .hero {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand-link img {
    width: 148px;
  }

  .nav-text-link {
    display: none;
  }

  .nav-button {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero {
    padding-top: 70px;
    padding-bottom: 84px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.2rem);
  }

  .product-preview {
    padding: 12px 0 70px;
  }

  .display-frame {
    transform: none;
  }

  .phone-preview {
    right: -12px;
    bottom: -20px;
  }

  .slider-tabs {
    gap: 24px;
  }

  .slider-arrow {
    width: 42px;
    height: 56px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-shell {
    padding: 34px 0;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-shell > p {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .nav-shell {
    padding-block: 12px;
    flex-wrap: wrap;
  }

  .primary-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .primary-nav .nav-button {
    padding-inline: 10px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .phone-preview {
    right: -8px;
    width: 120px;
    height: 252px;
    padding: 3px;
    border-radius: 14px;
  }

  .phone-screen {
    border-radius: 10px;
  }

  .phone-camera {
    top: 7px;
    width: 6px;
    height: 6px;
  }

  .workflow-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
  }

  .workflow-list > li > span {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .nav-text-link,
  .slider-tabs button,
  .slider-arrow {
    transition: none;
  }

  .slider-panel {
    animation: none;
  }
}
