:root {
  --primary: #194f69;
  --primary-dark: #133a4e;
  --primary-light: #1e5a78;
  --secondary: #0d2b38;
  --secondary-dark: #c9303d;
  --secondary-light: #eb5d68;
  --accent: #2bb0e9;
  --accent-dark: #00897b;
  --accent-light: #33b9ab;
  --dark: #8d99ae;
  --gray-dark: #555b6e;
  --gray: #8d99ae;
  --gray-light: #edf2f4;
  --white: #ffffff;
  --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --card: #fff;
  --shadow: 0 8px 28px rgba(30, 50, 80, 0.15);
  --radius: 12px;
  --font: 'Roboto', '微软雅黑', Arial, sans-serif;
  --text: #333;
  --text-light: #666;
  --border: #ddd;
  --light-gray: #f1f5f9;
  --mid-gray: #64748b;
  --dark-gray: #334155;
  --black: #111827;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --border-radius: 8px;
  --content-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--light-gray);
  padding-top: 70px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.site-header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), 
              background-color 0.3s ease, 
              box-shadow 0.3s ease,
              padding 0.3s ease;
}

.site-header.transparent {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
  padding: 20px 0;
}

.site-header.nav-up {
  transform: translateY(-100%);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  vertical-align: middle;
  margin-right: 10px;
  width: 50px;
  height: 50px;
}

.logo a {
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}

.site-header.transparent .logo a {
  transform: scale(1.1);
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav li {
  margin-left: 25px;
}

.main-nav a {
  color: var(--dark);
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(1);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.language-selector select {
  padding: 8px 15px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background-color: var(--white);
  color: var(--dark);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23555b6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 30px;
}

.language-selector select:hover {
  border-color: var(--primary);
}

.language-selector select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/steel-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  margin-top: -70px; /* 抵消body的padding-top */
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Tools Section */
.tools {
  padding: 80px 0;
  background-color: var(--white);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.tool-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tool-icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
  background-color: var(--primary-light);
  color: white;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.tool-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: var(--dark);
}

.tool-card p {
  margin-bottom: 25px;
  color: var(--gray-dark);
}

.button, .btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.button:hover, .btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.features h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
  position: relative;
  padding-bottom: 15px;
}

.features h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 20px;
  background-color: var(--primary-light);
  color: white;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.feature h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.feature p {
  color: var(--gray-dark);
}

.cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-about p {
  color: var(--gray-light);
  opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-light);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--white);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  color: var(--gray-light);
  opacity: 0.8;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: var(--gray-light);
  opacity: 0.6;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    display: flex;
    flex-wrap: wrap;
  }
  
  .logo {
    margin-bottom: 15px;
    width: calc(100% - 50px); /* 为菜单图标留出空间 */
    transition: margin 0.3s ease;
  }
  
  .site-header.transparent .logo {
    margin-bottom: 5px;
  }
  
  .main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  }
  
  .main-nav.active {
    max-height: 300px;
    box-shadow: 0 10px 15px -5px rgba(0,0,0,0.1);
  }
  
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }
  
  .main-nav li {
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid var(--gray-light);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .main-nav.active li {
    opacity: 1;
    transform: translateY(0);
  }
  
  .main-nav.active li:nth-child(1) { transition-delay: 0.05s; }
  .main-nav.active li:nth-child(2) { transition-delay: 0.1s; }
  .main-nav.active li:nth-child(3) { transition-delay: 0.15s; }
  .main-nav.active li:nth-child(4) { transition-delay: 0.2s; }
  .main-nav.active li:nth-child(5) { transition-delay: 0.25s; }
  
  .language-selector {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 15px;
    order: 3;
  }
  
  .language-selector select {
    width: 100%;
    max-width: 200px;
  }
  
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10;
  }
  
  .mobile-menu-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .site-header.transparent .mobile-menu-toggle span {
    background-color: var(--primary-dark);
  }
  
  .hero {
    padding: 70px 0;
  }
  
  .hero h1 {
    font-size: 30px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .tools, .features {
    padding: 50px 0;
  }
  
  .features h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .tool-card, .feature {
    padding: 20px;
  }
  
  .hero h1 {
    font-size: 26px;
  }
  
  .features h2 {
    font-size: 24px;
  }
  
  .footer-content {
    gap: 30px;
  }
}

RTL Support for Arabic
[dir="rtl"] .main-nav li {
  margin-left: 0;
  margin-right: 25px;
}

[dir="rtl"] .main-nav a::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 5px;
}

[dir="rtl"] .footer-links h3::after,
[dir="rtl"] .footer-contact h3::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .footer-contact i {
  margin-right: 0;
  margin-left: 10px;
}

/* International Typography Adjustments */
/* 中文字体优化 */
:lang(zh) {
  font-family: 'Noto Sans SC', 'Roboto', sans-serif;
}

/* 俄语字体优化 */
:lang(ru) {
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.2px;
}

/* 阿拉伯语字体优化 */
:lang(ar) {
  font-family: 'Noto Sans Arabic', sans-serif;
  line-height: 1.8;
}

/* Global Accessibility Improvements */
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--gray-light);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* 模块容器样式 */
#app-content {
  min-height: 300px;
  padding: 20px 0;
  margin: 20px 0;
  position: relative;
}

.module-container {
  padding: 30px 0;
  animation: fadeIn 0.5s ease-in-out;
}

.loading-indicator {
  text-align: center;
  padding: 50px 0;
  font-size: 24px;
  color: #0056b3;
}

.loading-indicator i {
  margin-right: 10px;
}

.error-message {
  background-color: #fff3f3;
  color: #d32f2f;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #d32f2f;
  margin: 20px 0;
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 便捷导航组件样式 */
.quick-nav {
  display: none; /* 隐藏快捷导航 */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.quick-nav-toggle {
  display: none; /* 隐藏快捷导航切换按钮 */
  width: 60px;
  height: 60px;
  background-color: #0056b3;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
}

.quick-nav-toggle:hover {
  display: none; /* 隐藏悬停效果 */
  background-color: #003d7a;
  transform: scale(1.05);
}

.quick-nav-menu {
  display: none; /* 隐藏快捷导航菜单 */
  position: absolute;
  bottom: 70px;
  right: 0;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  width: 200px;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.quick-nav-menu.active {
  display: none; /* 隐藏激活的菜单 */
  display: flex;
  animation: fadeInUp 0.3s ease-out forwards;
}

.quick-nav-menu .nav-item {
  display: none; /* 隐藏导航项 */
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.quick-nav-menu .nav-item:hover {
  display: none; /* 隐藏悬停效果 */
  background-color: #f0f7ff;
  color: #0056b3;
}

.quick-nav-menu .nav-item i {
  display: none; /* 隐藏图标 */
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.quick-nav-menu .nav-item span {
  display: none; /* 隐藏文本 */
  flex: 1;
}

.quick-nav-menu .nav-divider {
  display: none; /* 隐藏分隔线 */
  height: 1px;
  background-color: #eaeaea;
  margin: 5px 0;
}

/* RTL调整 */
[dir="rtl"] .quick-nav {
  display: none; /* 隐藏RTL快捷导航 */
  right: auto;
  left: 30px;
}

[dir="rtl"] .quick-nav-menu {
  display: none; /* 隐藏RTL快捷导航菜单 */
  right: auto;
  left: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .quick-nav {
    display: none; /* 隐藏移动端快捷导航 */
    bottom: 20px;
    right: 20px;
  }

  [dir="rtl"] .quick-nav {
    display: none; /* 隐藏移动端RTL快捷导航 */
    right: auto;
    left: 20px;
  }

  .quick-nav-toggle {
    display: none; /* 隐藏移动端快捷导航切换按钮 */
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

body.transparent-nav {
  padding-top: 0;
}

/* 侧边栏导航样式 */
.sidebar-nav {
  display: none; /* 隐藏侧边栏 */
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  z-index: 1010;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.sidebar-nav.active {
  display: none; /* 即使激活也隐藏 */
  left: 0;
}

.sidebar-nav-header {
  display: none; /* 隐藏侧边栏头部 */
  padding: 20px 15px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-nav-logo {
  display: none; /* 隐藏侧边栏logo */
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.sidebar-nav-close {
  display: none; /* 隐藏关闭按钮 */
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.sidebar-nav-menu {
  display: none; /* 隐藏侧边栏菜单 */
  padding: 15px;
}

.sidebar-nav-section {
  display: none; /* 隐藏侧边栏部分 */
  margin-bottom: 20px;
}

.sidebar-nav-section-title {
  display: none; /* 隐藏侧边栏标题 */
  color: var(--gray-dark);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gray-light);
}

.sidebar-nav-item {
  display: none; /* 隐藏侧边栏项目 */
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--dark);
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 5px;
  transition: background-color 0.2s;
}

.sidebar-nav-item:hover {
  display: none; /* 隐藏悬停效果 */
  background-color: #f0f7ff;
  color: var(--primary);
}

.sidebar-nav-item i {
  display: none; /* 隐藏图标 */
  width: 24px;
  font-size: 18px;
  margin-right: 10px;
}

.sidebar-nav-item.active {
  display: none; /* 隐藏激活状态 */
  background-color: var(--primary);
  color: #fff;
}

.sidebar-nav-overlay {
  display: none; /* 隐藏遮罩层 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.sidebar-nav-overlay.active {
  display: none; /* 隐藏激活的遮罩层 */
  opacity: 1;
  visibility: visible;
}

.sidebar-nav-toggle {
  display: none; /* 隐藏侧边栏切换按钮 */
  position: fixed;
  top: 100px;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 0 6px 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.sidebar-nav-toggle:hover {
  display: none; /* 隐藏悬停效果 */
  background-color: var(--primary-dark);
}

/* RTL支持 */
[dir="rtl"] .sidebar-nav {
  display: none; /* 隐藏RTL侧边栏 */
  left: auto;
  right: -280px;
}

[dir="rtl"] .sidebar-nav.active {
  display: none; /* 隐藏RTL激活的侧边栏 */
  left: auto;
  right: 0;
}

[dir="rtl"] .sidebar-nav-toggle {
  display: none; /* 隐藏RTL侧边栏切换按钮 */
  left: auto;
  right: 0;
  border-radius: 6px 0 0 6px;
}

[dir="rtl"] .sidebar-nav-item i {
  display: none; /* 隐藏RTL侧边栏项目图标 */
  margin-right: 0;
  margin-left: 10px;
}

/* 面包屑导航 */
.breadcrumb {
  display: flex;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 20px;
  font-size: 14px;
}

.breadcrumb-item {
  color: var(--gray);
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: var(--gray);
}

[dir="rtl"] .breadcrumb-item:not(:last-child)::after {
  content: "\\";  
}

/* 页面跳转动画 */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.page-transition-overlay.active {
  transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .sidebar-nav {
    width: 260px;
    left: -260px;
  }
  
  [dir="rtl"] .sidebar-nav {
    right: -260px;
  }
  
  .sidebar-nav-toggle {
    top: 70px;
  }
}

/* 淡入效果 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 滚动过渡效果 */
.scroll-transition {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 横跨整个屏幕的流体容器 */
.full-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
}

/* 确保Font Awesome图标正确显示 */
.fas, .fab, .fa, .far, .fal {
  display: inline-block !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

.tool-icon i {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}