/* ============================================================
   有我数商 — Design System
   "Editorial Tech Luxury" — Ink Navy × Champagne Gold × Ivory
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --ink: #0B1F3A;
  --ink-light: #1A3454;
  --ink-soft: #2D4A6F;
  --gold: #C8A55B;
  --gold-light: #D9BE7E;
  --gold-deep: #A6863E;
  --ivory: #FAFAF7;
  --ivory-warm: #F5F2EC;
  --paper: #FFFFFF;
  --slate: #1E293B;
  --slate-mid: #475569;
  --slate-light: #94A3B8;
  --line: #E2E8F0;
  --line-warm: #E8E2D6;
  --cyan: #0EA5E9;
  --success: #059669;

  /* Typography */
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans: 'Noto Sans SC', 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Space Grotesk', 'JetBrains Mono', monospace;
  --font-display: var(--font-serif);

  /* Fluid Type Scale */
  --text-xs: clamp(0.72rem, 0.70rem + 0.1vw, 0.8rem);
  --text-sm: clamp(0.83rem, 0.80rem + 0.15vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1.05rem + 0.25vw, 1.25rem);
  --text-xl: clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem);
  --text-2xl: clamp(1.7rem, 1.5rem + 1vw, 2.3rem);
  --text-3xl: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
  --text-4xl: clamp(2.8rem, 2.2rem + 3vw, 4.5rem);
  --text-hero: clamp(3rem, 2rem + 5vw, 6rem);

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-8: 3rem;
  --s-10: 4rem;
  --s-12: 6rem;
  --s-16: 8rem;

  /* Layout */
  --container: 1200px;
  --container-wide: 1400px;
  --radius: 2px;
  --radius-lg: 4px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur: 0.6s;
  --dur-fast: 0.3s;

  /* Shadows — used sparingly */
  --shadow-subtle: 0 1px 3px rgba(11, 31, 58, 0.06);
  --shadow-card: 0 8px 30px rgba(11, 31, 58, 0.08);
  --shadow-lift: 0 20px 60px rgba(11, 31, 58, 0.12);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--slate);
  background: var(--ivory);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.container-wide {
  max-width: var(--container-wide);
}

/* ---------- Typography Utilities ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-deep);
  font-weight: 500;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-ink {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--dur) var(--ease);
  padding: var(--s-4) 0;
}

.site-header.scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-warm);
  padding: var(--s-3) 0;
}

.site-header.scrolled .logo-text .cn {
  color: var(--ink);
}

.site-header.scrolled .logo-text .en {
  color: rgba(11, 31, 58, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-img {
  height: 36px;
  width: auto;
  max-width: 120px;
  border-radius: 6px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text .cn {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.05em;
}

.logo-text .en {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(250, 250, 247, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Footer logo text darker */
footer .logo-text .cn { color: var(--ink); }
footer .logo-text .en { color: rgba(11, 31, 58, 0.4); }

.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 60%);
  opacity: 0.3;
}

.logo-mark span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.nav-main a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-mid);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
  padding: var(--s-1) 0;
}

.nav-main a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--ink);
}

.nav-main a:hover::after,
.nav-main a.active::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.6rem 1.5rem;
  background: var(--ink);
  color: var(--ivory);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.header-cta .arrow {
  transition: transform var(--dur) var(--ease);
}

.header-cta:hover .arrow {
  transform: translateX(3px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--dur-fast) var(--ease);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.85rem 2rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--ivory);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--ivory);
  transform: translateY(-2px);
}

/* ---------- Section Helpers ---------- */
.section {
  padding: var(--s-16) 0;
  position: relative;
}

.section-sm {
  padding: var(--s-12) 0;
}

.section-ink {
  background: var(--ink);
  color: var(--ivory);
}

.section-ivory {
  background: var(--ivory);
}

.section-warm {
  background: var(--ivory-warm);
}

.section-header {
  margin-bottom: var(--s-10);
  max-width: 720px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-top: var(--s-3);
  letter-spacing: -0.01em;
}

.section-ink .section-title {
  color: var(--ivory);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--slate-mid);
  margin-top: var(--s-4);
  line-height: 1.7;
}

.section-ink .section-subtitle {
  color: rgba(250, 250, 247, 0.7);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(200, 165, 91, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(11, 31, 58, 0.06) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: var(--s-6);
}

.hero-title .accent {
  color: var(--gold);
  position: relative;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  opacity: 0.3;
}

.hero-desc {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--slate-mid);
  max-width: 620px;
  margin-bottom: var(--s-8);
}

.hero-actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--s-10);
  margin-top: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.hero-stat .label {
  font-size: var(--text-xs);
  color: var(--slate-light);
  margin-top: var(--s-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Philosophy Cards ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-warm);
  border: 1px solid var(--line-warm);
}

.philosophy-card {
  background: var(--paper);
  padding: var(--s-10) var(--s-8);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.philosophy-card:hover {
  background: var(--ink);
  color: var(--ivory);
}

.philosophy-card:hover::before {
  transform: scaleX(1);
}

.philosophy-card .index {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--gold-deep);
  margin-bottom: var(--s-5);
}

.philosophy-card:hover .index {
  color: var(--gold-light);
}

.philosophy-card .char {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  margin-bottom: var(--s-4);
  transition: color var(--dur) var(--ease);
}

.philosophy-card:hover .char {
  color: var(--gold);
}

.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--s-3);
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}

.philosophy-card:hover h3 {
  color: var(--ivory);
}

.philosophy-card p {
  font-size: var(--text-sm);
  color: var(--slate-mid);
  line-height: 1.8;
  transition: color var(--dur) var(--ease);
}

.philosophy-card:hover p {
  color: rgba(250, 250, 247, 0.7);
}

/* ---------- Stats Row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
}

.stat-block {
  border-left: 1px solid var(--line);
  padding-left: var(--s-5);
}

.stat-block .num {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-block .num .unit {
  font-size: 0.5em;
  color: var(--gold-deep);
  margin-left: 0.2em;
}

.stat-block .label {
  font-size: var(--text-sm);
  color: var(--slate-mid);
  margin-top: var(--s-3);
  line-height: 1.6;
}

.section-ink .stat-block {
  border-color: rgba(200, 165, 91, 0.2);
}

.section-ink .stat-block .num {
  color: var(--ivory);
}

.section-ink .stat-block .num .unit {
  color: var(--gold-light);
}

.section-ink .stat-block .label {
  color: rgba(250, 250, 247, 0.6);
}

/* ---------- Product / Feature Cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--s-8);
  transition: all var(--dur) var(--ease);
  position: relative;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card .icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory-warm);
  border-radius: var(--radius);
  margin-bottom: var(--s-5);
  transition: all var(--dur) var(--ease);
}

.feature-card:hover .icon-box {
  background: var(--ink);
}

.feature-card .icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-deep);
  transition: stroke var(--dur) var(--ease);
}

.feature-card:hover .icon-box svg {
  stroke: var(--gold);
}

.feature-card .tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--s-2);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-3);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--slate-mid);
  line-height: 1.8;
  margin-bottom: var(--s-5);
}

.feature-card .points {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.feature-card .points li {
  font-size: var(--text-sm);
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
}

.feature-card .points li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------- Split Section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: center;
}

.split-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-top: var(--s-3);
  margin-bottom: var(--s-5);
}

.split-content p {
  font-size: var(--text-base);
  color: var(--slate-mid);
  line-height: 1.9;
  margin-bottom: var(--s-5);
}

.split-visual {
  position: relative;
  min-height: 420px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--s-8);
  color: var(--ivory);
}

/* ---------- Comparison Table ---------- */
.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-col {
  padding: var(--s-8);
}

.compare-col:first-child {
  border-right: 1px solid var(--line);
  background: var(--ivory-warm);
}

.compare-col:last-child {
  background: var(--ink);
  color: var(--ivory);
}

.compare-col .era {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--s-4);
  color: var(--slate-light);
}

.compare-col:last-child .era {
  color: var(--gold-light);
}

.compare-col h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--s-5);
}

.compare-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.compare-col li {
  font-size: var(--text-sm);
  line-height: 1.7;
  display: flex;
  gap: var(--s-3);
}

.compare-col li .marker {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-top: 2px;
  opacity: 0.5;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: var(--s-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--s-10);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 4px;
  width: 17px;
  height: 17px;
  background: var(--paper);
  border: 2px solid var(--gold);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item .phase {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--s-2);
}

.timeline-item .time {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-3);
}

.timeline-item p {
  font-size: var(--text-sm);
  color: var(--slate-mid);
  line-height: 1.8;
}

/* ---------- Product Detail Blocks ---------- */
.product-block {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: var(--s-8);
  padding: var(--s-10) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.product-block:last-child {
  border-bottom: none;
}

.product-block .num {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.product-block .main h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-2);
}

.product-block .main .en {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--s-4);
}

.product-block .main p {
  font-size: var(--text-base);
  color: var(--slate-mid);
  line-height: 1.9;
}

.product-block .detail {
  background: var(--ivory-warm);
  padding: var(--s-6);
  border-left: 2px solid var(--gold);
}

.product-block .detail h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-block .detail ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.product-block .detail li {
  font-size: var(--text-sm);
  color: var(--slate-mid);
  line-height: 1.7;
  padding-left: var(--s-4);
  position: relative;
}

.product-block .detail li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-12);
  align-items: start;
}

.contact-info-card {
  padding: var(--s-8);
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-lg);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--s-6);
  color: var(--gold);
}

.contact-info-item {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(200, 165, 91, 0.15);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 165, 91, 0.1);
  border-radius: var(--radius);
}

.contact-info-item .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
}

.contact-info-item .text .label {
  font-size: var(--text-xs);
  color: rgba(250, 250, 247, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-1);
}

.contact-info-item .text .value {
  font-size: var(--text-base);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--slate);
  background: var(--paper);
  transition: all var(--dur-fast) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 165, 91, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: var(--s-16) var(--s-8);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(200, 165, 91, 0.15) 0%, transparent 70%);
}

.cta-banner .content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: var(--s-4);
}

.cta-banner p {
  font-size: var(--text-lg);
  color: rgba(250, 250, 247, 0.7);
  margin-bottom: var(--s-8);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 250, 247, 0.6);
  padding: var(--s-12) 0 var(--s-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-10);
  border-bottom: 1px solid rgba(200, 165, 91, 0.12);
}

.footer-brand .logo-text .cn {
  color: var(--ivory);
}

.footer-brand .logo-text .en {
  color: rgba(250, 250, 247, 0.4);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-top: var(--s-4);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: var(--s-4);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  padding: var(--s-2) 0;
  transition: color var(--dur-fast) var(--ease);
}

.footer-col a:hover {
  color: var(--ivory);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-6);
  font-size: var(--text-xs);
}

.footer-bottom .icp {
  font-family: var(--font-mono);
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Page Hero (sub pages) ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--ivory-warm);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 0%, transparent 80%);
}

.page-hero .content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-top: var(--s-4);
  letter-spacing: -0.02em;
}

.page-hero .desc {
  font-size: var(--text-lg);
  color: var(--slate-mid);
  line-height: 1.8;
  margin-top: var(--s-5);
  max-width: 600px;
}

/* ---------- Tags / Badges ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: var(--text-xs);
  color: var(--slate-mid);
  font-weight: 500;
  transition: all var(--dur-fast) var(--ease);
}

.tag:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.tag.tag-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ---------- Architecture Diagram ---------- */
.arch-diagram {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--s-10);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.arch-layer {
  text-align: center;
  padding: var(--s-5);
  border: 1px solid rgba(200, 165, 91, 0.2);
  margin-bottom: var(--s-3);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}

.arch-layer:hover {
  border-color: var(--gold);
  background: rgba(200, 165, 91, 0.05);
}

.arch-layer .label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.arch-layer .name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-top: var(--s-2);
}

.arch-arrow {
  text-align: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin: var(--s-1) 0;
  opacity: 0.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
  .feature-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--s-8); }
  .product-block { grid-template-columns: 60px 1fr; }
  .product-block .detail { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-table { grid-template-columns: 1fr; }
  .compare-col:first-child { border-right: none; border-bottom: 1px solid var(--line); }
}

@media (max-width: 768px) {
  .nav-main { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav-main.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--s-6);
    z-index: 999;
  }

  .nav-main.mobile-open a {
    font-size: var(--text-xl);
    font-family: var(--font-display);
  }

  .hero-stats { gap: var(--s-6); }
  .stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--s-3); }
  .section { padding: var(--s-12) 0; }
  .product-block { grid-template-columns: 1fr; gap: var(--s-4); }
  .product-block .num { font-size: var(--text-xl); }
}

/* ---------- Scroll indicator ---------- */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  color: var(--slate-light);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: floatY 2s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-hint .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
