/* 见账 SeeLedger — 风格对齐 IPF (glass + mist + navy/accent) × 云集 Yunji (hero video card / container / product grid) */

:root {
  /* IPF tokens */
  --primary: #0a2342;
  --secondary: #e0f2f1;
  --accent: #ff6b35;
  --accent-hover: #f05a24;
  --ink: #10253f;
  --mist: #f6fbfb;
  --muted: rgba(10, 35, 66, 0.62);
  --line: rgba(10, 35, 66, 0.10);

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-blur: 20px;
  --glass-shadow: 0 10px 30px rgba(10, 35, 66, 0.10);
  --shadow-soft: 0 24px 60px rgba(10, 35, 66, 0.12);
  --shadow-accent: 0 14px 32px rgba(255, 107, 53, 0.28);

  --radius: 20px;
  --radius-lg: 2.5rem;
  --container: min(1120px, calc(100% - 2.25rem));
  --section-py: clamp(3.25rem, 6vw, 5.5rem);
  --font: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --display: "Montserrat", "Inter", "Noto Sans SC", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 8%, rgba(224, 242, 241, 0.90), transparent 32%),
    radial-gradient(circle at 12% 85%, rgba(224, 242, 241, 0.55), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
  line-height: 1.7;
  min-height: 100dvh;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code {
  font-size: 0.88em;
  background: rgba(10, 35, 66, 0.06);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}
::selection { background: rgba(10, 35, 66, 0.14); color: var(--primary); }

.container { width: var(--container); margin: 0 auto; }

/* ── Header: IPF pill glass ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0.75rem 0.75rem 0;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: var(--glass-shadow);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
.logo em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.88rem;
  font-family: var(--font);
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(10, 35, 66, 0.65);
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--primary); }
.nav a.nav-cta,
.btn-accent {
  color: #fff !important;
  background: var(--accent) !important;
  border-radius: 999px;
  font-weight: 700 !important;
  padding: 0.55rem 1.1rem !important;
  box-shadow: var(--shadow-accent);
  border: 0;
}
.nav a.nav-cta:hover,
.btn-accent:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s var(--ease);
}
.btn-accent {
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow-accent);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(10, 35, 66, 0.12);
  color: var(--primary);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(10, 35, 66, 0.22);
  background: #fff;
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(10, 35, 66, 0.14);
  color: var(--primary);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--primary); }

/* ── Hero: Yunji full video card + IPF overlay ── */
.hero {
  padding: 5.5rem 0 1.5rem;
}
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(420px, 72vh, 640px);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(246, 251, 251, 0.92) 0%, rgba(246, 251, 251, 0.78) 42%, rgba(246, 251, 251, 0.28) 72%, rgba(10, 35, 66, 0.15) 100%),
    radial-gradient(circle at top left, rgba(10, 35, 66, 0.08), transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: grid;
  gap: 1.15rem;
}
.eyebrow {
  display: inline-flex;
  align-self: start;
  margin: 0;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10, 35, 66, 0.72);
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--primary);
}
.hero-lead {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
  color: rgba(10, 35, 66, 0.72);
  max-width: 32rem;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.25rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-pills li {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(10, 35, 66, 0.7);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

/* stats row like Yunji */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Sections ── */
.section {
  padding: var(--section-py) 0;
}
.section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}
.section-head .eyebrow {
  margin-bottom: 0.75rem;
}
.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--primary);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.split-copy h3 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  color: var(--primary);
  font-size: 1.35rem;
}
.split-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.split-media {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #fff;
}
.split-media img,
.split-media video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.check-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.check-list li {
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.check-list strong { color: var(--primary); margin-right: 0.35rem; }

.name-table {
  display: grid;
  gap: 0.4rem;
}
.name-table div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.name-table span { color: var(--muted); }
.name-table b { color: var(--primary); }

/* product / feature cards — Yunji product-card style */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 35, 66, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.product-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--secondary);
}
.product-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}
.tag {
  display: inline-flex;
  align-self: start;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--secondary);
  color: var(--primary);
}
.tag-alt { background: rgba(255, 107, 53, 0.12); color: var(--accent); }
.product-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--primary);
}
.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.product-body .spec {
  margin: 0.25rem 0 0.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: rgba(10, 35, 66, 0.55);
}
.product-body .spec li::before {
  content: "· ";
  color: var(--accent);
  font-weight: 700;
}

/* film grid */
.film-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
}
.film-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 35, 66, 0.06);
}
.film-card.large { grid-row: span 2; }
.film-card video {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--secondary);
}
.film-card.large video { aspect-ratio: 16/11; height: 100%; min-height: 280px; }
.film-card figcaption {
  padding: 0.9rem 1.05rem 1.05rem;
  display: grid;
  gap: 0.2rem;
}
.film-card strong { color: var(--primary); font-family: var(--display); }
.film-card span { color: var(--muted); font-size: 0.88rem; }

/* gallery reel */
.reel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 0.85rem;
  box-shadow: var(--glass-shadow);
  margin-bottom: 1.25rem;
}
.reel-stage {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--secondary);
}
.reel-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 14s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}
.reel-meta {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: flex;
  justify-content: space-between;
  color: #fff;
  text-shadow: 0 2px 12px rgba(10, 35, 66, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
}
.reel-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-top: 0.75rem;
  padding-bottom: 0.15rem;
}
.reel-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  width: 88px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  cursor: pointer;
  opacity: 0.7;
  background: var(--secondary);
}
.reel-thumbs button.active {
  opacity: 1;
  border-color: var(--accent);
}
.reel-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.reel-ctrl {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.reel-ctrl button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.grid-gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.grid-gallery figure:hover { transform: translateY(-2px); }
.grid-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.grid-gallery figcaption {
  padding: 0.6rem 0.75rem 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

/* story cards */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.story-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}
.story-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  color: var(--primary);
}
.story-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.wordmark-frame {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.wordmark-frame img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}
.wordmark-frame figcaption {
  padding: 0.8rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.timeline li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.timeline time {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}
.timeline strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary);
  font-family: var(--display);
}
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* FAQ — Yunji style */
.faq-list {
  display: grid;
  gap: 0.6rem;
  max-width: 48rem;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.15rem 1rem;
  box-shadow: 0 8px 20px rgba(10, 35, 66, 0.04);
}
.faq-list summary {
  cursor: pointer;
  padding: 0.95rem 0.15rem;
  font-weight: 700;
  color: var(--primary);
  list-style: none;
  font-family: var(--display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* CTA band */
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 1.85rem;
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 107, 53, 0.12), transparent 40%),
    linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}
.cta-band-inner h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cta-band-inner p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.75rem;
  margin-top: 1rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--primary);
  font-weight: 700;
}
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

@media (max-width: 960px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .split, .story-grid, .film-grid { grid-template-columns: 1fr; }
  .film-card.large { grid-row: auto; }
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
  .product-grid, .grid-gallery, .stats { grid-template-columns: 1fr 1fr; }
  .grid-gallery { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 5rem; }
  .nav-toggle { display: inline-flex; }
  .header-inner { border-radius: 18px; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
  .nav.is-open a { display: block; }
  .nav:not(.is-open) { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 641px) {
  .nav { display: flex !important; }
}
