/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #101828;
  background: #FAFAF7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; }

/* ===== Utilities ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-right { text-align: right; }
section[id] { scroll-margin-top: 80px; }
.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 14px; line-height: 20px;
  border-radius: 20px; cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.btn-lg { padding: 12px 24px; }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 16px; }
.btn-gold { background: #FFDC80; color: #1F2937; }
.btn-gold:hover { background: #ffd25e; }
.btn-dark { background: #1F2937; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.btn-dark:hover { background: #111827; }
.btn-outline { border: 1px solid #E5E7EB; color: #364153; background: transparent; }
.btn-outline:hover { border-color: #D1D5DB; background: #F9FAFB; }
.btn-ghost { color: #99A1AF; background: transparent; }
.btn-ghost:hover { color: #6A7282; }
.btn-dark-outline { border: 1px solid rgba(255,255,255,.2); color: #fff; background: transparent; }
.btn-dark-outline:hover { border-color: rgba(255,255,255,.4); }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 #E5E7EB;
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 28px; height: 28px; border-radius: 6px; }
.nav-logo-text { font-weight: 600; font-size: 17px; letter-spacing: .025em; color: #101828; }
.nav-links { display: flex; gap: 32px; }
.nav-link { font-size: 14px; font-weight: 500; color: #6A7282; transition: color .2s; }
.nav-link:hover { color: #101828; }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ===== Hero ===== */
.hero { padding: 144px 0 80px; background: #FAFAF7; }
.hero-grid { display: grid; grid-template-columns: 510px 1fr; gap: 80px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,220,128,.16); border: 1px solid rgba(255,220,128,.5);
  font-size: 12px; color: #1F2937; margin-bottom: 24px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #FFDC80; }
.hero-title { font-size: 60px; font-weight: 700; line-height: 1.12; letter-spacing: -.025em; color: #101828; }
.hero-title-highlight { display: block; }
.hero-desc { margin-top: 24px; font-size: 17px; line-height: 1.75; color: #6A7282; max-width: 481px; }
.hero-actions { display: flex; gap: 12px; margin-top: 40px; align-items: stretch; height: 45px; }
.hero-trust { display: flex; gap: 24px; margin-top: 48px; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #99A1AF; }

/* ===== Web Card Mockup ===== */
.hero-right { position: relative; }
.web-card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
  box-shadow: 0 8px 10px -6px rgba(0,0,0,.1), 0 20px 25px -5px rgba(0,0,0,.1);
  overflow: hidden;
}
.web-card-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-bottom: 1px solid #F3F4F6;
  background: rgba(249,250,251,.8);
}
.titlebar-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FFA2A2; }
.dot-yellow { background: #FFDF20; }
.dot-green { background: #7BF1A8; }
.titlebar-url {
  margin: 0 auto; padding: 4px 32px; border-radius: 4px;
  border: 1px solid #E5E7EB; background: #fff;
  font-size: 10px; color: #99A1AF;
}
.web-card-body { display: flex; min-height: 252px; }
.web-card-body.full { min-height: 320px; }
.web-card-sidebar {
  width: 128px; padding: 12px 0; flex-shrink: 0;
  background: rgba(249,250,251,.6); border-right: 1px solid #E5E7EB;
  display: flex; flex-direction: column; gap: 2px;
}
.sidebar-label { padding: 6px 12px; font-size: 9px; letter-spacing: .025em; text-transform: uppercase; color: #99A1AF; }
.sidebar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; margin: 0 8px; border-radius: 16px;
  font-size: 11px; color: #99A1AF; cursor: pointer; transition: all .15s;
}
.sidebar-item:hover { background: #F3F4F6; }
.sidebar-item.active { background: #101828; color: #fff; }
.sidebar-icon { width: 12px; height: 12px; border-radius: 3px; background: #E5E7EB; flex-shrink: 0; }
.sidebar-item.active .sidebar-icon { background: rgba(255,255,255,.3); }
.web-card-main { flex: 1; padding: 16px; overflow: hidden; }
.card-main-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card-main-title { font-size: 12px; font-weight: 600; color: #1E2939; }
.card-main-title.lg { font-size: 14px; font-weight: 600; }
.card-main-sub { font-size: 10px; color: #99A1AF; }
.btn-gold-sm {
  padding: 4px 10px; border-radius: 16px; background: #FFDC80;
  font-size: 10px; font-weight: 500; color: #1F2937; cursor: pointer;
}
.header-actions { display: flex; gap: 8px; align-items: center; }
.btn-filter { padding: 6px 12px; border-radius: 16px; background: #F3F4F6; font-size: 10px; color: #6A7282; cursor: pointer; }

/* ===== Card Table ===== */
.card-table { font-size: 10px; }
.table-head {
  display: grid; grid-template-columns: 1fr 1.2fr .8fr .8fr .8fr;
  padding: 6px 8px; border-bottom: 1px solid #F3F4F6;
  font-size: 9px; letter-spacing: .025em; text-transform: uppercase; color: #99A1AF;
}
.table-row {
  display: grid; grid-template-columns: 1fr 1.2fr .8fr .8fr .8fr;
  padding: 8px; border-bottom: 1px solid #F9FAFB; align-items: center;
}
.order-no { font-family: 'Menlo', monospace; color: #2B7FFF; font-size: 10px; }
.table-row span { color: #364153; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-row .amount { font-weight: 500; color: #1E2939; text-align: right; }

/* ===== Tags ===== */
.tag {
  display: inline-block; padding: 2px 6px; border-radius: 999px;
  font-size: 9px; font-style: normal; line-height: 1.5;
}
.tag-green { background: rgba(16,185,129,.09); color: #10B981; }
.tag-amber { background: rgba(245,158,11,.09); color: #F59E0B; }
.tag-gray { background: rgba(156,163,175,.09); color: #9CA3AF; }
.tag-blue { background: rgba(59,130,246,.09); color: #3B82F6; }

/* ===== Phone Float (Hero) ===== */
.phone-float {
  position: absolute; right: -20px; bottom: -30px; width: 148px;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 24px;
  box-shadow: 0 4px 6px -4px rgba(0,0,0,.1), 0 10px 15px -3px rgba(0,0,0,.1);
  overflow: hidden;
}
.phone-statusbar { display: flex; justify-content: center; align-items: center; height: 24px; background: #101828; }
.phone-notch { width: 40px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.2); }
.phone-content { padding: 12px; }
.phone-header { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.phone-logo { width: 13px; height: 13px; border-radius: 3px; }
.phone-title { font-size: 10px; font-weight: 600; color: #1E2939; }
.phone-list { display: flex; flex-direction: column; gap: 6px; }
.phone-order-card { padding: 8px; background: #F9FAFB; border-radius: 20px; }
.phone-order-top { display: flex; justify-content: space-between; align-items: center; }
.phone-order-no { font-size: 9px; font-weight: 500; color: #364153; }
.phone-order-name { font-size: 9px; color: #99A1AF; margin-top: 2px; }
.phone-btn {
  margin-top: 12px; padding: 6px 0; text-align: center;
  background: #FFDC80; border-radius: 20px;
  font-size: 9px; font-weight: 500; color: #1F2937;
}
.phone-homebar { display: flex; justify-content: center; align-items: center; height: 16px; background: #F9FAFB; border-top: 1px solid #E5E7EB; }
.phone-homebar span { width: 24px; height: 4px; border-radius: 999px; background: #D1D5DC; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-white { background: #fff; }
.section-gray { background: #FAFAF7; }
.section-dark { background: #1F2937; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: block; font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: #99A1AF; margin-bottom: 12px;
}
.section-title { font-size: 38px; font-weight: 700; letter-spacing: -.02em; color: #101828; line-height: 1.5; }
.section-desc { margin-top: 16px; font-size: 16px; color: #6A7282; max-width: 513px; margin-left: auto; margin-right: auto; }

/* ===== Value Cards ===== */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  padding: 24px; background: #F9FAFB; border: 1px solid #E5E7EB;
  border-radius: 16px; transition: box-shadow .2s;
}
.value-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.value-icon {
  width: 40px; height: 40px; border-radius: 20px; background: #FFDC80;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.value-card h3 { font-size: 15px; font-weight: 600; color: #101828; margin-bottom: 10px; }
.value-card p { font-size: 14px; line-height: 1.625; color: #6A7282; }

/* ===== Targets ===== */
.targets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.target-card {
  padding: 32px; background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
}
.target-header { display: flex; gap: 16px; align-items: flex-start; }
.target-icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.target-icon-dark { background: #1F2937; }
.target-icon-gold { background: #FFDC80; }
.target-role { font-size: 11px; color: #99A1AF; display: block; }
.target-header h3 { font-size: 20px; font-weight: 700; color: #101828; margin-top: 2px; }
.target-desc { margin-top: 24px; font-size: 14px; line-height: 1.625; color: #6A7282; }
.target-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.target-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #364153; }
.check-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.check-dot.gold { background: #FFDC80; }
.check-dot.dark { background: #1F2937; }
.target-footer {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid #E5E7EB;
  font-size: 12px; color: #99A1AF;
}

/* ===== Process ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-step { text-align: center; }
.process-line-row { display: flex; align-items: center; justify-content: center; }
.process-circle {
  width: 44px; height: 44px; border-radius: 50%; background: #FFDC80;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #1F2937; flex-shrink: 0;
}
.process-line { flex: 1; height: 1px; background: rgba(255,220,128,.38); }
.process-line.left { max-width: 100px; }
.process-line.right { max-width: 100px; }
.process-text { padding: 16px 16px 0; }
.process-text h4 { font-size: 13px; font-weight: 600; color: #1E2939; }
.process-text p { margin-top: 4px; font-size: 12px; line-height: 1.625; color: #6A7282; }
.process-grid .process-step:nth-child(n+5) { margin-top: 40px; }

/* ===== Preview ===== */
.preview-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.preview-label { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.preview-label-icon { width: 14px; height: 14px; border-radius: 3px; }
.preview-label-title { font-size: 12px; font-weight: 500; color: #6A7282; }
.preview-label-sep { color: #D1D5DC; font-size: 12px; }
.preview-label-desc { font-size: 12px; color: #99A1AF; }
.web-mockup {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
  box-shadow: 0 8px 10px -6px rgba(0,0,0,.1), 0 20px 25px -5px rgba(0,0,0,.1);
  overflow: hidden;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stat-card { padding: 12px; background: #F9FAFB; border-radius: 20px; text-align: center; }
.stat-num { display: block; font-size: 18px; font-weight: 700; }
.stat-num.green { color: #10B981; }
.stat-num.amber { color: #F59E0B; }
.stat-num.blue { color: #3B82F6; }
.stat-num.gray { color: #9CA3AF; }
.stat-label { font-size: 10px; color: #99A1AF; }

/* ===== App Phones ===== */
.preview-app { padding-top: 32px; }
.app-phones { display: flex; gap: 16px; margin-top: 16px; }
.phone-card {
  flex: 1; background: #fff; border: 1px solid #E5E7EB; border-radius: 28px;
  box-shadow: 0 4px 6px -4px rgba(0,0,0,.1), 0 10px 15px -3px rgba(0,0,0,.1);
  overflow: hidden;
}

/* ===== CTA ===== */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-title { font-size: 42px; font-weight: 700; letter-spacing: -.025em; color: #fff; }
.cta-desc { margin-top: 16px; font-size: 16px; line-height: 1.625; color: #99A1AF; }
.cta-actions { display: flex; gap: 12px; margin-top: 40px; }
.cta-right { display: flex; align-items: center; gap: 32px; justify-content: center; }
.qr-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px; background: #fff; border-radius: 16px;
}
.qr-placeholder {
  width: 112px; height: 112px; border-radius: 20px; background: #F3F4F6;
  display: flex; align-items: center; justify-content: center;
}
.qr-card span { font-size: 12px; color: #6A7282; }
.store-buttons { display: flex; flex-direction: column; gap: 12px; }
.store-btn {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; transition: background .2s;
}
.store-btn:hover { background: rgba(255,255,255,.14); }
.store-btn small { display: block; font-size: 10px; color: #6A7282; }
.store-btn strong { display: block; font-size: 14px; font-weight: 500; color: #fff; }

/* ===== Footer ===== */
.footer { padding: 48px 0; background: #FAFAF7; border-top: 1px solid #E5E7EB; }
.footer-grid { display: grid; grid-template-columns: 280px repeat(5, 1fr); gap: 24px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { width: 28px; height: 28px; border-radius: 6px; }
.footer-logo span { font-weight: 600; font-size: 17px; letter-spacing: .025em; color: #101828; }
.footer-brand p { font-size: 14px; line-height: 1.625; color: #99A1AF; }
.footer-links h4 { font-size: 12px; font-weight: 600; color: #364153; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 12px; color: #99A1AF; padding: 4px 0; transition: color .2s; }
.footer-links a:hover { color: #6A7282; }
.footer-bottom {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid #E5E7EB;
  font-size: 12px; color: #99A1AF;
}
.footer-icp { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { font-size: 42px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .targets-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-line { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 100px 0 48px; }
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; height: auto; }
  .value-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .app-phones { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .phone-float { display: none; }
}
