/* ========================================================================
   basitao.com — Apple-inspired refresh (2026-05-15)
   Side-by-side with legacy style.css. New pages link this; old pages keep style.css.
======================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
               'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',
               'Helvetica', 'Arial', sans-serif;
  color: #1d1d1f;
  background: #ffffff;
  line-height: 1.47;
  font-weight: 400;
  -webkit-font-feature-settings: "ss01", "ss02";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
ul { list-style: none; }

:root {
  --ink:        #1d1d1f;
  --ink-2:      #424245;
  --ink-3:      #6e6e73;
  --ink-4:      #86868b;
  --line:       #d2d2d7;
  --line-2:     #e5e5e7;
  --bg-1:       #ffffff;
  --bg-2:       #f5f5f7;
  --bg-3:       #fbfbfd;
  --bg-deep:    #0d3b4d;       /* 深海军蓝 — hero / accent block */
  --bg-deep-2:  #1a5f7a;
  --gold:       #c9a96e;        /* 香槟金 */
  --gold-2:     #b8965d;
  --link:       #2a7a99;
  --link-hover: #1a5f7a;
  --max:        1280px;
  --max-narrow: 980px;
  --radius:     14px;
  --radius-lg:  22px;
  --shadow-1:   0 2px 10px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.06);
  --shadow-2:   0 12px 32px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.05);
  --shadow-hero:0 30px 80px rgba(13,59,77,.18);
  --ease:       cubic-bezier(.4, 0, .2, 1);
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 max(20px, 5vw); }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 max(20px, 5vw); }

/* ============== Typography scale (Apple-like fluid) ============== */
.eyebrow {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.022em; color: var(--ink); line-height: 1.08; }
h1.display-xl { font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -.035em; line-height: 1.04; }
h1.display    { font-size: clamp(2.2rem, 4.5vw, 3.8rem); letter-spacing: -.03em; line-height: 1.08; }
h2.section-h  { font-size: clamp(1.8rem, 3.4vw, 2.85rem); letter-spacing: -.025em; line-height: 1.12; }
h3.card-h     { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.015em; line-height: 1.25; }
.lead         { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); line-height: 1.5; font-weight: 400; }
.muted        { color: var(--ink-3); }
.gold-accent  { color: var(--gold); }
.gold-line { width: 36px; height: 2px; background: var(--gold); margin: 12px auto 0; border-radius: 2px; }
.gold-line.left { margin-left: 0; margin-right: auto; }

/* ============== Navigation ============== */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 52px;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
header.nav.scrolled {
  background: rgba(251, 251, 253, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
header.nav.solid {
  background: rgba(251, 251, 253, .92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 max(20px, 4vw);
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.005em; color: var(--ink);
}
.nav-brand .mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-deep-2));
  color: var(--gold);
  font-weight: 700; font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}
.nav-brand .mark::before { content: 'B'; }
.nav-brand .sub { color: var(--ink-3); font-weight: 400; font-size: .82rem; margin-left: 4px; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: .82rem; font-weight: 400; color: var(--ink-2);
  padding: 6px 12px; border-radius: 6px; transition: opacity .2s ease;
}
.nav-links a:hover { color: var(--ink); opacity: 1; }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-lang { display: flex; gap: 6px; margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--line-2); }
.nav-lang a { font-size: .78rem; padding: 4px 8px; color: var(--ink-3); border-radius: 4px; }
.nav-lang a:hover { color: var(--ink); }
.nav-lang a.active { color: var(--ink); font-weight: 500; }
.nav-toggle { display: none; }
.nav-drawer { display: none; }  /* default hide on desktop, only mobile media-query reveals it */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; flex-direction: column; gap: 4px; padding: 6px; cursor: pointer; background: none; border: 0; }
  .nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
  .nav-drawer { position: fixed; top: 52px; left: 0; right: 0; background: rgba(251,251,253,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line-2); padding: 18px max(20px, 4vw); }
  .nav-drawer.open { display: block; }
  .nav-drawer a { display: block; padding: 12px 0; font-size: 1.02rem; color: var(--ink); border-bottom: 1px solid var(--line-2); }
  .nav-drawer .lang-row { display: flex; gap: 14px; padding: 12px 0; }
  .nav-drawer .lang-row a { display: inline; border: none; color: var(--ink-3); font-size: .9rem; }
  .nav-drawer .lang-row a.active { color: var(--ink); font-weight: 500; }
}

/* ============== Hero ============== */
.hero {
  position: relative; isolation: isolate;
  min-height: 92vh; padding: 130px 0 90px;
  display: flex; align-items: center;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 60%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(201,169,110,.14), transparent 60%),
    radial-gradient(55% 60% at 15% 110%, rgba(26,95,122,.10), transparent 65%);
}
.hero-content { max-width: var(--max-narrow); }
.hero h1.display-xl { margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.hero .lead { max-width: 680px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px; border-radius: 980px;
  font-size: .92rem; font-weight: 500;
  transition: transform .15s var(--ease), background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer; border: 0; line-height: 1;
}
.cta-primary { background: var(--ink); color: #fff; }
.cta-primary:hover { background: #000; transform: translateY(-1px); }
.cta-gold { background: var(--gold); color: var(--ink); }
.cta-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.cta-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.cta-ghost:hover { background: var(--bg-2); }
.cta-link { background: transparent; color: var(--link); padding: 12px 0; }
.cta-link::after { content: ' ›'; transition: transform .15s ease; display: inline-block; }
.cta-link:hover { color: var(--link-hover); }
.cta-link:hover::after { transform: translateX(3px); }

/* ============== Section base ============== */
section.page-section {
  padding: clamp(72px, 12vw, 140px) 0;
  position: relative;
}
section.page-section.tight { padding: clamp(56px, 8vw, 96px) 0; }
section.bg-soft { background: var(--bg-2); }
section.bg-deep {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  color: #fff;
}
section.bg-deep h1, section.bg-deep h2, section.bg-deep h3 { color: #fff; }
section.bg-deep .lead, section.bg-deep .muted { color: rgba(255,255,255,.78); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 12px; }

/* ============== Service grid (Apple-card style) ============== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--bg-3); border-radius: var(--radius-lg);
  padding: 38px 32px 32px;
  display: flex; flex-direction: column; gap: 18px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.service-card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-deep-2));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.service-card h3 { margin-bottom: 6px; }
.service-card p { color: var(--ink-3); font-size: .95rem; line-height: 1.55; flex: 1; }
.service-card .cta-link { padding: 0; align-self: flex-start; font-size: .92rem; }

/* ============== Stats / numbers band ============== */
.stats-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  padding: 56px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  text-align: center;
}
.stat-item .num { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.025em; color: var(--ink); line-height: 1; }
.stat-item .num.accent { background: linear-gradient(135deg, var(--bg-deep) 0%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item .label { display: block; margin-top: 12px; color: var(--ink-3); font-size: .88rem; letter-spacing: .02em; }

/* ============== Showcase strip (alternate light/dark blocks) ============== */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 64px;
  background: var(--bg-2);
}
.showcase-side { padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.showcase-side.deep {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  color: #fff;
}
.showcase-side.deep h3, .showcase-side.deep h2 { color: #fff; }
.showcase-side.deep p { color: rgba(255,255,255,.82); }
.showcase-side p { font-size: 1rem; color: var(--ink-3); line-height: 1.6; margin-bottom: 22px; }
@media (max-width: 880px) {
  .showcase { grid-template-columns: 1fr; }
}

/* ============== Country / map band ============== */
.country-list {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px;
}
.country-list .pill {
  background: rgba(255,255,255,.08); color: #fff;
  padding: 10px 18px; border-radius: 999px; font-size: .92rem;
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}

/* ============== Big CTA band ============== */
.cta-band {
  text-align: center;
  padding: clamp(64px, 9vw, 110px) 0;
  background: linear-gradient(135deg, #fafaf6 0%, #f5f5f7 100%);
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band .lead { max-width: 620px; margin: 0 auto 32px; }
.cta-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============== Footer ============== */
footer.site-footer {
  background: var(--bg-2); color: var(--ink-3);
  padding: 64px 0 28px;
  font-size: .85rem;
}
footer.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer .col h4 { font-size: .82rem; color: var(--ink); margin-bottom: 14px; letter-spacing: -.005em; font-weight: 600; }
footer .col a { display: block; padding: 4px 0; color: var(--ink-3); }
footer .col a:hover { color: var(--ink); }
footer .col p { margin-bottom: 8px; line-height: 1.55; }
footer .brand-col p { max-width: 280px; }
footer .legal {
  border-top: 1px solid var(--line-2);
  margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: .78rem; color: var(--ink-4);
}
footer .legal a { color: var(--ink-4); }
footer .legal a:hover { color: var(--ink-3); }
@media (max-width: 880px) {
  footer.site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  footer.site-footer .container { grid-template-columns: 1fr; }
}

/* ============== Page hero (for sub-pages) ============== */
.page-hero {
  padding: clamp(110px, 16vw, 180px) 0 clamp(48px, 7vw, 80px);
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  text-align: center;
}
.page-hero .container { max-width: var(--max-narrow); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -.03em; margin-bottom: 14px; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }

/* ============== Scroll reveal helper ============== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============== Utility ============== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.divider { height: 1px; background: var(--line-2); border: 0; margin: 0; }
