:root {
  color-scheme: dark;
  --bg: #050b10;
  --bg-soft: #07121a;
  --panel: #0a131b;
  --panel-strong: #0e1822;
  --line: rgba(207, 229, 242, 0.16);
  --line-strong: rgba(18, 135, 255, 0.6);
  --text: #f7fbff;
  --muted: #aeb9c5;
  --subtle: #6f7d89;
  --blue: #127dff;
  --blue-soft: rgba(18, 125, 255, 0.18);
  --green: #22d076;
  --green-soft: rgba(34, 208, 118, 0.18);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

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

.section-pad {
  padding: 56px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 11, 16, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
}

.logo-badge {
  width: 228px;
  height: 63px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.logo-badge img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 5vw, 76px);
}

.nav-links a,
.footer-links a {
  color: var(--text);
  font-size: 1rem;
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--green);
}

.nav-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.icon-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  transform: translateY(-1px);
}

.icon-link svg,
.button svg,
.trust-list svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  color: var(--text);
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid var(--line);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--blue), #0067ee);
  border-color: rgba(91, 169, 255, 0.72);
  box-shadow: 0 16px 38px rgba(18, 125, 255, 0.25);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(18, 125, 255, 0.34);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(226, 239, 247, 0.42);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(226, 239, 247, 0.64);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  padding-top: 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--blue) 0%, #05b7d8 48%, var(--green) 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 590px;
  margin-bottom: 32px;
  color: #c6d0da;
  font-size: clamp(1rem, 1.4vw, 1.28rem);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin: 36px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.trust-list svg {
  color: #cbd6df;
  opacity: 0.9;
}

.section-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.app-preview {
  min-width: 0;
}

.screenshot-frame {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(18, 125, 255, 0.72);
  border-right-color: rgba(34, 208, 118, 0.86);
  border-bottom-color: rgba(34, 208, 118, 0.7);
  border-radius: 14px;
  box-shadow:
    var(--shadow),
    0 0 44px rgba(18, 125, 255, 0.1),
    0 0 42px rgba(34, 208, 118, 0.08);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.search-field {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #98a5b1;
  background: rgba(5, 12, 18, 0.72);
  border: 1px solid rgba(218, 232, 242, 0.14);
  border-radius: 8px;
  font-size: 0.78rem;
}

.thumb {
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: #0f1a23;
  position: relative;
  overflow: hidden;
}

.thumb::before,
.thumb::after {
  content: "";
  position: absolute;
  inset: auto;
}

.thumb.blue {
  background:
    radial-gradient(circle at 72% 24%, rgba(18, 125, 255, 0.92), transparent 20%),
    linear-gradient(135deg, #061622, #0a5ece 55%, #071523);
}

.thumb.blue::before {
  width: 90px;
  height: 2px;
  left: 12px;
  top: 20px;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(-20deg);
}

.thumb.green {
  background:
    radial-gradient(circle at 65% 35%, rgba(34, 208, 118, 0.78), transparent 22%),
    linear-gradient(135deg, #13212a, #1c6b70, #07131a);
}

.thumb.code {
  background: #071018;
}

.thumb.code::before {
  inset: 9px 14px;
  background:
    linear-gradient(#22d076 0 2px, transparent 2px 8px),
    linear-gradient(#127dff 0 2px, transparent 2px 8px),
    linear-gradient(#d3e6f3 0 2px, transparent 2px 8px);
  background-size: 46px 8px, 58px 8px, 32px 8px;
  background-position: 0 0, 10px 14px, 0 28px;
  background-repeat: no-repeat;
}

.thumb.sky {
  background:
    radial-gradient(circle at 50% 20%, #dbeaff, transparent 9%),
    radial-gradient(circle at 50% 34%, rgba(18, 125, 255, 0.62), transparent 28%),
    linear-gradient(160deg, #101924, #102b3e 52%, #07131a);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: #dce7ef;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.72rem;
}

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

.section-heading.centered {
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.14;
}

.section-heading h2 span {
  color: var(--green);
}

.section-heading p,
.feature-copy p,
.cta p,
.faq p,
.site-footer p {
  color: var(--muted);
}

.workflow {
  padding-top: 24px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 34px;
}

.workflow-step {
  position: relative;
  align-self: start;
  min-width: 0;
}

.workflow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 52%;
  right: -27px;
  color: rgba(218, 232, 242, 0.58);
  font-size: 2.3rem;
  transform: translateY(-50%);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.step-title span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(18, 125, 255, 0.4);
}

.workflow-step:nth-child(3) .step-title span,
.workflow-step:nth-child(4) .step-title span {
  background: var(--green);
  box-shadow: 0 0 20px rgba(34, 208, 118, 0.35);
}

.step-title h3 {
  margin: 0;
  font-size: 1rem;
}

.step-card {
  min-height: 320px;
  padding: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(218, 232, 242, 0.16);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.workflow-image-card {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.workflow-image-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.features {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 90px);
}

.feature-copy {
  max-width: 660px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-copy p:last-child,
.cta p:last-child,
.site-footer p:last-child {
  margin-bottom: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(18, 125, 255, 0.13), rgba(34, 208, 118, 0.09)),
    var(--panel);
  border: 1px solid rgba(218, 232, 242, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  line-height: 1.12;
}

.cta-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.screenshots {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.screenshot-viewer {
  max-width: 1180px;
  margin: 0 auto;
}

.screenshot-main-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-main-card {
  width: 100%;
  margin: 0;
  padding: 14px;
  min-width: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    var(--shadow),
    0 0 44px rgba(18, 125, 255, 0.08),
    0 0 42px rgba(34, 208, 118, 0.06);
}

.screenshot-main-card img,
.screenshot-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.screenshot-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 44px;
  height: 64px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text);
  background: rgba(5, 11, 16, 0.82);
  border: 1px solid rgba(218, 232, 242, 0.22);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.screenshot-nav:hover,
.screenshot-nav:focus-visible {
  background: rgba(10, 19, 27, 0.95);
  border-color: rgba(34, 208, 118, 0.72);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(34, 208, 118, 0.18);
}

.screenshot-prev {
  left: 18px;
}

.screenshot-next {
  right: 18px;
}

.screenshot-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.screenshot-thumb {
  width: clamp(120px, 16vw, 190px);
  padding: 5px;
  overflow: hidden;
  background: #07121a;
  border: 1px solid rgba(218, 232, 242, 0.16);
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.screenshot-thumb:hover,
.screenshot-thumb:focus-visible {
  border-color: rgba(18, 125, 255, 0.68);
  transform: translateY(-1px);
}

.screenshot-thumb.is-active {
  border-color: rgba(34, 208, 118, 0.9);
  box-shadow:
    0 0 0 1px rgba(18, 125, 255, 0.72),
    0 0 24px rgba(34, 208, 118, 0.18);
}

.faq {
  padding-top: 36px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.faq article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.faq h3 {
  margin-bottom: 8px;
  color: #f7fbff;
  font-size: 1rem;
}

.faq p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  width: 168px;
  height: 46px;
  display: inline-flex;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.site-footer p {
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 26px;
}

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

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

  .screenshot-frame {
    max-width: 980px;
    margin: 0 auto;
  }

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

  .workflow-step::after {
    display: none;
  }

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

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

  .section-pad {
    padding: 44px 0;
  }

  .nav {
    min-height: 76px;
    grid-template-columns: auto auto;
  }

  .logo-badge {
    width: 188px;
    height: 52px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 16px auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 20px;
    background: rgba(8, 18, 26, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-links,
  .nav-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
  }

  .icon-link {
    width: 100%;
    height: 48px;
    border-color: var(--line);
    border-radius: 8px;
  }

  .nav-download {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

  .split-section,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .section-pad {
    padding: 36px 0;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .trust-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .trust-list li {
    white-space: normal;
  }

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

  .screenshot-main-card {
    padding: 8px;
  }

  .screenshot-nav {
    width: 36px;
    height: 50px;
    font-size: 2rem;
  }

  .screenshot-prev {
    left: 8px;
  }

  .screenshot-next {
    right: 8px;
  }

  .screenshot-thumbs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px;
  }

  .screenshot-thumb {
    flex: 0 0 142px;
    width: 142px;
  }

  .workflow-image-card {
    min-height: 240px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .logo-badge {
    width: 166px;
    height: 46px;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .screenshot-frame,
  .screenshot-main-card,
  .screenshot-thumbs,
  .screenshot-thumb,
  .feature-copy,
  .cta-panel,
  .faq article {
    border-radius: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
