/* 蓝途出海 — 站点样式 */

:root {
  --bg: #f0f4fa;
  --bg-soft: #e6edf7;
  --surface: #ffffff;
  --surface-strong: #e8f0fc;
  --border: rgba(20, 45, 90, 0.1);
  --text: #142032;
  --muted: #5a6b82;
  --primary: #1f73ff;
  --primary-soft: rgba(31, 115, 255, 0.14);
  --accent: #0b7fcc;
  --footer-bg: #e4eaf5;
  --footer-text: #556075;
  --footer-heading: #122032;
  --footer-border: rgba(20, 45, 90, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 42px rgba(20, 45, 90, 0.09);
  --shadow-mobile-nav: 0 18px 48px rgba(20, 45, 90, 0.12);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", system-ui, -apple-system, Segoe UI, sans-serif;
  background: linear-gradient(180deg, #f7fafd 0%, var(--bg) 38%, #eef3fa 100%);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
}

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

.brand__logo img {
  display: block;
  width: 40px;
  height: 40px;
}

.brand__text {
  background: linear-gradient(135deg, #0f2744 0%, var(--primary) 52%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

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

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}

.nav__link {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--text);
  background: var(--surface);
}

.nav__link.is-active {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-soft), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(31, 115, 255, 0.22);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d5cd6 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 115, 255, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 14px 36px rgba(31, 115, 255, 0.45);
}

.btn--ghost {
  background: #eef3fb;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(31, 115, 255, 0.35);
  background: #e4ecfa;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 120%;
  background: radial-gradient(ellipse at 50% 0%, rgba(31, 115, 255, 0.18), transparent 58%),
    radial-gradient(ellipse at 80% 20%, rgba(88, 185, 255, 0.1), transparent 48%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 52ch;
}

.hero__panel {
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, #ffffff 0%, #f3f8ff 100%);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 28px);
}

.hero--home {
  background-color: #e8f0fb;
  background-image: linear-gradient(
      105deg,
      rgba(245, 249, 255, 0.94) 0%,
      rgba(245, 249, 255, 0.78) 45%,
      rgba(238, 244, 252, 0.52) 100%
    ),
    url("../images/original/banner.jpg");
  background-size: cover;
  background-position: center center;
}

.hero--home::before {
  display: none;
}

.hero__visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(31, 115, 255, 0.15);
  background: #fff;
  box-shadow: 0 12px 36px rgba(20, 45, 90, 0.1);
}

.hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.hero__mock {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: radial-gradient(circle at 30% 22%, rgba(31, 115, 255, 0.12), transparent 50%),
    linear-gradient(145deg, #eef5ff, #f8fbff);
  border: 1px solid rgba(31, 115, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.hero__mock::after {
  content: "";
  position: absolute;
  inset: 22% 12%;
  border-radius: 12px;
  border: 1px dashed rgba(31, 115, 255, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.bullet-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bullet-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}

.bullet-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  flex-shrink: 0;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section--soft {
  background: linear-gradient(180deg, transparent, rgba(31, 115, 255, 0.06) 45%, transparent);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section__title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 2px 12px rgba(20, 45, 90, 0.04);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(31, 115, 255, 0.28);
  box-shadow: 0 10px 28px rgba(31, 115, 255, 0.1);
  transform: translateY(-2px);
}

.card__tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

.icon-card {
  text-align: center;
  padding: 22px 16px;
}

.icon-card__glyph {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 243, 255, 0.95));
  border: 1px solid rgba(31, 115, 255, 0.2);
  box-shadow: 0 4px 14px rgba(31, 115, 255, 0.08);
}

.ui-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: block;
  color: #1560df;
}

.icon-card__label {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.feature-block {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 26px;
  background: linear-gradient(165deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 2px 14px rgba(20, 45, 90, 0.05);
}

.feature-block h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.feature-block p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 6px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat {
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.stat__k {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

.stat__v {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card--media .card__media {
  aspect-ratio: 16 / 10;
  background: #eef3fb;
  border-bottom: 1px solid var(--border);
}

.card--media .card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card--media .card__tag {
  margin: 18px 22px 0;
}

.card--media .card__title {
  margin: 14px 22px 10px;
}

.card--media .card__media + .card__title {
  margin-top: 18px;
}

.card--media .card__text {
  margin: 0 22px;
}

.card--media .btn-row {
  margin: 16px 22px 22px;
}

.case-studies .section__head {
  margin-bottom: 22px;
}

.case-grid {
  gap: 8px;
}

@media (min-width: 761px) {
  .case-grid {
    gap: 10px;
  }
}

.case-real {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(20, 45, 90, 0.06);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.case-real:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 115, 255, 0.12);
}

.case-real:focus {
  outline: none;
}

.case-real:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.case-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  box-sizing: border-box;
}

.case-lightbox[hidden] {
  display: none !important;
}

.case-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 71, 0.78);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}

.case-lightbox__img {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.case-lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.15s;
}

.case-lightbox__close:hover {
  background: #fff;
  transform: scale(1.05);
}

.page-hero__split {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 300px);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.page-hero__figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 30px rgba(31, 115, 255, 0.18));
}

.media-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: center;
  align-items: center;
  margin: 8px 0 0;
}

.media-logo-strip img {
  height: 44px;
  width: auto;
  object-fit: contain;
  opacity: 0.92;
}

.about-figure {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.about-figure img {
  max-width: min(520px, 100%);
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-banner {
  margin-top: 48px;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(31, 115, 255, 0.2);
  background: linear-gradient(120deg, rgba(31, 115, 255, 0.12), rgba(232, 243, 255, 0.95));
  text-align: center;
  box-shadow: 0 8px 32px rgba(31, 115, 255, 0.08);
}

.cta-banner h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.cta-banner p {
  margin: 0 0 18px;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.timeline__idx {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 243, 255, 0.88));
  border: 1px solid rgba(31, 115, 255, 0.22);
  box-shadow: 0 2px 10px rgba(31, 115, 255, 0.06);
  color: var(--primary);
}

.timeline__idx .ui-icon {
  width: 22px;
  height: 22px;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  background: var(--surface);
}

.info-card h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--accent);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 56px;
  border-top: 1px solid var(--footer-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand .brand__logo img {
  width: 34px;
  height: 34px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(31, 115, 255, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 243, 255, 0.9));
  margin-bottom: 14px;
}

.footer-brand .brand__text {
  font-size: 1.25rem;
}

.footer-about {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: var(--footer-heading);
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

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

.footer-links a {
  color: var(--footer-text);
  font-size: 0.94rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.footer-services a {
  color: var(--footer-text);
  font-size: 0.94rem;
  transition: color 0.2s;
}

.footer-services a:hover {
  color: var(--primary);
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 0.94rem;
}

.footer-bottom {
  padding: 20px 0 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Page hero variants ---------- */

.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 70% at 50% -15%, rgba(31, 115, 255, 0.14), transparent),
    linear-gradient(180deg, #ffffff 0%, rgba(245, 249, 255, 0.6) 100%);
}

.page-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.4vw, 2.4rem);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.page-hero__badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.page-hero__lead {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 720px;
}

.page-hero__note {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 0.98rem;
  max-width: 800px;
}

/* ---------- Responsive ---------- */

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

  .page-hero__split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero__split .btn-row {
    justify-content: center;
  }

  .page-hero__figure {
    max-width: 280px;
    margin: 0 auto;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-mobile-nav);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
  }

  .site-header.is-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    border-radius: var(--radius-sm);
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-services {
    grid-template-columns: 1fr;
  }
}
