:root {
  --ink: #0a1021;
  --ink-soft: #111a32;
  --paper: #f6f5f0;
  --white: #ffffff;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.11);
  --mint: #5ee4c2;
  --coral: #ff6c5b;
  --blue: #68a7ff;
  --violet: #7868ee;
  --display: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

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

.section-space { padding-block: 124px; }

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  color: var(--white);
  transition: 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(246, 245, 240, 0.88);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell { display: flex; min-height: 82px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.brand img { border-radius: 13px; box-shadow: 0 8px 25px rgba(65, 116, 188, 0.25); }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 650; }
.site-nav > a { opacity: 0.8; transition: 180ms ease; }
.site-nav > a:hover { opacity: 1; color: var(--mint); }
.site-header.is-scrolled .site-nav > a:hover { color: #218a74; }
.site-nav .nav-cta { padding: 11px 20px; color: var(--ink); background: var(--white); border-radius: 999px; opacity: 1; }
.site-header.is-scrolled .site-nav .nav-cta { color: var(--white); background: var(--ink); }
.nav-toggle { display: none; padding: 8px; border: 0; color: currentColor; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px 0; background: currentColor; }

.hero {
  position: relative;
  display: grid;
  min-height: 790px;
  padding-top: 150px;
  padding-bottom: 80px;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 70px;
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -2;
  width: 100vw;
  height: 100%;
  content: "";
  background:
    radial-gradient(circle at 76% 24%, rgba(109, 94, 233, 0.2), transparent 28%),
    radial-gradient(circle at 12% 92%, rgba(255, 108, 91, 0.12), transparent 27%),
    var(--ink);
  transform: translateX(-50%);
}

.hero::after {
  position: absolute;
  right: -8%;
  bottom: 0;
  z-index: -1;
  width: 680px;
  height: 680px;
  content: "";
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, #000 15%, transparent 70%);
}

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: #647089; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow span { width: 27px; height: 3px; background: linear-gradient(90deg, var(--coral), #ffbb65); border-radius: 5px; }
.hero .eyebrow { color: #b4bdd2; }
.eyebrow.light { color: #b8c1d6; }

.hero h1 { margin: 0; max-width: 650px; font-size: clamp(55px, 6.3vw, 88px); line-height: 1.05; letter-spacing: -0.075em; }
.hero h1 em { color: transparent; font-style: normal; background: linear-gradient(110deg, var(--mint), #9bc7ff 55%, #b6a9ff); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 590px; margin: 30px 0 0; color: #aeb8ce; font-size: 19px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }
.button { display: inline-flex; min-height: 54px; padding: 0 26px; align-items: center; justify-content: center; gap: 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; font-size: 15px; font-weight: 800; transition: 200ms ease; }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.button-primary { color: var(--ink); background: var(--mint); border-color: var(--mint); box-shadow: 0 14px 34px rgba(94, 228, 194, .18); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(94, 228, 194, .27); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.product-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 34px; color: #78849e; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.product-meta span { display: inline-flex; align-items: center; }
.product-meta span + span::before { width: 3px; height: 3px; margin-right: 22px; content: ""; background: #47526b; border-radius: 50%; }
.product-meta i { width: 7px; height: 7px; margin-right: 8px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(94,228,194,.12); }

.hero-visual { position: relative; display: flex; min-height: 620px; align-items: center; justify-content: center; }
.phone-frame { position: relative; z-index: 2; width: 304px; padding: 9px; overflow: hidden; background: #0f172c; border: 1px solid rgba(255,255,255,.2); border-radius: 44px; box-shadow: 0 45px 100px rgba(0,0,0,.5); transform: rotate(3deg); }
.phone-frame img { width: 100%; border-radius: 35px; }
.phone-speaker { position: absolute; top: 17px; left: 50%; z-index: 3; width: 76px; height: 20px; background: #090f1f; border-radius: 30px; transform: translateX(-50%); }
.halo { position: absolute; border-radius: 50%; filter: blur(1px); }
.halo-one { width: 460px; height: 460px; background: linear-gradient(140deg, rgba(94,228,194,.28), rgba(120,104,238,.1)); }
.halo-two { width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 80px rgba(255,255,255,.018); }
.floating-note { position: absolute; z-index: 4; display: flex; padding: 13px 16px; align-items: center; gap: 11px; color: var(--white); background: rgba(20, 30, 55, .84); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.28); backdrop-filter: blur(14px); }
.floating-note b { display: grid; width: 39px; height: 39px; place-items: center; color: var(--ink); background: var(--mint); border-radius: 12px; font-size: 12px; }
.floating-note span { font-size: 13px; font-weight: 750; line-height: 1.3; }
.floating-note small { color: #8e9ab3; font-size: 10px; font-weight: 500; }
.note-one { top: 25%; left: -2%; transform: rotate(-3deg); }
.note-two { right: -3%; bottom: 22%; transform: rotate(2deg); }
.note-two b { color: var(--white); background: linear-gradient(135deg, var(--coral), var(--violet)); }

.promise-strip { display: grid; width: min(1180px, calc(100% - 48px)); margin: -1px auto 0; padding: 30px 0; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-bottom: 1px solid var(--line); }
.promise-strip > div { display: flex; padding: 8px 34px; align-items: center; gap: 18px; border-right: 1px solid var(--line); }
.promise-strip > div:first-child { padding-left: 0; }
.promise-strip > div:last-child { border-right: 0; }
.promise-strip span { color: var(--coral); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; }
.promise-strip p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.promise-strip strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 14px; }

.section-heading h2 { margin: 0; font-size: clamp(39px, 5vw, 64px); line-height: 1.13; letter-spacing: -0.06em; }
.section-heading > p:last-child { max-width: 480px; margin: 24px 0 0; color: var(--muted); line-height: 1.8; }
.capability-grid { display: grid; margin-top: 72px; grid-template-columns: 1.1fr .95fr .95fr; gap: 16px; }
.capability-card { position: relative; min-height: 390px; padding: 34px; overflow: hidden; background: #efeee8; border: 1px solid rgba(10,16,33,.08); border-radius: 26px; transition: 240ms ease; }
.capability-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(10,16,33,.1); }
.card-featured { color: var(--white); background: var(--ink); }
.card-featured::after { position: absolute; right: -90px; bottom: -100px; width: 280px; height: 280px; content: ""; background: radial-gradient(circle, rgba(120,104,238,.42), transparent 67%); }
.capability-icon { display: grid; width: 54px; height: 54px; margin-bottom: 47px; place-items: center; border-radius: 16px; }
.capability-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.capability-icon.coral { color: #fff; background: var(--coral); }
.capability-icon.mint { color: #105849; background: #c9f3e8; }
.capability-icon.blue { color: #2857a2; background: #d8e7fd; }
.card-index { margin: 0 0 11px; color: #8c94a5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.capability-card h3 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.capability-card > p:not(.card-index) { min-height: 75px; margin: 16px 0 24px; color: #72798a; font-size: 14px; line-height: 1.75; }
.card-featured > p:not(.card-index) { color: #aab4c9; }
.capability-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.capability-card li { padding: 7px 10px; color: #565f71; background: rgba(255,255,255,.7); border-radius: 8px; font-size: 11px; font-weight: 700; }
.card-featured li { color: #cbd4e6; background: rgba(255,255,255,.07); }

.preview { overflow: hidden; color: var(--white); background: var(--ink); }
.preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.preview-heading > p { max-width: 410px; margin: 0 0 4px; color: #9ea9c0; line-height: 1.8; }
.preview .eyebrow { color: #99a4ba; }
.screenshot-stage { position: relative; display: flex; min-height: 740px; margin-top: 80px; align-items: center; justify-content: center; }
.screenshot-stage::before { position: absolute; width: 740px; height: 580px; content: ""; background: radial-gradient(circle, rgba(94,228,194,.13), rgba(120,104,238,.08) 45%, transparent 70%); }
.shot { position: relative; overflow: hidden; background: #121a30; border: 1px solid rgba(255,255,255,.14); border-radius: 38px; box-shadow: 0 35px 70px rgba(0,0,0,.4); }
.shot > span { position: absolute; top: 18px; left: 50%; z-index: 2; padding: 7px 12px; color: #dbe3f3; background: rgba(5,10,20,.65); border: 1px solid rgba(255,255,255,.11); border-radius: 999px; font-size: 10px; font-weight: 750; white-space: nowrap; transform: translateX(-50%); backdrop-filter: blur(12px); }
.shot img { width: 100%; }
.shot-main { z-index: 3; width: 315px; }
.shot-small { position: absolute; width: 260px; opacity: .74; filter: saturate(.72); }
.shot-left { left: 7%; transform: rotate(-6deg); }
.shot-right { right: 7%; transform: rotate(6deg); }
.workflow-row { display: grid; padding-top: 50px; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 25px; border-top: 1px solid rgba(255,255,255,.1); }
.workflow-card { min-height: 150px; }
.workflow-number { color: var(--mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; }
.workflow-card h3 { margin: 16px 0 9px; font-size: 20px; }
.workflow-card p { margin: 0; color: #8995ad; font-size: 13px; line-height: 1.75; }
.workflow-arrow { color: #46516a; font-size: 24px; }

.support-card { position: relative; display: grid; padding: 72px; overflow: hidden; grid-template-columns: 1fr 1fr; gap: 80px; color: var(--white); background: linear-gradient(135deg, #202a49, #151a34 70%); border-radius: 38px; box-shadow: 0 32px 80px rgba(10,16,33,.15); }
.support-card::before { position: absolute; top: -180px; left: -130px; width: 420px; height: 420px; content: ""; background: radial-gradient(circle, rgba(255,108,91,.22), transparent 67%); }
.support-copy { position: relative; }
.support-copy h2 { margin: 0; font-size: clamp(38px, 4.3vw, 58px); line-height: 1.15; letter-spacing: -.055em; }
.support-copy > p:last-child { max-width: 490px; margin: 25px 0 0; color: #aeb8ce; font-size: 15px; line-height: 1.85; }
.contact-list { display: flex; flex-direction: column; justify-content: center; }
.contact-list > a,
.contact-list > div { display: flex; min-height: 88px; padding: 17px 0; align-items: center; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list > :last-child { border-bottom: 0; }
.contact-icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; color: var(--mint); background: rgba(94,228,194,.1); border-radius: 14px; }
.contact-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.contact-list small { display: block; margin-bottom: 5px; color: #8390aa; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.contact-list strong { font-size: 15px; }
.contact-list b { margin-left: auto; color: var(--mint); font-size: 21px; transition: 180ms ease; }
.contact-list a:hover b { transform: translate(3px, -3px); }

footer { padding: 38px 0; color: #8d938f; background: #eae9e3; border-top: 1px solid var(--line); }
.footer-shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer-brand { color: var(--ink); font-size: 15px; }
.footer-copy { text-align: center; }
.footer-copy p { margin: 4px 0; font-size: 11px; }
.record-link { justify-self: end; font-size: 11px; }
.record-link:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 150px; grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; align-items: center; flex-direction: column; }
  .hero-visual { min-height: 590px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .card-featured { grid-column: 1 / -1; }
  .shot-left { left: -3%; }
  .shot-right { right: -3%; }
  .support-card { padding: 58px 46px; gap: 50px; }
}

@media (max-width: 760px) {
  .section-shell,
  .nav-shell,
  .footer-shell,
  .promise-strip { width: min(100% - 30px, 560px); }
  .section-space { padding-block: 84px; }
  .nav-shell { min-height: 70px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; right: 15px; left: 15px; display: none; padding: 20px; align-items: stretch; flex-direction: column; gap: 8px; color: var(--ink); background: rgba(246,245,240,.97); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(10,16,33,.18); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 11px 10px; }
  .site-nav .nav-cta { color: var(--white); background: var(--ink); text-align: center; }
  .hero { padding-top: 126px; padding-bottom: 56px; gap: 15px; }
  .hero h1 { font-size: clamp(48px, 14vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-visual { min-height: 540px; transform: scale(.9); }
  .note-one { left: -8%; }
  .note-two { right: -8%; }
  .promise-strip { grid-template-columns: 1fr; }
  .promise-strip > div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .promise-strip > div:last-child { border-bottom: 0; }
  .capability-grid { margin-top: 48px; grid-template-columns: 1fr; }
  .card-featured { grid-column: auto; }
  .capability-card { min-height: 350px; }
  .preview-heading { align-items: start; flex-direction: column; gap: 22px; }
  .screenshot-stage { min-height: 650px; margin-top: 35px; }
  .shot-main { width: 270px; }
  .shot-small { width: 205px; }
  .shot-left { left: -28%; }
  .shot-right { right: -28%; }
  .workflow-row { grid-template-columns: 1fr; gap: 25px; }
  .workflow-card { min-height: 0; padding-left: 54px; }
  .workflow-number { position: absolute; margin-left: -54px; }
  .workflow-arrow { display: none; }
  .support-card { padding: 42px 25px; grid-template-columns: 1fr; gap: 30px; border-radius: 28px; }
  .contact-list strong { font-size: 13px; }
  .footer-shell { grid-template-columns: 1fr; justify-items: center; }
  .record-link { justify-self: center; }
}

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