/* style.css — 春远驾培集团 独立样式文件 */

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

body {
  background-color: #ffffff;
  color: #1e1e2a;
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 头部 */
header {
  padding: 18px 0 14px;
  border-bottom: 1px solid #eaeef3;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.logo-text {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #0b2b4a;
}
.logo-text span {
  font-weight: 300;
  color: #3e6b8c;
}

nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #2d3e50;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

nav a:hover {
  color: #0b2b4a;
  border-bottom-color: #0b2b4a;
}

.btn-outline {
  border: 1.5px solid #0b2b4a;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 500;
  color: #0b2b4a;
  background: transparent;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #0b2b4a;
  color: white;
  border-color: #0b2b4a;
}

/* 主视觉 - 驾培专属 */
.hero {
  padding: 56px 0 48px;
  background: linear-gradient(145deg, #f0f6fe 0%, #e4edf7 100%);
  border-radius: 0 0 48px 48px;
  margin-bottom: 40px;
}

.hero-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 45%;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #0a1e2e;
  margin-bottom: 16px;
}

.hero-content h1 i {
  color: #1f6390;
  font-style: normal;
}

.hero-content .subhead {
  font-size: 18px;
  color: #2f4053;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-btn {
  display: inline-block;
  background: #0b2b4a;
  color: white;
  padding: 14px 38px;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  font-size: 17px;
  box-shadow: 0 8px 20px rgba(11, 43, 74, 0.2);
  transition: 0.2s;
  margin-right: 12px;
}

.hero-btn:hover {
  background: #123b5e;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(11, 43, 74, 0.3);
}

.hero-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #0b2b4a;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  font-size: 17px;
  border: 1.5px solid #0b2b4a;
  transition: 0.2s;
}

.hero-btn-secondary:hover {
  background: rgba(11, 43, 74, 0.06);
}

.hero-visual {
  flex: 1 1 45%;
  background: #dce5ed;
  border-radius: 32px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.7) 0%, rgba(200, 215, 230, 0.3) 100%);
  padding: 30px;
  font-size: 18px;
  color: #1b3b57;
  font-weight: 500;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.hero-visual .big-icon {
  font-size: 56px;
  margin-bottom: 8px;
}

.hero-visual span {
  background: rgba(11, 43, 74, 0.06);
  padding: 10px 24px;
  border-radius: 60px;
  backdrop-filter: blur(4px);
}

/* 通用section */
section {
  margin-bottom: 64px;
}

.section-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 28px;
  color: #0b2b4a;
  letter-spacing: -0.3px;
  position: relative;
}
.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #1f6390;
  border-radius: 4px;
  margin-top: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.card {
  background: #f9fbfd;
  border-radius: 24px;
  padding: 28px 22px;
  transition: 0.25s;
  border: 1px solid #eaedf2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.card:hover {
  transform: translateY(-6px);
  border-color: #cbd8e6;
  box-shadow: 0 16px 28px rgba(0,0,0,0.04);
}

.card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0b2b4a;
}

.card p {
  color: #3e4f62;
  font-size: 15px;
}

.card .emoji-big {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

/* 优势亮点 */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.highlight-item {
  background: #f3f8fe;
  border-radius: 32px;
  padding: 24px 18px;
  text-align: center;
}
.highlight-item .number {
  font-size: 34px;
  font-weight: 700;
  color: #0b2b4a;
}
.highlight-item .label {
  color: #2e4b66;
  font-weight: 500;
}

/* 关于 */
.about-wrap {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  background: #f6f9fc;
  padding: 40px 36px;
  border-radius: 40px;
}

.about-text {
  flex: 2 1 300px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #0b2b4a;
}

.about-text p {
  margin-bottom: 16px;
  color: #2b4055;
}

.about-stats {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.stat-item {
  background: white;
  padding: 18px 22px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  border: 1px solid #e2eaf1;
}

.stat-item strong {
  display: block;
  font-size: 28px;
  color: #0b2b4a;
}

/* 新闻 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #fafcfe;
  border-radius: 40px;
  border-left: 5px solid #1f6390;
  transition: 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.news-item:hover {
  background: #f0f5fb;
}

.news-title {
  font-weight: 500;
  color: #0f2b40;
}

.news-date {
  color: #5a6f84;
  font-size: 14px;
  background: #e8eef5;
  padding: 4px 16px;
  border-radius: 30px;
}

/* 底部 */
footer {
  background: #0b1f2f;
  color: #cddceb;
  padding: 40px 0 28px;
  border-radius: 48px 48px 0 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.footer-links a {
  color: #b3ccdf;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: white;
}

.footer-copyright {
  font-size: 14px;
  color: #95afc4;
}

/* ICP备案号 居中 */
.icp-wrapper {
  width: 100%;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid #1f3950;
  margin-top: 8px;
}

.icp-link {
  color: #b3ccdf;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.4px;
  transition: color 0.2s;
  font-weight: 400;
}

.icp-link:hover {
  color: white;
  text-decoration: underline;
}

/* 响应式 */
@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  nav {
    justify-content: center;
    gap: 16px;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-grid {
    flex-direction: column;
  }
  .about-wrap {
    padding: 24px;
  }
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-left-width: 4px;
  }
  .footer-links {
    gap: 16px;
  }
  .hero-btn, .hero-btn-secondary {
    display: block;
    margin: 8px 0;
    text-align: center;
  }
}