/* ===== Maylynk 迈联新材料 多语言官网样式 ===== */
:root {
  --primary: #1a3a6b;
  --primary-light: #2d5ea8;
  --primary-dark: #0f1f3d;
  --accent: #00b4d8;
  --accent-light: #48cae4;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-dark: #0f1f3d;
  --text: #1a1a1a;
  --text-soft: #555;
  --text-muted: #888;
  --border: #e0e6ed;
  --shadow: 0 4px 24px rgba(26,58,107,0.08);
  --shadow-lg: 0 12px 48px rgba(26,58,107,0.12);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:"Noto Sans SC","Noto Sans JP","Noto Sans KR","Noto Sans Arabic","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--text); background:var(--bg);
  line-height:1.6; overflow-x:hidden;
}
[dir="rtl"] body { font-family:"Noto Sans Arabic","Noto Sans SC",sans-serif; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }

/* ===== 导航栏 ===== */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(255,255,255,0.95); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  transition:all 0.3s ease;
}
.navbar.scrolled { box-shadow:var(--shadow); }
.nav-container {
  max-width:1280px; margin:0 auto; padding:0 32px;
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.nav-logo { display:flex; align-items:center; gap:10px; }
.nav-logo img { height:40px; width:auto; }
.nav-menu { display:flex; align-items:center; gap:32px; list-style:none; }
.nav-menu a {
  font-size:15px; font-weight:500; color:var(--text-soft);
  transition:color 0.2s; position:relative;
}
.nav-menu a:hover, .nav-menu a.active { color:var(--primary); }
.nav-menu a::after {
  content:""; position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background:var(--primary); transition:width 0.3s;
}
[dir="rtl"] .nav-menu a::after { left:auto; right:0; }
.nav-menu a:hover::after, .nav-menu a.active::after { width:100%; }
.lang-switch {
  display:flex; align-items:center; gap:4px;
  background:var(--bg-soft); border-radius:20px; padding:4px;
}
.lang-btn {
  border:none; background:transparent; cursor:pointer;
  padding:6px 10px; border-radius:16px; font-size:12px; font-weight:600;
  color:var(--text-muted); transition:all 0.2s; font-family:inherit;
}
.lang-btn.active { background:var(--primary); color:#fff; }
.mobile-toggle { display:none; background:none; border:none; cursor:pointer; font-size:24px; color:var(--primary); }

/* ===== 页面Banner ===== */
.page-banner {
  padding:140px 0 80px; background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 100%);
  color:#fff; position:relative; overflow:hidden;
}
.page-banner::before {
  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:60px 60px;
}
.banner-container { max-width:1280px; margin:0 auto; padding:0 32px; position:relative; z-index:1; }
.banner-title { font-family:"Noto Serif SC",serif; font-size:42px; font-weight:900; margin-bottom:12px; }
.banner-sub { font-size:16px; color:rgba(255,255,255,0.7); }
.breadcrumb { margin-top:16px; font-size:13px; color:rgba(255,255,255,0.5); }
.breadcrumb a { color:rgba(255,255,255,0.7); }
.breadcrumb a:hover { color:#fff; }

/* ===== Hero区（首页） ===== */
.hero {
  min-height:100vh; display:flex; align-items:center;
  background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 50%,var(--primary-light) 100%);
  position:relative; overflow:hidden; padding-top:72px;
}
.hero::before {
  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:60px 60px;
}
.hero-container {
  max-width:1280px; margin:0 auto; padding:0 32px;
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
  position:relative; z-index:1; width:100%;
}
.hero-content { color:#fff; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2);
  padding:8px 18px; border-radius:20px; font-size:14px; margin-bottom:28px;
}
.hero-badge .dot { width:8px; height:8px; border-radius:50%; background:var(--accent); }
.hero h1 { font-family:"Noto Serif SC",serif; font-size:48px; font-weight:900; line-height:1.25; margin-bottom:20px; }
.hero h1 span { color:var(--accent-light); }
.hero-sub { font-size:17px; color:rgba(255,255,255,0.75); line-height:1.8; margin-bottom:36px; max-width:520px; }
.hero-cta { display:flex; gap:16px; flex-wrap:wrap; }
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 32px; border-radius:8px; font-size:15px; font-weight:600;
  cursor:pointer; border:none; transition:all 0.3s; font-family:inherit;
}
.btn-primary { background:var(--accent); color:var(--primary-dark); }
.btn-primary:hover { background:var(--accent-light); transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,180,216,0.3); }
.btn-outline { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color:#fff; background:rgba(255,255,255,0.1); }
.hero-visual { position:relative; display:flex; justify-content:center; align-items:center; }
.hero-card {
  background:rgba(255,255,255,0.08); backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.15); border-radius:20px; padding:40px; width:100%; max-width:440px;
}
.hero-card-title { font-size:14px; color:rgba(255,255,255,0.6); margin-bottom:20px; text-transform:uppercase; letter-spacing:2px; }
.stat-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.stat-item .num { font-size:36px; font-weight:900; color:var(--accent-light); }
.stat-item .label { font-size:13px; color:rgba(255,255,255,0.6); margin-top:4px; }

/* ===== 通用区块 ===== */
.section { padding:90px 0; }
.section-alt { background:var(--bg-soft); }
.container { max-width:1280px; margin:0 auto; padding:0 32px; }
.section-header { text-align:center; margin-bottom:56px; }
.section-tag { display:inline-block; font-size:13px; font-weight:700; color:var(--primary); letter-spacing:3px; text-transform:uppercase; margin-bottom:12px; }
.section-title { font-family:"Noto Serif SC",serif; font-size:36px; font-weight:900; color:var(--text); margin-bottom:16px; }
.section-desc { font-size:16px; color:var(--text-soft); max-width:640px; margin:0 auto; line-height:1.8; }

/* ===== 关于我们 ===== */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.about-visual {
  position:relative; border-radius:16px; overflow:hidden;
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
  aspect-ratio:4/3; display:flex; align-items:center; justify-content:center;
}
.about-visual::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 40%,rgba(0,180,216,0.15),transparent 60%); }
.about-visual .hex-icon { width:50%; height:auto; opacity:0.9; position:relative; z-index:1; }
.about-content h3 { font-family:"Noto Serif SC",serif; font-size:28px; font-weight:700; margin-bottom:20px; }
.about-content p { font-size:15px; color:var(--text-soft); line-height:1.9; margin-bottom:16px; }
.about-features { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:28px; }
.feature-item { display:flex; align-items:flex-start; gap:12px; padding:16px; background:var(--bg-soft); border-radius:10px; }
.feature-icon { width:36px; height:36px; border-radius:8px; background:var(--primary); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#fff; font-size:16px; }
.feature-text .ft { font-size:14px; font-weight:700; }
.feature-text .fd { font-size:12px; color:var(--text-muted); margin-top:2px; }

/* ===== 产品中心 ===== */
.products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.product-card {
  background:#fff; border-radius:14px; padding:36px 28px;
  border:1px solid var(--border); transition:all 0.3s;
  position:relative; overflow:hidden; cursor:pointer;
}
.product-card::before {
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--primary),var(--accent));
  transform:scaleX(0); transition:transform 0.3s;
}
.product-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.product-card:hover::before { transform:scaleX(1); }
.product-icon {
  width:56px; height:56px; border-radius:12px;
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; color:#fff; font-size:24px;
}
.product-img {
  width:100%; height:200px; border-radius:10px; overflow:hidden;
  margin-bottom:20px; border:1px solid var(--border); background:#f8f9fb;
}
.product-img img { width:100%; height:100%; object-fit:cover; display:block; }
.product-card h4 { font-size:19px; font-weight:700; margin-bottom:10px; }
.product-card p { font-size:14px; color:var(--text-soft); line-height:1.7; margin-bottom:16px; }
.product-spec { display:flex; flex-wrap:wrap; gap:8px; }
.spec-tag { font-size:12px; padding:4px 12px; border-radius:12px; background:var(--bg-soft); color:var(--text-muted); font-weight:500; }
.product-more { margin-top:16px; font-size:13px; font-weight:600; color:var(--primary); display:inline-flex; align-items:center; gap:4px; }

/* ===== 产品详情页 ===== */
.product-detail { padding:80px 0; }
.product-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.product-detail-visual {
  border-radius:16px; overflow:hidden;
  background:linear-gradient(135deg,var(--bg-soft) 0%,#e8eef5 100%);
  aspect-ratio:1; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border);
}
.product-detail-visual .big-icon { font-size:120px; opacity:0.6; }
.product-detail-info h2 { font-family:"Noto Serif SC",serif; font-size:36px; font-weight:900; margin-bottom:8px; }
.product-detail-info .subtitle { font-size:16px; color:var(--text-muted); margin-bottom:24px; }
.product-detail-info .desc { font-size:15px; color:var(--text-soft); line-height:1.9; margin-bottom:28px; }
.detail-specs { margin-bottom:28px; }
.detail-specs h4 { font-size:16px; font-weight:700; margin-bottom:14px; color:var(--primary); }
.spec-table { width:100%; border-collapse:collapse; }
.spec-table th, .spec-table td { padding:10px 14px; text-align:left; border-bottom:1px solid var(--border); font-size:14px; }
[dir="rtl"] .spec-table th, [dir="rtl"] .spec-table td { text-align:right; }
.spec-table th { background:var(--bg-soft); color:var(--text-soft); font-weight:600; width:40%; }
.spec-table td { color:var(--text); }
.applications-list { display:flex; flex-wrap:wrap; gap:8px; }
.app-tag { font-size:13px; padding:6px 14px; border-radius:16px; background:var(--primary); color:#fff; font-weight:500; }
.back-link { display:inline-flex; align-items:center; gap:6px; font-size:14px; color:var(--primary); font-weight:600; margin-bottom:24px; }

/* ===== 应用领域 ===== */
.apps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.app-card {
  background:#fff; border-radius:12px; padding:32px 28px;
  display:flex; align-items:flex-start; gap:18px;
  border:1px solid var(--border); transition:all 0.3s;
}
.app-card:hover { border-color:var(--primary-light); box-shadow:var(--shadow); }
.app-icon {
  width:48px; height:48px; border-radius:10px; flex-shrink:0;
  background:linear-gradient(135deg,rgba(26,58,107,0.1),rgba(0,180,216,0.1));
  display:flex; align-items:center; justify-content:center; font-size:22px;
}
.app-card h4 { font-size:17px; font-weight:700; margin-bottom:6px; }
.app-card p { font-size:13px; color:var(--text-muted); line-height:1.6; }

/* ===== 联系我们 ===== */
.contact-section { background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 100%); color:#fff; position:relative; overflow:hidden; }
.contact-section::before {
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,0.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.02) 1px,transparent 1px);
  background-size:50px 50px;
}
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; position:relative; z-index:1; }
.contact-info h3 { font-family:"Noto Serif SC",serif; font-size:32px; font-weight:900; margin-bottom:16px; }
.contact-info > p { color:rgba(255,255,255,0.7); font-size:15px; line-height:1.8; margin-bottom:32px; }
.contact-list { display:flex; flex-direction:column; gap:20px; }
.contact-item { display:flex; align-items:flex-start; gap:16px; }
[dir="rtl"] .contact-item { flex-direction:row-reverse; }
.contact-item .ci-icon {
  width:44px; height:44px; border-radius:10px;
  background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:18px;
}
.contact-item .ci-label { font-size:13px; color:rgba(255,255,255,0.5); margin-bottom:2px; }
.contact-item .ci-value { font-size:16px; font-weight:600; color:#fff; }
.contact-form {
  background:rgba(255,255,255,0.06); backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.12); border-radius:16px; padding:36px;
}
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:13px; color:rgba(255,255,255,0.7); margin-bottom:8px; font-weight:500; }
.form-group input, .form-group textarea {
  width:100%; padding:12px 16px; border-radius:8px;
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15);
  color:#fff; font-size:14px; font-family:inherit; transition:border-color 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color:rgba(255,255,255,0.35); }
.form-group input:focus, .form-group textarea:focus { outline:none; border-color:var(--accent); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ===== CTA区块 ===== */
.cta-section {
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
  color:#fff; text-align:center; padding:70px 0;
}
.cta-section h2 { font-family:"Noto Serif SC",serif; font-size:32px; font-weight:900; margin-bottom:12px; }
.cta-section p { font-size:16px; color:rgba(255,255,255,0.75); margin-bottom:28px; }

/* ===== 页脚 ===== */
.footer { background:var(--bg-dark); color:rgba(255,255,255,0.7); padding:60px 0 24px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:48px; margin-bottom:40px; }
.footer-brand img { height:36px; width:auto; margin-bottom:16px; filter:brightness(0) invert(1); opacity:0.9; }
.footer-brand p { font-size:13px; line-height:1.8; color:rgba(255,255,255,0.5); }
.footer-col h5 { font-size:15px; font-weight:700; color:#fff; margin-bottom:18px; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:10px; }
.footer-col a { font-size:13px; color:rgba(255,255,255,0.5); transition:color 0.2s; }
.footer-col a:hover { color:var(--accent-light); }
.footer-contact p { font-size:13px; color:rgba(255,255,255,0.5); margin-bottom:8px; line-height:1.7; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding-top:24px; text-align:center; font-size:12px; color:rgba(255,255,255,0.35); }

/* ===== 响应式 ===== */
@media (max-width:968px) {
  .nav-menu { display:none; position:absolute; top:72px; left:0; right:0; background:#fff; flex-direction:column; padding:20px 32px; gap:16px; border-bottom:1px solid var(--border); box-shadow:var(--shadow); }
  .nav-menu.open { display:flex; }
  .mobile-toggle { display:block; }
  .hero-container, .about-grid, .contact-grid, .product-detail-grid { grid-template-columns:1fr; gap:40px; }
  .products-grid, .apps-grid { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .hero h1 { font-size:36px; }
  .section-title { font-size:28px; }
  .banner-title { font-size:32px; }
}
@media (max-width:600px) {
  .products-grid, .apps-grid, .form-row, .footer-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:28px; }
  .lang-btn { padding:6px 6px; font-size:11px; }
}
