:root {
  --ink: #1f2937;
  --ink-strong: #17202e;
  --muted: #64748b;
  --soft: #f7f9fc;
  --line: #d8e0eb;
  --panel: rgba(255, 255, 255, 0.88);
  --teal: #00c2a8;
  --teal-dark: #0f766e;
  --orange: #ff8a3d;
  --blue: #2683ff;
  --shadow: 0 28px 70px rgba(31, 41, 55, 0.12);
  --radius: 22px;
  color-scheme: light;
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 194, 168, 0.14), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(38, 131, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #fbfcff 0%, #eef4fb 50%, #fff7f1 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  height: 74px;
  margin: 18px auto 0;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(216, 224, 235, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.site-header[data-elevated="true"] {
  border-color: rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(31, 41, 55, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 22px;
  font-weight: 860;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 12px 24px rgba(75, 85, 104, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #586579;
  font-size: 15px;
  font-weight: 720;
}

.site-nav a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover {
  color: var(--ink-strong);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  color: #fff;
  border-radius: 999px;
  background: #273142;
}

.site-nav .nav-cta:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 72px 0 64px;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: #255d5a;
  border: 1px solid rgba(0, 194, 168, 0.25);
  border-radius: 999px;
  background: rgba(0, 194, 168, 0.1);
  font-size: 14px;
  font-weight: 820;
}

.eyebrow {
  padding: 10px 14px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(0, 194, 168, 0.12);
}

.section-kicker {
  padding: 8px 12px;
}

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

h1 {
  max-width: 620px;
  margin-top: 28px;
  color: var(--ink-strong);
  font-size: 66px;
  line-height: 1.04;
  font-weight: 920;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin-top: 26px;
  color: #4b5568;
  font-size: 20px;
  line-height: 1.72;
  font-weight: 620;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 820;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.pricing-grid a:hover,
.contact-form button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #1f2937, #384458);
  box-shadow: 0 16px 30px rgba(31, 41, 55, 0.22);
}

.button.secondary {
  color: #263246;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.hero-stats dt {
  color: var(--ink-strong);
  font-size: 27px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.browser-frame {
  position: absolute;
  top: 10px;
  right: 0;
  width: min(100%, 640px);
  overflow: hidden;
  border: 1px solid rgba(216, 224, 235, 0.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid #e7ecf3;
  background: #f8fafc;
}

.browser-bar > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-bar > span:nth-child(1) {
  background: #ff8a8a;
}

.browser-bar > span:nth-child(2) {
  background: #ffc46a;
}

.browser-bar > span:nth-child(3) {
  background: #60d394;
}

.browser-bar div {
  display: flex;
  align-items: center;
  height: 26px;
  width: min(360px, calc(100% - 86px));
  margin-left: 10px;
  padding-left: 13px;
  color: #94a3b8;
  border-radius: 999px;
  background: #eef2f7;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard {
  display: grid;
  grid-template-columns: 155px 1fr;
  min-height: 455px;
  overflow: hidden;
}

.dashboard aside {
  padding: 20px 14px;
  border-right: 1px solid #e7ecf3;
  background: #fbfcfe;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #243044;
}

.mini-brand img {
  width: 30px;
  height: 30px;
}

.dashboard aside > span {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 8px;
  padding: 0 11px;
  color: #68768a;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 760;
}

.dashboard aside .active {
  color: #153f3c;
  background: rgba(0, 194, 168, 0.12);
}

.dashboard-main {
  min-width: 0;
  padding: 22px;
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.dash-head strong {
  color: #182230;
  font-size: 22px;
  font-weight: 880;
}

.dash-head span {
  padding: 7px 10px;
  color: var(--teal-dark);
  border-radius: 999px;
  background: rgba(0, 194, 168, 0.12);
  font-size: 12px;
  font-weight: 820;
}

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

.metric-grid article,
.chart-card,
.module-table,
.phone-frame article {
  border: 1px solid #e4eaf2;
  background: #fbfcff;
}

.metric-grid article {
  min-height: 88px;
  padding: 14px;
  border-radius: 16px;
}

.metric-grid span {
  color: #738197;
  font-size: 12px;
  font-weight: 760;
}

.metric-grid strong {
  display: block;
  margin-top: 10px;
  color: #1d2736;
  font-size: 26px;
  font-weight: 900;
}

.chart-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 17px;
}

.chart-title {
  color: #263246;
  font-size: 15px;
  font-weight: 820;
}

.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 98px;
  margin-top: 13px;
}

.bars i {
  width: 32px;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, var(--teal), #77e3d4);
}

.bars .orange {
  background: linear-gradient(180deg, var(--orange), #ffd0af);
}

.module-table {
  margin-top: 14px;
  overflow: hidden;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 740;
}

.module-table div {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: #526174;
  border-bottom: 1px solid #edf1f6;
}

.module-table div:first-child {
  color: #8a97a9;
  background: #f8fafc;
}

.module-table div:last-child {
  border-bottom: 0;
}

.phone-frame {
  position: absolute;
  right: 16px;
  bottom: 28px;
  width: 185px;
  min-height: 350px;
  padding: 34px 13px 16px;
  border: 9px solid #202a38;
  border-radius: 34px;
  background: #f9fbff;
  box-shadow: 0 24px 56px rgba(31, 41, 55, 0.24);
}

.phone-frame::before {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 56px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #364154;
  content: "";
}

.phone-frame > strong {
  display: block;
  color: #1f2937;
  font-size: 15px;
  font-weight: 880;
}

.phone-frame article {
  margin-top: 12px;
  padding: 12px;
  border-radius: 15px;
}

.phone-frame span {
  display: block;
  color: #263246;
  font-size: 13px;
  font-weight: 820;
}

.phone-frame small {
  display: block;
  margin-top: 5px;
  color: #7a8799;
  font-size: 11px;
  font-weight: 650;
}

.phone-frame i {
  display: block;
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal) var(--progress), #e8eef5 var(--progress));
}

.phone-frame i.orange {
  background: linear-gradient(90deg, var(--orange) var(--progress), #e8eef5 var(--progress));
}

.code-card {
  position: absolute;
  left: 0;
  bottom: 52px;
  width: 322px;
  padding: 20px;
  border: 1px solid #273142;
  border-radius: 22px;
  color: #d5e2f3;
  background: #202a38;
  box-shadow: 0 24px 52px rgba(31, 41, 55, 0.24);
}

.code-card div {
  display: flex;
  justify-content: space-between;
  color: #9fb0c4;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 760;
}

.code-card pre {
  margin: 18px 0 0;
  white-space: pre-wrap;
}

.code-card code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.8;
}

.code-card b {
  color: #77e3d4;
  font-weight: 700;
}

.code-card em {
  color: #ffb37a;
  font-style: normal;
}

.section {
  padding: 92px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head.compact {
  display: block;
  max-width: 720px;
}

.section-head h2,
.contact h2 {
  color: var(--ink-strong);
  font-size: 42px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.section-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 6px;
}

.section-head p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
}

.service-grid,
.case-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.case-grid article,
.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 32px rgba(31, 41, 55, 0.07);
}

.service-grid article {
  min-height: 230px;
  padding: 24px;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #153f3c;
  border-radius: 15px;
  background: rgba(0, 194, 168, 0.12);
  font-weight: 900;
}

.service-grid h3,
.case-grid h3,
.pricing-grid h3,
.process-list h3 {
  margin-top: 22px;
  color: #243044;
  font-size: 21px;
  font-weight: 880;
}

.service-grid p,
.case-grid p,
.pricing-grid p,
.process-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 620;
}

.process-section {
  padding: 76px 48px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.68);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.process-list article {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.process-list span {
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
}

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

.case-grid article {
  overflow: hidden;
}

.case-grid h3,
.case-grid p {
  padding-right: 24px;
  padding-left: 24px;
}

.case-grid p {
  padding-bottom: 26px;
}

.case-visual {
  display: flex;
  align-items: end;
  min-height: 210px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(32, 42, 56, 0.88), rgba(32, 42, 56, 0.58)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 44px);
}

.case-visual span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 820;
}

.case-visual.retail {
  background-color: #0f766e;
}

.case-visual.crm {
  background-color: #334155;
}

.case-visual.ops {
  background-color: #a6541d;
}

.pricing-section {
  padding-top: 70px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.pricing-grid article {
  position: relative;
  min-height: 260px;
  padding: 28px;
}

.pricing-grid .featured {
  border-color: rgba(0, 194, 168, 0.48);
  background: linear-gradient(180deg, #ffffff, #f2fffc);
  box-shadow: 0 18px 46px rgba(0, 117, 101, 0.14);
}

.tag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 7px 10px;
  color: #153f3c;
  border-radius: 999px;
  background: rgba(0, 194, 168, 0.12);
  font-size: 12px;
  font-weight: 860;
}

.pricing-grid strong {
  display: block;
  margin-top: 28px;
  color: var(--ink-strong);
  font-size: 18px;
  line-height: 1.5;
}

.pricing-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 26px;
  padding: 0 17px;
  color: #fff;
  border-radius: 14px;
  background: #273142;
  font-weight: 820;
  transition: transform 160ms ease;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: start;
  margin: 70px 0 92px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.contact h2 {
  margin-top: 18px;
}

.contact p {
  margin-top: 18px;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #354154;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8e0eb;
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 112px;
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 194, 168, 0.12);
}

.contact-form button {
  min-height: 52px;
  margin-top: 6px;
  color: #fff;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f2937, #384458);
  cursor: pointer;
  font-weight: 860;
  transition: transform 160ms ease;
}

.form-status {
  min-height: 24px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 760;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 42px;
  color: #8390a2;
  border-top: 1px solid rgba(216, 224, 235, 0.86);
  font-size: 14px;
  font-weight: 680;
}

.site-footer .brand {
  color: var(--ink);
  font-size: 18px;
}

.site-footer .brand img {
  width: 34px;
  height: 34px;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

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

  .hero-visual {
    min-height: 600px;
  }

  .browser-frame {
    left: 0;
    right: auto;
    width: calc(100% - 34px);
  }

  .phone-frame {
    right: 0;
  }

  .code-card {
    left: 28px;
  }

  .section-head,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    height: 66px;
    margin-top: 12px;
    border-radius: 20px;
  }

  .brand {
    font-size: 19px;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(31, 41, 55, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    padding: 12px;
  }

  .nav-cta {
    width: 100%;
    margin-top: 6px;
  }

  main,
  .site-footer {
    width: calc(100% - 28px);
    max-width: 1180px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 42px;
  }

  .hero-visual {
    min-height: 640px;
  }

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

  .dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard aside {
    display: none;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    right: 8px;
    bottom: 0;
    width: 174px;
  }

  .code-card {
    left: 0;
    bottom: 76px;
    width: min(100%, 292px);
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    gap: 18px;
  }

  .section-head h2,
  .contact h2 {
    font-size: 32px;
  }

  .service-grid,
  .process-list,
  .case-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .process-section,
  .contact {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .contact {
    margin: 44px 0 62px;
    gap: 30px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .browser-bar div {
    width: calc(100% - 86px);
  }

  .dash-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-table {
    font-size: 11px;
  }

  .hero-visual {
    min-height: 700px;
  }

  .phone-frame {
    transform: scale(0.92);
    transform-origin: right bottom;
  }
}
