* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
  --color-primary: #007AFF;
  --color-bg: #F5F5F7;
  --color-card: #ffffff;
  --color-text: #1D1D1F;
  --color-text-secondary: #424245;
  --radius: 16px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  padding-bottom: 60px;
}

/* 导航 */
header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow);
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}
.nav {
  display: flex;
  gap: 18px;
}
.nav a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover {
  color: var(--color-primary);
}

/* 头部 */
.hero {
  padding: 60px 0 40px;
  text-align: center;
}
.hero h1 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}
.hero p {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* 板块 */
.section {
  margin-top: 45px;
}
.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid var(--color-primary);
}

/* 旗下产业 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}
.product-card a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin-right: 8px;
}

/* 核心团队 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.team-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
}
.team-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-info {
  flex: 1;
  min-width: 0;
}
.team-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.team-position {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-bottom: 4px;
}
.team-qq {
  font-size: 12px;
  color: var(--color-primary);
}

/* 合作伙伴 */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.partner-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.favicon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f1f1f1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  overflow: hidden;
  position: relative;
}
.favicon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.favicon-box .fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.partner-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}
.partner-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.partner-card a {
  color: var(--color-primary);
  font-size: 13px;
  text-decoration: none;
}

/* 联系我们 - 三列网格布局 */
#contact .section-title {
    margin-bottom: 20px;
}

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

.contact-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-card h3 {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-card h3 p {
    font-size: 13px;
    font-weight: normal;
    color: var(--color-text-secondary);
    margin-top: 4px;
    margin-bottom: 0;
}

.contact-card > p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    font-size: 13px;
}

.contact-card img {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn {
    padding: 12px 24px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background 0.2s;
}

.btn:hover {
    background: #005fc1;
}

/* 平板适配：768px-1024px时改为2列 */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 手机适配：小于768px时改为1列 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* 底部 */
footer {
  margin-top: 60px;
  text-align: center;
  font-size: 13px;
  color: #888;
}
footer a {
  color: #888;
  text-decoration: none;
  margin: 0 5px;
}
footer a:hover {
  color: var(--color-primary);
}

/* 手机适配 */
@media (max-width: 600px) {
  .nav { display: none; }
  .hero h1 { font-size: 24px; }
  .section-title { font-size: 20px; }
  .product-grid, .team-grid, .partner-grid {
    grid-template-columns: 1fr;
  }
}