/* ============================================
   沐智科技 — Shared Styles
   ============================================ */

:root {
  --bg: #f7f8fa;
  --bg-elev: #ffffff;
  --ink: #0a0e1a;
  --ink-2: #4a5266;
  --ink-3: #8b93a7;
  --line: #e6e8ee;
  --line-2: #f0f2f6;
  --accent: #2151ff;
  --accent-2: #00d4ff;
  --accent-soft: rgba(33, 81, 255, 0.08);
  --grid: rgba(10, 14, 26, 0.04);
  --shadow-sm: 0 1px 2px rgba(10, 14, 26, 0.04);
  --shadow-md: 0 12px 40px -12px rgba(10, 14, 26, 0.12);
  --shadow-lg: 0 24px 80px -20px rgba(33, 81, 255, 0.18);
  --serif: "Space Grotesk", -apple-system, sans-serif;
  --sans: "Inter", -apple-system, "PingFang SC", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 248, 250, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 8px 22px -24px rgba(10, 14, 26, 0.22);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: rgba(230, 232, 238, 0.72);
  box-shadow: 0 10px 26px -24px rgba(10, 14, 26, 0.24);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 56px;
}

.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--ink);
  border-radius: 7px;
  position: relative;
  overflow: hidden;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 50%, 50% 100%, 0 100%);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--ink);
  color: var(--bg-elev);
  border: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--sans);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-cta svg { width: 12px; height: 12px; }

/* ============ COMMON BUTTONS ============ */
.btn-primary {
  background: var(--ink);
  color: var(--bg-elev);
  border: none;
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--sans);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: none;
  padding: 16px 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--sans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.2s ease;
}
.btn-ghost:hover { gap: 14px; }
.btn-ghost .arrow {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.btn-ghost:hover .arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

/* ============ BANNER (replaces old hero) ============ */
.banner {
  padding: 128px 48px 0;
  position: relative;
}
.banner-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.banner-image {
  position: relative;
  width: 100%;
  height: clamp(360px, 56vh, 560px);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(0, 212, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(33, 81, 255, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #eef2fb 0%, #e3eaf7 100%);
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 34px 90px -42px rgba(33, 81, 255, 0.40),
    0 22px 54px -30px rgba(10, 14, 26, 0.34),
    0 2px 10px -7px rgba(10, 14, 26, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.banner-track {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.8s ease, transform 6s ease;
}
.banner-slide.active {
  opacity: 1;
  transform: scale(1);
}
.banner-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -18px rgba(10, 14, 26, 0.42);
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.banner-nav svg {
  width: 18px;
  height: 18px;
}
.banner-prev { left: 22px; }
.banner-next { right: 22px; }
.banner-image.has-multiple:hover .banner-nav,
.banner-nav:focus-visible {
  opacity: 1;
}
.banner-nav:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-50%) scale(1.04);
}
.banner-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0.34) 0%, rgba(247, 248, 250, 0) 18%, rgba(247, 248, 250, 0) 74%, rgba(247, 248, 250, 0.30) 100%),
    linear-gradient(90deg, rgba(247, 248, 250, 0.36) 0%, rgba(247, 248, 250, 0) 16%, rgba(247, 248, 250, 0) 84%, rgba(247, 248, 250, 0.36) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.58),
    inset 0 0 42px rgba(247, 248, 250, 0.44);
}
/* Designed fallback layer (visible under image when transparent or image missing) */
.banner-fallback {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 14, 26, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 14, 26, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 30%, transparent 90%);
}
.banner-fallback-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  gap: 20px;
  text-align: center;
  color: var(--ink-2);
}
.banner-fallback-mark .big-logo {
  width: 88px; height: 88px;
  background: var(--ink);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
.banner-fallback-mark .big-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 50%, 50% 100%, 0 100%);
}
.banner-fallback-mark .hint {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
/* Banner intro (text + CTA below image) */
.banner-intro {
  max-width: 1280px;
  margin: 64px auto 0;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.banner-intro h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.banner-intro h1 .accent,
.contact-text h2 .accent,
.page-header h1 .accent {
  display: inline-block;
  padding: 0 0.08em 0.04em;
  color: var(--accent);
  background: linear-gradient(180deg, transparent 58%, rgba(0, 212, 255, 0.24) 58%);
  -webkit-text-fill-color: currentColor;
  font-style: normal;
  font-weight: inherit;
}
.banner-intro .right p {
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.banner-intro .right .cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============ SECTION COMMON ============ */
section {
  padding: 120px 48px;
  position: relative;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 48px;
}
.section-head-link {
  flex-shrink: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.section-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: normal;
}
.section-desc {
  color: var(--ink-2);
  max-width: 360px;
  font-size: 15px;
  padding-bottom: 8px;
}

/* ============ ABOUT (stacked) ============ */
.about {
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0) 0%, var(--bg-elev) 12%, var(--bg-elev) 88%, rgba(247, 248, 250, 0) 100%);
}
.about-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}
.about-intro .section-title {
  max-width: none;
  margin: 0 auto 24px;
}
.about-intro p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.7;
}
.pillar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.pillar {
  background: var(--bg-elev);
  padding: 32px 28px;
  transition: background 0.2s ease;
}
.pillar:hover { background: var(--bg); }
.pillar .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.pillar .icon svg { width: 18px; height: 18px; stroke-width: 1.5; }
.pillar h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pillar p {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
}

/* ============ PRODUCTS ============ */
.products .section-inner { max-width: 1280px; }
.product-list { display: block; }
.product-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.product-tab {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  min-height: 78px;
  padding: 14px 16px;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.product-tab span {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 7px;
}
.product-tab small {
  display: block;
  color: inherit;
  font-size: 12px;
  line-height: 1.35;
}
.product-tab:hover,
.product-tab.active {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
}
.product-tab.active { box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08); }
.product-panels { min-height: 1px; }
.product {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.product:hover { border-color: var(--ink-3); }
.product-panel { display: none; }
.product-panel.active { display: grid; }
.product-info h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.product-info .tagline {
  color: var(--accent);
  font-size: 14px;
  font-family: var(--mono);
  margin-bottom: 24px;
}
.product-info p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.product-features {
  list-style: none;
  margin-bottom: 32px;
}
.product-features li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-features li:last-child { border-bottom: 1px solid var(--line); }
.product-features .check {
  width: 14px; height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.product-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.product-link:hover { gap: 12px; color: var(--accent); border-color: var(--accent); }

/* Product visuals */
.product-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #f0f3fa 0%, #e8edf7 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
.product-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image-placeholder {
  position: absolute;
  inset: 24px;
  z-index: 1;
  place-items: center;
  background: var(--bg-elev);
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
/* ============ ARTICLES (homepage section) ============ */
.articles {
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0) 0%, var(--bg-elev) 14%, var(--bg-elev) 100%);
}
.article-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.article {
  background: var(--bg-elev);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
  position: relative;
}
.article:hover { background: var(--bg); }
.article.featured {
  grid-row: span 2;
  padding: 48px;
  background: var(--ink);
  color: var(--bg-elev);
}
.article.featured:hover { background: #14182a; }
.article.featured .meta { color: rgba(255,255,255,0.5); }
.article.featured .meta .dot-tiny { background: var(--accent-2); }
.article.featured .article-title { color: var(--bg-elev); }
.article.featured .article-excerpt { color: rgba(255,255,255,0.65); }
.article.featured .read-more { color: var(--bg-elev); }
.article .meta {
  grid-column: 2;
  grid-row: 4;
  justify-self: end;
  align-self: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.meta .dot-tiny {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.article .article-title {
  grid-column: 1 / -1;
  grid-row: 1;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.article.featured .article-title {
  font-size: 36px;
  line-height: 1.15;
}
.article .article-excerpt {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.article.featured .article-excerpt {
  font-size: 16px;
  margin-bottom: 32px;
}
.read-more {
  grid-column: 1;
  grid-row: 4;
  justify-self: start;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: gap 0.2s ease;
  white-space: nowrap;
}
.article:hover .read-more { gap: 10px; }

/* ============ CONTACT (unified card) ============ */
.contact {
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(33, 81, 255, 0.06), transparent 65%),
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 28%, var(--bg) 100%);
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 70%);
  pointer-events: none;
}
.contact-card {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}

.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qr-image-wrap {
  width: 200px;
  height: 200px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.qr-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-3);
  text-align: center;
  font-size: 10px;
  font-family: var(--mono);
  line-height: 1.5;
  padding: 8px;
}
.qr-placeholder svg {
  width: 32px; height: 32px;
  color: var(--ink-3);
  opacity: 0.5;
}
.qr-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.qr-tag .wechat {
  width: 14px; height: 14px;
  color: #07c160;
}

.contact-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.contact-text p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.contact-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-points span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 12px;
  white-space: nowrap;
}

/* ============ FOOTER (simplified for startup) ============ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 36px 48px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner .logo { color: var(--bg-elev); }
.footer-inner .logo-mark { background: rgba(255,255,255,0.1); }
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--bg-elev); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: var(--mono);
}

/* ============ ARTICLE LIST PAGE ============ */
.page-header {
  padding: 160px 48px 80px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-elev) 82%, rgba(247, 248, 250, 0) 100%);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 10%, transparent 70%);
  pointer-events: none;
}
.page-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breadcrumb a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 10px; color: var(--ink-3); opacity: 0.5; }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 900px;
}
.page-header p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 580px;
  line-height: 1.7;
}

/* Filters bar */
.filter-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 48px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  background: transparent;
}
.filter-chip {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--bg-elev);
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s ease;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.active {
  background: var(--ink);
  color: var(--bg-elev);
  border-color: var(--ink);
}

/* Article list grid */
.article-list-section {
  background: var(--bg-elev);
  padding: 64px 48px 120px;
}
.article-list {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.article-list .article-card {
  background: var(--bg-elev);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}
.article-list .article-card:hover { background: var(--bg); }
.article-list .card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #eef2fb 0%, #e3eaf7 100%);
  position: relative;
  overflow: hidden;
}
.article-list .card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
.article-list .card-image img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-list .card-image .ph {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.article-list .card-body {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 16px;
  flex: 1;
}
.article-list .card-meta {
  grid-column: 2;
  grid-row: 4;
  justify-self: end;
  align-self: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.article-list .card-title {
  grid-column: 1 / -1;
  grid-row: 1;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.article-list .card-excerpt {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.article-list .card-arrow {
  grid-column: 1;
  grid-row: 4;
  justify-self: start;
  align-self: center;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  white-space: nowrap;
}
.article-card:hover .card-arrow { gap: 10px; color: var(--accent); }

/* Pagination */
.pagination {
  max-width: 1280px;
  margin: 48px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pagination button {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  transition: all 0.2s ease;
}
.pagination button:hover { border-color: var(--ink); color: var(--ink); }
.pagination button.active {
  background: var(--ink);
  color: var(--bg-elev);
  border-color: var(--ink);
}

/* ============ ARTICLE DETAIL PAGE ============ */
.article-page {
  background:
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-elev) 92%, rgba(247, 248, 250, 0) 100%);
  padding: 140px 48px 80px;
}
.article-detail-head {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.article-detail-head .breadcrumb { margin-bottom: 32px; }
.article-detail-head .tag-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}
.article-detail-head .tag-row .tag {
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-detail-head .tag-row .date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.article-detail-head h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.article-detail-head .lede {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 40px;
}
.article-detail-head .author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(230, 232, 238, 0.85) 12%, rgba(230, 232, 238, 0.85) 88%, transparent 100%) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent 0%, rgba(230, 232, 238, 0.85) 12%, rgba(230, 232, 238, 0.85) 88%, transparent 100%) bottom / 100% 1px no-repeat;
  margin-bottom: 56px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
}
.author-info { line-height: 1.3; }
.author-info .name { font-size: 14px; color: var(--ink); font-weight: 500; }
.author-info .role { font-size: 12px; color: var(--ink-3); }

/* Article hero image */
.article-hero-image {
  max-width: 1100px;
  margin: 0 auto 64px;
  aspect-ratio: 16/8;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(0, 212, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(33, 81, 255, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #eef2fb 0%, #e3eaf7 100%);
  position: relative;
}
.article-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-hero-image .ph {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* Article body — long-form typography */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
}
.article-body p { margin-bottom: 24px; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 14px;
}
.article-body strong { color: var(--ink); font-weight: 500; }
.article-body em { color: var(--ink); }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 24px;
  margin: 32px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
}
.article-body ul, .article-body ol {
  padding-left: 1.4em;
  margin-bottom: 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body code {
  font-family: var(--mono);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--ink);
}
.article-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  text-decoration: none;
}
.article-body a:hover { opacity: 0.8; }
.article-body img {
  width: 100%;
  border-radius: 12px;
  margin: 32px 0;
}
.article-body hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 48px 0;
}

/* Article footer (share / next) */
.article-footer {
  max-width: 720px;
  margin: 64px auto 0;
  padding-top: 32px;
  background: linear-gradient(90deg, transparent 0%, rgba(230, 232, 238, 0.9) 18%, rgba(230, 232, 238, 0.9) 82%, transparent 100%) top / 100% 1px no-repeat;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.article-footer .share {
  display: flex;
  gap: 10px;
}
.share-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  background: var(--bg-elev);
  cursor: pointer;
  transition: all 0.2s ease;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.share-btn svg { width: 14px; height: 14px; }
.back-to-list {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}
.back-to-list:hover { color: var(--accent); }

/* Related articles on detail page */
.related {
  background: var(--bg);
  padding: 80px 48px;
}
.related-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.related h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav { padding: 16px 24px; }
  .nav-left { gap: 0; }
  .nav-links { display: none; }
  .banner { padding: 108px 24px 0; }
  .banner-image { height: 300px; border-radius: 18px; }
  .banner-intro { padding: 0 24px; grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .banner-intro h1 { white-space: normal; font-size: clamp(32px, 9vw, 44px); }
  .section-title { white-space: normal; font-size: clamp(28px, 7vw, 38px); }
  section { padding: 80px 24px; }
  .contact { padding: 80px 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section-head-link { padding: 0; }
  .product, .article-grid, .article-list, .related-grid {
    grid-template-columns: 1fr; gap: 24px;
  }
  .product-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    scroll-snap-type: x mandatory;
  }
  .product-tab {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
  .pillar-row { grid-template-columns: 1fr 1fr; }
  .about-intro { margin-bottom: 48px; }
  .contact-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px;
    text-align: center;
    justify-items: center;
  }
  .contact-text p { margin-left: auto; margin-right: auto; }
  .contact-points { justify-content: center; }
  .qr-image-wrap { width: 180px; height: 180px; }
  .product { padding: 32px; }
  .article.featured { grid-row: span 1; padding: 32px; }
  .article.featured .article-title { font-size: 26px; }
  footer { padding: 28px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 18px; }
  .page-header { padding: 120px 24px 60px; }
  .filter-bar { padding: 24px 24px 24px; gap: 6px; overflow-x: auto; flex-wrap: nowrap; }
  .article-list-section { padding: 40px 24px 80px; }
  .article-list { grid-template-columns: 1fr; }
  .related { padding: 60px 24px; }
  .article-page { padding: 100px 24px 60px; }
  .article-body { font-size: 16px; }
}
