:root {
  --bg: #fafafc;
  --white: #ffffff;
  --ink: #0f172a;
  --ink-2: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --muted-3: #94a3b8;
  --muted-4: #94a3b8;
  --line: #e2e8f0;
  --line-2: rgba(226, 232, 240, 0.8);
  --line-3: #e2e8f0;
  --brand: #f97316;
  --brand-dark: #ea580c;
  --brand-deep: #ad4e00;
  --brand-soft: #fff7ed;
  --brand-ring: rgba(254, 215, 170, 0.8);
  --brand-col: #f97316;
  --card: #fafafc;
  --shadow-nav: 0 1px 1px rgba(0, 0, 0, 0.05);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --header-h: 128px;
  --max: 1160px;
  --font: "PingFang SC", "SF Pro Text", "SF Pro Display", "Hiragino Sans GB",
    "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font-family: inherit;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(249, 249, 251, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1344px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-nav);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.brand > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.95px;
  line-height: 28px;
  color: var(--ink);
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}

.brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.62px;
  text-transform: uppercase;
  color: var(--muted-4);
  line-height: 15px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.15px;
  color: var(--muted);
  line-height: 21px;
  white-space: nowrap;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 999px;
}

.icon-btn img {
  width: 21px;
  height: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pill img {
  width: 18px;
  height: 15px;
}

.pill-ghost {
  border: 1px solid #c7c7c7;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: #000;
}

.pill-dark {
  background: #1a1c20;
  color: #fff;
  box-shadow: var(--shadow-nav);
}

.pill-dark img {
  width: 16px;
  height: 24px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

/* Hero */
.hero {
  padding: 72px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-ring);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  margin-top: 20px;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -1.03px;
  line-height: 54px;
}

.hero-highlight {
  display: inline-block;
  margin-left: 4px;
  background: linear-gradient(90deg, #f97316, #ea580c 50%, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.44px;
  color: var(--muted);
  max-width: 576px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 36px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 218px;
  height: 64px;
  padding: 0 28px;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.store-btn img {
  width: 27px;
  height: 32px;
}

.store-btn small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12px;
  text-transform: uppercase;
  color: var(--muted-4);
  line-height: 10px;
}

.store-btn strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  letter-spacing: -0.31px;
  line-height: 20px;
}

.qr-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-nav);
}

.qr-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--brand-ring);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.qr-box img {
  width: 28px;
  height: 28px;
}

.qr-card b {
  display: block;
  font-size: 12px;
  color: #2d3139;
}

.qr-card span {
  display: block;
  font-size: 11px;
  color: var(--muted-4);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-4);
  font-size: 12px;
  font-weight: 700;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-phones {
  position: relative;
  height: 520px;
}

.phone-main,
.phone-side {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(24, 25, 29, 0.18));
}

.phone-main {
  width: 316px;
  right: 12px;
  top: -28px;
}

.phone-side {
  width: 234px;
  left: 8px;
  bottom: 8px;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-white {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--brand);
}

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

.section-head h2,
.section-left h2 {
  margin-top: 8px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.53px;
  line-height: 40px;
  color: var(--ink-2);
}

.section-head p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: var(--muted-2);
}

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

.method-card {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 470px;
}

.method-card h3 {
  font-size: 20px;
  letter-spacing: -0.45px;
  margin-top: 20px;
}

.method-card p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 23px;
  color: var(--muted-2);
}

.method-shot {
  margin-top: 24px;
  background: #fff;
  border: 2px dashed var(--line-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 250px;
}

.method-shot img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
}

/* Process */
.section-left {
  text-align: center;
  margin-bottom: 48px;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.process-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 16px 20px rgba(24, 25, 29, 0.05), 0 4px 8px rgba(24, 25, 29, 0.02);
}

.process-card.is-active {
  box-shadow: 0 16px 40px rgba(250, 140, 22, 0.15), 0 4px 16px rgba(24, 25, 29, 0.02);
}

.process-shot {
  background: var(--bg);
  border: 2px dashed var(--line-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 540px;
}

.process-card.is-active .process-shot {
  border-color: var(--brand);
}

.process-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.process-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.step-no {
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.process-label h4 {
  font-size: 16px;
  letter-spacing: -0.31px;
}

.process-card > p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 19.5px;
  color: var(--muted-2);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--line-3);
  cursor: pointer;
}

.dots button.is-on {
  width: 24px;
  background: var(--brand);
}

/* Radar */
.radar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px;
  border-radius: 35px;
  border: 1px solid var(--line);
  background: #f8fafc;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}

.radar .kicker {
  color: var(--brand);
}

.radar h2 {
  margin-top: 24px;
  color: var(--ink);
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0.4px;
}

.radar-copy {
  margin-top: 28px;
  color: var(--muted-2);
  font-size: 18px;
  font-weight: 700;
  line-height: 36px;
}

.radar-cta {
  display: inline-flex;
  margin-top: 28px;
  padding: 10px 16px;
  border-radius: 20px;
  background: #f97316;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.radar-visual {
  position: relative;
  height: 324px;
  border-radius: 15px;
  overflow: hidden;
}

.radar-visual img {
  position: absolute;
  width: 120.54%;
  height: 106.16%;
  left: -10.3%;
  top: -3.26%;
  max-width: none;
}

/* Pricing */
.pricing-card {
  max-width: 1061px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 40px 24px 24px;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  width: 25%;
  text-align: center;
  padding: 18px 12px;
  vertical-align: middle;
}

.price-table th:first-child,
.price-table td:first-child {
  text-align: left;
}

.plan-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--muted-3);
}

.plan-name {
  font-size: 16px;
  font-weight: 700;
}

.plan-price {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 700;
}

.plan-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 10px;
  font-weight: 700;
}

.plan-sub {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted-3);
}

.soft-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
}

.hot-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.col-hot {
  background: rgba(255, 247, 230, 0.7);
}

.price-table thead th.col-hot {
  border-radius: 16px 16px 0 0;
}

.price-table tbody tr:last-child td.col-hot {
  border-radius: 0 0 16px 16px;
}

.feat-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff7ed;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feat-icon img {
  width: 18px;
  height: 18px;
}

.feat-desc {
  margin-top: 4px;
  padding-left: 48px;
  font-size: 11px;
  color: var(--muted-3);
}

.cell-hot {
  color: var(--brand-col);
  font-weight: 700;
  font-size: 14px;
}

.cell-muted {
  color: var(--muted-3);
  font-size: 14px;
}

.col-hot .cell-hot {
  color: var(--brand-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 218px;
  height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-3);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

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

.price-note {
  margin-top: 24px;
  text-align: center;
  color: var(--muted-3);
  font-size: 12px;
  line-height: 20px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 924px;
  margin: 0 auto;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  min-height: 166px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-nav);
}

.stat b {
  font-size: 48px;
  letter-spacing: -0.85px;
  line-height: 48px;
  color: var(--ink);
}

.stat b span {
  color: var(--brand);
  margin: 0;
  font-size: inherit;
}

.stat strong {
  margin-top: 12px;
  font-size: 14px;
  color: #334155;
}

.stat span {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted-3);
  line-height: 16px;
}

.stat-cn {
  font-size: 40px;
}

/* Footer */
.footer {
  padding: 96px 0 64px;
  text-align: center;
}

.footer-logo {
  width: 61px;
  height: 61px;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-nav);
  display: grid;
  place-items: center;
}

.footer-logo img {
  width: 48px;
  height: 48px;
}

.footer h2 {
  margin-top: 24px;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.85px;
  line-height: 48px;
}

.footer .lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
}

.footer .store-btn {
  position: relative;
  margin: 40px auto 0;
  width: 226px;
  height: 68px;
  justify-content: center;
  overflow: hidden;
  border: 0;
}

.store-shine {
  position: absolute;
  left: -271px;
  top: 0;
  width: 112.984px;
  height: 68px;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
  animation: kf_706_2191_translate_0 42s linear;
  animation-iteration-count: infinite;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: left;
  color: var(--muted-4);
  font-size: 12px;
  line-height: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Login */
.login-main {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 48px 16px 80px;
}

.login-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 20px 45px rgba(24, 25, 29, 0.08), 0 6px 9px rgba(24, 25, 29, 0.03);
}

.login-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-ring);
  display: grid;
  place-items: center;
}

.login-logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
}

.login-card h1 {
  margin-top: 12px;
  text-align: center;
  font-size: 24px;
  letter-spacing: -0.53px;
  line-height: 32px;
}

.login-card .sub {
  margin-top: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-3);
}

.field {
  margin-top: 16px;
}

.field:first-of-type {
  margin-top: 32px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.phone-input,
.text-input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line-3);
  background: var(--bg);
  border-radius: 12px;
  padding: 0 16px 0 64px;
  font-size: 14px;
  outline: none;
}

.text-input {
  padding-left: 16px;
}

.phone-input:focus,
.text-input:focus {
  border-color: var(--brand);
  background: #fff;
}

.phone-wrap {
  position: relative;
}

.phone-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  padding-right: 10px;
  border-right: 1px solid var(--line-3);
  color: var(--muted-3);
  font-size: 12px;
  font-weight: 700;
}

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

.code-row .text-input {
  flex: 1;
}

.code-btn {
  flex: 0 0 94px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--brand-ring);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.code-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.submit-btn {
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.divider {
  position: relative;
  margin: 24px 0;
  text-align: center;
  color: var(--muted-3);
  font-size: 11px;
}

.divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid var(--line-2);
}

.divider span {
  position: relative;
  background: #fff;
  padding: 0 12px;
}

.social-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.social-apple {
  background: #18191d;
  color: #fff;
}

.social-wechat {
  margin-top: 10px;
  background: var(--bg);
  color: #282b33;
}

.legal {
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  line-height: 18px;
  color: var(--muted-3);
}

.legal a {
  text-decoration: underline;
}

.form-msg {
  display: none;
  margin-top: 12px;
  font-size: 12px;
  color: #c2410c;
  text-align: center;
}

.form-msg.is-on {
  display: block;
}

.form-msg.is-ok {
  color: #15803d;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(24, 25, 29, 0.45);
  display: none;
  place-items: center;
  z-index: 50;
  padding: 24px;
}

.modal.is-on {
  display: grid;
}

.modal-card {
  width: min(360px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
}

.modal-card h3 {
  font-size: 18px;
}

.qr-big {
  width: 180px;
  height: 180px;
  margin: 20px auto;
  border-radius: 16px;
  background:
    repeating-linear-gradient(90deg, #18191d 0 10px, transparent 10px 20px),
    repeating-linear-gradient(#18191d 0 10px, transparent 10px 20px);
  background-size: 180px 180px;
  opacity: 0.9;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #18191d;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 60;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.legal-page {
  max-width: 720px;
  margin: 48px auto 96px;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  line-height: 1.8;
  color: var(--muted);
}

.legal-page h1 {
  color: var(--ink);
  font-size: 28px;
  margin-bottom: 16px;
}

@media (max-width: 1100px) {
  :root {
    --header-h: 72px;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(249, 249, 251, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .method-grid,
  .ability-grid,
  .flow-grid,
  .process-row,
  .radar,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .footer h2 {
    font-size: 36px;
    line-height: 42px;
  }

  .hero-phones {
    height: 460px;
    max-width: 420px;
    margin: 0 auto;
  }

  .process-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .process-card {
    min-width: 280px;
  }

  .process-shot {
    height: 420px;
  }

  .footer-bar {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .pill-ghost span {
    display: none;
  }

  .phone-main {
    width: 240px;
    right: 0;
  }

  .phone-side {
    width: 170px;
  }

  .login-card {
    padding: 28px 20px;
  }
}

.scan-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #1e293b;
  font-size: 16px;
  font-weight: 500;
  box-shadow: var(--shadow-nav);
  cursor: pointer;
}

.scan-btn img {
  width: 34px;
  height: 34px;
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.ambient-glow {
  position: absolute;
  z-index: 0;
  width: min(753px, 92vw);
  height: auto;
  aspect-ratio: 753 / 638;
  left: 50%;
  top: 46%;
  translate: -50% -46%;
  pointer-events: none;
  animation: kf_716_482_opacity_0 42s linear, kf_716_482_scale_0 42s linear;
  animation-iteration-count: infinite;
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(342px, 100%);
  aspect-ratio: 377 / 785;
  border-radius: 56px;
  overflow: hidden;
  background: transparent;
  filter: drop-shadow(0 24px 40px rgba(15, 23, 42, 0.12));
}

.phone-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

.ability-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.ability-card,
.flow-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 32px;
}

.ability-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.flow-card {
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out;
}

.flow-card:hover {
  border-color: #fdba74;
  border-width: 1.5px;
  box-shadow: 0 12px 24px -2px rgba(0, 0, 0, 0.12);
}

.ability-shot,
.flow-shot {
  position: relative;
  overflow: hidden;
}

.ability-shot {
  flex: none;
  align-self: start;
  flex-shrink: 0;
}

.ability-shot img,
.flow-shot img {
  position: absolute;
  max-width: none;
}

.shot-root {
  width: 146px;
  height: 147px;
  border-radius: 16px;
}
.shot-root img {
  width: 100%;
  height: 104.36%;
  left: 0;
  top: -2.18%;
}

.shot-scene {
  width: 146px;
  height: 140px;
  border-radius: 10px;
}
.shot-scene img {
  width: 111.24%;
  height: 198.68%;
  left: -5.59%;
  top: -97.39%;
}

.shot-algo {
  width: 146px;
  height: 140px;
}
.shot-algo img {
  width: 105.21%;
  height: 152.22%;
  left: -2.54%;
  top: -49.02%;
}

.ability-card h3,
.flow-card h3 {
  margin-top: 24px;
  font-size: 20px;
  letter-spacing: -0.45px;
  color: var(--ink);
}

.ability-card h3,
.ability-card p,
.ability-more {
  width: 100%;
}

.ability-card h3 {
  transition: color 200ms ease-out;
}

.ability-card p,
.flow-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 23px;
  color: var(--muted);
}

.ability-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms ease-out;
}

.ability-card:hover .ability-more {
  grid-template-rows: 1fr;
}

.ability-extra {
  display: flex;
  min-height: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 200ms ease-out, margin-top 200ms ease-out, padding-top 200ms ease-out, border-color 200ms ease-out;
}

.ability-extra span {
  color: var(--muted-3);
}

.ability-card:hover {
  border-width: 1.5px;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.12);
}

.ability-card:hover .ability-extra {
  opacity: 1;
  margin-top: 32px;
  padding-top: 16px;
  border-top-color: rgba(226, 232, 240, 0.6);
}

.tone-orange:hover {
  border-color: #fdba74;
}
.tone-orange:hover h3,
.tone-orange .ability-extra b {
  color: #ea580c;
}
.tone-amber:hover {
  border-color: #fcd34d;
}
.tone-amber:hover h3,
.tone-amber .ability-extra b {
  color: #d97706;
}
.tone-rose:hover {
  border-color: #fda4af;
}
.tone-rose:hover h3,
.tone-rose .ability-extra b {
  color: #e11d48;
}

.flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.flow-no {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.flow-no.orange { color: #f97316; }
.flow-no.amber { color: #f59e0b; }
.flow-no.green { color: #10b981; }

.flow-tag {
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.flow-tag.orange { background: #fff7ed; color: #ea580c; }
.flow-tag.amber { background: #fffbeb; color: #d97706; }
.flow-tag.green { background: #ecfdf5; color: #059669; }

.flow-shot {
  width: 100%;
  margin-top: 16px;
}

.step-root {
  height: 105px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
}
.step-root img {
  width: 100.09%;
  height: 108.65%;
  left: -0.21%;
  top: -1.27%;
}

.step-scene {
  aspect-ratio: 129 / 72;
  border-radius: 10px;
}
.step-scene img {
  width: 109.83%;
  height: 155.56%;
  left: -4.92%;
  top: -20.14%;
}

.step-loop {
  height: 149px;
  border-radius: 20px;
}
.step-loop img {
  width: 112.46%;
  height: 147.12%;
  left: -5.42%;
  top: -45.4%;
}

.hot-price { color: var(--brand-dark); }
.hot-sub { color: var(--brand); font-weight: 600; }

.login-card { position: relative; }

.login-close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.login-close:hover { background: #18191d; }

.qr-modal-card {
  width: min(320px, calc(100% - 32px));
  padding: 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qr-close-row {
  display: flex;
  justify-content: flex-end;
  width: 256px;
  max-width: 100%;
}
.modal-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 16px;
  background: #fff7ed;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: #000;
}
.qr-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff7ed;
  display: grid;
  place-items: center;
}
.qr-badge::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 2px solid #ea580c;
  border-radius: 4px;
}
.qr-modal-card h3 { margin: 0; font-size: 16px; }
.qr-modal-card .sub { margin: 0; }
.qr-art {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 16px;
  background: #f8fafc;
}
.qr-block,
.qr-dot,
.qr-mid {
  position: absolute;
  display: block;
}
.qr-block {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #0f172a;
}
.qr-block:nth-child(1) { left: 16px; top: 16px; }
.qr-block:nth-child(2) { left: 96px; top: 16px; }
.qr-block:nth-child(3) { left: 16px; top: 96px; }
.qr-dot {
  left: 36px;
  top: 36px;
  width: 16px;
  height: 16px;
  background: #f97316;
}
.qr-mid {
  left: 70px;
  top: 70px;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  background: #ea580c;
}
.qr-tip {
  margin: 0;
  padding: 6px 12px;
  border-radius: 12px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 11px;
  font-weight: 500;
}

html[data-theme="dark"] {
  --bg: #0b0e14;
  --white: #151922;
  --ink: #f8fafc;
  --ink-2: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --muted-3: #64748b;
  --muted-4: #64748b;
  --line: rgba(226, 232, 240, 0.16);
  --line-2: rgba(226, 232, 240, 0.12);
  --line-3: rgba(226, 232, 240, 0.2);
  --card: #151922;
  --brand-soft: rgba(249, 115, 22, 0.16);
  --brand-ring: rgba(249, 115, 22, 0.35);
  color-scheme: dark;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .section,
html[data-theme="dark"] .footer {
  background: var(--bg);
  color: var(--ink);
}

html[data-theme="dark"] .header {
  background: rgba(11, 14, 20, 0.88);
}

html[data-theme="dark"] .section-white,
html[data-theme="dark"] .radar,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .login-card,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .legal-page {
  background: #12161e;
}

html[data-theme="dark"] .pill-ghost,
html[data-theme="dark"] .scan-btn,
html[data-theme="dark"] .btn,
html[data-theme="dark"] .flow-card,
html[data-theme="dark"] .stat,
html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .footer-logo {
  background: #1c2230;
  color: var(--ink);
}

html[data-theme="dark"] .flow-card:hover {
  background: #1b1e2b;
  border-color: #fdba74;
}

html[data-theme="dark"] .stat strong,
html[data-theme="dark"] .plan-name,
html[data-theme="dark"] .plan-price,
html[data-theme="dark"] .feat-name {
  color: var(--ink);
}

html[data-theme="dark"] .col-hot,
html[data-theme="dark"] .price-table thead th.col-hot,
html[data-theme="dark"] .price-table tbody td.col-hot {
  background: rgba(249, 115, 22, 0.12);
}

html[data-theme="dark"] .icon-btn img {
  filter: invert(1);
}

html[data-theme="dark"] .divider span {
  background: #12161e;
}

@keyframes kf_716_482_opacity_0 {
  0% { animation-timing-function: ease-in-out; opacity: 0.4; }
  7.143% { animation-timing-function: ease-in-out; opacity: 0.8; }
  14.286% { animation-timing-function: ease-in-out; opacity: 0.4; }
  21.429% { animation-timing-function: ease-in-out; opacity: 0.8; }
  28.571% { animation-timing-function: ease-in-out; opacity: 0.4; }
  35.714% { animation-timing-function: ease-in-out; opacity: 0.8; }
  42.857% { animation-timing-function: ease-in-out; opacity: 0.4; }
  50% { animation-timing-function: ease-in-out; opacity: 0.8; }
  57.143% { animation-timing-function: ease-in-out; opacity: 0.4; }
  64.286% { animation-timing-function: ease-in-out; opacity: 0.8; }
  71.429% { animation-timing-function: ease-in-out; opacity: 0.4; }
  78.571% { animation-timing-function: ease-in-out; opacity: 0.8; }
  85.714% { animation-timing-function: ease-in-out; opacity: 0.4; }
  92.857% { animation-timing-function: ease-in-out; opacity: 0.8; }
  100% { opacity: 0.4; }
}

@keyframes kf_716_482_scale_0 {
  0% { animation-timing-function: ease-in-out; scale: 1 1; }
  7.143% { animation-timing-function: ease-in-out; scale: 1.12 1.12; }
  14.286% { animation-timing-function: ease-in-out; scale: 1 1; }
  21.429% { animation-timing-function: ease-in-out; scale: 1.12 1.12; }
  28.571% { animation-timing-function: ease-in-out; scale: 1 1; }
  35.714% { animation-timing-function: ease-in-out; scale: 1.12 1.12; }
  42.857% { animation-timing-function: ease-in-out; scale: 1 1; }
  50% { animation-timing-function: ease-in-out; scale: 1.12 1.12; }
  57.143% { animation-timing-function: ease-in-out; scale: 1 1; }
  64.286% { animation-timing-function: ease-in-out; scale: 1.12 1.12; }
  71.429% { animation-timing-function: ease-in-out; scale: 1 1; }
  78.571% { animation-timing-function: ease-in-out; scale: 1.12 1.12; }
  85.714% { animation-timing-function: ease-in-out; scale: 1 1; }
  92.857% { animation-timing-function: ease-in-out; scale: 1.12 1.12; }
  100% { scale: 1 1; }
}

@keyframes kf_706_2191_translate_0 {
  0% { translate: 0px 0px; }
  100% { translate: 0px 0px; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-glow,
  .store-shine {
    animation: none;
  }

  .ambient-glow {
    opacity: 0.4;
    scale: 1 1;
  }

  .ability-card,
  .ability-shot,
  .ability-card h3,
  .ability-more,
  .ability-extra,
  .flow-card {
    transition: none;
  }
}
