/* ============================================================
   AI抖足 - 智能找店服务平台  公共样式表
   运营单位：无锡零欧网络有限公司
   ============================================================ */

/* ===== 全局 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ===== 顶部导航栏 ===== */
.navbar {
  background-color: #2d5e40;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.navbar .logo {
  font-size: 22px;
  font-weight: bold;
  white-space: nowrap;
}

.navbar .nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.navbar .nav-links a {
  color: #e8f3ec;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.navbar .nav-links a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* 当前页高亮 */
.navbar .nav-links a.active {
  color: #ffffff;
  border-bottom-color: #ffd166;
  font-weight: bold;
}

/* ===== 内页头部 ===== */
.page-header {
  background: linear-gradient(135deg, #2d5e40 0%, #3d7a55 100%);
  color: white;
  padding: 48px 20px 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 30px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.page-header p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  color: #e8f3ec;
}

/* 面包屑 */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 13px;
  color: #888;
}

.breadcrumb a {
  color: #2d5e40;
}

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

/* ===== 首页 Banner ===== */
.hero {
  background: linear-gradient(135deg, #2d5e40 0%, #3d7a55 100%);
  color: white;
  text-align: center;
  padding: 70px 20px 60px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.hero p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  color: #e8f3ec;
}

.hero .hero-btns {
  margin-top: 30px;
}

.hero .hero-btns a {
  display: inline-block;
  background-color: #ffffff;
  color: #2d5e40;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 36px;
  border-radius: 30px;
  margin: 0 10px 10px;
  transition: all 0.2s;
}

.hero .hero-btns a:hover {
  background-color: #e8f3ec;
  transform: translateY(-2px);
}

/* ===== 通用区块 ===== */
.section {
  padding: 56px 20px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 28px;
  color: #2d5e40;
  margin-bottom: 12px;
}

.section-desc {
  text-align: center;
  color: #888;
  font-size: 15px;
  margin-bottom: 40px;
}

/* ===== 产品与服务 ===== */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.product {
  background-color: white;
  border: 1px solid #e0e0e0;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.25s;
}

.product:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.product img {
  width: 90px;
  height: 90px;
  margin-right: 16px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.product-info {
  flex: 1;
}

.product-info h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #2d5e40;
}

.product-info p {
  color: #666;
  line-height: 1.7;
  font-size: 14px;
}

/* ===== 应用介绍 ===== */
.app-intro {
  background-color: #ffffff;
  max-width: 100%;
  padding-left: max(20px, calc((100% - 1100px) / 2));
  padding-right: max(20px, calc((100% - 1100px) / 2));
}

.app-block {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.app-block .app-text {
  flex: 1;
  min-width: 280px;
}

.app-block .app-text h3 {
  font-size: 24px;
  color: #2d5e40;
  margin-bottom: 14px;
}

.app-block .app-text p {
  color: #666;
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 12px;
}

.app-block .app-features {
  list-style: none;
  margin-top: 16px;
}

.app-block .app-features li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: #555;
  font-size: 15px;
  border-bottom: 1px dashed #e5e5e5;
}

.app-block .app-features li::before {
  content: "✔";
  position: absolute;
  left: 2px;
  color: #2d5e40;
  font-weight: bold;
}

.app-block .app-qr {
  width: 200px;
  text-align: center;
  flex-shrink: 0;
}

.app-block .app-qr img {
  width: 160px;
  height: 160px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.app-block .app-qr p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* ===== 关于我们 ===== */
.about-content {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.about-content p {
  color: #555;
  line-height: 2;
  font-size: 15px;
  margin-bottom: 14px;
  text-indent: 2em;
}

/* ===== 协议 / 长文 ===== */
.agreement {
  background-color: white;
  border-radius: 10px;
  padding: 30px 34px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.agreement h3 {
  font-size: 17px;
  color: #2d5e40;
  margin: 22px 0 10px;
}

.agreement h3:first-child {
  margin-top: 0;
}

.agreement p,
.agreement li {
  color: #555;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 6px;
}

.agreement ol {
  padding-left: 22px;
}

.agreement .meta {
  text-align: right;
  color: #999;
  font-size: 13px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px dashed #e5e5e5;
}

/* ===== 联系我们 ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.contact-card {
  background-color: white;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.contact-card .icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 17px;
  color: #2d5e40;
  margin-bottom: 10px;
}

.contact-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.contact-card img {
  width: 120px;
  height: 120px;
  border: 4px solid #f0f0f0;
  border-radius: 8px;
  margin-top: 8px;
  object-fit: contain;
  background: #fff;
}

/* 表单（用于留言/合作意向） */
.form-box {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  max-width: 640px;
  margin: 0 auto;
}

.form-box .field {
  margin-bottom: 18px;
}

.form-box label {
  display: block;
  font-size: 14px;
  color: #2d5e40;
  margin-bottom: 6px;
  font-weight: bold;
}

.form-box input,
.form-box textarea,
.form-box select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  background: #fafafa;
}

.form-box input:focus,
.form-box textarea:focus,
.form-box select:focus {
  outline: none;
  border-color: #2d5e40;
  background: #fff;
}

.form-box textarea {
  min-height: 110px;
  resize: vertical;
}

.form-box .btn-submit {
  display: inline-block;
  width: 100%;
  background-color: #2d5e40;
  color: #fff;
  border: none;
  padding: 13px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.form-box .btn-submit:hover {
  background-color: #3d7a55;
}

.form-tip {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 14px;
}

/* ===== 底部信息 ===== */
footer {
  background-color: #2d5e40;
  color: #d9e9df;
  padding: 34px 20px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d9e9df;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-text {
  line-height: 2;
  font-size: 14px;
}

.footer-text .beian a {
  color: #d9e9df;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 12px 10px;
  }

  .navbar .nav-links {
    gap: 16px;
    margin-top: 10px;
    justify-content: center;
  }

  .hero h1 {
    font-size: 26px;
  }

  .page-header h1 {
    font-size: 22px;
  }

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

  .product {
    flex-direction: column;
    text-align: center;
  }

  .product img {
    margin-right: 0;
    margin-bottom: 12px;
  }

  .app-block .app-qr {
    margin: 0 auto;
  }

  .agreement {
    padding: 22px 18px;
  }
}
