
/* ============================================================
   PERSON.TEES 2026 v4.2 — Platform-Tech × Trendy
   Recipe: Shopify × Linear × Stripe hybrid + Trendy surprise
   5 Pillars: 專業公司 / 周邊 ecosystem / 科技感 / Client Portal / 100+ supplier
   ============================================================ */

:root {
  /* === GROUND === */
  --ground: #FAFAF7;
  --surface-1: #FFFFFF;
  --surface-2: #F5F5F2;
  --surface-3: #0A0A0A;          /* PURE BLACK (取代 v4 #0E1117, 更 dramatic + trendy) */

  /* === INK === */
  --ink: #0A0A0A;
  --ink-2: #525049;
  --ink-3: #8E8B82;
  --ink-inv: #FAFAF7;
  --ink-inv-2: rgba(250, 250, 247, 0.65);

  /* === ACCENTS (5 semantic) === */
  --violet: #7C3AED;             /* 主 vibrant violet (取代 v4 Linear purple) ≤5% */
  --violet-2: #A78BFA;
  --violet-3: rgba(124, 58, 237, 0.10);
  --violet-4: rgba(124, 58, 237, 0.20);
  --lime: #84CC16;               /* NEW surprise highlight ≤2% */
  --lime-2: rgba(132, 204, 22, 0.18);
  --coral: #FB7185;              /* NEW surprise micro-detail ≤2% */
  --coral-2: rgba(251, 113, 133, 0.18);
  --green: #008060;              /* Shopify green — order/success ≤3% */
  --green-2: rgba(0, 128, 96, 0.10);
  --stripe: #635BFF;             /* Stripe violet — payment/API ≤2% */

  /* === HAIRLINE === */
  --line: rgba(10, 10, 10, 0.08);
  --line-2: rgba(10, 10, 10, 0.14);
  --line-3: rgba(10, 10, 10, 0.22);
  --line-inv: rgba(250, 250, 247, 0.10);
  --line-inv-2: rgba(250, 250, 247, 0.18);

  /* === SHADOW === */
  --shadow-sm: 0 1px 2px rgba(50, 50, 93, 0.08);
  --shadow-md: 0 4px 12px rgba(50, 50, 93, 0.10);
  --shadow-lg: rgba(50, 50, 93, 0.25) 0px 30px 45px -30px, rgba(0, 0, 0, 0.1) 0px 18px 36px -18px;
  --shadow-glow: 0 0 80px rgba(124, 58, 237, 0.40), 0 0 30px rgba(124, 58, 237, 0.25);  /* NEW vibrant glow */

  /* === SPACING === */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 40px; --s-7: 64px; --s-8: 96px; --s-9: 128px;

  /* === RADIUS === */
  --r-sm: 6px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  /* === MOTION === */
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-hover: 150ms ease-out;
  --t-layout: 350ms var(--ease-quint);
  --t-entry: 700ms var(--ease-quint);
}

/* === Tweaks === */
[data-intensity="warmer"] {
  --ground: #F5EFE3;
  --surface-1: #FBF8F1;
  --surface-2: #EDE6D8;
}
[data-intensity="darker"] {
  --surface-3: #000000;
}

/* === Reset === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
  overflow-x: hidden;
}

/* === Mono utility === */
.mono {
  font-family: 'JetBrains Mono', 'Noto Sans Mono HK', ui-monospace, monospace;
  font-feature-settings: "calt";
  letter-spacing: 0;
}

/* === Type === */
h1, h2, h3, h4 { font-family: 'Inter Tight', 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
h1 { font-size: clamp(56px, 9vw, 128px); font-weight: 800; }
h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; }
h3 { font-size: 24px; font-weight: 700; }

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker .num { color: var(--violet); font-weight: 600; }
.kicker .tag { padding: 3px 10px; background: var(--violet); color: white; border-radius: var(--r-sm); font-weight: 600; letter-spacing: 0.08em; }
.kicker .tag-lime { background: var(--lime); color: var(--ink); font-weight: 700; }
.kicker .tag-coral { background: var(--coral); color: white; font-weight: 700; }
.kicker .tag-green { background: var(--green); color: white; }

.lead { font-size: 16px; color: var(--ink-2); line-height: 1.65; max-width: 60ch; }

/* === Container === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--s-5); }
@media (min-width: 768px) { .container { padding: 0 var(--s-6); } }
@media (min-width: 1024px) { .container { padding: 0 var(--s-7); } }

/* === Section === */
section { padding: var(--s-8) 0; position: relative; }
section.deep { background: var(--surface-3); color: var(--ink-inv); }
section.deep h1, section.deep h2, section.deep h3, section.deep h4 { color: var(--ink-inv); }
section.deep .kicker { color: var(--ink-inv-2); }
section.deep .kicker .num { color: var(--violet-2); }
section.deep .lead { color: var(--ink-inv-2); }

/* === Top nav === */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 247, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
/* Real PersonTees logo (PERS()N.TEES wordmark · 1180x237 ratio 5:1) — wide horizontal */
.logo-mark { width: 118px; height: 24px; border-radius: 0; background: transparent; display: block; box-shadow: none; overflow: visible; }
.logo-mark .logo-text-fallback { display: none; }
.logo-mark img { width: 118px !important; height: 24px !important; object-fit: contain; display: block; }
/* Hide redundant text "PERSON.TEES" since wordmark image already shows it */
.logo-text-hide { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Responsive logo sizing */
@media (max-width: 480px) { .logo-mark, .logo-mark img { width: 88px; height: 18px; } }
.nav-links { display: none; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; transition: opacity var(--t-hover); }
.nav-link:hover { opacity: 0.55; }
.nav-portal { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 12px; font-weight: 500; color: var(--ink); text-decoration: none; transition: all var(--t-hover); }
.nav-portal:hover { border-color: var(--ink); }
.nav-portal .mono { font-size: 11px; opacity: 0.7; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--violet); color: white; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; border-radius: var(--r-sm); transition: all var(--t-hover); box-shadow: var(--shadow-glow); }
.nav-cta:hover { background: #6D28D9; transform: translateY(-1px); }
.nav-cta .mono { font-size: 12px; opacity: 0.9; }

/* ============================================================
   HERO — Trendy v4.2
   ============================================================ */
.hero { padding: var(--s-9) 0 var(--s-7); position: relative; overflow: hidden; }

/* Animated gradient blob */
.blob {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--violet) 0%, var(--coral) 50%, transparent 70%);
  opacity: 0.25;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: breathe 8s ease-in-out infinite;
}
.blob-2 {
  position: absolute;
  top: 200px;
  right: 300px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lime) 0%, transparent 70%);
  opacity: 0.20;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: breathe 10s ease-in-out infinite reverse;
}
@keyframes breathe { 0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.25; } 50% { transform: scale(1.15) translate(-30px, 20px); opacity: 0.4; } }

.hero-inner { position: relative; z-index: 1; }
.hero-promise { text-align: left; max-width: 980px; margin: 0 0 var(--s-7); }
.hero-promise .kicker { margin-bottom: var(--s-5); }
.hero-promise h1 { letter-spacing: -0.045em; margin-bottom: var(--s-5); line-height: 0.95; }
.hero-promise h1 .accent { color: var(--violet); position: relative; display: inline-block; }
.hero-promise h1 .accent::after { content: ''; position: absolute; bottom: -8px; left: 0; right: 0; height: 8px; background: var(--lime); z-index: -1; border-radius: 4px; }
.hero-promise h1 .accent-2 { color: var(--coral); }
.hero-promise h1 .period { color: var(--coral); }
.hero-promise .lead { max-width: 64ch; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-6); flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--ink); color: var(--ink-inv); font-size: 14px; font-weight: 700; text-decoration: none; border-radius: var(--r-sm); transition: all var(--t-hover); border: none; cursor: pointer; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--violet); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-primary .mono { font-size: 13px; }
.btn-coral { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--coral); color: white; font-size: 14px; font-weight: 700; text-decoration: none; border-radius: var(--r-sm); transition: all var(--t-hover); border: none; cursor: pointer; box-shadow: 0 8px 24px rgba(251, 113, 133, 0.30); }
.btn-coral:hover { background: #F43F5E; transform: translateY(-2px); }
.btn-coral .mono { font-size: 13px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 0; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); transition: opacity var(--t-hover); }
.btn-ghost:hover { opacity: 0.55; }

/* === 4-stat strip === */
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; max-width: 1000px; margin: 0 0 var(--s-7); }
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface-1); padding: var(--s-5) var(--s-4); transition: background var(--t-hover); }
.stat:hover { background: var(--surface-2); }
.stat-num { font-family: 'Inter Tight', sans-serif; font-size: 36px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.stat-num .unit { font-size: 18px; color: var(--ink-2); font-weight: 600; margin-left: 4px; }
.stat-num .accent { color: var(--violet); }
.stat-num .lime { color: var(--lime); }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-2); margin-top: 8px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }

/* === 5-step BENTO flow === */
.flow-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-6); flex-wrap: wrap; gap: var(--s-3); }
.flow-head .left .kicker { margin-bottom: var(--s-3); }
.flow-head h2 { font-size: 48px; }
.flow-meta { display: flex; gap: var(--s-3); align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-2); }
.flow-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

/* BENTO: asymmetric cards */
.flow {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
@media (min-width: 768px) {
  .flow {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
  }
  .step-1 { grid-column: span 3; grid-row: 1; }
  .step-2 { grid-column: span 3; grid-row: 1; }
  .step-3 { grid-column: span 2; grid-row: 2; }
  .step-4 { grid-column: span 2; grid-row: 2; }
  .step-5 { grid-column: span 2; grid-row: 2; }
}
.step {
  background: var(--surface-1);
  border: 1px solid var(--line-2);
  padding: var(--s-5);
  border-radius: var(--r-md);
  transition: all var(--t-hover);
  position: relative;
  overflow: hidden;
}
.step:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step.highlight { background: var(--ink); color: var(--ink-inv); border-color: var(--ink); }
.step.highlight .step-num { color: var(--lime); }
.step.highlight .step-title { color: var(--ink-inv); }
.step.highlight .step-desc { color: var(--ink-inv-2); }
.step.highlight .step-ui { background: rgba(250, 250, 247, 0.05); border-color: var(--line-inv); }
.step.highlight .step-ui .row .v { color: var(--ink-inv); }
.step.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--violet));
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--violet); font-weight: 700; letter-spacing: 0.06em; }
.step-status { display: inline-flex; align-items: center; gap: 5px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--green); background: var(--green-2); padding: 3px 8px; border-radius: var(--r-sm); font-weight: 600; }
.step-status .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.step.highlight .step-status { background: var(--lime-2); color: var(--lime); }
.step.highlight .step-status .dot { background: var(--lime); }
.step-icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: var(--s-3); }
.step.highlight .step-icon { background: rgba(250, 250, 247, 0.05); border-color: var(--line-inv); }
.step-icon svg { width: 20px; height: 20px; color: var(--ink); }
.step.highlight .step-icon svg { color: var(--ink-inv); }
.step-title { font-family: 'Inter Tight', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.015em; }
.step-desc { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin-bottom: var(--s-3); }
.step-ui { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-2); line-height: 1.7; }
.step-ui .row { display: flex; justify-content: space-between; }
.step-ui .row .v { color: var(--ink); font-weight: 600; }
.step-ui .row .v.violet { color: var(--violet); }
.step-ui .row .v.green { color: var(--green); }
.step-ui .row .v.lime { color: var(--lime); background: var(--ink); padding: 1px 6px; border-radius: 4px; }

/* ============================================================
   PILLAR #5 — partner room statement
   ============================================================ */
.pillar { padding: var(--s-8) 0; background: var(--surface-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
@media (min-width: 1024px) { .pillar-grid { grid-template-columns: 4fr 8fr; gap: var(--s-8); align-items: start; } }
.four-pillars { display: grid; grid-template-columns: 1fr; gap: var(--s-5); margin-top: var(--s-5); }
@media (min-width: 700px) { .four-pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar-card { padding: var(--s-6); background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; }
.pillar-card .pillar-num { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: var(--violet); letter-spacing: 0.08em; margin-bottom: var(--s-3); }
.pillar-card h4 { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: var(--s-3); }
.pillar-card p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.origin-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
@media (min-width: 1024px) { .origin-grid { grid-template-columns: 4fr 8fr; gap: var(--s-8); align-items: start; } }
.origin-right p { margin-bottom: var(--s-5); }
.origin-tag { display: inline-block; padding: var(--s-3) var(--s-5); background: var(--violet-soft); color: var(--violet); border-radius: 999px; font-size: 11px; letter-spacing: 0.04em; }
.origin section, section.origin { padding: var(--s-9) 0; border-top: 1px solid var(--border); background: var(--bg-2); }
.pillar-left h2 { margin-top: var(--s-3); }
.pillar-right { font-size: 16px; line-height: 1.7; color: var(--ink); }
.pillar-right p { margin-bottom: var(--s-4); max-width: 62ch; }
.pillar-quote { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--ink); padding: var(--s-4) var(--s-5); background: var(--lime); border-radius: var(--r-md); margin: var(--s-5) 0; max-width: 56ch; color: var(--ink); }
.pillar-quote .mono { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 11px; color: var(--ink); opacity: 0.7; display: block; margin-top: var(--s-3); letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================
   6 周邊 CATEGORIES — modular grid
   ============================================================ */
.categories { padding: var(--s-8) 0; }
.cat-head { margin-bottom: var(--s-6); display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 1024px) { .cat-head { grid-template-columns: 4fr 8fr; gap: var(--s-8); } }
.cat-head .lead { margin: 0; max-width: 56ch; }
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card { background: var(--surface-1); border: 1px solid var(--line-2); padding: var(--s-5); border-radius: var(--r-md); transition: all var(--t-hover); position: relative; }
.cat-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cat-card.feature { background: var(--ink); color: var(--ink-inv); border-color: var(--ink); }
.cat-card.feature .cat-name, .cat-card.feature .cat-cn { color: var(--ink-inv); }
.cat-card.feature .cat-svg { background: rgba(250, 250, 247, 0.05); border-color: var(--line-inv); }
.cat-card.feature .cat-svg svg { color: var(--ink-inv); }
.cat-card.feature .cat-spec { border-top-color: var(--line-inv); }
.cat-card.feature .cat-spec .row .k { color: var(--ink-inv-2); }
.cat-card.feature .cat-spec .row .v { color: var(--ink-inv); }
.cat-card.feature .cat-spec .row .v.ok { color: var(--lime); }
.cat-card .sku { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-3); margin-bottom: var(--s-3); letter-spacing: 0.06em; }
.cat-card .sku .ref { color: var(--violet); font-weight: 600; }
.cat-card.feature .sku .ref { color: var(--lime); }
.cat-svg { width: 100%; aspect-ratio: 4/3; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); display: grid; place-items: center; margin-bottom: var(--s-3); }
.cat-svg svg { width: 50%; height: 50%; color: var(--ink); }
.cat-name { font-family: 'Inter Tight', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 2px; letter-spacing: -0.015em; }
.cat-cn { font-size: 12px; color: var(--ink-2); margin-bottom: var(--s-3); }
.cat-spec { display: flex; flex-direction: column; gap: 0; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.cat-spec .row { display: flex; justify-content: space-between; padding: 5px 0; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.cat-spec .row .k { color: var(--ink-3); }
.cat-spec .row .v { color: var(--ink); font-weight: 600; }
.cat-spec .row .v.ok { color: var(--green); }
.cat-spec .row .v.lime { color: var(--lime); background: var(--ink); padding: 1px 6px; border-radius: 4px; }

/* ============================================================
   D2C FULFILLMENT — Platform tech section (deep panel)
   ============================================================ */
.d2c { background: var(--surface-3); color: var(--ink-inv); padding: var(--s-8) 0; position: relative; overflow: hidden; }
.d2c::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  opacity: 0.20;
  filter: blur(80px);
  pointer-events: none;
  animation: breathe 12s ease-in-out infinite;
}
.d2c-head { margin-bottom: var(--s-7); max-width: 800px; position: relative; z-index: 1; }
.d2c-head h2 { color: var(--ink-inv); margin-top: var(--s-3); }
.d2c-head .lead { color: var(--ink-inv-2); }
.d2c-flow { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-inv); border: 1px solid var(--line-inv); border-radius: var(--r-md); overflow: hidden; position: relative; z-index: 1; }
@media (min-width: 1024px) { .d2c-flow { grid-template-columns: 1fr 80px 1fr 80px 1fr 80px 1fr; } }
.d2c-node { background: #161616; padding: var(--s-5); border: 1px solid transparent; transition: all var(--t-hover); }
.d2c-node:hover { border-color: var(--violet); }
.d2c-node-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-inv-2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-3); }
.d2c-node-title { font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink-inv); margin-bottom: 4px; }
.d2c-node-cn { font-size: 12px; color: var(--ink-inv-2); margin-bottom: var(--s-3); }
.d2c-node-spec { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-inv-2); padding-top: var(--s-3); border-top: 1px solid var(--line-inv); line-height: 1.7; }
.d2c-node-spec .ok { color: var(--lime); }
.d2c-arrow { background: #161616; display: grid; place-items: center; color: var(--ink-inv-2); font-family: 'JetBrains Mono', monospace; font-size: 14px; }
@media (max-width: 1023px) { .d2c-arrow { display: none; } }

/* ============================================================
   CLIENT PORTAL — B2B admin dashboard preview
   ============================================================ */
.portal { padding: var(--s-8) 0; background: var(--surface-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portal-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
@media (min-width: 1024px) { .portal-grid { grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: start; } }
.portal-left h2 { margin-top: var(--s-3); margin-bottom: var(--s-4); }
.portal-left .lead { margin-bottom: var(--s-4); }
.portal-features { list-style: none; margin-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.portal-features li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: 14px; color: var(--ink); }
.portal-features li .icon { width: 28px; height: 28px; border-radius: 8px; background: var(--violet-3); display: grid; place-items: center; flex-shrink: 0; }
.portal-features li .icon svg { width: 14px; height: 14px; color: var(--violet); }
.portal-features li strong { font-weight: 700; }

/* Portal preview (wireframe) */
.portal-preview {
  background: var(--surface-3);
  border: 1px solid var(--line-inv);
  border-radius: var(--r-md);
  padding: var(--s-4);
  box-shadow: var(--shadow-lg);
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-inv);
}
.portal-preview .titlebar { display: flex; align-items: center; gap: 6px; margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line-inv); }
.portal-preview .titlebar .dot { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.portal-preview .titlebar .dot.y { background: #FEBC2E; }
.portal-preview .titlebar .dot.g { background: #28C840; }
.portal-preview .titlebar .url { flex: 1; background: rgba(250, 250, 247, 0.05); padding: 5px 10px; border-radius: 4px; font-size: 10px; color: var(--ink-inv-2); margin-left: 8px; }
.portal-preview .titlebar .url .v { color: var(--violet-2); }
.portal-body { display: grid; grid-template-columns: 130px 1fr; gap: var(--s-3); }
.portal-sidebar { display: flex; flex-direction: column; gap: 4px; }
.portal-sidebar .item { padding: 7px 10px; border-radius: 4px; font-size: 10px; color: var(--ink-inv-2); display: flex; align-items: center; gap: 6px; }
.portal-sidebar .item.active { background: var(--violet); color: white; font-weight: 600; }
.portal-sidebar .item .badge { font-size: 8px; padding: 1px 5px; background: var(--lime); color: var(--ink); border-radius: 3px; font-weight: 700; }
.portal-main { display: flex; flex-direction: column; gap: var(--s-3); }
.portal-main .row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: rgba(250, 250, 247, 0.05); border-radius: 4px; font-size: 10px; }
.portal-main .row .sku { color: var(--violet-2); font-weight: 600; }
.portal-main .row .status { font-size: 9px; padding: 3px 7px; border-radius: 3px; font-weight: 600; }
.portal-main .row .status.ok { background: var(--green); color: white; }
.portal-main .row .status.pending { background: var(--lime); color: var(--ink); }
.portal-main .row .btn { padding: 4px 9px; background: var(--coral); border-radius: 3px; color: white; font-size: 9px; font-weight: 700; }

/* ============================================================
   QUICK BRIEF FORM (deep panel) — coral CTA surprise
   ============================================================ */
.brief { background: var(--surface-3); color: var(--ink-inv); padding: var(--s-8) 0; position: relative; overflow: hidden; }
.brief::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(80px);
  pointer-events: none;
  animation: breathe 14s ease-in-out infinite;
}
.brief-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); position: relative; z-index: 1; }
@media (min-width: 1024px) { .brief-grid { grid-template-columns: 4fr 8fr; gap: var(--s-8); } }
.brief-left h2 { color: var(--ink-inv); margin-top: var(--s-3); margin-bottom: var(--s-4); }
.brief-left .lead { color: var(--ink-inv-2); }
.brief-left .meta { margin-top: var(--s-5); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-inv-2); letter-spacing: 0.08em; text-transform: uppercase; }
.brief-left .meta .dot { color: var(--lime); }
.brief-form { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 700px) { .brief-form { grid-template-columns: repeat(2, 1fr); } .brief-form .full { grid-column: 1 / -1; } }
.brief-form .field { display: flex; flex-direction: column; gap: 6px; }
.brief-form label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-inv-2); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.brief-form label .req { color: var(--coral); }
.brief-form input, .brief-form select, .brief-form textarea { background: transparent; border: none; border-bottom: 1px solid var(--line-inv); color: var(--ink-inv); padding: 12px 0; font-family: inherit; font-size: 15px; transition: border-color var(--t-hover); outline: none; }
.brief-form input:focus, .brief-form select:focus, .brief-form textarea:focus { border-color: var(--coral); }
.brief-form input::placeholder, .brief-form textarea::placeholder { color: rgba(250, 250, 247, 0.35); }
.brief-submit { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; background: var(--coral); color: white; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; border: none; border-radius: var(--r-sm); transition: all var(--t-hover); margin-top: var(--s-3); box-shadow: 0 8px 30px rgba(251, 113, 133, 0.40); }
.brief-submit:hover { background: #F43F5E; transform: translateY(-1px); }
.brief-submit .mono { font-size: 13px; opacity: 0.9; }

/* ============ BRIEF WIZARD v7.2 (per Danny C6 Enhancement) ============ */
.brief-form-wrap { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-6); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-inv); border-radius: 16px; backdrop-filter: blur(8px); }
.wizard-progress { display: flex; align-items: center; gap: 0; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line-inv); margin-bottom: var(--s-4); }
.wizard-step { display: flex; align-items: center; gap: 8px; opacity: 0.4; transition: opacity var(--t-hover); flex: 0 0 auto; }
.wizard-step.active { opacity: 1; }
.wizard-step.done { opacity: 0.7; }
.wizard-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-1); color: var(--ink); font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; border: 1px solid var(--line); }
.wizard-step.active .wizard-num { background: var(--coral); color: white; border-color: var(--coral); }
.wizard-step.done .wizard-num { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.wizard-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-inv-2); }
.wizard-divider { flex: 1; height: 1px; background: var(--line-inv); margin: 0 var(--s-3); }
.wizard-panel { display: flex; flex-direction: column; gap: var(--s-4); }
.wizard-panel[hidden] { display: none; }
.brief-form-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line-inv); grid-column: 1 / -1; }
.brief-form-nav .btn-ghost, .brief-form-nav .btn-primary, .brief-form-nav .btn-coral { padding: 12px 18px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 8px; cursor: pointer; transition: all var(--t-hover); border: 1px solid var(--line-inv); }
.brief-form-nav .btn-ghost { background: transparent; color: var(--ink-inv-2); }
.brief-form-nav .btn-ghost:hover:not(:disabled) { color: var(--ink-inv); border-color: var(--ink-inv-2); }
.brief-form-nav .btn-ghost:disabled { opacity: 0.3; cursor: not-allowed; }
.brief-form-nav .btn-primary { background: var(--ink-inv); color: var(--ink); border-color: var(--ink-inv); }
.brief-form-nav .btn-primary:hover { background: var(--coral); color: white; border-color: var(--coral); }
.brief-form-nav .btn-coral { background: var(--coral); color: white; border-color: var(--coral); box-shadow: 0 4px 16px rgba(251, 113, 133, 0.35); }
.brief-form-nav .btn-coral:hover { background: #F43F5E; transform: translateY(-1px); }
.brief-trust { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-4); }
.brief-trust-badge { padding: 4px 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-inv); border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600; color: var(--ink-inv); letter-spacing: 0.05em; }
.brief-form label .tooltip { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--ink-inv-2); font-size: 11px; cursor: help; margin-left: 4px; }
.radio-pills, .checkbox-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 600px) { .radio-pills, .checkbox-grid { grid-template-columns: 1fr 1fr; } }
.radio-pill, .checkbox-pill { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-inv); border-radius: 8px; cursor: pointer; transition: all var(--t-hover); }
.radio-pill:hover, .checkbox-pill:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--coral); }
.radio-pill input, .checkbox-pill input { width: 16px; height: 16px; margin: 0; accent-color: var(--coral); flex: 0 0 auto; }
.radio-pill span, .checkbox-pill span { font-size: 13px; color: var(--ink-inv); line-height: 1.4; }
.checkbox-line { display: flex; align-items: flex-start; gap: 10px; font-family: inherit !important; font-size: 13px !important; color: var(--ink-inv-2) !important; text-transform: none !important; letter-spacing: normal !important; font-weight: 400 !important; cursor: pointer; }
.checkbox-line input { width: 16px; height: 16px; margin: 2px 0 0 0; accent-color: var(--coral); flex: 0 0 auto; }
.brief-form input[type="file"] { padding: 8px 0; font-size: 13px; color: var(--ink-inv-2); }
.brief-form input[type="date"] { color-scheme: dark; }

/* ============================================================
   TRUST / FAQ / 法規 (Klook B2B professional register)
   ============================================================ */
.trust { padding: var(--s-8) 0; background: var(--ground); border-top: 1px solid var(--line); }
.trust-head { max-width: 64ch; margin-bottom: var(--s-6); }
.trust-head h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.1; letter-spacing: -0.02em; margin-top: var(--s-3); margin-bottom: var(--s-3); }
.trust-head .lead { color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-card { background: var(--surface); border: 1px solid var(--line); padding: var(--s-5); border-radius: var(--r-md); }
.trust-card h4 { font-size: 14px; font-weight: 700; margin-bottom: var(--s-3); color: var(--ink); letter-spacing: -0.01em; }
.trust-card ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
.trust-card li { font-size: 12px; color: var(--ink-2); line-height: 1.55; }
.trust-card li strong { color: var(--ink); font-weight: 600; }
.trust-foot { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; }

/* ============================================================
   TRUST TREND ROW (ESG / UV / Pickleball) - per Council + Subagent 1
   ============================================================ */
.trust-trend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 24px; padding: 24px; background: #F4F4F2; border-radius: 16px; border: 1px solid #E5E5E0; }
.trust-trend-item { display: flex; flex-direction: column; gap: 8px; }
.trust-trend-tag { display: inline-block; padding: 4px 10px; background: var(--violet); color: #FFF; font-family: 'Inter Tight', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; border-radius: 4px; width: fit-content; }
.trust-trend-tag.lime { background: var(--lime, color: #84CC16); color: #18181B; }
.trust-trend-tag.coral { background: var(--coral, color: #FB7185); }
.trust-trend-item h5 { margin: 4px 0 0; font-family: 'Inter Tight', sans-serif; font-size: 15px; font-weight: 700; color: #18181B; letter-spacing: -0.01em; }
.trust-trend-item p { margin: 0; font-size: 12.5px; line-height: 1.55; color: #52525B; }
@media (max-width: 768px) { .trust-trend { grid-template-columns: 1fr; gap: 16px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: var(--s-7) 0 var(--s-5); background: var(--ground); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-bottom: var(--s-6); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 3fr 1fr 1fr 1fr 1fr; } }
.footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--s-3); font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 14px; transition: color var(--t-hover); }
.footer-col a:hover { color: var(--ink); }
.footer-brand { display: flex; flex-direction: column; gap: var(--s-3); }
.footer-brand .desc { font-size: 13px; color: var(--ink-2); max-width: 36ch; }
.footer-brand .contact { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-3); flex-wrap: wrap; gap: var(--s-3); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.footer-bottom .accent { color: var(--violet); font-weight: 600; }
.footer-bottom .lime { color: var(--lime); font-weight: 600; }

/* ============================================================
   TWEAKS
   ============================================================ */
.tweaks { position: fixed; bottom: 20px; right: 20px; z-index: 100; }
.tweaks-toggle { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ink); color: var(--ink-inv); border: none; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: all var(--t-hover); border-radius: var(--r-sm); box-shadow: var(--shadow-md); }
.tweaks-toggle:hover { background: var(--violet); }
.tweaks-panel { position: absolute; bottom: calc(100% + 8px); right: 0; width: 280px; background: var(--ink); color: var(--ink-inv); padding: var(--s-4); border-radius: var(--r-md); display: none; box-shadow: var(--shadow-lg); }
.tweaks.open .tweaks-panel { display: block; }
.tweaks.open .tweaks-toggle { background: var(--violet); }
.tweaks-panel h4 { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-inv-2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--s-3); font-weight: 500; }
.tweaks-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.tweaks-row label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-inv-2); }
.tweaks-row .opts { display: flex; gap: 0; }
.tweaks-row .opt { padding: 6px 10px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-inv-2); cursor: pointer; transition: all var(--t-hover); border: 1px solid var(--line-inv); border-right: none; background: none; text-transform: uppercase; }
.tweaks-row .opt:last-child { border-right: 1px solid var(--line-inv); }
.tweaks-row .opt.active { background: var(--violet); color: white; border-color: var(--violet); }
.tweaks-row .opt.active.alt { background: var(--coral); border-color: var(--coral); }
.tweaks-row .opt.active.alt2 { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tweaks-row .opt:hover:not(.active) { color: var(--ink-inv); }
.tweaks-divider { height: 1px; background: var(--line-inv); margin: var(--s-3) 0; }

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-promise { animation: slideRight 0.8s var(--ease-quint) 0.1s backwards; }
.stat-strip { animation: fadeUp 0.7s var(--ease-quint) 0.2s backwards; }
.flow-head, .flow { animation: fadeUp 0.7s var(--ease-quint) 0.3s backwards; }
.pillar-grid, .cat-head, .cat-grid, .d2c-head, .d2c-flow, .portal-grid, .brief-grid, .footer { animation: fadeIn 0.9s var(--ease-quint) backwards; }
.d2c-flow { animation-delay: 0.2s; }
.portal-grid { animation-delay: 0.3s; }
.portal-preview { animation: scaleIn 0.9s var(--ease-spring) 0.4s backwards; }

/* === Responsive === */
@media (max-width: 767px) {
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 10px; }
  .cat-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .tweaks { bottom: 12px; right: 12px; }
  .tweaks-panel { width: calc(100vw - 24px); right: 0; }
  .portal-body { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; }
}
