:root {
  --brand: #1677ff;
  --brand-dark: #0958d9;
  --brand-soft: #e6f4ff;
  --text: #141414;
  --muted: #667085;
  --bg: #f5f7fb;
  --card: #ffffff;
  --border: #eaecf0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
}

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

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

.container--narrow {
  width: min(760px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4096ff 0%, #1677ff 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.logo__text {
  font-size: 17px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  color: #344054;
  transition: color 0.15s ease;
}

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

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: #344054;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--primary {
  background: linear-gradient(135deg, #4096ff 0%, #1677ff 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.24);
}

.btn--primary:hover {
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.32);
}

.btn--ghost {
  background: #fff;
  border-color: #c8e1ff;
  color: var(--brand);
}

.btn--light {
  background: #fff;
  color: var(--brand);
}

.btn--block {
  width: 100%;
  margin-top: 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 32px;
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(22, 119, 255, 0.16), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(114, 46, 209, 0.12), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(19, 194, 194, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  will-change: opacity;
  animation: hero-bg-shift 10s ease-in-out infinite alternate;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid #c8e1ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__demo-note {
  margin: 16px 0 0;
  color: #98a2b3;
  font-size: 13px;
}

.hero__visual {
  min-height: 420px;
}

.preview-stack {
  position: relative;
  min-height: 420px;
  contain: layout style paint;
}

.preview-browser {
  position: absolute;
  top: 12px;
  left: 0;
  width: min(100%, 520px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: preview-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.preview-browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #f9fafb;
}

.preview-browser__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eaecf0;
}

.preview-browser__bar span:nth-child(1) {
  background: #ff7875;
}

.preview-browser__bar span:nth-child(2) {
  background: #ffc53d;
}

.preview-browser__bar span:nth-child(3) {
  background: #95de64;
}

.preview-browser__url {
  flex: 1;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #98a2b3;
  font-size: 12px;
}

.preview-browser__body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 260px;
}

.preview-sidebar {
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  background: #fcfcfd;
}

.preview-sidebar__item {
  height: 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #eaecf0;
}

.preview-sidebar__item.is-active {
  background: linear-gradient(90deg, #91caff, #1677ff);
}

.preview-main {
  padding: 18px;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.preview-card {
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0f7ff 0%, #e6f4ff 100%);
}

.preview-table__row {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #f2f4f7;
}

.preview-table__row:nth-child(2) {
  width: 88%;
}

.preview-table__row:nth-child(3) {
  width: 72%;
}

.preview-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 168px;
  padding: 10px;
  border: 1px solid #d0d5dd;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  animation: preview-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.preview-phone__notch {
  width: 56px;
  height: 8px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #1f2937;
}

.preview-phone__screen {
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.preview-phone__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.preview-phone__tabs span {
  height: 8px;
  border-radius: 999px;
  background: #eaecf0;
}

.preview-phone__tabs span.is-active {
  background: #1677ff;
}

.preview-phone__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.preview-phone__cards div {
  height: 42px;
  border-radius: 10px;
  background: #e6f4ff;
}

.preview-phone__map {
  height: 88px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(82, 196, 26, 0.08)),
    repeating-linear-gradient(90deg, #eaecf0 0, #eaecf0 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(#eaecf0 0, #eaecf0 1px, transparent 1px, transparent 24px);
}

.preview-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 600;
}

.preview-float small {
  color: var(--muted);
  font-weight: 500;
}

.preview-float--bell {
  top: 0;
  right: 36px;
  animation: float-y 4.8s ease-in-out infinite;
}

.preview-float--spot {
  left: 24px;
  bottom: 36px;
  animation: float-y 5.6s ease-in-out infinite reverse;
}

.hero-enter {
  opacity: 0;
  transform: translateY(22px);
}

body.motion-ready .hero-enter {
  animation: hero-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--enter-delay, 0ms);
}

.reveal,
.reveal-child {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible,
.reveal-child.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.feature-card.reveal-child.is-visible:hover {
  transform: translateY(-4px);
}

@keyframes hero-bg-shift {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.88;
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes preview-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg,
  .preview-float,
  .preview-browser,
  .preview-phone {
    animation: none !important;
  }

  .hero-enter,
  .reveal,
  .reveal-child {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

.stats-bar {
  padding: 0 0 24px;
}

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

.stat-card {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.stat-card__value {
  color: var(--brand);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.stat-card__label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 72px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.section--soft {
  background: #fff;
}

.section--dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 52%, #0b3a78 100%);
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-head__eyebrow--light {
  color: #91caff;
}

.section-head__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
}

.section-head__desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section--dark .section-head__desc,
.section--dark .section-head__title {
  color: inherit;
}

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

.feature-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--brand-soft);
  font-size: 22px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.platform-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.platform-card__tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--platform-bg, var(--brand-soft));
  color: var(--platform-color, var(--brand));
  font-size: 12px;
  font-weight: 700;
}

.platform-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.platform-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.platform-card li + li {
  margin-top: 8px;
}

.mp-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid #c8e1ff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.mp-banner h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.mp-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.mp-banner__qr img {
  width: 120px;
  border-radius: 12px;
}

.mp-banner__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 1px dashed #91caff;
  border-radius: 12px;
  color: #1677ff;
  font-size: 13px;
  background: #fff;
}

.mp-banner__qr img[hidden] + .mp-banner__placeholder,
.mp-banner__placeholder:not([hidden]) {
  display: flex;
}

.mp-banner__qr img:not([hidden]) ~ .mp-banner__placeholder {
  display: none;
}

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

.workflow-step {
  position: relative;
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.workflow-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.workflow-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.saas-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.saas-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
}

.saas-copy > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.saas-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.saas-list li + li {
  margin-top: 8px;
}

.saas-pricing {
  margin: 0 0 22px;
  color: #ffd666;
  font-size: 15px;
  font-weight: 600;
}

.saas-panel {
  display: grid;
  gap: 14px;
}

.saas-panel__card {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.saas-panel__card.is-highlight {
  border-color: rgba(145, 202, 255, 0.5);
  background: rgba(22, 119, 255, 0.18);
}

.saas-panel__label {
  display: inline-block;
  margin-bottom: 8px;
  color: #91caff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.saas-panel__card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.saas-panel__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq__chevron {
  flex-shrink: 0;
  color: #98a2b3;
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  display: none;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.faq__item.is-open .faq__answer {
  display: block;
}

.cta__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.cta__copy h2 {
  margin: 0 0 10px;
  font-size: 32px;
}

.cta__copy > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.contact-list p {
  margin: 0 0 8px;
  color: #344054;
}

.cta__card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.cta__card img {
  width: 200px;
  margin: 0 auto;
  border-radius: 12px;
}

.dev-hints {
  margin-top: 24px;
  padding: 16px;
  border-radius: 12px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  font-size: 13px;
  color: #614700;
}

.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

@media (max-width: 1024px) {
  .hero__grid,
  .feature-grid,
  .platform-grid,
  .workflow,
  .saas-grid,
  .cta__grid,
  .stats-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__visual {
    min-height: 360px;
  }

  .preview-browser {
    position: relative;
    width: 100%;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
  }

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

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid #f2f4f7;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header__actions .btn--sm {
    display: none;
  }

  .hero__grid,
  .feature-grid,
  .platform-grid,
  .workflow,
  .saas-grid,
  .cta__grid,
  .stats-bar__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 32px;
  }

  .hero__visual {
    min-height: 320px;
  }

  .preview-float--bell {
    right: 8px;
  }

  .mp-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
