:root {
  --accent: #2563eb;
  --text: #1e293b; 
  --text-light: #475569; 
  --bg: #f8fafc; /* ???? */
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  /* ???????????? */
  background: linear-gradient(180deg, #f0f9ff 0%, #f1f5f9 100%);
  background-attachment: fixed;
  background-image: 
    linear-gradient(180deg, rgba(240, 249, 255, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%),
    radial-gradient(circle at 2px 2px, rgba(37, 99, 235, 0.04) 1px, transparent 0);
  background-size: 100% 100%, 40px 40px;
  line-height: 1.5;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header - ???? */
.site-header { 
  padding: 15px 0; 
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
  background: rgba(255, 255, 255, 0.8); 
  backdrop-filter: blur(15px);
  position: sticky; 
  top: 0; 
  z-index: 100; 
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.nav { display: flex; gap: 20px; }
.nav a { text-decoration: none; color: var(--text-light); font-size: 14px; font-weight: 600; transition: color 0.2s; }
.nav a:hover { color: var(--accent); }
.logo { font-weight: bold; font-size: 18px; color: #2563eb; }

/* Login Button in Nav */
.nav-login-btn {
  background: var(--accent);
  color: white !important;
  padding: 6px 16px;
  border-radius: 6px;
  margin-left: 10px;
  transition: all 0.2s;
}
.nav-login-btn:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

/* Modal Animations */
#login-modal-overlay {
  display: flex;
  backdrop-filter: blur(5px);
}
.login-modal-card {
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--accent); color: white; border: none; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-ghost { background: #ffffff; border-color: #cbd5e1; color: var(--text); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.btn-ghost:hover { background: #f8fafc; border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; }

/* Card ???? - ???? */
.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}
.card h3 { color: var(--text); margin-top: 0; font-size: 1.25rem; }
.card p { color: var(--text-light); }

/* Section Title */
.section-title { color: var(--text); text-align: center; font-size: 2.2rem; margin-bottom: 0.5rem; font-weight: 700; }
.section-subtitle { color: var(--text-light); text-align: center; max-width: 700px; margin: 0 auto 3rem; font-size: 1rem; }
.section-alt { background: #f8fafc; }

/* ????????*/
.std-select-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.std-select-btn { 
  background: #ffffff; 
  border: 1px solid #e2e8f0; 
  color: var(--text-light); 
  padding: 8px 16px; 
  border-radius: 8px; 
  font-size: 13px; 
  font-weight: 500;
  cursor: pointer; 
  transition: all 0.2s; 
}
.std-select-btn:hover, .std-select-btn.active-btn { 
  background: var(--accent); 
  color: white; 
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* ????????????????? */
.hero-content, .feature-layout {
  display: flex;
  gap: 30px;
  padding: 40px 0;
  align-items: flex-start;
  position: relative;
}
.hero-left, .feature-main { flex: 1; transition: all 0.3s ease; }
.hero-right { width: 440px; }

/* ??????????????? */
.tool-active .feature-main {
  margin-right: 470px;
}

/* Tool Container????????????? */
.tool-container { 
  background: #ffffff; 
  border-radius: 16px; 
  border: 1px solid #e2e8f0; 
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); 
  position: absolute; 
  right: 0; 
  top: 40px; 
  width: 440px;
  z-index: 100;
  max-height: none; /* ???? */
  overflow: visible; 
}

.tool-header { 
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%); 
  color: white; 
  padding: 14px 20px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  border-radius: 16px 16px 0 0;
}
.tool-header h3 { margin: 0; font-size: 15px; font-weight: 600; }
.tool-close { background: rgba(255,255,255,0.1); border: none; color: #f8fafc; font-size: 11px; padding: 4px 10px; border-radius: 4px; cursor: pointer; }
.tool-close:hover { background: rgba(255,255,255,0.2); }

.tool-body { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.tool-result { padding: 0 20px 30px; }

/* ????????*/
@keyframes scanline {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

/* --- ???????? --- */
@keyframes path-draw {
  0% { stroke-dashoffset: 1000; opacity: 0; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.8; }
}

@keyframes float-drift {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  20% { opacity: 0.8; }
  50% { transform: translateY(-100px) translateX(30px) rotate(180deg); opacity: 0.4; }
  80% { opacity: 0.8; }
  100% { transform: translateY(-200px) translateX(-10px) rotate(360deg); opacity: 0; }
}

@keyframes gear-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes neon-flicker {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 5px #3b82f6); }
  50% { opacity: 0.7; filter: drop-shadow(0 0 15px #2563eb); }
}

/* Hero Section ????(??????) */
.hero { 
  position: relative;
  background-color: #0f172a; 
  background-image: 
    linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.2), var(--bg)), 
    url('images/main.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  width: 100%;
  margin: 0;
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  animation: scanline 4s linear infinite;
  z-index: 2;
}

/* ???????? Hero ????Section ???? */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ???? */
.tech-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1), transparent 85%);
}

/* ???? */
.data-particle {
  position: absolute;
  background: #60a5fa;
  border-radius: 50%;
  filter: blur(0.5px);
  box-shadow: 0 0 15px #3b82f6, 0 0 30px rgba(59, 130, 246, 0.4);
  animation: float-drift 8s infinite linear;
  opacity: 0;
}

.data-particle::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: inherit;
  filter: blur(4px);
  animation: pulse-glow 2s infinite ease-in-out;
}

.floating-gear {
  position: absolute;
  fill: none;
  stroke: rgba(37, 99, 235, 0.2);
  stroke-width: 1.2;
  stroke-dasharray: 5 10;
  animation: gear-rotate 40s infinite linear;
}

.car-wireframe-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  opacity: 0.5;
}

.car-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: path-draw 10s infinite alternate ease-in-out;
}

.hero-content { 
  position: relative; 
  z-index: 2; 
  background: rgba(15, 23, 42, 0.2); /* ??????????? */
  padding: 40px 60px;
  border-radius: 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-left h1 { 
  font-size: 2.8rem; 
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  margin-bottom: 1rem;
}

.hero-subtitle { font-size: 1.05rem; color: #f1f5f9; margin-bottom: 2rem; line-height: 1.6; }

/* ???????*/
.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.hero-actions .btn-ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.hero-tags span { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255,255,255,0.2); color: #ffffff; }

.hero-content { 
  position: relative; 
  z-index: 2; 
  max-width: 720px; 
  margin: 0 auto;
  display: block; 
}
  display: flex;
  gap: 30px;
  padding: 40px 0;
  align-items: flex-start;
  position: relative;
}
.hero-left, .feature-main { flex: 1; transition: all 0.3s ease; }
.hero-right { width: 440px; }

/* ??????????????? */
.tool-active .feature-main {
  margin-right: 470px;
}

/* Tool Container????????????? */
.tool-container { 
  background: #ffffff; 
  border-radius: 16px; 
  border: 1px solid #e2e8f0; 
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); 
  position: absolute; 
  right: 0; 
  top: 40px; 
  width: 440px;
  z-index: 100;
  max-height: none; /* ???? */
  overflow: visible; 
}

.tool-header { 
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%); 
  color: white; 
  padding: 14px 20px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  border-radius: 16px 16px 0 0;
}
.tool-header h3 { margin: 0; font-size: 15px; font-weight: 600; }
.tool-close { background: rgba(255,255,255,0.1); border: none; color: #f8fafc; font-size: 11px; padding: 4px 10px; border-radius: 4px; cursor: pointer; }
.tool-close:hover { background: rgba(255,255,255,0.2); }

.tool-body { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.tool-result { padding: 0 20px 30px; }

/* ????????*/
@keyframes gear-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes light-scan {
  0% { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: translateX(200%) skewX(-15deg); opacity: 0; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* --- ???????? --- */
@keyframes path-draw {
  0% { stroke-dashoffset: 1000; opacity: 0; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.8; }
}

@keyframes data-float {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.4; }
  80% { opacity: 0.4; }
  100% { transform: translateY(-100px); opacity: 0; }
}

@keyframes neon-flicker {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 5px #3b82f6); }
  50% { opacity: 0.7; filter: drop-shadow(0 0 15px #2563eb); }
}

@keyframes laser-sweep {
  0% { left: -100%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 200%; opacity: 0; }
}

/* Hero Section ????(?????????? */
.hero {
  position: relative;
  /* ??????????????????????*/
  background-color: #0f172a;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.5)),
    url('images/main.png');
  background-size: cover;      /* ??????????? */
  background-position: center;   /* ???????? */
  background-repeat: no-repeat;

  width: 100%;
  margin: 0;
  min-height: 330px;           /* ????????????????1/5 */
  overflow: hidden;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 2px solid #1e40af;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ???? */
.tech-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

/* ???? */
@keyframes float-drift {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  20% { opacity: 0.6; }
  50% { transform: translateY(-50px) translateX(20px) scale(1.2); opacity: 0.4; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-120px) translateX(-10px) scale(1); opacity: 0; }
}

/* ???????? */
.data-particle {
  position: absolute;
  background: #60a5fa;
  border-radius: 50%;
  filter: blur(1px);
  box-shadow: 0 0 10px #3b82f6, 0 0 20px rgba(37, 99, 235, 0.5);
  animation: float-drift 6s infinite ease-in-out;
}

.floating-gear {
  position: absolute;
  fill: none;
  stroke: rgba(96, 165, 250, 0.2);
  stroke-width: 1.2;
  stroke-dasharray: 5 10;
  animation: gear-rotate 40s infinite linear;
}

.car-wireframe-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  opacity: 0.35;
}

.car-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: path-draw 10s infinite alternate ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(2, 6, 23, 0.3); /* ????????*/
  padding: 20px 60px; /* ??????*/
  border-radius: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-left h1 {
  font-size: 2.8rem;
  background: linear-gradient(to bottom, #fff 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem; /* ?????? */
}

/* ????????? */
.hero-actions { display: flex; gap: 15px; justify-content: center; }
.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions .btn-ghost:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}
.hero-tags { display: flex; gap: 10px; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-tags span { background: rgba(255, 255, 255, 0.1); padding: 4px 14px; border-radius: 20px; font-size: 12px; border: 1px solid rgba(255,255,255,0.1); color: #f8fafc; backdrop-filter: blur(8px); }
.btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #f8fafc; padding: 10px 24px; font-size: 14px; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px; /* ?????????????? */
  margin: 0 auto;
  display: block;
}

.hero-left {
  width: 100%;
  padding: 0;
}

.hero-subtitle { font-size: 1rem; color: #cbd5e1; margin-bottom: 1rem; line-height: 1.6; }
.hero-left h1 { font-size: 2.4rem; color: #ffffff; text-shadow: 0 4px 15px rgba(0,0,0,0.4); }
.hero-tags { display: flex; gap: 12px; margin-top: 1.5rem; flex-wrap: wrap; justify-content: center; }
.hero-tags span { background: rgba(255, 255, 255, 0.1); padding: 6px 16px; border-radius: 20px; font-size: 13px; border: 1px solid rgba(255,255,255,0.15); color: #f8fafc; backdrop-filter: blur(8px); }
.btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #f8fafc; padding: 8px 24px; font-size: 14px; }
.btn-ghost:hover { background: #2563eb; border-color: #2563eb; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }
.carousel-static { background: white; border-radius: 20px; overflow: hidden; border: 1px solid #e2e8f0; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); width: 100%; }
.dynamic-render { 
  position: relative; 
  height: 160px; 
  width: 100%; 
  overflow: hidden; 
  background: #f0f7ff; /* ??????*/
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border-bottom: 1px solid #e2e8f0; 
}
.tech-grid { 
  position: absolute; 
  inset: 0; 
  background-size: 30px 30px; 
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  z-index: 1; 
}
.gear-container { position: relative; z-index: 2; width: 180px; height: 120px; }
.gear { position: absolute; filter: drop-shadow(0 0 5px rgba(37, 99, 235, 0.1)); }

/* ?????? */
.floating-chars { position: absolute; inset: 0; pointer-events: none; }
.char { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%) translate(var(--x), var(--y)); 
  font-size: var(--s); /* ????????*/
  font-weight: 900; 
  color: var(--accent); 
  opacity: 0.12; 
  font-family: "Microsoft YaHei", sans-serif;
  animation: float 4s ease-in-out infinite alternate; 
  animation-delay: var(--d); 
  user-select: none;
}

@keyframes float { 
  from { transform: translate(-50%, -50%) translate(var(--x), var(--y)); opacity: 0.1; } 
  to { transform: translate(-50%, -50%) translate(var(--x), calc(var(--y) - 15px)); opacity: 0.3; } 
}

/* ????????*/
.gear-1 { width: 50px; height: 50px; top: 10px; left: 30px; animation: rotateCW 8s linear infinite; }
.gear-2 { width: 45px; height: 45px; top: 38px; left: 72px; animation: rotateCCW 7.2s linear infinite; }
.gear-3 { width: 50px; height: 50px; top: 66px; left: 30px; animation: rotateCW 8s linear infinite; }

@keyframes rotateCW { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateCCW { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

.slide-caption { padding: 25px 30px; text-align: left; }
.slide-caption h3 { margin: 0 0 10px 0; font-size: 16px; font-weight: 700; color: var(--text); }
.btn-report { 
  margin-top: 15px; 
  background: #0f172a; 
  color: white; 
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-report:hover { background: #1e293b; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* ????????? (????) */
.report-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.report-modal-card {
  width: 90%;
  max-width: 600px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.report-modal-header {
  padding: 20px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.report-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.report-field {
  padding: 12px 16px;
  background: #f1f5f9;
  border-radius: 10px;
  border-left: 4px solid #3b82f6;
}
.report-modal-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ?????????? */
@media print {
  /* ???????*/
  body > * { display: none !important; }
  /* ????????*/
  #print-section { 
    display: block !important; 
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
  }
  #print-section * { visibility: visible !important; }
  
  /* ?????? */
  .status-badge, .print-report-wrapper {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  /* ????????????*/
  .report-card { border: 1px solid #e2e8f0 !important; background: #fff !important; }
  .report-item { border-left: 3px solid #cbd5e1 !important; margin-bottom: 10px !important; page-break-inside: avoid; }
  .report-val-group { font-size: 13px !important; }
}

#print-section { display: none; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: white; padding: 20px; border-radius: 16px; border: 1px solid #e2e8f0; transition: all 0.3s ease; }
.std-select-group { margin-top: 15px; display: flex; gap: 8px; flex-wrap: wrap; }
.std-select-btn { padding: 6px 12px; border-radius: 6px; border: 1px solid #cbd5e1; background: white; cursor: pointer; font-size: 12px; }
.active-btn { border-color: var(--accent); background: #eff6ff; color: var(--accent); font-weight: 600; }

.tool-section-title { font-size: 11px; text-transform: uppercase; color: #64748b; font-weight: 700; margin: 10px 0 5px; display: flex; align-items: center; gap: 6px; }
.tool-section-title::after { content: ""; flex: 1; height: 1px; background: #f1f5f9; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group label { display: block; font-size: 12px; color: #475569; margin-bottom: 4px; }
.form-group input, .form-group select { width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; padding: 8px 12px; font-size: 13px; border-radius: 6px; box-sizing: border-box; }

/* Report Styles */
.report-card { background: #ffffff; border-radius: 8px; padding: 10px 14px; border: 1px solid #94a3b8; margin-top: 8px; }
.report-item { margin-bottom: 6px; padding: 6px 8px; background: #f8fafc; border-radius: 6px; border-left: 3px solid #cbd5e1; }
.report-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; }
.report-val-group { display: flex; gap: 15px; font-family: monospace; font-size: 15px; color: #1e293b; }
.status-badge { font-size: 9px; padding: 1px 4px; border-radius: 3px; font-weight: 900; }
.status-ok { background: #dcfce7; color: #15803d; }
.status-error { background: #fee2e2; color: #b91c1c; }
.text-error { color: #b91c1c; font-weight: bold; }
.text-success { color: #15803d; font-weight: bold; }

/* Articles */
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; display: flex; flex-direction: column; }
.article-thumb { height: 100px; display: flex; align-items: center; justify-content: center; }
.article-content { padding: 18px; }

.tool-sidebar-placeholder { display: none; width: 440px; height: 0; }

/* Follow & Contact */
.follow-container { display: flex; align-items: center; gap: 60px; background: #1e293b; padding: 40px; border-radius: 24px; color: white; }
.qr-card { background: white; padding: 15px; border-radius: 16px; width: 160px; text-align: center; }
.qr-image { width: 130px; height: 130px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { background: white; padding: 30px; border-radius: 20px; border: 1px solid #e2e8f0; }

.site-footer { background: #1e293b; color: #94a3b8; padding: 40px 0; }

@media (max-width: 1100px) {
  .hero-content, .feature-layout, .contact-layout { flex-direction: column; grid-template-columns: 1fr; }
  .tool-active .feature-main { margin-right: 0; }
  .tool-container { position: static; width: 100%; margin-top: 20px; }
}

/* ??/?????? */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10005;
}

.login-card {
  background: white;
  width: 90%;
  max-width: 400px;
  padding: 30px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
}

.login-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 2px solid #f1f5f9;
}

.login-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s;
}

.login-tab.active {
  color: #2563eb;
  border-bottom: 2px solid #2563eb;
  margin-bottom: -2px;
}

.auth-form .input-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  margin-bottom: 8px;
}

.auth-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s;
}

.auth-form input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-status-msg {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
  min-height: 20px;
}

.full-width {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
}
/* ??????????????*/
@keyframes icon-pulse {
  0% { transform: scale(1); opacity: 0.6; filter: drop-shadow(0 0 0px #6366f1); }
  50% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 8px #6366f1); }
  100% { transform: scale(1); opacity: 0.6; filter: drop-shadow(0 0 0px #6366f1); }
}

#knowledge-search:focus + .search-icon-anim,
.search-box-v3:focus-within .search-icon-anim {
  animation: icon-pulse 1.5s infinite ease-in-out;
  color: #6366f1;
}

/* ???????? */
.lab-node {
  fill: #1e293b;
  stroke: #6366f1;
  stroke-width: 2;
  transition: all 0.3s;
}
.lab-node:hover {
  fill: #334155;
  stroke: #a855f7;
}
.lab-line {
  stroke: rgba(99, 102, 241, 0.4);
  stroke-width: 2;
  stroke-dasharray: 5,5;
  animation: dash-move 20s linear infinite;
}
@keyframes dash-move {
  to { stroke-dashoffset: -100; }
}
/* ?????? */
.main-layout-wrapper {
  display: flex;
  min-height: 100vh;
  gap: 20px;
  padding: 20px;
  background: #0f172a;
}

/* ?????? */
.sidebar-command-center {
  width: 280px;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  height: calc(100vh - 40px);
  position: sticky;
  top: 20px;
  overflow-y: auto;
  flex-shrink: 0;
}

.sidebar-header {
  font-size: 18px;
  font-weight: bold;
  color: #6366f1;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

/* ?????? */
.nav-category {
  margin-bottom: 15px;
}

.category-title, .sub-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #e2e8f0;
  transition: all 0.2s;
  font-weight: 600;
}

.category-title:hover, .sub-title:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.category-content, .sub-content {
  display: none;
  padding-left: 15px;
  margin-top: 5px;
  border-left: 1px dashed rgba(99, 102, 241, 0.3);
}

.sub-title {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 5px;
}

.category-content a, .sub-content a {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.category-content a:hover, .sub-content a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding-left: 18px;
}

.arrow { font-size: 10px; opacity: 0.5; transition: transform 0.3s; }
.nav-category.active > .category-title .arrow,
.nav-sub-category.active > .sub-title .arrow { transform: rotate(180deg); }

/* ?????? */
.main-content-container {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1024px) {
  .main-layout-wrapper { flex-direction: column; }
  .sidebar-command-center { width: 100%; height: auto; position: relative; top: 0; }
}
/* ????????????*/
body {
  background-color: #f8fafc !important;
  color: #1e293b !important;
}

/* ?????????????*/
.main-layout-wrapper {
  display: flex;
  position: relative;
  gap: 0;
  padding: 0;
  background: transparent;
  max-width: 1400px;
  margin: 0 auto;
}

/* ??????????????? */
.sidebar-command-center {
  width: 220px; /* ???? */
  min-width: 160px;
  max-width: 450px;
  background: white;
  border-right: 1px solid #e2e8f0;
  height: calc(100vh - 100px);
  position: sticky;
  top: 20px;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 15px;
  border-radius: 0 16px 16px 0;
  box-shadow: 10px 0 30px rgba(0,0,0,0.02);
}

/* ????*/
.resizer-handle {
  width: 6px;
  cursor: col-resize;
  background: transparent;
  transition: background 0.3s;
  z-index: 150;
  flex-shrink: 0;
}
.resizer-handle:hover, .resizer-handle.resizing {
  background: rgba(99, 102, 241, 0.2);
}

/* ??????????*/
.category-title, .sub-title {
  color: #475569 !important;
  background: #f1f5f9 !important;
  margin-top: 8px;
}
.category-title:hover, .sub-title:hover {
  background: #e2e8f0 !important;
  color: #6366f1 !important;
}
.category-content a, .sub-content a {
  color: #64748b !important;
  border-left: 2px solid transparent;
}
.category-content a:hover, .sub-content a:hover {
  color: #6366f1 !important;
  background: #f8fafc !important;
  border-left: 2px solid #6366f1;
}

/* ??????*/
.main-content-container {
  flex: 1;
  padding: 0 30px;
  min-width: 0;
}

/* ???????? */
.sidebar-command-center::-webkit-scrollbar { width: 4px; }
.sidebar-command-center::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }
/* ??????????????*/
.main-layout-wrapper {
  display: flex;
  position: relative;
  gap: 0;
  padding: 0 20px 0 15px !important; /* ?????? */
  max-width: 100% !important; 
  margin: 0 !important;
}

/* ????????*/
.sidebar-command-center {
  width: 220px;
  min-width: 160px;
  max-width: 450px;
  background: white;
  border-right: 1px solid #e2e8f0;
  border-left: 1px solid #f1f5f9;
  /* ?? top ???????????? */
  position: sticky;
  top: 40px; 
  height: calc(100vh - 60px);
  z-index: 100;
  overflow-y: auto;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.02);
  margin-top: 20px; /* ?????????????? */
}

/* ?????????????? */
.main-content-container {
  flex: 1;
  padding: 0 40px;
  min-width: 0;
}

/* ???????? */
.resizer-handle {
  width: 8px;
  background: transparent;
  cursor: col-resize;
  z-index: 150;
}
/* ???????? */
.sidebar-command-center {
  background: rgba(255, 255, 255, 0.6) !important; /* ????? */
  backdrop-filter: blur(20px) saturate(180%) !important; /* ????????*/
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3) !important; /* ?????? */
  border-radius: 20px !important;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07) !important; /* ??????*/
  padding: 20px !important;
  margin-top: 25px !important;
}

.sidebar-header {
  color: #4f46e5 !important;
  font-family: 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1) !important;
  margin-bottom: 25px !important;
}

/* ?????? */
.category-title {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.05), transparent) !important;
  border-left: 3px solid transparent;
  padding: 12px 15px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.category-title:hover {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent) !important;
  border-left: 3px solid #6366f1;
  transform: translateX(5px);
}

/* ?????? */
.sub-title {
  color: #64748b !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  margin-top: 10px !important;
}

.sub-title:hover {
  background: rgba(255, 255, 255, 0.4) !important;
  color: #4f46e5 !important;
}

/* ???????*/
.category-content a, .sub-content a {
  position: relative;
  padding: 10px 15px !important;
  margin: 4px 0 !important;
  border-radius: 8px !important;
  color: #475569 !important;
  font-weight: 500 !important;
}

.category-content a:hover, .sub-content a:hover {
  background: #ffffff !important;
  color: #6366f1 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
  transform: scale(1.02);
}

/* ???????? */
.resizer-handle {
  width: 10px !important;
  background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.05), transparent);
}
.resizer-handle:hover {
  background: rgba(99, 102, 241, 0.1) !important;
}
/* ???????????? */
.sidebar-command-center {
  background: rgba(15, 23, 42, 0.85) !important; /* ??????*/
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(99, 102, 241, 0.4) !important;
  border-radius: 0 24px 24px 0 !important;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(99, 102, 241, 0.1) !important;
  position: relative;
  overflow: hidden !important;
}

/* ???AI ????*/
.sidebar-command-center::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.2), transparent);
  animation: ai-scan 4s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes ai-scan {
  0% { top: -100%; }
  100% { top: 200%; }
}

/* ????????????*/
.sidebar-nav {
  position: relative;
  z-index: 2;
  background-image: radial-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.sidebar-header {
  color: #818cf8 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px !important;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  border-bottom: 1px solid rgba(99, 102, 241, 0.3) !important;
}

/* ?????? */
.category-title {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #e2e8f0 !important;
  font-family: 'Orbitron', sans-serif; /* ????????????? sans-serif */
  padding: 14px !important;
  clip-path: polygon(0 0, 95% 0, 100% 20%, 100% 100%, 5% 100%, 0 80%); /* ?????? */
}

.category-title:hover {
  background: rgba(99, 102, 241, 0.15) !important;
  border-color: #6366f1 !important;
  color: #fff !important;
  text-shadow: 0 0 8px rgba(99, 102, 241, 0.8);
}

/* ??????????*/
.category-content a, .sub-content a {
  color: #94a3b8 !important;
  transition: all 0.3s !important;
  border-left: 2px solid rgba(99, 102, 241, 0.2) !important;
  margin-left: 10px !important;
}

.category-content a:hover, .sub-content a:hover {
  color: #60a5fa !important;
  background: rgba(99, 102, 241, 0.1) !important;
  border-left: 2px solid #60a5fa !important;
  padding-left: 20px !important;
}

/* ????????? */
.nav-category.active .category-title::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ?????RGB????*/
.resizer-handle {
  background: linear-gradient(to bottom, #6366f1, #a855f7, #6366f1) !important;
  opacity: 0.1;
  width: 4px !important;
}
.resizer-handle:hover {
  opacity: 0.6;
  box-shadow: 0 0 15px #6366f1;
}
/* ?????????? */
.main-layout-wrapper {
  margin-top: 20px !important; /* ???? = 20px */
  padding-left: 20px !important; /* ???? = 20px (????) */
}

.sidebar-command-center {
  /* ?????????? */
  background: rgba(248, 250, 252, 0.8) !important; 
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  border-radius: 16px !important;
  
  /* ?????????????? */
  position: sticky !important;
  top: 80px !important; /* ?? top ??????????? */
  height: calc(100vh - 100px) !important;
  
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

/* ??????????????*/
.sidebar-command-center::before {
  background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.1), transparent) !important;
}

/* ????????????? */
.category-title {
  background: rgba(255, 255, 255, 0.5) !important;
  color: #475569 !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.category-title:hover {
  background: #ffffff !important;
  color: #6366f1 !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1) !important;
}

.sidebar-header {
  color: #6366f1 !important;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1) !important;
  font-size: 13px !important;
}

.category-content a {
  color: #64748b !important;
}

.category-content a:hover {
  color: #6366f1 !important;
  background: rgba(99, 102, 241, 0.05) !important;
}
/* ??????????*/
.hero {
  padding-bottom: 0px !important; /* ???? Hero ????*/
}

.main-layout-wrapper {
  margin-top: 0 !important; /* ????????*/
  padding-top: 0 !important;
}

.sidebar-command-center {
  margin-top: 0 !important; /* ?????????? */
  top: 20px !important; /* ?????????? 20px */
  height: calc(100vh - 40px) !important;
}

/* ????????????*/
.main-content-container {
  padding-top: 0 !important;
}

#features {
  padding-top: 0 !important; /* ????????????padding */
  margin-top: -10px !important; /* ??????????????*/
}

.feature-layout {
  padding-top: 10px !important; /* ???????? */
}

/* ??????????????????????*/
.sidebar-command-center {
  border-radius: 0 16px 16px 0 !important; /* ????????????*/
  box-shadow: 2px 0 15px rgba(0,0,0,0.02) !important;
}
/* ???????? */
.site-header {
  z-index: 1000 !important; /* ??????????*/
  position: sticky !important;
  top: 0;
}

.sidebar-command-center {
  /* ????????????????100px ????*/
  /* ????????????????????*/
  position: sticky !important;
  top: 100px !important; 
  
  /* ????????????????*/
  height: calc(100vh - 120px) !important;
}

/* ?????????????????? */
.main-layout-wrapper {
  margin-top: 20px !important;
}
/* ?????????? */
.nav-profile-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
  color: white !important;
  padding: 8px 22px !important;
  border-radius: 50px !important; /* ???? */
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.nav-profile-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5) !important;
  filter: brightness(1.1);
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.nav-profile-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ???????? */
.nav-profile-btn i, .nav-profile-btn span {
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
}
/* ????????????? */
.feature-layout {
  display: flex;
  flex-direction: column; /* ?????????????*/
  gap: 30px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

/* ????????????????????????*/
.feature-layout.tool-active {
  flex-direction: row !important;
  align-items: flex-start;
}

/* ???????? */
.feature-layout.tool-active .features-grid {
  width: 320px !important; /* ??????????????????*/
  grid-template-columns: 1fr !important; /* ???????? */
  flex-shrink: 0;
}

/* ???????? */
.feature-layout.tool-active .tool-container {
  flex: 1; /* ????????????*/
  margin-top: 0 !important;
  animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ??????????????????? */
@media (max-width: 900px) {
  .feature-layout.tool-active {
    flex-direction: column !important;
  }
  .feature-layout.tool-active .features-grid {
    width: 100% !important;
  }
}
/* ?????????? */
.feature-layout.tool-active .features-grid {
  width: 550px !important; /* ????????????2 ??*/
  grid-template-columns: repeat(2, 1fr) !important; /* ??????2 ??? */
  gap: 15px !important;
  flex-shrink: 0;
}

/* ???????????? */
.feature-layout.tool-active .tool-container {
  flex: 1;
  min-width: 450px; /* ?????????? */
  margin-left: 30px;
}

/* ????????? */
@media (max-width: 1200px) {
  .feature-layout.tool-active .features-grid {
    width: 300px !important;
    grid-template-columns: 1fr !important; /* ???????????1 ??*/
  }
}
/* ??????????????*/
.feature-layout.tool-active .features-grid {
  width: 780px !important; /* ???????? 780px?????? 2 ??? */
  grid-template-columns: repeat(2, 1fr) !important; 
  gap: 20px !important;
  flex-shrink: 0;
}

.feature-layout.tool-active .tool-container {
  flex: 1;
  min-width: 400px;
  margin-left: 20px; /* ?????? */
  box-shadow: -10px 0 30px rgba(0,0,0,0.05); /* ?????????? */
}

/* ?????????????????? */
.main-content-container {
  padding: 0 20px !important;
}
/* ?????????? */
.feature-layout.tool-active .features-grid {
  width: 720px !important; /* ??????????2??????*/
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 15px !important;
  flex-shrink: 0;
}

.feature-layout.tool-active .tool-container {
  flex: 1;
  min-width: 420px;
  margin-left: 25px; /* ???????????? */
  margin-top: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

/* ??????????????*/
.sidebar-command-center {
  width: 200px !important;
}
/* ???????????????????? */
.tool-container {
  scroll-margin-top: 110px !important; /* ?????????? + 20px ???? */
}

/* ????????*/
.tool-header h3 {
  color: var(--accent) !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
}

/* ????????? + GB ???? */
#main-knowledge-graph {
  scroll-margin-top: 100px;
}
.kg-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.kg-card-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kg-card-head-left .card-icon {
  margin-bottom: 0;
}
.kg-card-head-left h3 {
  margin: 0;
}
.kg-collapse-btn {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.12);
  color: #4338ca;
  cursor: pointer;
}
.kg-collapse-btn:hover {
  background: rgba(99, 102, 241, 0.2);
}
.knowledge-card.kg-collapsed #knowledge-graph-body {
  display: none !important;
}
.kb-search-results {
  max-height: 280px;
  overflow-y: auto;
  text-align: left;
}
.kb-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kb-file-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  color: #1e293b;
}
.kb-file-item:last-child {
  border-bottom: none;
}
.kb-file-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kb-file-size {
  color: #64748b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.kb-dl-btn {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  white-space: nowrap;
}
.kb-dl-btn:hover {
  background: #1d4ed8;
}

/* ?????????????????????????????caret ??????????? */
.kg-search-box .kg-search-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 12px 10px;
  border: none;
  background: transparent;
  color: #0f172a;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  caret-color: #2563eb;
}
.kg-search-box .kg-search-input::placeholder {
  color: #94a3b8;
}
.kg-search-box:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
.kg-search-box:focus-within .kg-search-icon {
  opacity: 1;
  animation: kg-caret-hint 1s ease-in-out infinite;
}
@keyframes kg-caret-hint {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}
