:root {
  --primary: #6656f6;
  --primary-2: #2db9f4;
  --primary-dark: #4d3ed4;
  --ink: #172033;
  --muted: #69738a;
  --line: #e9ecf3;
  --surface: #ffffff;
  --surface-soft: #f7f8fc;
  --success: #11a36a;
  --warning: #f59e0b;
  --danger: #e4495b;
  --shadow: 0 18px 50px rgba(41, 49, 78, .10);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfcff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 36px), var(--container)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(233, 236, 243, .85);
  backdrop-filter: blur(16px);
}
.navbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 148px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 14px; border-radius: 10px; color: #4f5870; font-size: 15px; font-weight: 600; transition: .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: #f0eeff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 12px; color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 12px 25px rgba(102, 86, 246, .22); }
.btn-primary:hover { box-shadow: 0 15px 30px rgba(102, 86, 246, .3); }
.btn-light { color: var(--primary); background: #f1efff; }
.btn-ghost { color: #4c556b; background: #fff; border: 1px solid var(--line); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }

.hero { position: relative; overflow: hidden; padding: 82px 0 74px; background: radial-gradient(circle at 15% 20%, rgba(103, 86, 246, .15), transparent 32%), radial-gradient(circle at 88% 8%, rgba(45, 185, 244, .16), transparent 30%), linear-gradient(180deg, #fff 0%, #f7f8ff 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; filter: blur(1px); pointer-events: none; }
.hero::before { width: 280px; height: 280px; right: -90px; bottom: -120px; background: rgba(102, 86, 246, .08); }
.hero::after { width: 180px; height: 180px; left: -80px; top: 30px; background: rgba(45, 185, 244, .09); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: 62px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #e3e0ff; border-radius: 999px; color: var(--primary); background: rgba(255,255,255,.75); font-size: 13px; font-weight: 800; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(17,163,106,.1); }
.hero h1 { margin: 20px 0 18px; font-size: clamp(38px, 5.5vw, 66px); line-height: 1.13; letter-spacing: -2.6px; }
.gradient-text { background: linear-gradient(100deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 0; max-width: 650px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #5d667b; font-size: 14px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points span::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--success); background: #eaf9f2; font-size: 12px; font-weight: 900; }

.dashboard-card { position: relative; padding: 24px; border: 1px solid rgba(255,255,255,.85); border-radius: 26px; background: rgba(255,255,255,.86); box-shadow: 0 28px 70px rgba(61, 69, 112, .16); backdrop-filter: blur(14px); }
.dashboard-card::before { content: ""; position: absolute; inset: -1px; border-radius: 26px; padding: 1px; background: linear-gradient(145deg, rgba(102,86,246,.3), rgba(45,185,244,.08), rgba(255,255,255,.8)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-title { font-weight: 800; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; color: var(--success); background: #ecfaf4; font-size: 12px; font-weight: 800; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.mini-order { margin-top: 12px; padding: 15px; display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.product-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; font-size: 24px; background: linear-gradient(135deg, #f0eeff, #eaf8ff); }
.mini-order strong { display: block; font-size: 14px; }
.mini-order small { color: var(--muted); }
.price { color: var(--primary); font-weight: 900; white-space: nowrap; }
.dash-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.dash-summary div { padding: 13px 10px; border-radius: 14px; background: var(--surface-soft); text-align: center; }
.dash-summary strong { display: block; font-size: 18px; }
.dash-summary span { color: var(--muted); font-size: 12px; }

.section { padding: 80px 0; }
.section-sm { padding: 58px 0; }
.section-soft { background: var(--surface-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head.center { display: block; text-align: center; }
.section-kicker { color: var(--primary); font-size: 13px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.section-title { margin: 7px 0 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.25; letter-spacing: -1px; }
.section-desc { margin: 10px 0 0; color: var(--muted); }
.section-head.center .section-desc { max-width: 650px; margin-left: auto; margin-right: auto; }
.text-link { color: var(--primary); font-weight: 800; white-space: nowrap; }

.notice-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.notice-inner { min-height: 54px; display: flex; align-items: center; gap: 14px; }
.notice-label { flex: 0 0 auto; color: var(--primary); font-size: 14px; font-weight: 900; }
.notice-text { flex: 1; min-width: 0; color: #586176; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-date { color: #9aa1b1; font-size: 13px; }

.categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.category-btn { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; color: #5c6579; background: #fff; font-weight: 700; transition: .2s; }
.category-btn:hover, .category-btn.active { color: #fff; border-color: transparent; background: var(--primary); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 9px 28px rgba(35,45,80,.05); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.product-card:hover { transform: translateY(-5px); border-color: #d9d4ff; box-shadow: var(--shadow); }
.product-cover { height: 156px; display: grid; place-items: center; position: relative; font-size: 50px; background: linear-gradient(135deg, #f2f0ff, #e9f8ff); }
.product-cover::after { content: ""; position: absolute; inset: auto -24px -50px auto; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.35); }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 9px; border-radius: 8px; color: #fff; background: rgba(23,32,51,.82); font-size: 11px; font-weight: 800; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.product-title { margin: 0; font-size: 17px; line-height: 1.4; }
.product-desc { margin: 8px 0 16px; color: var(--muted); font-size: 13px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.product-price { color: var(--danger); font-size: 21px; font-weight: 900; }
.product-price small { color: #9097a7; font-size: 12px; font-weight: 600; }
.stock { color: var(--success); font-size: 12px; font-weight: 700; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(135deg, #f0eeff, #eaf8ff); font-size: 24px; }
.feature-card h3 { margin: 18px 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-card { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-card::before { counter-increment: step; content: "0" counter(step); display: block; color: #d6d2ff; font-size: 38px; line-height: 1; font-weight: 900; }
.step-card h3 { margin: 17px 0 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }

.cta { padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-radius: 24px; color: #fff; background: linear-gradient(120deg, #5f4ee8, #2ab1e8); box-shadow: 0 22px 60px rgba(78,67,206,.25); }
.cta h2 { margin: 0; font-size: clamp(25px, 4vw, 38px); }
.cta p { margin: 8px 0 0; color: rgba(255,255,255,.82); }
.cta .btn { color: var(--primary); background: #fff; flex: 0 0 auto; }

.page-hero { padding: 66px 0 52px; text-align: center; background: radial-gradient(circle at 20% 10%, rgba(102,86,246,.13), transparent 34%), radial-gradient(circle at 80% 10%, rgba(45,185,244,.13), transparent 31%), #f9faff; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 10px 0 8px; font-size: clamp(34px, 5vw, 48px); }
.page-hero p { margin: 0 auto; max-width: 700px; color: var(--muted); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.search-box { position: relative; flex: 1; max-width: 460px; }
.search-box input { width: 100%; height: 46px; padding: 0 16px 0 44px; border: 1px solid var(--line); border-radius: 13px; outline: none; background: #fff; transition: .2s; }
.search-box input:focus { border-color: #b6adff; box-shadow: 0 0 0 4px rgba(102,86,246,.08); }
.search-box::before { content: "⌕"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #969dad; font-size: 22px; }
.result-count { color: var(--muted); font-size: 14px; }
.empty-state { grid-column: 1 / -1; padding: 56px 20px; border: 1px dashed #d8dce7; border-radius: var(--radius); text-align: center; background: #fff; }
.empty-state strong { display: block; margin-bottom: 7px; font-size: 18px; }
.empty-state span { color: var(--muted); }

.query-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 28px; align-items: start; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 35px rgba(39,48,82,.06); }
.panel h2, .panel h3 { margin-top: 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 800; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: none; background: #fff; transition: .2s; }
.input, .select { height: 46px; padding: 0 14px; }
.textarea { min-height: 100px; resize: vertical; padding: 12px 14px; }
.input:focus, .select:focus, .textarea:focus { border-color: #b4abff; box-shadow: 0 0 0 4px rgba(102,86,246,.08); }
.form-help { margin-top: 7px; color: var(--muted); font-size: 12px; }
.query-tips { display: grid; gap: 14px; }
.tip-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.tip-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--primary); background: #f0eeff; font-weight: 900; }
.tip-item strong { display: block; }
.tip-item p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.demo-result { display: none; margin-top: 22px; padding: 18px; border: 1px solid #dcefe7; border-radius: 14px; background: #f4fcf8; }
.demo-result.show { display: block; }
.demo-result h4 { margin: 0 0 8px; color: var(--success); }
.demo-result p { margin: 5px 0; font-size: 14px; }

.notice-list { display: grid; gap: 15px; }
.notice-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: .2s; }
.notice-card:hover { border-color: #d9d4ff; box-shadow: 0 10px 25px rgba(43,50,83,.06); }
.notice-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.notice-card h3 { margin: 0; font-size: 17px; }
.notice-card time { color: #9aa1b1; font-size: 13px; white-space: nowrap; }
.notice-card p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.tag { display: inline-flex; margin-right: 8px; padding: 3px 8px; border-radius: 7px; color: var(--primary); background: #f0eeff; font-size: 11px; vertical-align: 2px; }

.faq-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.help-menu { position: sticky; top: 96px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.help-menu a { display: block; padding: 11px 12px; border-radius: 10px; color: #5d667a; font-size: 14px; font-weight: 700; }
.help-menu a:hover { color: var(--primary); background: #f2f0ff; }
.faq-group { margin-bottom: 34px; scroll-margin-top: 100px; }
.faq-group h2 { margin: 0 0 16px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-question { width: 100%; padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 0; color: var(--ink); background: #fff; text-align: left; font-weight: 800; }
.faq-question span:last-child { transition: transform .2s; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 18px 18px; color: var(--muted); font-size: 14px; }

.site-footer { margin-top: 0; padding: 54px 0 22px; color: #c9d1e2; background: #12182a; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 42px; padding-bottom: 34px; }
.footer-brand .logo img { filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 390px; color: #8f99ae; font-size: 14px; }
.footer-col h4 { margin: 0 0 14px; color: #fff; }
.footer-col a { display: block; margin: 8px 0; color: #98a2b6; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); text-align: center; color: #7f899f; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom p { margin: 5px 0; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.show { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14,20,38,.65); backdrop-filter: blur(5px); }
.modal-dialog { position: relative; z-index: 1; width: min(100%, 520px); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 20px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.25); }
.modal-header { padding: 21px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal-header h3 { margin: 0; }
.modal-close { width: 36px; height: 36px; border: 0; border-radius: 10px; color: #727b8f; background: #f4f5f8; font-size: 22px; }
.modal-body { padding: 23px 24px; }
.order-product { display: grid; grid-template-columns: 58px 1fr auto; gap: 13px; align-items: center; margin-bottom: 22px; padding: 14px; border-radius: 14px; background: var(--surface-soft); }
.order-product .product-icon { width: 58px; height: 58px; }
.order-total { margin: 18px 0; padding: 15px 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.order-total strong { color: var(--danger); font-size: 24px; }
.checkbox-line { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 13px; }
.checkbox-line input { margin-top: 4px; }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 200; transform: translate(-50%, 30px); max-width: calc(100% - 36px); padding: 12px 18px; border-radius: 12px; color: #fff; background: #172033; box-shadow: 0 12px 35px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .nav-links { position: fixed; left: 18px; right: 18px; top: 82px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .header-actions .btn { display: none; }
  .hero-grid, .query-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
  .dashboard-card { max-width: 650px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .help-menu { position: static; display: flex; flex-wrap: wrap; gap: 5px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .navbar { min-height: 64px; }
  .logo img { width: 132px; }
  .nav-links { top: 73px; left: 12px; right: 12px; }
  .hero { padding: 49px 0 54px; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero p { font-size: 16px; }
  .section { padding: 58px 0; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 12px; }
  .product-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .product-cover { height: 145px; }
  .dash-summary { grid-template-columns: 1fr; }
  .mini-order { grid-template-columns: 44px 1fr; }
  .mini-order .price { grid-column: 2; }
  .cta { padding: 28px 22px; display: block; text-align: center; }
  .cta .btn { margin-top: 18px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .search-box { max-width: none; }
  .panel { padding: 21px 18px; }
  .notice-card-top { align-items: flex-start; flex-direction: column; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .modal { padding: 10px; }
  .modal-body, .modal-header { padding-left: 18px; padding-right: 18px; }
}

.mt-18 { margin-top: 18px; }
.mb-22 { margin-bottom: 22px; }
.security-note { margin-top: 24px; padding: 16px; border-radius: 14px; color: #86620b; background: #fff8e8; font-size: 13px; }
