/* Tailwind CSS - 灵感渲染页面专用样式 */

/* 基础重置 */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* 自定义颜色 */
.text-primary { color: #3b82f6; }
.bg-primary { background-color: #3b82f6; }
.text-tech-purple { color: #8b5cf6; }
.bg-tech-purple { background-color: #8b5cf6; }
.text-tech-cyan { color: #06b6d4; }
.bg-tech-cyan { background-color: #06b6d4; }

/* 渐变背景 */
.gradient-text {
  background: linear-gradient(to right, #8b5cf6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-tech {
  background: linear-gradient(to right, #8b5cf6, #06b6d4);
}

/* 边框渐变 */
.border-gradient {
  border-image: linear-gradient(to right, #8b5cf6, #06b6d4) 1;
}

/* 阴影效果 */
.shadow-glow-purple {
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.shadow-glow-cyan {
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* 动画 */
@keyframes slideIn {
  0% { transform: translateX(-20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }
  50% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.8); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(-5%); }
  50% { transform: translateY(0); }
}

.animate-slide-in { animation: slideIn 0.5s ease-out; }
.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulseGlow 2s infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }

/* 毛玻璃效果 */
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

/* 过渡效果 */
.transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in-out { transition-timing-function: ease-in-out; }

/* Hover效果 */
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:text-gray-900:hover { color: #111827; }
.hover\:text-purple-500:hover { color: #a855f7; }
.hover\:text-yellow-500:hover { color: #eab308; }
.hover\:text-emerald-500:hover { color: #10b981; }
.hover\:text-orange-500:hover { color: #f97316; }
.hover\:text-indigo-500:hover { color: #6366f1; }
.hover\:bg-purple-50:hover { background-color: #faf5ff; }

/* Active效果 */
.active\:bg-gray-200:active { background-color: #e5e7eb; }

/* Focus效果 */
.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-purple-500:focus { --tw-ring-color: #a855f7; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* 背景透明度 */
.bg-white\/40 { background-color: rgba(255, 255, 255, 0.4); }
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6); }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-gray-50\/50 { background-color: rgba(249, 250, 251, 0.5); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-tech-purple\/20 { border-color: rgba(139, 92, 246, 0.2); }

/* 阴影 */
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.shadow-\[0_4px_20px_rgb\(0\,0\,0\,0\.05\)\] { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }

/* 圆角 */
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }

/* Flex布局 */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Grid布局 */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-span-full { grid-column: 1 / -1; }

/* 间距 */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* 内边距 */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

/* 外边距 */
.m-0 { margin: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.ml-2 { margin-left: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

/* 宽度和高度 */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-full { width: 100%; }
.w-fit { width: -moz-fit-content; width: fit-content; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-px { height: 1px; }
.min-h-screen { min-height: 100vh; }

/* 最大宽度 */
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

/* 文字大小 */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

/* 字体粗细 */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* 文字颜色 */
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-white { color: #ffffff; }
.text-purple-400 { color: #c084fc; }
.text-purple-500 { color: #a855f7; }
.text-purple-600 { color: #9333ea; }
.text-purple-700 { color: #7e22ce; }
.text-blue-400 { color: #60a5fa; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-cyan-400 { color: #22d3ee; }
.text-cyan-500 { color: #06b6d4; }
.text-cyan-600 { color: #0891b2; }
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-green-400 { color: #4ade80; }
.text-green-500 { color: #22c55e; }
.text-orange-400 { color: #fb923c; }
.text-orange-500 { color: #f97316; }
.text-pink-500 { color: #ec4899; }
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
.text-indigo-400 { color: #818cf8; }
.text-indigo-500 { color: #6366f1; }
.text-yellow-500 { color: #eab308; }

/* 背景颜色 */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-purple-400 { background-color: #c084fc; }
.bg-purple-500 { background-color: #a855f7; }
.bg-purple-600 { background-color: #9333ea; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.bg-cyan-200 { background-color: #a5f3fc; }
.bg-cyan-500 { background-color: #06b6d4; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-500 { background-color: #ef4444; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-500 { background-color: #22c55e; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-500 { background-color: #f97316; }
.bg-amber-400 { background-color: #fbbf24; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-cyan-200 { --tw-gradient-from: #a5f3fc; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(165, 243, 252, 0)); }
.to-purple-200 { --tw-gradient-to: #e9d5ff; }
.from-gray-50 { --tw-gradient-from: #f9fafb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 250, 251, 0)); }
.to-gray-100 { --tw-gradient-to: #f3f4f6; }

/* 边框 */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-purple-200 { border-color: #e9d5ff; }
.border-purple-300 { border-color: #d8b4fe; }
.border-purple-500 { border-color: #a855f7; }
.border-purple-500\/20 { border-color: rgba(168, 85, 247, 0.2); }
.border-purple-500\/30 { border-color: rgba(168, 85, 247, 0.3); }
.border-red-200 { border-color: #fecaca; }
.border-green-200 { border-color: #bbf7d0; }
.border-green-500 { border-color: #22c55e; }
.border-transparent { border-color: transparent; }

/* 溢出 */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* 定位 */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.top-2 { top: 0.5rem; }
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.top-6 { top: 1.5rem; }
.right-0 { right: 0; }
.right-2 { right: 0.5rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.ml-20 { margin-left: 5rem; }
.ml-64 { margin-left: 16rem; }
.-mr-20 { margin-right: -5rem; }
.-mt-20 { margin-top: -5rem; }

/* 变换 */
.translate-x-0 { transform: translateX(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-y-0 { transform: translateY(0); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.rotate-0 { transform: rotate(0deg); }

/* 透明度 */
.opacity-0 { opacity: 0; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* 光标 */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }

/* 选择 */
.select-none { -webkit-user-select: none; user-select: none; }
.select-all { -webkit-user-select: all; user-select: all; }

/* 指针事件 */
.pointer-events-none { pointer-events: none; }

/* 模糊 */
.blur-3xl { --tw-blur: blur(64px); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); }

/* 行高 */
.leading-tight { line-height: 1.25; }
.leading-none { line-height: 1; }

/* 字间距 */
.tracking-wide { letter-spacing: 0.025em; }
.tracking-tight { letter-spacing: -0.025em; }

/* 文本对齐 */
.text-center { text-align: center; }
.text-right { text-align: right; }

/* 显示 */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* 响应式 */
@media (min-width: 768px) {
  .md\:w-\[420px\] { width: 420px; }
  .md\:flex-row { flex-direction: row; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:space-y-8 > * + * { margin-top: 2rem; }
  .md\:space-y-10 > * + * { margin-top: 2.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:hidden { display: none; }
  .md\:pb-8 { padding-bottom: 2rem; }
  .md\:border-r { border-right-width: 1px; }
  .md\:w-64 { width: 16rem; }
}

@media (min-width: 1024px) {
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
}

/* 表单元素 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: #ffffff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

/* 按钮 */
button {
  cursor: pointer;
  border: none;
  background: none;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 图片 */
img {
  max-width: 100%;
  height: auto;
}

/* 链接 */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

/* 玻璃效果工具类 */
.glass-select {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border-color: #e5e7eb;
  color: #1f2937;
  transition: background-color 0.15s;
}
.glass-select:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.glass-button {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid #e5e7eb;
  color: #374151;
  transition: all 0.15s;
}
.glass-button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.glass-button:active {
  transform: scale(0.95);
}

.glass-button-primary {
  background: linear-gradient(to right, #8b5cf6, #06b6d4);
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.15s;
}
.glass-button-primary:hover {
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}
.glass-button-primary:active {
  transform: scale(0.95);
}

.glass-input {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  border-color: #e5e7eb;
  color: #1f2937;
  transition: background-color 0.15s;
}
.glass-input::placeholder {
  color: #9ca3af;
}
.glass-input:focus {
  background-color: rgba(255, 255, 255, 0.6);
}

.glass-card {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.glass-effect-dark {
  background-color: rgba(17, 24, 39, 0.05);
  backdrop-filter: blur(4px);
}

.hover-float:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.transition-smooth {
  transition: all 0.3s ease-in-out;
}

/* 2026 首页视觉升级：仅覆盖首页模板的样式，不改业务交互 */
.home-redesign {
  --home-ink: #0f172a;
  --home-muted: #64748b;
  --home-line: rgba(148, 163, 184, 0.22);
  --home-panel: rgba(255, 255, 255, 0.78);
  --home-panel-strong: rgba(255, 255, 255, 0.92);
  --home-blue: #2563eb;
  --home-cyan: #06b6d4;
  --home-emerald: #10b981;
  --home-violet: #7c3aed;
  --home-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --home-shadow-hover: 0 24px 70px rgba(37, 99, 235, 0.16);
  color: var(--home-ink);
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(239, 246, 255, 0.94) 42%, rgba(240, 253, 250, 0.92) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.home-redesign .home-bg,
.home-redesign .home-bg > div {
  display: none !important;
}

.home-redesign .home-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(248, 250, 252, 0.14)),
    radial-gradient(circle at 8% 8%, rgba(37, 99, 235, 0.08), transparent 32%),
    radial-gradient(circle at 92% 28%, rgba(16, 185, 129, 0.08), transparent 34%);
  scroll-behavior: smooth;
}

.home-desktop .home-main {
  margin-left: 0 !important;
  padding: 112px 48px 40px !important;
}

.home-desktop .home-sidebar {
  left: 50% !important;
  top: 18px !important;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 48px)) !important;
  height: 68px !important;
  padding: 10px 14px !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.10) !important;
}

.home-desktop .home-sidebar > div {
  flex: 1 1 auto !important;
  width: auto !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
}

.home-desktop .home-sidebar button {
  width: auto !important;
  height: 48px !important;
  min-width: 82px;
  margin: 0 !important;
  padding: 0 14px !important;
  flex-direction: row !important;
  gap: 8px !important;
  border-radius: 8px !important;
}

.home-desktop .home-sidebar button svg {
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
}

.home-desktop .home-sidebar button span {
  white-space: nowrap;
}

.home-desktop .home-sidebar button:first-child {
  background: linear-gradient(135deg, var(--home-blue), var(--home-cyan)) !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25) !important;
}

.home-desktop .home-sidebar button:hover {
  transform: translateY(-2px) !important;
}

.home-hero {
  align-items: center !important;
  gap: 24px;
  margin-bottom: 34px !important;
  padding: 34px 36px !important;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(241, 245, 249, 0.72)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08), rgba(16, 185, 129, 0.08));
  box-shadow: var(--home-shadow);
}

.home-hero h1 {
  margin-bottom: 10px !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
}

.home-hero p {
  color: var(--home-muted) !important;
  font-size: 15px;
}

.home-hero button,
.home-redesign button {
  border-radius: 8px !important;
}

.home-section-title {
  margin-top: 4px;
  margin-bottom: 16px !important;
}

.home-section-title > div:first-child {
  width: 3px !important;
  height: 20px !important;
  background: linear-gradient(180deg, var(--home-blue), var(--home-emerald)) !important;
  box-shadow: none !important;
}

.home-section-title h2 {
  font-size: 18px !important;
  color: var(--home-ink) !important;
}

.home-skill-grid {
  gap: 14px !important;
}

.home-skill-grid > .group,
.home-skill-card {
  min-height: 148px;
  padding: 18px !important;
  border-radius: 8px !important;
  border: 1px solid var(--home-line) !important;
  background: var(--home-panel-strong) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055) !important;
  transform: translateZ(0);
}

.home-skill-grid > .group:hover,
.home-skill-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--home-shadow-hover) !important;
  border-color: rgba(37, 99, 235, 0.28) !important;
}

.home-skill-grid > .group::after,
.home-skill-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--home-blue), var(--home-cyan), var(--home-emerald));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.home-skill-grid > .group:hover::after,
.home-skill-card:hover::after {
  opacity: 1;
}

.home-skill-grid > .group > div:nth-child(2),
.home-skill-icon {
  width: 42px !important;
  height: 42px !important;
  margin-bottom: 14px !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 10px 22px rgba(37, 99, 235, 0.10) !important;
}

.home-skill-grid h3,
.home-skill-card h3 {
  font-size: 15px !important;
  line-height: 1.35 !important;
  margin-bottom: 6px !important;
  color: #111827 !important;
}

.home-skill-grid p,
.home-skill-card p {
  font-size: 12px !important;
  line-height: 1.55 !important;
  color: var(--home-muted) !important;
}

.home-skill-grid .text-\[10px\],
.home-skill-card .text-\[10px\] {
  font-size: 12px !important;
}

.home-gallery-title {
  margin-top: 42px !important;
}

.home-gallery-grid {
  gap: 16px !important;
}

.home-gallery-grid .waterfall-item,
.home-gallery-card {
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,0.68);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
}

.home-gallery-grid .waterfall-item:hover,
.home-gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16) !important;
}

.home-footer {
  color: #94a3b8 !important;
}

.home-redesign .pagination li a,
.home-redesign .pagination li span {
  border-radius: 8px !important;
  border-color: var(--home-line) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.home-mobile .home-main {
  padding: 16px 14px 104px !important;
}

.home-mobile .home-hero {
  padding: 22px 18px !important;
  margin-bottom: 24px !important;
}

.home-mobile .home-hero h1 {
  font-size: 30px !important;
}

.home-mobile .home-hero > div:last-child {
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px !important;
}

.home-mobile .home-hero button {
  justify-content: center;
  width: 100%;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.home-mobile .home-skill-grid {
  gap: 10px !important;
}

.home-mobile .home-skill-grid > .group {
  min-height: 126px;
  padding: 14px !important;
}

.home-mobile .home-mobile-nav > div {
  width: min(100% - 18px, 520px);
  margin: 0 auto 8px;
  height: 66px !important;
  border: 1px solid rgba(255,255,255,0.72) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.90) !important;
  box-shadow: 0 -10px 35px rgba(15, 23, 42, 0.13) !important;
}

.home-mobile .home-mobile-nav button,
.home-mobile .home-mobile-nav .relative.-top-5 button {
  border-radius: 8px !important;
}

@media (max-width: 900px) {
  .home-desktop .home-sidebar {
    width: calc(100vw - 24px) !important;
    top: 10px !important;
    height: 62px !important;
    overflow-x: auto;
    justify-content: flex-start !important;
  }

  .home-desktop .home-sidebar button {
    min-width: 72px;
    padding: 0 12px !important;
  }

  .home-desktop .home-main {
    padding: 92px 16px 32px !important;
  }

  .home-hero {
    padding: 24px 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-redesign *,
  .home-redesign *::before,
  .home-redesign *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
