:root {
  --primary-color: #0f172a;
  --secondary-color: #3b82f6;
  --accent-color: #bae6fd;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  line-height: 1.6;
}

/* Header Styles */
.navbar {
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.75rem 1.25rem !important;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(59, 130, 246, 0.1);
}

.search-container {
  position: relative;
  width: 300px;
}

.search-container input {
  border: 2px solid var(--border-color);
  border-radius: 2rem;
  padding: 0.75rem 1rem 0.75rem 3rem;
  width: 100%;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  background-color: var(--bg-secondary);
}

.search-container input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background-color: var(--bg-primary);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.login-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  border: none;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #c8d4ed 0%, var(--bg-tertiary) 100%);

  padding: 4rem 0;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-buttons .btn {
  border-radius: 2rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline-primary {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-1px);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

/* Section Styles */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Industry Tabs */
.industry-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.industry-tab {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.industry-tab:hover,
.industry-tab.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Cards */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  background: var(--bg-primary);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.showcase-main-card {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
  border-radius: 1.5rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.showcase-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.medical-icon {
  background: linear-gradient(135deg, var(--secondary-color), #1e40af);
}

.manufacturing-icon {
  background: linear-gradient(135deg, var(--accent-color), #d97706);
}

.logistics-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.ai-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.security-icon {
  background: linear-gradient(135deg, var(--secondary-color), #dc2626);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
}

/* Practice Cards */
.practice-card {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bg-primary);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.practice-img {
  height: 12rem;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.practice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.practice-card:hover .practice-img img {
  transform: scale(1.05);
}

.practice-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* News Timeline */
.news-timeline {
  position: relative;
  max-width: 100%;
}

.timeline-container {
  position: relative;
  padding-left: 3rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.news-item {
  position: relative;
  margin-bottom: 2rem;
  background: var(--bg-primary);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(0.5rem);
}

.news-icon {
  position: absolute;
  left: -3rem;
  top: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  box-shadow: var(--shadow-md);
}

.news-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.news-time {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.news-label {
  background: linear-gradient(135deg, var(--accent-color), #d97706);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-main {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
}

.cta-section>.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-btn {
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 2rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: var(--bg-tertiary);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0 0 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
  padding-bottom: 0 !important;
}

.footer>.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer h5 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer p,
.footer div {
  color: #cbd5e1;
  line-height: 1.6;
}

.footer a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--accent-color);
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.footer-btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  color: white;
}


.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-icon:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(64, 135, 247, 0.3);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .search-container {
    width: 100%;
    margin-bottom: 1rem;
  }

  .timeline-container {
    padding-left: 2rem;
  }

  .news-icon {
    left: -2.25rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .timeline-container::before {
    left: 0.75rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* 登录注册模态框样式 - 添加到 style.css 末尾 */

/* 认证模态框 */
.auth-modal {
  border: none;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  background: var(--bg-primary);
  overflow: hidden;
}

.auth-modal .modal-header {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  padding: 1.5rem 2rem;
}

.auth-modal .modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.auth-close {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.auth-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* 认证表单 */
.auth-form {
  max-width: 400px;
  margin: 0 auto;
}

.auth-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
  box-shadow: var(--shadow-md);
}

.register-icon {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0;
}

.auth-input {
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--bg-secondary);
}

.auth-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background-color: var(--bg-primary);
}

.auth-input.is-invalid {
  border-color: #dc3545;
}

.auth-input.is-valid {
  border-color: #198754;
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.form-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* 密码容器 */
.password-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: var(--secondary-color);
}

/* 认证按钮 */
.auth-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border: none;
  border-radius: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 认证链接 */
.auth-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* 复选框样式 */
.form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.form-check-input:focus {
  border-color: var(--secondary-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* 加载遮罩 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-spinner {
  text-align: center;
  color: white;
}

.loading-spinner .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* 表单验证提示 */
.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

.valid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #198754;
}

/* 动画效果 */
.auth-form {
  animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 576px) {
  .auth-modal .modal-dialog {
    margin: 1rem;
  }

  .auth-modal .modal-header {
    padding: 1rem 1.5rem;
  }

  .auth-modal .modal-body {
    padding: 1.5rem !important;
  }

  .auth-title {
    font-size: 1.5rem;
  }

  .auth-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
}

/* ========== kangqi/solutions/styles.css 合并内容开始 ========== */
/* 以下为kangqi中未在本文件出现过的选择器和规则，仅补充新增，无覆盖 */

header {
  border-bottom: 1px solid #eee;
  background: #fff;
}

.sub-nav {
  padding: 0 48px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.sub-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.sub-nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo-text {
  color: #c7000b;
  font-size: 26px;
  font-weight: bold;
  white-space: nowrap;
  margin-right: 48px;
}

.sub-nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.sub-nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  padding: 16px 0;
  display: block;
}

.sub-nav-menu a.active {
  color: #c7000b;
  border-bottom: 2px solid #c7000b;
}

.sub-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.user-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.user-actions a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.register-btn {
  background: #c7000b;
  color: white !important;
  padding: 6px 16px;
  border-radius: 4px;
}

.banner {
  position: relative;
  height: 420px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: none;
  border-bottom: 1px solid #f0f0f0;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 72px 96px;
  max-width: 50%;
  animation: fadeInUp 0.8s ease-out;
}

.banner-title {
  font-size: 48px !important;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 24px !important;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.banner-description {
  font-size: 20px !important;
  color: #666666;
  margin-bottom: 0;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
  margin-top: 24px !important;
}

.banner-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  animation: fadeIn 1.2s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.9;
  }
}

.main-search {
  background: #fff;
  padding: 24px 32px;
  margin: 24px 24px 0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.main-search:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.search-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.search-wrapper input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8f8f8;
}

.search-wrapper input:focus {
  outline: none;
  border-color: #c7000b;
  box-shadow: 0 0 0 4px rgba(199, 0, 11, 0.1);
  background: #fff;
}

.search-wrapper input:focus+.search-icon {
  color: #c7000b;
}

/* ========== kangqi/solutions/styles.css 合并内容结束 ========== */

.tag-section {
  padding: 20px 0;
  margin: 0;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.tag-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  justify-content: center;
}

.tag-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  background-color: #f5f7fa;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.8s ease-out calc(0.1s * var(--tag-index, 1)) backwards;
}

.filter-tag i {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.filter-tag:hover i {
  transform: scale(1.1);
}

.filter-tag.active i {
  color: white;
}

.filter-tag.active {
  background-color: #4087f7;
  color: white;
  border: none;
  box-shadow: 0 4px 6px rgba(64, 135, 247, 0.2);
}

.filter-tag.reset-all {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  box-shadow: var(--shadow-md);
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.filter-tag.reset-all:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.filter-tag.reset-all i {
  font-size: 12px;
  color: white;
}

.solutions-container {
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-cards {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0 auto;
}

.solution-cards.active {
  display: grid;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  animation: fadeInUp 0.8s ease-out 1s backwards;
}

.page-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(90deg, #4087f7 0%, #13203e 100%);
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(64, 135, 247, 0.08);
  font-size: 1rem;
  opacity: 0.8;
}

.page-btn:hover {
  background: linear-gradient(90deg, #2563eb 0%, #13203e 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 16px rgba(64, 135, 247, 0.18);
  opacity: 1;
}

.page-btn.active {
  background: linear-gradient(90deg, #2563eb 0%, #13203e 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.15);
  box-shadow: 0 8px 24px rgba(64, 135, 247, 0.25);
  opacity: 1;
}

.solution-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.8s ease-out calc(0.2s * var(--card-index, 1)) backwards;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.solution-card:hover .card-image img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: all 0.3s ease;
}

.solution-card:hover .card-tag {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.card-subtitle {
  font-size: 16px;
  color: #4a5568;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.card-detail {
  font-size: 14px;
  color: #718096;
  margin: 0 0 24px 0;
  line-height: 1.6;
  flex: 1;
}

.try-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #4087f7;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  justify-content: center;
}

.try-now-btn:hover {
  background: #2563eb;
  color: white;
  transform: translateX(4px);
}

.try-now-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.try-now-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .solution-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .solution-cards {
    grid-template-columns: 1fr;
  }
}

.solutions-header {
  text-align: center;
  padding: 72px 0;
  margin: 0;
  animation: fadeInUp 0.8s ease-out;
}

.main-title {
  font-size: 36px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.main-description {
  font-size: 16px;
  color: #666666;
  margin: 0;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.solutions-header .btn-primary {
  margin-top: 36px;
  padding: 18px 36px;
  font-size: 21px;
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.solution-header {
  background: linear-gradient(135deg, #4087f7 0%, #2563eb 100%);
  padding: 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.solution-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.1) 0px,
      rgba(255, 255, 255, 0.1) 10px,
      transparent 10px,
      transparent 20px);
  animation: backgroundMove 20s linear infinite;
}

.solution-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%);
}

@keyframes backgroundMove {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.solution-header .container {
  position: relative;
  z-index: 2;
}

.solution-header h1.display-4 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #e2e8f0);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease-out;
}

.solution-header .lead {
  font-size: 1.35rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.solution-header .badge {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.solution-header .badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.solution-header .badge i {
  margin-right: 8px;
  font-size: 0.9em;
}

.solution-header img {
  max-height: 360px;
  width: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: all 0.5s ease;
  animation: fadeInRight 1s ease-out;
}

.solution-header img:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) translateZ(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

@keyframes float {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100% 100%;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateX(50px);
  }

  to {
    opacity: 1;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateX(0);
  }
}

.overview-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.overview-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #4087f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-icon i {
  font-size: 24px;
  color: white;
}

.overview-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.overview-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.hint-box {
  background: linear-gradient(90deg, #4087f7 0%, #13203e 100%);
  color: white;
  padding: 20px 32px;
  border-radius: 100px;
  font-size: 16px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.bounce-arrow {
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

.solution-overview {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.solution-overview:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.solution-overview h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.solution-overview h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.solution-overview .lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0;
  padding: 0 20px;
  position: relative;
}

.solution-overview .lead::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.2;
  position: absolute;
  left: -10px;
  top: -20px;
}

.solution-overview .lead::after {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.2;
  position: absolute;
  right: -10px;
  bottom: -60px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-card li {
  margin-bottom: 1rem;
}

.feature-card li .check-title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.feature-card .fa-check {
  color: #22c55e;
  margin-right: 8px;
  flex-shrink: 0;
}

.feature-card li .main-point {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  display: inline-block;
}

.feature-card li p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-left: 1.8rem;
  margin-bottom: 0;
}

.banner-carousel {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
  animation: fadeIn 1s ease-out;
}

.banner-carousel .carousel {
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.banner-carousel .carousel-inner {
  height: 100%;
}

.banner-carousel .carousel-item {
  height: 100%;
}

.banner-carousel .carousel-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease-in-out;
}

.banner-carousel .carousel-item:hover img {
  transform: scale(1.05);
}

.banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.banner-carousel:hover .carousel-control-prev,
.banner-carousel:hover .carousel-control-next {
  opacity: 1;
}

.banner-carousel .carousel-control-prev {
  left: 20px;
}

.banner-carousel .carousel-control-next {
  right: 20px;
}

.banner-carousel .carousel-control-prev-icon,
.banner-carousel .carousel-control-next-icon {
  filter: invert(1) grayscale(100);
}

.banner-carousel .carousel-indicators {
  bottom: 20px;
}

.banner-carousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.banner-carousel .carousel-indicators button.active {
  background-color: white;
  transform: scale(1.2);
}

.banner-carousel .carousel-item:hover img {
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}