/* ============================================================
   1025科技 — Warm Editorial Style

   Design philosophy:
   - Warm, not cold
   - Flat, not gradient
   - Serif headings for personality
   - One accent color (rust/terracotta)
   - Lots of whitespace
   - Paper-like texture
   ============================================================ */

/* ---- Tokens ---- */
:root {
  --white: #fffdfb;
  --paper: #f6f4f1;
  --sand: #eeeae5;
  --ink: #1c1917;
  --ink-secondary: #57534e;
  --ink-muted: #a8a29e;
  --rust: #b45309;
  --rust-soft: #fef3c7;
  --rule: #e7e5e4;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-sans: "Inter", "HarmonyOS Sans SC", "MiSans", "PingFang SC", system-ui, sans-serif;

  --measure: 680px;
  --wide: 1080px;
  --gutter: 32px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* subtle paper grain */
  background: var(--white);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E") repeat,
    var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---- Layout ---- */
.container {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.brand-logo-full {
  display: block;
  width: 250px;
  max-width: min(250px, 44vw);
  height: auto;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
}
.nav a {
  transition: color 0.15s;
}
.nav a:hover {
  color: var(--ink);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.hero-inner {
  width: min(var(--measure), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-dark {
  background: #57534e;
  color: #fafaf9;
}
.btn-dark:hover {
  background: #44403c;
}
.btn-outline {
  background: transparent;
  color: var(--ink-secondary);
  border: 1px solid var(--sand);
}
.btn-outline:hover {
  border-color: var(--ink-muted);
  background: var(--paper);
  color: var(--ink);
}

/* ============================================================
   STRIP — metrics
   ============================================================ */
.strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.strip-item {
  display: grid;
  gap: 4px;
  padding: 28px var(--gutter);
  text-align: center;
}
.strip-item:not(:last-child) {
  border-right: 1px solid var(--rule);
}
.strip-item strong {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.strip-item span {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  padding: 96px 0;
}
.section-gray {
  background: var(--paper);
}
.section-hd {
  margin-bottom: 52px;
}
.section-hd h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.section-sub {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Main product card */
.product-main {
  position: sticky;
  top: 80px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--rust);
  border-radius: 4px;
}
.product-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  background: var(--rust-soft);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.product-main h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.product-en {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.product-main > p:not(.product-en) {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-secondary);
}

/* Side product list */
.product-list {
  display: grid;
  gap: 20px;
}
.product-item {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color 0.15s;
}
.product-item:hover {
  border-color: var(--ink-muted);
}
.product-item h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

/* Tags */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.tag-row span {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.product-main .tag-row span {
  background: var(--sand);
}

/* ============================================================
   ABOUT / CAPABILITIES
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.about-item {
  padding: 36px 40px;
  border-bottom: 1px solid var(--rule);
}
.about-item:nth-child(odd) {
  border-right: 1px solid var(--rule);
}
.about-item:nth-child(n+3) {
  border-bottom: none;
}
.about-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  color: var(--sand);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.about-item h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.about-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-secondary);
}

/* ============================================================
   SCENARIOS
   ============================================================ */
.scene-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.scene-item {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
}
.scene-item:last-child {
  border-right: none;
}
.scene-item h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.scene-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-secondary);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-block {
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
}
.contact-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 14px;
}
.contact-block p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin-bottom: 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--rule);
  padding: 48px 0 36px;
}
.footer-inner {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: grid;
  gap: 8px;
}
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(340px, 100%);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.footer-logo-full {
  display: block;
  width: min(280px, 100%);
  height: auto;
}
.footer-brand span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 220px));
  gap: 24px 56px;
  flex: 1 1 auto;
  justify-content: end;
}
.footer-cols div {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}
.footer-cols h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
  white-space: nowrap;
}
.footer-cols a {
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 0.15s;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.footer-cols a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-bottom a {
  color: var(--ink-muted);
  transition: color 0.15s;
}
.footer-bottom a:hover {
  color: var(--ink);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero { padding: 64px 0 52px; }
  .hero h1 br { display: none; }
  .hero-body br { display: none; }
  .brand-logo-full { width: 212px; max-width: min(212px, 56vw); }
  .footer-brand-lockup {
    width: min(300px, 100%);
    padding: 0;
  }
  .footer-logo-full { width: min(240px, 100%); }

  .strip-inner {
    grid-template-columns: 1fr;
  }
  .strip-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-main {
    position: static;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-item {
    border-right: none !important;
    border-bottom: 1px solid var(--rule);
  }
  .about-item:last-child {
    border-bottom: none;
  }

  .scene-list {
    grid-template-columns: 1fr 1fr;
  }
  .scene-item {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 24px 0;
  }
  .scene-item:nth-child(odd) {
    padding-right: 20px;
  }
  .scene-item:nth-child(even) {
    padding-left: 20px;
  }
  .scene-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-cols {
    justify-content: start;
  }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }

  .scene-list {
    grid-template-columns: 1fr;
  }
  .scene-item {
    border-right: none;
    padding: 20px 0;
  }
  .scene-item:nth-child(odd) { padding-right: 0; }
  .scene-item:nth-child(even) { padding-left: 0; }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-content: stretch;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
