/* ===== CSS 变量 ===== */
:root {
  --primary: #1a6dd6;
  --primary-dark: #1558b0;
  --primary-light: #e8f2ff;
  --accent: #ff6b35;
  --accent-dark: #e55a2b;
  --text: #1a2332;
  --text-light: #5a6a7e;
  --text-muted: #8a99ad;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-dark: #0d1b2a;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26, 109, 214, 0.08);
  --shadow-hover: 0 12px 40px rgba(26, 109, 214, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 109, 214, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

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

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* ===== 语言切换器 ===== */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.lang-current:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.lang-current-icon {
  font-size: 16px;
  line-height: 1;
}

.lang-arrow {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  max-height: 380px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  transition: background 0.15s ease;
  text-align: left;
}

.lang-option:hover {
  background: var(--primary-light);
}

.lang-option.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
}

.lang-flag {
  font-size: 18px;
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b3a5c 40%, #1a6dd6 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(26, 109, 214, 0.4), transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(255, 107, 53, 0.2), transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-accent {
  background: linear-gradient(135deg, #4dabf7, #74c0fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-num span {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
}

/* ===== 核心优势 ===== */
.advantages {
  background: var(--bg-alt);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.adv-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 14px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.adv-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.adv-card:hover .adv-icon {
  background: var(--primary);
}

.adv-card:hover .adv-icon svg {
  color: #fff;
}

.adv-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.adv-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== 产品中心 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.product-card-header {
  padding: 32px 28px 20px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #f0f7ff 100%);
  position: relative;
}

.product-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-card-header::before {
  opacity: 1;
}

.product-image-wrapper {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(26, 109, 214, 0.1);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(26, 109, 214, 0.12);
}

.product-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

/* 详情弹窗中的产品图片 */
.modal-product-image {
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  background: var(--bg-alt);
}

.modal-product-image img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.product-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tag {
  padding: 4px 12px;
  background: rgba(26, 109, 214, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
}

.product-card-body {
  padding: 24px 28px;
}

.product-card-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 1px dashed var(--border);
}

.product-card-detail:last-child {
  border-bottom: none;
}

.product-card-detail svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.product-card-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-detail-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.product-detail-link:hover {
  gap: 8px;
}

.product-consult {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 应用场景 ===== */
.scenarios {
  background: var(--bg-alt);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.scenario-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 14px;
}

.scenario-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.scenario-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.scenario-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== 联系我们 ===== */
.contact {
  background: #fff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-header {
  text-align: left;
  margin-bottom: 32px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-card-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

a.contact-card-value {
  color: var(--primary);
}

.contact-form-wrapper {
  background: var(--bg-alt);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: var(--transition);
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 109, 214, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
}

.form-error {
  font-size: 12px;
  color: #e53e3e;
  min-height: 16px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #e6f9f0;
  border: 1px solid #36c98a;
  border-radius: var(--radius-sm);
  color: #0a7c4a;
  font-size: 14px;
  font-weight: 500;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  transition: var(--transition);
}

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

.footer-phone {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--accent) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

/* ===== 弹窗 ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.modal-close {
  background: var(--bg-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  background: #e53e3e;
  color: #fff;
}

.modal-body {
  padding: 24px 32px;
  overflow-y: auto;
  flex: 1;
}

.param-table {
  width: 100%;
  border-collapse: collapse;
}

.param-table tr {
  border-bottom: 1px solid var(--border);
}

.param-table tr:last-child {
  border-bottom: none;
}

.param-table td {
  padding: 14px 0;
  font-size: 14px;
  vertical-align: top;
}

.param-table td:first-child {
  width: 130px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.param-table td:last-child {
  color: var(--text-light);
  line-height: 1.6;
}

.param-table td .highlight {
  color: var(--primary);
  font-weight: 600;
}

.modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
}

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(26, 109, 214, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .advantages-grid,
  .products-grid,
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 48px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-phone {
    display: none;
  }

  .lang-switcher {
    margin-right: 4px;
  }

  .lang-current {
    padding: 6px 10px;
    font-size: 13px;
  }

  .lang-current-text {
    display: none;
  }

  .lang-current-icon {
    font-size: 20px;
  }

  .lang-dropdown {
    min-width: 140px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 40px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-num {
    font-size: 32px;
  }

  .stat-divider {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .advantages-grid,
  .products-grid,
  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .modal {
    max-height: 80vh;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .section-title {
    font-size: 24px;
  }
}

/* ===== RTL 支持（阿拉伯语）===== */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .nav-container {
  flex-direction: row-reverse;
}

body.rtl .nav-menu {
  flex-direction: row-reverse;
}

body.rtl .nav-logo {
  flex-direction: row-reverse;
}

body.rtl .lang-dropdown {
  right: auto;
  left: 0;
}

body.rtl .lang-current {
  flex-direction: row-reverse;
}

body.rtl .contact-wrapper {
  direction: rtl;
}

body.rtl .contact-cards {
  direction: rtl;
}

body.rtl .contact-card {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .footer-content {
  direction: rtl;
  text-align: right;
}

body.rtl .footer-links {
  direction: rtl;
}

body.rtl .advantages-grid,
body.rtl .products-grid,
body.rtl .scenarios-grid {
  direction: rtl;
}

body.rtl .product-card-detail {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .product-card-detail svg {
  margin-right: 0;
  margin-left: 8px;
}

body.rtl .product-card-footer {
  flex-direction: row-reverse;
}

body.rtl .modal {
  direction: rtl;
  text-align: right;
}

body.rtl .param-table {
  direction: rtl;
}

body.rtl .param-table td:first-child {
  text-align: right;
}

body.rtl .back-to-top {
  right: auto;
  left: 20px;
}

body.rtl .hero-content {
  text-align: right;
}

body.rtl .hero-actions {
  flex-direction: row-reverse;
}

body.rtl .section-header {
  text-align: right;
}

body.rtl .scenario-card {
  text-align: right;
}

body.rtl .adv-card {
  text-align: right;
}

body.rtl .adv-icon {
  margin-right: 0;
  margin-left: 0;
}

body.rtl .form-group {
  text-align: right;
}

body.rtl .form-group label {
  text-align: right;
}

body.rtl .contact-form {
  text-align: right;
}

body.rtl input,
body.rtl textarea,
body.rtl select {
  text-align: right;
}

body.rtl .nav-phone {
  flex-direction: row-reverse;
}

body.rtl .nav-phone svg {
  margin-right: 0;
  margin-left: 6px;
}

/* RTL 滚动条样式 */
body.rtl .lang-dropdown {
  direction: rtl;
}
