/*
  Boundless 静态展示站
  技术栈：HTML5 + CSS3 + 原生 JavaScript
  特点：单页面、响应式、滚动动画、无构建步骤、可直接上传到 1Panel 网站目录
*/

:root {
  --bg: #050505;
  --bg-2: #0f0f10;
  --card: rgba(255,255,255,.055);
  --card-2: rgba(255,255,255,.085);
  --line: rgba(255,255,255,.13);
  --text: #ffffff;
  --muted: rgba(255,255,255,.70);
  --faint: rgba(255,255,255,.48);
  --accent: #ffffff;
  --accent-dark: #050505;
  --soft: #d8d8d8;
  --shadow: 0 28px 90px rgba(0,0,0,.42);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.10), transparent 34rem),
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.055), transparent 28rem),
    var(--bg);
  color: var(--text);
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 40px));
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 5, 5, .74);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 22px;
  z-index: 20;
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
  transition: background .3s ease, border-color .3s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, .94);
  border-color: rgba(255,255,255,.26);
}

.brand img {
  display: block;
  height: 34px;
  width: auto;
  filter: invert(1);
}

.desktop-nav {
  display: flex;
  gap: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a { transition: color .25s ease; }
.desktop-nav a:hover { color: #fff; }

.header-cta,
.btn.primary {
  background: #fff;
  color: #050505;
  border-radius: 14px;
  font-weight: 900;
  padding: 14px 20px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.header-cta:hover,
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255,255,255,.18);
  background: #f0f0f0;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: white;
  margin: 7px 0;
  border-radius: 999px;
}

.mobile-menu {
  position: fixed;
  top: 92px;
  left: 16px;
  right: 16px;
  display: none;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(5,5,5,.96);
  backdrop-filter: blur(16px);
  padding: 12px;
  z-index: 19;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.mobile-menu a:last-child { border-bottom: 0; }

.hero {
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 138px 0 72px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.78) 42%, rgba(5,5,5,.36) 72%, rgba(5,5,5,.82) 100%),
    url("./assets/makati.jpg") center center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  color: #fff;
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 12px;
  text-transform: uppercase;
  opacity: .72;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: .98;
  letter-spacing: -.075em;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 640px;
  color: rgba(255,255,255,.78);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
}

.btn.ghost {
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
  background: rgba(255,255,255,.04);
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.055);
  font-size: 14px;
  font-weight: 700;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.section.alt {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.055), rgba(255,255,255,.02));
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.section-head { margin-bottom: 34px; }

.section-head h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.055em;
  margin-bottom: 12px;
}

.section-head p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card, .wide-card, .image-card, .results-panel, .contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-2), rgba(255,255,255,.035));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 26px 24px;
  min-height: 170px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.card:hover,
.wide-card:hover,
.image-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.34);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
}

.icon {
  color: #fff;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 22px;
  font-weight: 900;
}

.card h3,
.wide-card h3,
.image-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.card p,
.wide-card p,
.image-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.wide-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.wide-card .icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}

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

.image-card {
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.image-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
}

.image-card-body {
  padding: 24px;
}

.results-section { padding-top: 30px; }

.results-panel {
  padding: 34px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.results-copy h3 {
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -.055em;
  margin-bottom: 14px;
}

.results-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.results-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.results-list div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.results-list strong {
  display: block;
  font-size: 32px;
  letter-spacing: -.04em;
  margin-bottom: 6px;
}

.results-list span {
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 90px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.10), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
}

.contact-card h2 {
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -.05em;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.8;
}

.contact-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-list a {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  transition: border-color .2s ease, transform .2s ease;
}

.contact-list a:hover {
  border-color: rgba(255,255,255,.36);
  transform: translateX(3px);
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--faint);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 46px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.site-footer strong {
  color: white;
  font-size: 24px;
  letter-spacing: -.04em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-grid .reveal:nth-child(2) { transition-delay: .06s; }
.service-grid .reveal:nth-child(3) { transition-delay: .12s; }
.service-grid .reveal:nth-child(4) { transition-delay: .18s; }
.service-grid .reveal:nth-child(5) { transition-delay: .24s; }
.service-grid .reveal:nth-child(6) { transition-delay: .30s; }

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-btn { display: block; }

  .site-header {
    height: 58px;
    border-radius: 18px;
    top: 12px;
  }

  .brand img { height: 29px; }

  .hero {
    min-height: 760px;
    padding: 112px 0 56px;
    align-items: flex-start;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5,5,5,.74) 0%, rgba(5,5,5,.74) 42%, rgba(5,5,5,.96) 100%),
      url("./assets/makati.jpg") center center / cover no-repeat;
  }

  h1 { margin-top: 30px; }
  .hero-text { max-width: 100%; }

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

  .resource-grid,
  .results-panel,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section { padding: 68px 0; }

  .image-card img { height: 250px; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { width: 100%; }

  .service-grid,
  .advantage-grid,
  .results-list {
    grid-template-columns: 1fr;
  }

  .card { min-height: 0; }
  .wide-card { padding: 20px; }
  .contact-card { padding: 24px; }
  .image-card img { height: 220px; }
}
