/* ============================================
   YUNCUT JP — Components
   ============================================ */

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px var(--shadow);
}
.nav-inner {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.site-logo {
  width: 150px; max-height: 44px; object-fit: contain;
  border-radius: 6px; padding: 4px 8px; background: #fff;
  border: 1px solid var(--line);
}
.nav-links {
  display: flex; gap: 20px;
  color: var(--muted); font-size: 14px; align-items: center;
}
.nav-links a:hover { color: var(--accent); }

.nav-item { position: relative; display: flex; align-items: center; min-height: 72px; }
.nav-item > a { display: flex; align-items: center; gap: 5px; }
.nav-item > a::after { content: "▾"; font-size: 9px; color: var(--accent); }

.dropdown {
  position: absolute; top: 64px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px; padding: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: .2s ease;
}
.nav-item:hover .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--muted); font-size: 13px;
}
.dropdown a:hover { background: #F0F5FC; color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 14px;
  transition: .22s ease; border: 0; cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,95,168,.25); }
.btn-secondary {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent); box-shadow: none;
}
.btn-secondary:hover { background: #F0F5FC; transform: translateY(-2px); }
.nav-cta { min-height: 40px; font-size: 14px; padding: 0 20px; }

/* ── CARDS ── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px; padding: 28px;
  transition: .25s ease;
  box-shadow: 0 2px 12px var(--shadow);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(26,95,168,.12); border-color: rgba(26,95,168,.2); }
.card .num, .num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent); margin-bottom: 14px; display: block;
  font-size: 13px; letter-spacing: .06em;
}
.card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.card h3 { color: var(--text); }

/* ── OFFICE CARDS ── */
.office-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px; padding: 24px;
  box-shadow: 0 2px 12px var(--shadow);
}
.office-card p { color: var(--muted); font-size: 14px; }
.office-card .tag {
  display: inline-block; color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; margin-bottom: 12px;
  background: #F0F5FC; padding: 3px 10px; border-radius: 999px;
}

/* ── STATS ── */
.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 20px; border-radius: 14px;
  box-shadow: 0 2px 8px var(--shadow);
}
.stat strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent); font-size: 16px; margin-bottom: 4px;
}
.stat span { color: var(--muted); font-size: 13px; }

/* ── FLOW STEPS ── */
.flow { display: grid; gap: 14px; }
.flow-step {
  display: grid; grid-template-columns: 100px 1fr 280px;
  gap: 20px; align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px; padding: 20px;
  box-shadow: 0 2px 10px var(--shadow);
}
.flow-index {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent); font-size: 16px;
  padding: 12px; border-radius: 12px;
  background: #F0F5FC;
  display: flex; align-items: center; justify-content: center;
}
.flow-step p { color: var(--muted); font-size: 14px; }
.flow-media {
  min-height: 140px; border-radius: 14px;
  background: linear-gradient(135deg, #E8EFF8, #F0F5FC);
  border: 1px solid var(--line); position: relative;
}

/* ── TABLE ── */
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px var(--shadow);
}
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
th {
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase;
  background: #F0F5FC; letter-spacing: .06em;
}
td { color: var(--muted); font-size: 14px; }
td:first-child { color: var(--text); font-weight: 500; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #F7FAFE; }

/* ── SOCIAL ── */
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px; transition: .2s;
}
.social:hover { transform: translateY(-2px); }
.social.fb  { background: #1877F2; }
.social.line { background: #06C755; }
.social.yt  { background: #FF0000; }

/* ── FOOTER ── */
.footer {
  background: #1A1F2E;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 64px 0 28px;
  color: #8A94A8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr .8fr;
  gap: 36px; margin-bottom: 44px;
}
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 15px; }
.footer p, .footer a, .footer li { color: #8A94A8; font-size: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: #5A6278;
}
.footer-logo {
  width: 180px; max-width: 100%; height: auto;
  background: #fff; border-radius: 8px;
  padding: 7px 12px; margin-bottom: 16px; display: block;
}

/* ── MEDIA PLACEHOLDER ── */
.media-placeholder {
  position: relative; min-height: 360px; border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #E8EFF8, #D4E3F5);
  border: 1px solid var(--line);
}
.media-placeholder.tall { min-height: 480px; }
.media-placeholder.small { min-height: 240px; }
.placeholder-text {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  padding: 16px; border-radius: 12px;
  background: rgba(255,255,255,.85);
  color: var(--muted); font-size: 13px;
}

/* ── HERO ACTIONS ── */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ── MINI PROOF ── */
.mini-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 36px; }
