/* ══════════════════════════════════════════════════════════════
   康波研究院 Design System v1.0 — Applied to OPC Platform
   Gold-accented luxury theme with serif/sans typography
   Locked design: --gold:#e2b64f, commit feed6e2, 2026-04-29
   ══════════════════════════════════════════════════════════════ */

/* === CSS Variables === */
:root {
  /* Backgrounds — dark luxury palette */
  --bg: #09090b;
  --bg2: #0f0f13;
  --bg3: #18181b;
  --card: #1c1c21;
  --card2: #222228;
  --card3: #2a2a32;

  /* Borders */
  --border: #27272a;
  --border2: #3f3f46;

  /* Text */
  --text: #fafafa;
  --text2: #a1a1aa;
  --text3: #71717a;

  /* Gold accent — PRIMARY */
  --gold: #e2b64f;
  --gold2: #f5d98a;
  --gold-glow: rgba(226, 182, 79, 0.15);
  --gold-glow-strong: rgba(226, 182, 79, 0.25);

  /* Legacy accent aliases (OPC pages reference these) */
  --accent: var(--gold);
  --accent2: var(--gold2);
  --accent-light: #fde4a0;
  --accent-warm: #d4a54a;
  --accent-glow: rgba(226, 182, 79, 0.12);

  /* Accent colors */
  --green: #22c55e;
  --green2: #16a34a;
  --blue: #3b82f6;
  --purple: #a78bfa;
  --purple2: #8b5cf6;
  --orange: #f59e0b;
  --red: #ef4444;
  --amber: #f59e0b;
  --cyan: #06b6d4;
  --pink: #ec4899;

  /* Shorthand aliases — used across all OPC pages */
  --t1: var(--text);
  --t2: var(--text2);
  --t3: var(--text3);
  --c: #6b7db3;
  --g: var(--gold);
  --gw: rgba(226, 182, 79, 0.12);
  --gw2: rgba(226, 182, 79, 0.05);
  --bdr: var(--border);
  --bdr2: var(--border2);
  --r: var(--red);
  --pk: var(--pink);
  --e: var(--green);
  --or: var(--orange);
  --p: var(--purple);
  --sc: var(--gold);
  --gd: linear-gradient(135deg, var(--gold), var(--gold2));
  --bg4: #08080a;
  --radius-lg: 20px;
  --fd-accent: var(--gold);

  /* Decorative/background aliases */
  --fb: rgba(255, 255, 255, 0.02);
  --fd: rgba(226, 182, 79, 0.06);
  --bg-card: var(--card);
  --bg-card-hover: var(--card2);
  --bg-elevated: var(--bg3);
  --bg-surface: var(--bg2);
  --border-hover: var(--border2);
  --text-dim: var(--text3);
  --text-muted: var(--text3);
  --text-secondary: var(--text2);

  /* Typography aliases */
  --font-body: var(--sans);
  --font-display: var(--serif);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Superagent page */
  --agent-a: var(--gold);
  --agent-b: var(--blue);
  --agent-c: var(--purple);
  --agent-color: var(--gold);
  --agent-glow: var(--gold-glow);
  --transition: all 0.3s var(--ease);

  /* Typography */
  --serif: 'Noto Serif SC', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  /* Shadows */
  --shadow-gold: 0 8px 30px rgba(226, 182, 79, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.serif {
  font-family: var(--serif);
}

.gold {
  color: var(--gold);
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.body-lg {
  font-size: 1.125rem;
  color: var(--text2);
  line-height: 1.8;
}

.body-sm {
  font-size: 0.875rem;
  color: var(--text3);
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.nav-inner, .nav-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .mark {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a, .nav-links .nl {
  font-size: 0.875rem;
  color: var(--text2);
  transition: color 0.2s;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
}

.nav-links a:hover, .nav-links .nl:hover {
  color: var(--text);
}

.nav-links .a, .nav-links a.active {
  color: var(--gold);
}

.nav-cta, .lang-btn {
  background: var(--gold);
  color: #000;
  padding: 8px 20px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.nav-cta:hover, .lang-btn:hover {
  background: var(--gold2);
  transform: translateY(-1px);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-primary {
  background: var(--gold);
  color: #000;
}

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

.btn-secondary, .btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}

.btn-secondary:hover, .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* === Cards === */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s var(--ease);
}

.card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card.featured, .card.current {
  border-color: var(--gold);
  box-shadow: 0 0 40px var(--gold-glow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card-icon.gold { background: rgba(226, 182, 79, 0.1); color: var(--gold); }
.card-icon.green { background: rgba(34, 197, 94, 0.1); color: var(--green); }
.card-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--blue); }
.card-icon.purple { background: rgba(167, 139, 250, 0.1); color: var(--purple); }

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text);
}

.card p {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === Sections === */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .label {
  margin-bottom: 12px;
}

.section-header h2 {
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Hero === */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, var(--gold-glow), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card2);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text2);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.hero-stat .desc {
  font-size: 0.8rem;
  color: var(--text3);
  margin-top: 4px;
}

/* === Quote === */
.quote-block {
  position: relative;
  padding: 80px 0;
  text-align: center;
}

.quote-block::before {
  content: '"';
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  line-height: 1;
}

.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}

.quote-author {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text3);
}

/* === CTA Section === */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, var(--gold-glow), transparent);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text2);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text3);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text3);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text3);
  max-width: 600px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* === Pulse Animation === */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg2);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero {
    padding: 120px 0 80px;
  }

  section {
    padding: 60px 0;
  }
}

/* === Utility === */
.gold-glow {
  box-shadow: var(--shadow-gold);
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: var(--card3);
  color: var(--text3);
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-gold {
  background: rgba(226, 182, 79, 0.15);
  color: var(--gold);
}

.badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

/* =============================================
   UNIFIED NAVIGATION — OPC Platform v3.1.4
   ============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 56px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border, #27272a);
  transition: all 0.4s;
}
.nav.on {
  background: rgba(9, 9, 11, 0.95);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}
.nav-i {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 15px; letter-spacing: -0.3px;
  color: var(--text, #fafafa); text-decoration: none;
}
.nav-logo .mk {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, var(--gold, #e2b64f), #6b7db3);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: #fff;
  box-shadow: 0 0 20px rgba(226, 182, 79, 0.12);
}
.nav-links {
  display: flex; align-items: center; gap: 1px;
}
.nl {
  padding: 6px 13px; border-radius: 7px;
  color: var(--text2, #a1a1aa); font-size: 12.5px; font-weight: 500;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}
.nl:hover {
  color: var(--text, #fafafa);
  background: rgba(255, 255, 255, 0.035);
}
.lg {
  padding: 4px 11px; border-radius: 6px;
  border: 1px solid var(--border2, #3f3f46);
  background: transparent; color: var(--text2, #a1a1aa);
  font-size: 10.5px; cursor: pointer; transition: all 0.25s;
  margin-left: 6px;
}
.lg:hover {
  border-color: var(--gold, #e2b64f); color: var(--text, #fafafa);
}
.mob {
  display: none; background: none; border: none;
  color: var(--text, #fafafa); font-size: 20px; cursor: pointer;
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .mob { display: block; }
}

/* ══════════════════════════════════════════════
   FOOTER — unified across all OPC pages v3.1.4
   ══════════════════════════════════════════════ */
footer{border-top:1px solid var(--bdr);padding:48px 28px 32px}
.ft-i{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}
.ft-brand{font-size:18px;font-weight:800;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.ft-brand .mk{width:24px;height:24px;border-radius:6px;background:linear-gradient(135deg,var(--gold),var(--c));display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;color:#fff}
.ft-desc{font-size:13px;color:var(--t2);line-height:1.6;max-width:280px}
.ft-col h4{font-size:13px;font-weight:600;margin-bottom:16px;color:var(--text)}
.ft-col a{display:block;font-size:13px;color:var(--t3);padding:4px 0;transition:color .2s;text-decoration:none}
.ft-col a:hover{color:var(--t1)}
.ft-bottom{max-width:1120px;margin:32px auto 0;padding-top:24px;border-top:1px solid var(--bdr);display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--t3)}
.ft-social{display:flex;gap:16px}
.ft-social a{color:var(--t3);transition:color .2s}
.ft-social a:hover{color:var(--gold)}
@media(max-width:768px){.ft-i{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.ft-i{grid-template-columns:1fr}}

