:root {
  --blue: #1f4fd8;
  --blue-d: #0f2a7a;
  --cyan: #12c2e9;
  --ink: #0f1b3d;
  --text: #3a4560;
  --muted: #6b7690;
  --line: #e3e8f2;
  --bg-alt: #f4f7fc;
  --grad: linear-gradient(120deg, #1f4fd8 0%, #12c2e9 100%);
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text); line-height: 1.7; background: #fff; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: .25s; }
.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 42px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { color: var(--ink); font-size: 18px; letter-spacing: 2px; }
.brand small { font-size: 9.5px; letter-spacing: 2px; color: var(--muted); }
.links { display: flex; align-items: center; gap: 30px; font-size: 15px; color: var(--ink); }
.links a:hover { color: var(--blue); }
.btn-sm { padding: 7px 16px; border-radius: 999px; background: var(--grad); color: #fff !important; }
.menu-btn { display: none; background: none; border: 0; font-size: 24px; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; box-shadow: 0 8px 24px rgba(31,79,216,.25); transition: .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(31,79,216,.32); }
.btn.ghost { background: transparent; color: var(--blue); box-shadow: none; border: 1.5px solid var(--blue); }

/* Hero */
.hero { position: relative; padding: 150px 0 60px; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, rgba(18,194,233,.13), transparent 60%), radial-gradient(900px 500px at 10% 0%, rgba(31,79,216,.10), transparent 60%); }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(31,79,216,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(31,79,216,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000 40%, transparent); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; }
.eyebrow { font-size: 13px; letter-spacing: 3px; color: var(--blue); font-weight: 600; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.25; color: var(--ink); font-weight: 800; letter-spacing: 1px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 24px 0 34px; font-size: 18px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: min(420px, 90%); filter: drop-shadow(0 30px 50px rgba(31,79,216,.25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(15,27,61,.06); }
.stats div { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 32px; color: var(--blue); font-weight: 800; }
.stats span { font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { max-width: 760px; margin-bottom: 50px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--ink); line-height: 1.35; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 16.5px; }

.cards { display: grid; gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,27,61,.08); border-color: transparent; }
.card h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.card p { font-size: 15px; }
.card .icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 22px; margin-bottom: 20px; }
.card .num { display: block; font-size: 14px; font-weight: 700; color: var(--cyan); margin-bottom: 8px; letter-spacing: 1px; }
.card.ind { border-left: 4px solid var(--blue); }

.callout { margin-top: 30px; padding: 24px 30px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(31,79,216,.07), rgba(18,194,233,.08)); border: 1px solid rgba(31,79,216,.15); }
.callout b { color: var(--blue-d); display: block; margin-bottom: 4px; }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cap { padding: 26px 22px; border-radius: var(--radius); background: var(--bg-alt); border-top: 3px solid var(--blue); }
.cap:nth-child(even) { border-top-color: var(--cyan); }
.cap h4 { color: var(--ink); font-size: 17px; margin-bottom: 10px; }
.cap p { font-size: 14px; color: var(--muted); }
.quote { margin-top: 40px; text-align: center; font-size: 18px; color: var(--ink); }
.quote b { color: var(--blue); }

/* Process */
.section.dark { background: linear-gradient(135deg, #0b1a4d 0%, #0f2a7a 55%, #0b5f8a 100%); color: #c9d4f0; }
.dark .sec-head h2 { color: #fff; }
.dark .sec-head p { color: #a9b8e0; }
.dark .eyebrow { color: var(--cyan); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 28px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 34px; color: var(--cyan); font-size: 18px; }
.steps span { font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: brightness(1.4); }
.steps h4 { color: #fff; font-size: 18px; margin: 6px 0 8px; }
.steps p { font-size: 14px; }
.deliverables { margin-top: 36px; text-align: center; font-size: 15px; color: #a9b8e0; }

/* Projects */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tabs button { font: inherit; font-size: 15px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: .2s; }
.tabs button:hover { border-color: var(--blue); color: var(--blue); }
.tabs button.active { background: var(--grad); color: #fff; border-color: transparent; }
.project { display: none; grid-template-columns: 1.6fr 1fr; gap: 30px; padding: 40px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(15,27,61,.06); animation: fade .35s ease; }
.project.active { display: grid; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.project h3 { font-size: 26px; color: var(--ink); }
.project .sub { color: var(--muted); margin: 6px 0 20px; }
.project h5 { font-size: 15px; color: var(--blue); margin: 18px 0 6px; }
.project ul { padding-left: 20px; }
.project li { margin-bottom: 4px; }
.value { padding: 14px 18px; border-left: 3px solid var(--cyan); background: var(--bg-alt); border-radius: 0 10px 10px 0; color: var(--ink); font-weight: 500; }
.p-side { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; align-self: start; }
.p-side h5 { margin-top: 22px; }
.p-side p { font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags i { font-style: normal; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(31,79,216,.2); color: var(--blue-d); }

/* Founder */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.f-card { position: sticky; top: 90px; background: #fff; border-radius: 18px; padding: 28px; text-align: center; border: 1px solid var(--line); }
.f-card img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; border: 4px solid #fff; box-shadow: 0 0 0 3px rgba(31,79,216,.25); }
.f-card h3 { font-size: 26px; color: var(--ink); letter-spacing: 4px; }
.f-card .role { font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
.f-card .tags { justify-content: center; }
.f-card .tags i { background: var(--bg-alt); }
.gitee { display: block; margin-top: 18px; font-size: 13px; color: var(--blue); }
.f-body { background: #fff; border-radius: 18px; padding: 36px; border: 1px solid var(--line); }
.f-intro { font-size: 16px; }
.f-body h4 { font-size: 18px; color: var(--ink); margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--blue); line-height: 1.2; }
.duty { padding-left: 20px; }
.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 20px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline li:first-child::before { background: var(--cyan); border-color: var(--cyan); }
.timeline time { font-size: 13px; color: var(--muted); display: block; }
.timeline b { color: var(--ink); }
.timeline p { font-size: 14.5px; }
.edu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.edu div { padding: 16px; border-radius: 12px; background: var(--bg-alt); }
.edu time { font-size: 13px; color: var(--muted); display: block; }
.edu b { color: var(--ink); display: block; }
.edu span { font-size: 14px; }

/* Contact */
.contact { background: var(--grad); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.contact h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.5; }
.contact-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 18px; padding: 32px; backdrop-filter: blur(6px); }
.contact-card p { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-card span { width: 60px; flex-shrink: 0; opacity: .75; }
.contact-card a:not(.btn) { text-decoration: underline; }
.contact-card .btn { margin-top: 22px; background: #fff; color: var(--blue); }

.footer { background: #0b1a4d; color: #8a98c0; text-align: center; padding: 26px 0; font-size: 13.5px; }
.footer a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .caps { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .links { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.08); display: none; }
  .links a { padding: 14px; width: 100%; text-align: center; }
  .menu-open .links { display: flex; }
  .menu-open .nav { background: #fff; }
  .hero { padding-top: 110px; }
  .hero-inner, .contact-inner, .founder, .project.active { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { width: 200px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards.three, .cards.two, .caps, .steps, .edu { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .project { padding: 24px; }
  .f-card { position: static; }
  .f-body { padding: 24px; }
}
html, body { overflow-x: hidden; }
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .lead { font-size: 16px; }
  .stats b { font-size: 24px; }
}

/* ===== Courses (home) ===== */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.course-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: .25s; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(15,27,61,.12); }
.cc-top { padding: 32px 32px 26px; color: #fff; }
.course-card.ordinary .cc-top, .c-hero.ordinary { background: linear-gradient(135deg, #0b5f8a 0%, #12c2e9 100%); }
.course-card.java .cc-top, .c-hero.java { background: linear-gradient(135deg, #0b1a4d 0%, #1f4fd8 100%); }
.cc-tag { display: inline-block; font-size: 12.5px; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.18); margin-bottom: 14px; }
.cc-top h3 { font-size: 26px; margin-bottom: 10px; }
.cc-top p { font-size: 15px; opacity: .9; }
.course-card ul { list-style: none; padding: 22px 32px 6px; flex: 1; }
.course-card li { padding: 6px 0 6px 24px; position: relative; font-size: 15px; }
.course-card li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; padding: 18px 32px 26px; }
.cc-foot b { font-size: 34px; color: #e8590c; }
.cc-foot b small { font-size: 18px; }
.cc-foot span { color: var(--blue); font-weight: 600; }
.course-tip { margin-top: 24px; text-align: center; color: var(--muted); }
.course-tip a { color: var(--blue); }

/* ===== Course detail ===== */
.sub .nav { background: rgba(255,255,255,.95); }
.c-hero { padding: 130px 0 70px; color: #fff; }
.c-hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.c-hero .eyebrow { color: #9fe8ff; }
.c-hero h1 { font-size: clamp(32px, 4.5vw, 50px); line-height: 1.25; }
.c-hero .lead { color: rgba(255,255,255,.88); max-width: none; }
.c-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.c-meta span { padding: 8px 16px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 14px; }
.c-meta b { font-size: 18px; margin-right: 2px; }
.price-card { background: #fff; color: var(--text); border-radius: 20px; padding: 30px; box-shadow: 0 30px 60px rgba(0,0,0,.25); scroll-margin-top: 90px; }
.pc-name { font-weight: 700; color: var(--ink); font-size: 17px; }
.pc-price { font-size: 52px; font-weight: 800; color: #e8590c; line-height: 1.2; margin: 6px 0 14px; }
.pc-price small { font-size: 24px; }
.price-card ul { list-style: none; margin-bottom: 18px; }
.price-card li { padding: 5px 0 5px 24px; position: relative; font-size: 14.5px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.price-card input[type=text], .price-card input:not([type]) { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; margin-bottom: 12px; }
.agree { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; cursor: pointer; }
.agree a { color: var(--blue); }
.btn.block { display: block; width: 100%; border: 0; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.buy-msg { margin-top: 10px; color: #d9480f; font-size: 14px; text-align: center; }

.syllabus { display: grid; gap: 12px; }
.syllabus details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
.syllabus summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--ink); font-size: 16.5px; display: flex; align-items: center; gap: 14px; }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus summary::after { content: "+"; margin-left: auto; color: var(--blue); font-size: 22px; font-weight: 400; }
.syllabus details[open] summary::after { content: "–"; }
.syllabus summary span { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 14px; }
.syllabus ul { padding: 0 0 18px 72px; }
.syllabus li { padding: 3px 0; font-size: 15px; }
.syllabus details > p { padding: 0 0 18px 52px; font-size: 15px; }
.syllabus .m-out { color: var(--blue-d); font-size: 14px; padding: 0 0 18px 52px; }
.narrow { width: min(820px, 92%); }
.notice-title { color: var(--ink); font-size: 26px; margin-bottom: 18px; }
.notice { padding-left: 20px; }
.notice li { margin-bottom: 8px; }
.notice a { color: var(--blue); }

/* ===== Order page ===== */
.order-page { padding-top: 130px; min-height: 80vh; }
.lookup { display: flex; gap: 12px; margin-bottom: 26px; }
.lookup input { flex: 1; padding: 13px 18px; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.lookup .btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.order-box { border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 20px 50px rgba(15,27,61,.06); }
.o-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.o-head h3 { color: var(--ink); font-size: 20px; }
.o-head p { font-size: 13.5px; color: var(--muted); }
.o-head b { font-size: 28px; color: #e8590c; }
.o-wait { display: flex; gap: 16px; align-items: center; }
.o-wait p { font-size: 14px; color: var(--muted); }
.spin { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--blue); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.o-paid .ok { font-size: 22px; font-weight: 700; color: #2b8a3e; margin-bottom: 6px; }
.o-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.o-qr { text-align: center; padding: 20px; background: var(--bg-alt); border-radius: 14px; }
.o-qr img { width: 220px; margin: 0 auto 8px; border-radius: 8px; }
.o-note, .o-err { color: var(--muted); }
.o-note a { color: var(--blue); }
.o-err { color: #d9480f; }
.my-orders { margin-top: 30px; }
.my-orders h4 { color: var(--ink); margin-bottom: 10px; }
.my-orders ul { list-style: none; }
.my-orders li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.my-orders a { color: var(--blue); font-family: ui-monospace, Menlo, monospace; }

@media (max-width: 820px) {
  .course-grid, .c-hero-inner { grid-template-columns: 1fr; }
  .c-hero { padding-top: 100px; }
  .syllabus ul { padding-left: 20px; }
  .syllabus details > p, .syllabus .m-out { padding-left: 0; }
  .o-head { flex-direction: column; align-items: flex-start; }
  .my-orders li { flex-direction: column; gap: 2px; }
}

/* ===== Goods (home + list) ===== */
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.sec-head .more { color: var(--blue); font-weight: 600; white-space: nowrap; }
.goods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.goods { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.goods:hover { box-shadow: 0 20px 44px rgba(15,27,61,.1); transform: translateY(-4px); }
.goods[hidden] { display: none; }
.g-img img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.g-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.g-body h3 { font-size: 20px; color: var(--ink); }
.g-body h3:hover { color: var(--blue); }
.g-desc { font-size: 14.5px; color: var(--muted); margin: 6px 0 12px; }
.g-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.g-tags i { font-style: normal; font-size: 12.5px; padding: 3px 10px; border-radius: 6px; background: var(--bg-alt); color: var(--blue-d); }
.g-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.g-price { color: #e8590c; font-size: 30px; font-weight: 800; }
.g-price small { font-size: 17px; }
.g-price em { font-style: normal; font-size: 17px; }
.btn-buy { padding: 10px 26px; background: linear-gradient(120deg, #ff7a18, #e8590c); box-shadow: 0 8px 20px rgba(232,89,12,.25); }

.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.crumb a:hover { color: var(--blue); }
.list-head { padding: 110px 0 40px; background: linear-gradient(135deg, #0b1a4d 0%, #1f4fd8 60%, #12c2e9 130%); color: #fff; }
.list-head .crumb, .list-head .crumb a { color: rgba(255,255,255,.75); }
.list-head h1 { font-size: 36px; }
.list-head > .container > p:not(.crumb) { opacity: .85; }
.list-search { display: flex; max-width: 640px; margin-top: 22px; background: #fff; border-radius: 999px; padding: 5px; }
.list-search input { flex: 1; border: 0; outline: 0; padding: 0 18px; font: inherit; border-radius: 999px; min-width: 0; }
.list-search .btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; padding: 10px 28px; box-shadow: none; }
.list-body { padding-top: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { font: inherit; font-size: 14.5px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.filters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.list-count { margin: 16px 0; color: var(--muted); font-size: 14px; }
.list-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.service-strip { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-strip div { padding: 18px; border-radius: 14px; background: var(--bg-alt); }
.service-strip b { display: block; color: var(--ink); }
.service-strip span { font-size: 13.5px; color: var(--muted); }

/* ===== Detail price card ===== */
.pc-cover { width: 100%; border-radius: 12px; margin-bottom: 16px; }
.pc-spec { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.pc-safe { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.price-card .btn.block { text-align: center; }
.m-buybar { display: none; }

/* ===== Checkout ===== */
.nav-title { font-size: 20px; font-weight: 700; color: var(--ink); }
.checkout { padding: 100px 0 120px; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; margin-bottom: 18px; }
.co-card h2 { font-size: 18px; color: var(--ink); margin-bottom: 16px; }
.co-card h2 small { font-weight: 400; color: var(--muted); font-size: 14px; }
.checkout-body { background: var(--bg-alt); }
.co-table-head, .co-item { display: grid; grid-template-columns: 2.2fr 1.2fr .6fr .8fr; gap: 16px; align-items: center; }
.co-table-head { padding: 10px 16px; background: var(--bg-alt); border-radius: 10px; font-size: 14px; color: var(--muted); }
.co-table-head span:last-child, .co-price { text-align: right; }
.co-item { padding: 18px 16px; border-bottom: 1px solid var(--line); }
.co-goods { display: flex; gap: 14px; align-items: center; }
.co-goods img { width: 128px; border-radius: 8px; }
.co-goods b { color: var(--ink); }
.co-goods p { font-size: 13px; color: var(--muted); }
.co-price { color: #e8590c; font-weight: 700; font-size: 18px; }
.m-label { display: none; color: var(--muted); }
.co-form { padding: 18px 16px 0; display: grid; gap: 8px; }
.co-form label { font-weight: 600; color: var(--ink); font-size: 15px; margin-top: 6px; }
.co-form label i { color: #e03131; font-style: normal; margin-right: 3px; }
.co-form label small { font-weight: 400; color: var(--muted); }
.co-form input, .co-form textarea { font: inherit; font-size: 14.5px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; max-width: 520px; width: 100%; resize: vertical; }
.co-err { color: #e03131; font-size: 13.5px; }
.pay-way { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 2px solid #1677ff; border-radius: 12px; max-width: 520px; cursor: pointer; font-weight: 600; color: var(--ink); }
.pay-way small { font-weight: 400; color: var(--muted); }
.alipay-logo { width: 28px; height: 28px; border-radius: 7px; background: #1677ff; color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.co-sum { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; }
.co-sum.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 14px; font-weight: 700; color: var(--ink); }
.co-sum.total b { color: #e8590c; font-size: 22px; }
.co-card .agree { margin: 16px 0 0; }
.co-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -6px 24px rgba(15,27,61,.08); z-index: 40; }
.co-bar-inner { display: flex; justify-content: flex-end; align-items: center; gap: 22px; padding: 14px 0; }
.co-total { color: #e8590c; font-size: 26px; }
.co-bar .btn { border: 0; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; padding: 14px 40px; background: linear-gradient(120deg, #ff7a18, #e8590c); box-shadow: 0 8px 20px rgba(232,89,12,.25); }
.checkout .buy-msg { text-align: right; }

/* ===== Order goods / legal / footer ===== */
.o-goods { display: flex; gap: 14px; align-items: center; }
.o-goods img { width: 120px; border-radius: 8px; }
.legal { padding-top: 110px; }
.legal h1 { font-size: 32px; color: var(--ink); }
.legal-date { color: var(--muted); font-size: 14px; margin: 6px 0 26px; }
.legal h2 { font-size: 19px; color: var(--ink); margin: 26px 0 10px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.f-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 10px; }

@media (max-width: 820px) {
  .goods-grid, .service-strip { grid-template-columns: 1fr; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
  .list-head { padding-top: 90px; }
  .list-head h1 { font-size: 28px; }
  .m-buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; justify-content: space-between; align-items: center; padding: 10px 18px; background: #fff; box-shadow: 0 -6px 24px rgba(15,27,61,.1); }
  .m-buybar .btn { padding: 11px 34px; background: linear-gradient(120deg, #ff7a18, #e8590c); }
  .sub .footer { padding-bottom: 86px; }
  .checkout { padding-top: 84px; }
  .co-card { padding: 20px 16px; }
  .co-table-head { display: none; }
  .co-item { grid-template-columns: 1fr; gap: 6px; padding: 0 0 16px; }
  .co-price { text-align: left; }
  .m-label { display: inline; }
  .co-goods img { width: 110px; }
  .co-form { padding: 16px 0 0; }
  .co-bar-inner { justify-content: space-between; }
  .co-bar .btn { padding: 12px 26px; font-size: 16px; }
  .o-goods img { width: 90px; }
}
.checkout-body .footer { padding-bottom: 100px; }
.footer .icp { margin-top: 4px; } .footer .icp a { color: #8a98c0; }
