/* 全站基础样式 */
:root {
  --color-primary: #102a5c;
  --color-secondary: #2563eb;
  --color-accent: #c8a45d;
  --color-accent-soft: #f7edd9;
  --color-text: #263244;
  --color-muted: #667085;
  --color-bg: #f5f7fb;
  --color-white: #ffffff;
  --color-ink: #08142b;
  --color-line: #e4e9f2;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 28px 70px rgba(8, 20, 43, 0.18);
  --radius: 18px;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--color-bg);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.section__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  color: #0f172a;
  font-weight: 700;
}

.section__desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: #1e40af;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: #dbeafe;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.card__title {
  margin: 0 0 10px;
  font-size: 20px;
  color: #0f172a;
}

.card__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
}

.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(160deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 42px);
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
  font-size: 18px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  margin-top: auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px 40px;
}

.site-footer__brand strong {
  display: block;
  color: #f1f5f9;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.site-footer__brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer h4 {
  color: #e2e8f0;
  margin: 0 0 16px;
  font-size: 15px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 10px;
  font-size: 14px;
}

.site-footer a {
  color: #94a3b8;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

.site-footer__bottom p {
  margin: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #0f172a;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* 高级质感视觉升级 */
body {
  background:
    radial-gradient(circle at 12% 0%, rgba(200, 164, 93, 0.12), transparent 32%),
    linear-gradient(180deg, #fbfcff 0%, #f5f7fb 48%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.92), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 90% 12%, rgba(37, 99, 235, 0.08), transparent 28%);
}

.section__label {
  color: var(--color-accent);
  font-weight: 700;
}

.section__title {
  color: var(--color-ink);
  letter-spacing: -0.04em;
  font-weight: 800;
}

.btn,
.cta-btn,
.hero-carousel__btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: linear-gradient(135deg, #102a5c 0%, #1f4e9e 100%);
  box-shadow: 0 14px 28px rgba(16, 42, 92, 0.22);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #0b1d3d 0%, #2563eb 100%);
  transform: translateY(-2px);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 42, 92, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.card,
.service-list li,
.notice-item,
.study-hub__card {
  border: 1px solid rgba(228, 233, 242, 0.9);
  box-shadow: var(--shadow-sm);
}

.card:hover,
.service-list li:hover,
.notice-item:hover,
.study-hub__card:hover {
  box-shadow: var(--shadow-md);
}

.card__icon {
  background: linear-gradient(135deg, rgba(200, 164, 93, 0.18), rgba(37, 99, 235, 0.08));
  color: var(--color-primary);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 20% 18%, rgba(200, 164, 93, 0.35), transparent 24%),
    linear-gradient(135deg, #08142b 0%, #102a5c 48%, #1f4e9e 100%);
}

.page-hero h1 {
  position: relative;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-hero p {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(200, 164, 93, 0.14), transparent 28%),
    linear-gradient(180deg, #08142b 0%, #050b18 100%);
}

.form-group input,
.form-group textarea,
.form-group select {
  border-color: rgba(16, 42, 92, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
