/* Custom CSS for 领客出海 */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Animation classes */
.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
  animation: fadeInRight 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Custom card styles */
.service-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #2563eb;
}

.case-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.case-card:hover {
  transform: scale(1.02);
}

.case-card .case-image {
  transition: transform 0.3s ease;
}

.case-card:hover .case-image {
  transform: scale(1.1);
}

/* Navigation styles */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero section styles */
.hero-bg {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

/* Stats counter animation */
.stat-number {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Form styles */
.form-input {
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Responsive design enhancements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .nav-mobile {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Social media icons */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px) scale(1.1);
}

/* Platform specific colors */
.platform-tiktok {
  background: linear-gradient(135deg, #ff0050 0%, #000000 100%);
}

.platform-instagram {
  background: linear-gradient(135deg, #f93188 0%, #8338ec 50%, #3b82f6 100%);
}

.platform-facebook {
  background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
}

.platform-youtube {
  background: linear-gradient(135deg, #ff0000 0%, #ff4444 100%);
}

/* Contact form validation styles */
.form-error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-success {
  border-color: #10b981;
  background-color: #f0fdf4;
}

/* Google Sign-In button customization */
.g_id_signin {
  display: flex !important;
  justify-content: center !important;
}

/* Performance optimizations */
.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .bg-primary {
    background: #2563eb !important;
    -webkit-print-color-adjust: exact;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.focus\:ring-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.5);
}

/* Custom utility classes */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cookie consent banner (if needed) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success message */
.success-message {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.success-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* Error message */
.error-message {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.error-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* WeChat Modal Styles */
.wechat-modal {
  backdrop-filter: blur(4px);
  z-index: 9999;
}

.wechat-modal.show {
  opacity: 1;
}

.wechat-modal.show .wechat-modal-content {
  transform: scale(1);
}

.wechat-modal-content {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid #e5e7eb;
}

/* WeChat specific animations */
@keyframes wechat-bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -5px, 0);
  }
  70% {
    transform: translate3d(0, -3px, 0);
  }
  90% {
    transform: translate3d(0, -1px, 0);
  }
}

.wechat-bounce {
  animation: wechat-bounce 1s ease-in-out;
}

/* WeChat button styles */
.wechat-btn {
  background: linear-gradient(135deg, #07c160 0%, #00ae4d 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.wechat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(7, 193, 96, 0.3);
}

.wechat-btn:active {
  transform: translateY(0);
}

/* WeChat QR code placeholder animation */
@keyframes qr-loading {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.qr-placeholder {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
  background-size: 200px 100%;
  animation: qr-loading 1.5s infinite;
}

/* WeChat online status indicator */
.wechat-online-indicator {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* WeChat contact card enhancement */
.wechat-contact-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #e6ffed 100%);
  border: 2px solid #bbf7d0;
  transition: all 0.3s ease;
}

.wechat-contact-card:hover {
  border-color: #4ade80;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}

/* Mobile optimization for WeChat modal */
@media (max-width: 768px) {
  .wechat-modal-content {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
  
  .wechat-modal .w-48 {
    width: 10rem;
    height: 10rem;
  }
}

/* WeChat theme colors */
:root {
  --wechat-green: #07c160;
  --wechat-green-dark: #00ae4d;
  --wechat-green-light: #e6ffed;
  --telegram-blue: #0088cc;
  --telegram-blue-dark: #0077b6;
  --telegram-blue-light: #e6f4ff;
}

/* Telegram Modal Styles */
.telegram-modal {
  backdrop-filter: blur(4px);
  z-index: 9999;
}

.telegram-modal.show {
  opacity: 1;
}

.telegram-modal.show .telegram-modal-content {
  transform: scale(1);
}

.telegram-modal-content {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid #e5e7eb;
}

/* Telegram specific animations */
@keyframes telegram-slide {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.telegram-slide {
  animation: telegram-slide 0.5s ease-out;
}

/* Telegram button styles */
.telegram-btn {
  background: linear-gradient(135deg, #0088cc 0%, #0077b6 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.telegram-btn:active {
  transform: translateY(0);
}

/* Telegram contact card enhancement */
.telegram-contact-card {
  background: linear-gradient(135deg, #e6f4ff 0%, #cce7ff 100%);
  border: 2px solid #87ceeb;
  transition: all 0.3s ease;
}

.telegram-contact-card:hover {
  border-color: #0088cc;
  box-shadow: 0 4px 20px rgba(0, 136, 204, 0.15);
}

/* Telegram online status indicator */
.telegram-online-indicator {
  animation: telegram-pulse 2s infinite;
}

/* Telegram priority indicator styles */
.telegram-priority-badge {
  background: linear-gradient(45deg, #ff4444, #ff6666);
  animation: priority-pulse 2s infinite;
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

@keyframes priority-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Enhanced Telegram button with glow effect */
.telegram-btn-priority {
  background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
  box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
  position: relative;
  overflow: hidden;
}

.telegram-btn-priority::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.telegram-btn-priority:hover::before {
  left: 100%;
}

.telegram-btn-priority:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.5);
}

/* Special attention animation for Telegram elements */
.telegram-attention {
  animation: telegram-attention 3s infinite;
}

@keyframes telegram-attention {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.2);
  }
  25% {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
  }
  75% {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
  }
}

/* Telegram recommended label */
.telegram-recommended {
  background: linear-gradient(45deg, #ff4444, #ff6666);
  color: white;
  font-weight: bold;
  animation: recommended-glow 2s infinite alternate;
}

@keyframes recommended-glow {
  from {
    box-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
  }
  to {
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.8);
  }
}

/* Fire emoji animation */
.fire-emoji {
  display: inline-block;
  animation: fire-flicker 1.5s infinite alternate;
}

@keyframes fire-flicker {
  0% {
    transform: scale(1) rotate(-1deg);
  }
  25% {
    transform: scale(1.1) rotate(1deg);
  }
  50% {
    transform: scale(1.05) rotate(-0.5deg);
  }
  75% {
    transform: scale(1.15) rotate(0.5deg);
  }
  100% {
    transform: scale(1.1) rotate(0deg);
  }
}

/* Enhanced gradient for Telegram cards */
.telegram-gradient-bg {
  background: linear-gradient(135deg, #e6f4ff 0%, #b3e0ff 50%, #80ccff 100%);
}

/* Telegram status indicators with enhanced animation */
.telegram-status-online {
  background: linear-gradient(45deg, #00ff00, #66ff66);
  animation: status-online 2s infinite;
}

@keyframes status-online {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

@keyframes telegram-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    background-color: #0088cc;
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
    background-color: #0077b6;
  }
}

/* Telegram feature list styling */
.telegram-features {
  background: linear-gradient(135deg, #f8fcff 0%, #e6f4ff 100%);
  border-left: 4px solid #0088cc;
}

.telegram-features p {
  position: relative;
  padding-left: 1rem;
}

.telegram-features p::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0088cc;
  font-weight: bold;
}

/* Mobile optimization for Telegram modal */
@media (max-width: 768px) {
  .telegram-modal-content {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
  
  .telegram-slide {
    animation: telegram-slide-mobile 0.5s ease-out;
  }
}

@keyframes telegram-slide-mobile {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Combined contact buttons styling */
.contact-buttons-container {
  display: grid;
  gap: 0.75rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-btn-wechat {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #bbf7d0;
}

.contact-btn-wechat:hover {
  border-color: #4ade80;
}

.contact-btn-telegram {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
}

.contact-btn-telegram:hover {
  border-color: #3b82f6;
}

/* Icon pulse animation for active status */
.contact-icon-pulse {
  animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive grid for contact methods */
@media (min-width: 768px) {
  .contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Contact cards layout optimization */
.contact-cards-container {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-cards-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .contact-cards-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Equal height cards */
.contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-card-actions {
  margin-top: auto;
  padding-top: 1rem;
}

/* Enhanced form styling for contact form */
.contact-form-card {
  position: relative;
  transition: all 0.3s ease;
}

.contact-form-card:hover {
  transform: translateY(-2px);
}

.contact-form-suggestion {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-left: 4px solid #f39c12;
}

/* Contact priority indicators */
.contact-priority-1 {
  position: relative;
}

.contact-priority-1::before {
  content: '1';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: linear-gradient(45deg, #ff4757, #ff3742);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.contact-priority-2::before {
  content: '2';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: linear-gradient(45deg, #2ed573, #26d165);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(46, 213, 115, 0.3);
}

.contact-priority-3::before {
  content: '3';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: linear-gradient(45deg, #747d8c, #57606f);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(116, 125, 140, 0.3);
}

/* Contact form compact styling */
.contact-form-compact .form-group {
  margin-bottom: 1rem;
}

.contact-form-compact label {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.contact-form-compact input,
.contact-form-compact select,
.contact-form-compact textarea {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.contact-form-compact textarea {
  resize: vertical;
  min-height: 80px;
}

/* Enhanced contact info styling */
.contact-info-enhanced {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-item {
  padding: 1rem;
  border-radius: 0.5rem;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Working hours styling */
.working-hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.working-hours-item:last-child {
  border-bottom: none;
}

.working-hours-status {
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.status-available {
  background: #d4edda;
  color: #155724;
}

.status-closed {
  background: #f8d7da;
  color: #721c24;
}

/* Mobile optimization for contact cards */
@media (max-width: 767px) {
  .contact-cards-container {
    gap: 1.5rem;
  }
  
  .contact-card {
    margin-bottom: 0;
  }
  
  .contact-form-card {
    order: 3; /* Move form to bottom on mobile */
  }
  
  .contact-priority-1,
  .contact-priority-2,
  .contact-priority-3 {
    position: relative;
  }
  
  .contact-priority-1::before,
  .contact-priority-2::before,
  .contact-priority-3::before {
    display: none; /* Hide priority numbers on mobile */
  }
}

/* ===== 案例筛选样式 ===== */

/* 案例分类按钮样式 */
.category-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-btn.active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.category-btn:hover::before {
  left: 100%;
}

/* 案例卡片筛选动画 */
.case-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.case-card.filtering {
  pointer-events: none;
}

/* 案例网格布局优化 */
#casesContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  #casesContainer {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #casesContainer {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  #casesContainer {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 案例数字动画样式 */
.case-card .text-xl {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  transition: all 0.3s ease;
}

.case-card:hover .text-xl {
  transform: scale(1.1);
}

/* 案例分类标签栏响应式设计 */
@media (max-width: 768px) {
  .category-btn {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }
  
  .category-btn:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .category-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

/* 案例加载状态 */
.case-loading {
  opacity: 0.6;
  pointer-events: none;
}

.case-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 空状态样式 */
.cases-empty-state {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.cases-empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* 案例统计数字特效 */
@keyframes countUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.case-number-animate {
  animation: countUp 0.6s ease-out;
}

/* 案例卡片悬浮效果增强 */
.case-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.case-card:hover .text-primary {
  color: #1d4ed8 !important;
}

/* 分类标签特殊效果 */
.category-btn.active::after {
  content: '✓';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: checkmark-bounce 0.5s ease-out;
}

@keyframes checkmark-bounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 案例筛选时的遮罩效果 */
.cases-filtering-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cases-filtering-overlay.active {
  opacity: 1;
  pointer-events: all;
}