/* 北京九州纵横网络科技有限公司官网 */

:root {
  --primary: #e6b85c;
  --primary-soft: #ffdd88;
  --primary-light: #fff2cc;
  --page-bg: #fffaf0;
  --card: #ffffff;
  --ink: #2c2c2c;
  --ink-2: #4a4a4a;
  --muted: #707070;
  --tip: #999999;
  --line: #e8e2d3;
  --dark: #1f1c17;
  --dark-2: #2d2820;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(44, 44, 44, 0.06);
  --shadow-sm: 0 4px 16px rgba(44, 44, 44, 0.05);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.is-hidden {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
.btn {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 12px;
  color: var(--tip);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav a:hover,
.nav a.active {
  background: var(--primary-light);
  color: var(--ink);
}

.nav-legal {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-cta {
  margin-left: 8px;
  padding: 9px 18px !important;
  background: var(--ink) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

.nav-cta:hover {
  background: var(--dark-2) !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(255, 221, 136, 0.45),
    transparent 65%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary-soft);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(230, 184, 92, 0.35);
}

.btn-primary:hover {
  background: var(--primary);
}

.btn-ghost {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.stat strong {
  display: block;
  font-size: 22px;
  font-weight: 650;
  color: var(--ink);
}

.stat span {
  font-size: 13px;
  color: var(--tip);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 221, 136, 0.5),
    transparent 68%
  );
  pointer-events: none;
}

.phone-device {
  position: relative;
  z-index: 1;
  width: min(100%, 268px);
  max-height: 520px;
  overflow: hidden;
  padding: 8px;
  border-radius: 40px;
  background: linear-gradient(165deg, #f6edd8, #e4d4b2 55%, #d9c49a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 18px 40px rgba(90, 70, 30, 0.16);
}

.phone-device::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 72px;
  border-radius: 0 0 32px 32px;
  background: linear-gradient(
    180deg,
    rgba(255, 250, 240, 0),
    rgba(255, 250, 240, 0.92)
  );
  pointer-events: none;
}

.phone-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.product-cover-img {
  width: 168px;
  height: 168px;
  margin-inline: auto;
  background: transparent;
  overflow: visible;
  padding: 0;
}

.product-cover-img img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  display: block;
}

.product-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--ink-2);
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--page-bg);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.mini-chart {
  margin-top: 24px;
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff9e8, #fff);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 16px 18px;
}

.bar {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--primary-soft), var(--primary));
  opacity: 0.85;
}

/* ---------- Sections ---------- */
section {
  padding: 80px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section-alt {
  background: #fff;
  border-block: 1px solid var(--line);
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-cover {
  height: auto;
  min-height: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}

.product-cover:not(.product-cover-img) {
  height: 120px;
  background: #f4efe4;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.status {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f3f3f3;
  color: var(--muted);
}

.status.soon {
  background: var(--primary-light);
  color: #8a6a20;
}

.status.online {
  background: #e6f7ef;
  color: #00a86b;
}

.status.beta {
  background: #fff0e6;
  color: #d97706;
}

.status.incubating {
  background: #f0f0f0;
  color: #707070;
}

.empty-block {
  padding: 36px 24px;
  text-align: center;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-block p {
  margin: 0;
  font-size: 14px;
  color: var(--tip);
}

.product-card h3 {
  margin: 0;
  font-size: 20px;
}

.product-card .tagline {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.product-card .desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-card,
.info-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.about-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.about-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.info-table dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.info-table .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-table .row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-table dt {
  font-size: 13px;
  color: var(--tip);
}

.info-table dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  word-break: break-all;
}

/* ---------- News ---------- */
.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.news-date {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  padding-top: 4px;
}

.news-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.news-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Partners ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.partner-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.partner-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.partner-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Download ---------- */
.download-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.download-main,
.download-side {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.download-main h3,
.download-side h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.download-main p,
.download-side p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.download-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.channel {
  min-width: 140px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--page-bg);
  text-align: left;
}

.channel strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.channel span {
  font-size: 12px;
  color: var(--tip);
}

.channel.disabled {
  opacity: 0.65;
  cursor: default;
}

/* ---------- Jobs ---------- */
.job-list {
  display: grid;
  gap: 12px;
}

.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.job-item h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.job-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.job-tags span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--page-bg);
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-info,
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h3,
.contact-form h3 {
  margin: 0 0 18px;
  font-size: 20px;
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.contact-map-wrap {
  margin-top: 18px;
  flex: 1;
  display: flex;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f6f1e4;
}

.contact-map {
  display: block;
  flex: 1;
  min-height: 420px;
  height: 100%;
  overflow: hidden;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}

.contact-row strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-row span,
.contact-row a {
  font-size: 14px;
  color: var(--muted);
  word-break: break-all;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page-bg);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 221, 136, 0.35);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #e54335;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field-error {
  min-height: 18px;
  margin: 6px 0 0;
  font-size: 12px;
  color: #e54335;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.char-count {
  font-size: 12px;
  color: var(--tip);
  white-space: nowrap;
  padding-top: 6px;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  cursor: pointer;
}

.agree input {
  margin-top: 3px;
  flex-shrink: 0;
}

.agree a {
  color: var(--primary-dark, #c9a227);
  text-decoration: underline;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  margin: 0;
  font-size: 12px;
  color: var(--tip);
}

.form-msg {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.form-msg.show {
  display: block;
}

.form-msg.ok {
  background: #e6f7ef;
  color: #00a86b;
}

.form-msg.err {
  background: #fff1f0;
  color: #e54335;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #f2e9d8;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}


.footer-brand p {
  margin: 0;
  font-size: 14px;
  color: #c9c0b2;
  max-width: 320px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 14px;
  color: #fff;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 13px;
  color: #c9c0b2;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--primary-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #8a8276;
}

.footer-bottom a {
  color: #c9c0b2;
}

.footer-bottom a:hover {
  color: var(--primary-soft);
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 48px 0 80px;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.legal-meta {
  font-size: 13px;
  color: var(--tip);
  margin-bottom: 28px;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.legal-card h3 {
  margin: 18px 0 8px;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 600;
}

.legal-card p,
.legal-card li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-card ul,
.legal-card ol {
  padding-left: 20px;
  margin: 8px 0 12px;
}

.legal-toc {
  margin: 0 0 28px;
  padding: 16px 18px;
  background: var(--page-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

.legal-toc a {
  display: inline-block;
  margin: 0 12px 6px 0;
  font-size: 13px;
  color: var(--muted);
}

.legal-toc a:hover {
  color: var(--primary);
}

.legal-card a {
  color: #c9a227;
}

.legal-note {
  padding: 12px 14px;
  background: #fff8e8;
  border-radius: 10px;
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .download-box,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap,
  .contact-map {
    min-height: 280px;
  }

  .hero-visual {
    margin-top: 8px;
  }

  .hero-visual::before {
    width: 240px;
    height: 240px;
  }

  .phone-device {
    width: min(100%, 240px);
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 250, 240, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
  }

  .nav-legal {
    display: flex;
    position: static;
    flex-direction: row;
    border-bottom: none;
    background: transparent;
    padding: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .news-item,
  .job-item {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-name {
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  section {
    padding: 56px 0;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .info-table .row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}
