@import url('./header.css');
@import url('./footer.css');
@import url('./sidebar.css?v=20260812d');
@import url('./site-shell.css?v=20260908a');

:root {
  --ink: #10233f;
  --navy: #0c2c51;
  --blue: #1664ff;
  --sky: #eaf3ff;
  --paper: #f5f8fc;
  --line: #d9e3ef;
  --muted: #64748b;
  --accent: #ff9f43;
}

html { scroll-behavior: smooth; }
body { min-width: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
a { color: inherit; }
.product-header { position: sticky; top: 0; z-index: 100; height: 76px; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,35,63,.08); backdrop-filter: blur(14px); }
.product-header__inner { width: min(1200px, calc(100% - 40px)); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 42px; }
.brand img { display: block; width: 154px; height: auto; }
.product-header nav { flex: 1; }
.product-header ul { display: flex; align-items: center; justify-content: center; gap: 34px; }
.product-header nav a { position: relative; display: block; padding: 28px 0 24px; font-size: 15px; color: #344861; white-space: nowrap; }
.product-header nav a::after { content: ""; position: absolute; left: 50%; bottom: 18px; width: 0; height: 2px; background: var(--blue); transition: .2s ease; }
.product-header nav a:hover::after, .product-header nav a[aria-current="page"]::after { left: 0; width: 100%; }
.product-header nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.header-cta, .primary-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 22px; color: white !important; background: var(--blue); border-radius: 4px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease; }
.header-cta:hover, .primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22,100,255,.22); }
.section { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 86px 0; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading h2, .directory-head h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.16; }
.section-heading > p { max-width: 440px; color: var(--muted); line-height: 1.8; text-align: right; }
.products-hero { min-height: 640px; padding: 112px max(20px, calc((100vw - 1200px)/2)); display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; color: var(--ink); overflow: hidden; position: relative; background-color: var(--paper); background-image: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 38%, rgba(245,248,252,.75) 72%, rgba(245,248,252,.58) 100%), url("../images/cargo-ship-sailing-ocean.jpg"); background-size: cover; background-position: center right; background-repeat: no-repeat; }
.products-hero h1 { max-width: 720px; font-size: clamp(28px, 2vw, 35px); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; word-break: keep-all; }
.products-hero h1 i { color: var(--blue); font-style: normal; }
.products-hero > div > p { max-width: 620px; margin-top: 30px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.text-button { color: var(--blue); font-weight: 600; }
.hero-index { min-height: 390px; padding: 32px; border: 1px solid rgba(16,35,63,.10); background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-radius: 6px; box-shadow: 0 16px 48px rgba(16,35,63,.10); }
.hero-index__head { padding-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(16,35,63,.10); }
.hero-index__head strong { color: var(--blue); font-size: 12px; letter-spacing: .18em; }
.hero-index__head span { color: var(--muted); font-size: 13px; }
.hero-index dl > div { min-height: 66px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; border-bottom: 1px solid rgba(16,35,63,.08); }
.hero-index dt { color: var(--blue); font: 700 11px/1 Arial, sans-serif; letter-spacing: .12em; }
.hero-index dd strong, .hero-index dd span { display: block; }
.hero-index dd strong { font-size: 16px; }
.hero-index dd span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.hero-index > p { margin-top: 20px; color: var(--muted); font-size: 13px; }
.featured { background: var(--paper); }
.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.featured-grid a { min-height: 260px; padding: 28px; background: white; border: 1px solid var(--line); transition: .2s ease; }
.featured-grid a:hover { transform: translateY(-6px); border-color: #9bc1ff; box-shadow: 0 18px 38px rgba(21,50,88,.1); }
.featured-grid h3 { margin: 24px 0 8px; font-size: 28px; font-weight: 700; }
.featured-grid p { min-height: 42px; color: var(--muted); }
.featured-grid b { display: block; margin-top: 28px; color: var(--blue); font-size: 14px; }
.flag { flex: 0 0 auto; width: 48px; height: 36px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: white; border: 1px solid rgba(16,35,63,.08); box-shadow: 0 4px 10px rgba(16,35,63,.12); }
.flag img { width: 100%; height: 100%; display: block; object-fit: cover; }
.flag--large { width: 78px; height: 58px; }
.directory { padding-top: 70px; }
.directory-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.country-search { width: min(420px, 100%); }
.country-search span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.country-search input { width: 100%; height: 48px; padding: 0 16px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 2px; outline: none; font: inherit; }
.country-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,100,255,.12); }
.search-status { min-height: 24px; color: var(--muted); }
.continent { padding: 48px 0 26px; border-top: 1px solid var(--line); }
.continent[hidden] { display: none; }
.continent-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; }
.continent-heading h2 { font-size: 30px; font-weight: 700; }
.continent-heading > span { color: var(--muted); font-size: 13px; }
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.country-card { position: relative; min-height: 84px; padding: 16px; display: flex; align-items: center; gap: 14px; background: white; border: 1px solid transparent; }
.country-card:hover, .country-card:focus-visible { border-color: #9dc3ff; background: #fafdff; outline: none; }
.country-card[hidden] { display: none; }
.country-card strong, .country-card small { display: block; }
.country-card strong { margin-bottom: 5px; font-size: 16px; }
.country-card small { max-width: 170px; color: #7a8ba1; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; }
.country-hero { color: white; background: var(--navy); }
.country-hero__inner { width: min(1200px, calc(100% - 40px)); min-height: 500px; margin: 0 auto; padding: 42px 0 58px; display: flex; flex-direction: column; justify-content: space-between; }
.breadcrumb { display: flex; gap: 10px; color: #a9bed6; font-size: 13px; }
.breadcrumb a:hover { color: white; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px auto 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #c2cbdb; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb [aria-current] { color: var(--ink); }
.breadcrumb,
.breadcrumb ol { width: min(1200px, calc(100% - 40px)); }
.breadcrumb { margin: 0 auto; }
.country-title { display: flex; align-items: center; gap: 28px; }
.country-title .flag { width: 112px; height: 84px; }
.country-title h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; word-break: keep-all; }
.country-title p { margin-top: 12px; color: #a9bed6; font-size: 16px; word-break: normal; }
.snapshot { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.snapshot div { min-height: 84px; padding: 18px 22px; border-right: 1px solid rgba(255,255,255,.16); }
.snapshot div:last-child { border-right: 0; }
.snapshot span, .snapshot strong { display: block; }
.snapshot span { margin-bottom: 8px; color: #91a9c3; font-size: 11px; }
.snapshot strong { font-size: 18px; line-height: 1.4; }
.economy .lead { max-width: 980px; font-size: 19px; line-height: 2; }
.source-note { color: var(--muted); font-size: 12px; }
.capability-strip { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); background: white; border: 1px solid var(--line); }
.capability-strip div { padding: 22px; border-right: 1px solid var(--line); }
.capability-strip div:last-child { border-right: 0; }
.capability-strip b, .capability-strip span { display: block; }
.capability-strip b { margin-bottom: 8px; }
.capability-strip span { color: var(--muted); font-size: 13px; }
.sample-section { padding-top: 20px; }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: white; border: 1px solid var(--line); }
.panel-title { min-height: 64px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel-title h3 { font-size: 18px; font-weight: 700; }
.panel-title span { color: var(--muted); font-size: 12px; }
.sample-chart { display: block; width: 100%; max-width: 100%; padding: 18px; box-sizing: border-box; }
.sample-chart .grid-lines line { stroke: #e2e9f2; stroke-width: 1; }
.sample-chart circle { fill: var(--accent); stroke: white; stroke-width: 2; }
.sample-chart text { fill: #708198; font-size: 11px; }
.ranking { padding: 15px 22px 20px; }
.ranking li { min-height: 54px; display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid #edf1f6; }
.ranking li:last-child { border-bottom: 0; }
.ranking .rank { color: #9aacc0; font-size: 12px; }
.ranking strong { display: block; max-width: 260px; overflow: hidden; color: #30445f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; word-break: normal; }
.ranking i { display: block; width: var(--bar); height: 4px; margin-top: 7px; background: #8ebeff; }
.ranking b { font-size: 12px; }
.table-panel { min-width: 0; margin-top: 20px; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 1050px; border-collapse: collapse; }
th, td { padding: 16px 14px; border-bottom: 1px solid #e8edf4; font-size: 12px; line-height: 1.55; text-align: left; word-break: normal; }
th { color: #50647d; background: #f5f8fc; font-weight: 600; white-space: nowrap; }
td { color: #354a64; }
.placeholder { margin-top: 20px; padding: 42px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; background: white; border: 1px solid var(--line); }
.placeholder h2 { margin-bottom: 10px; font-size: 28px; font-weight: 700; }
.placeholder p { max-width: 760px; color: var(--muted); line-height: 1.8; }
.status-dot { width: 14px; height: 14px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 9px #fff1df; }
.source-box { margin-top: 20px; padding: 34px; background: #eaf2fb; }
.source-box h2 { margin-bottom: 12px; font-size: 20px; font-weight: 700; }
.source-box p { color: #50647d; line-height: 1.8; }
.source-box div { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; color: var(--blue); font-size: 13px; }
.product-footer { margin-top: 90px; padding: 48px max(20px, calc((100vw - 1200px)/2)); display: flex; justify-content: space-between; gap: 30px; color: white; background: #081d35; }
.product-footer strong { font-size: 22px; }
.product-footer p { margin-top: 10px; color: #8fa7c1; }
.product-footer > div:last-child { display: flex; align-items: center; gap: 24px; color: #aabbd0; font-size: 13px; }
.product-footer a { color: white; }

@media (max-width: 1024px) {
  .product-header__inner { gap: 20px; }
  .product-header ul { gap: 18px; }
  .header-cta { display: none; }
  .products-hero { grid-template-columns: 1fr; }
  .products-hero aside { display: none; }
  .featured-grid, .country-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .product-header { height: auto; position: relative; }
  .product-header__inner { width: 100%; padding: 14px 20px; flex-wrap: wrap; }
  .brand img { width: 132px; }
  .product-header nav { flex-basis: 100%; overflow-x: auto; }
  .product-header ul { width: max-content; justify-content: flex-start; }
  .product-header nav a { padding: 10px 0 12px; }
  .product-header nav a::after { bottom: 5px; }
  .products-hero { min-height: auto; padding-top: 82px; padding-bottom: 82px; }
  .products-hero > div { min-width: 0; }
  .products-hero h1 { font-size: 42px; word-break: normal; overflow-wrap: anywhere; }
  .products-hero > div > p { font-size: 16px; }
  .hero-actions { flex-wrap: wrap; }
  .section { width: min(100% - 28px, 1200px); padding: 64px 0; }
  .section-heading, .directory-head { display: block; }
  .section-heading > p { margin-top: 16px; text-align: left; }
  .country-search { margin-top: 24px; }
  .featured-grid, .country-grid { grid-template-columns: 1fr; }
  .country-title { align-items: flex-start; gap: 15px; }
  .country-title .flag { width: 72px; height: 54px; }
  .country-title > div { min-width: 0; }
  .country-title h1 { font-size: 34px; line-height: 1.12; word-break: normal; overflow-wrap: anywhere; }
  .country-title p { font-size: 13px; }
  .snapshot { grid-template-columns: 1fr 1fr; }
  .snapshot div:nth-child(2) { border-right: 0; }
  .snapshot div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .capability-strip { grid-template-columns: 1fr 1fr; }
  .capability-strip div:nth-child(2) { border-right: 0; }
  .capability-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .placeholder { grid-template-columns: auto 1fr; }
  .placeholder .primary-button { grid-column: 1 / -1; }
  .product-footer, .product-footer > div:last-child { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
