/* 搞定offer 形象站 — 主题色 #017CFF */
:root {
  --brand: #017cff;
  --brand-dark: #0060cc;
  --brand-light: #e8f3ff;
  --brand-glow: rgba(1, 124, 255, 0.35);
  --text: #0f172a;
  --text-muted: #475569;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 40px rgba(1, 124, 255, 0.12);
  --max: 1120px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Outfit", var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
}

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

.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--brand);
}

.nav-desktop .btn-primary,
.nav-desktop .btn-primary:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px var(--brand-glow);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 6px 20px var(--brand-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--brand-light);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 16px 0 24px;
  border-top: 1px solid var(--border);
}

.nav-mobile a {
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .btn-primary {
  margin-top: 12px;
  text-align: center;
  color: #fff;
}

.nav-mobile .btn-primary:hover {
  color: #fff;
}

.site-header.is-open .nav-mobile {
  display: flex;
}

@media (max-width: 880px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(1, 124, 255, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 10% 40%, rgba(1, 124, 255, 0.08), transparent),
    linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 32em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  font-size: 0.8125rem;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-item {
  padding: 16px;
  background: var(--surface-2);
  border-radius: var(--radius);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Sections */
section {
  padding: 72px 0;
}

section:nth-child(even) {
  background: #fff;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}

.why-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.why-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* CBD */
.cbd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .cbd-grid {
    grid-template-columns: 1fr;
  }
}

.cbd-letters {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cbd-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cbd-letter {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #3399ff);
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}

.cbd-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.cbd-item span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.cbd-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.cbd-visual img {
  width: 100%;
  vertical-align: middle;
}

/* Services */
.services-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .services-wrap {
    grid-template-columns: 1fr;
  }
}

.service-col {
  background: var(--surface-2);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.service-col h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-col h3::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--brand);
  border-radius: 2px;
}

.service-col ul {
  margin: 0;
  padding-left: 1.25em;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.service-col li {
  margin-bottom: 8px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-light));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-left: 44px;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 5px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--brand-light);
}

.timeline-year {
  font-weight: 800;
  color: var(--brand);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.timeline-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Project */
.project-block {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-block h2 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.project-block p {
  margin: 0 0 12px;
  color: #94a3b8;
  font-size: 0.975rem;
}

.project-block .btn-primary {
  margin-top: 16px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-gallery a:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Links / resources */
.link-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.link-row span {
  font-weight: 500;
  color: var(--text);
}

.link-row a {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 32px;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.footer-entity {
  margin: 0 0 12px;
  color: #cbd5e1;
  font-size: 0.9375rem;
  font-weight: 500;
}

.footer-note {
  margin: 0;
  line-height: 1.7;
}

.footer-address {
  margin: 16px 0 0;
  line-height: 1.65;
  color: #94a3b8;
  font-size: 0.8125rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact strong {
  color: #e2e8f0;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #64748b;
  font-size: 0.8125rem;
}

.footer-bottom__line {
  margin: 0 0 8px;
  line-height: 1.6;
}

.footer-bottom__line:last-child {
  margin-bottom: 0;
}

.footer-icp {
  color: #94a3b8;
}

.footer-icp:hover {
  color: #e2e8f0;
}

/* 联系我们 — 二维码居中 */
.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  text-align: center;
}

.qr-wrap__img {
  max-width: 220px;
  width: min(220px, 72vw);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow);
}

.qr-wrap__caption {
  margin: 20px 0 0;
  max-width: 28em;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.qr-wrap__brand {
  color: var(--text);
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
