/* 公共样式 - 所有页面共用 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 导航栏样式 */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

.logo-text::before {
  content: "i";
  color: #e94235;
}

.logo-subtitle {
  font-size: 13px;
  color: #666;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  text-decoration: none;
  color: #666;
  font-size: 15px;
  transition: color 0.3s;
  padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #4285f4;
  border-bottom: 2px solid #4285f4;
}

.nav-icons {
  font-size: 22px;
}

/* 通用标题样式 */
.section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 18px;
  color: #333;
}

.section-subtitle {
  font-size: 17px;
  text-align: center;
  color: #666;
  margin-bottom: 60px;
}

/* 页脚样式 */
.footer {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact {
  flex: 1;
  padding: 0 40px;
}

.footer-contact p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-contact a {
  color: #4285f4;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-address {
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #333;
}

.footer-social p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.qrcode {
  width: 120px;
  height: 120px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qrcode::after {
  content: "QR Code";
  font-size: 13px;
  color: #999;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e8e8e8;
}

.footer-bottom p {
  font-size: 13px;
  color: #999;
  margin: 5px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 15px;
  }
}

