@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Unbounded:wght@500;600;700&display=swap');

:root {
  --bg: #f3f5f8;
  --ink: #0c1622;
  --muted: #5b6b7c;
  --line: #d8e0ea;
  --surface: #ffffff;
  --accent: #1a66ff;
  --accent-deep: #0d3fa8;
  --signal: #ff6a3d;
  --chip: #e8eef7;
  --header-h: 70px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Figtree, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 100% -5%, rgba(26,102,255,.12), transparent 55%),
    radial-gradient(700px 400px at -5% 15%, rgba(255,106,61,.08), transparent 50%),
    linear-gradient(180deg, #eef2f7 0%, var(--bg) 40%);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(243,245,248,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(12,22,34,.06);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.logo img { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 16px !important;
  border-radius: 999px;
  background: var(--accent) !important;
  color: #fff !important;
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 0;
  overflow: hidden;
}
.hero-mesh {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 45%, rgba(26,102,255,.06)),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(12,22,34,.035) 48px, rgba(12,22,34,.035) 49px),
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(12,22,34,.035) 48px, rgba(12,22,34,.035) 49px);
}
.hero-main { padding-bottom: 48px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.brand-name {
  font-family: Unbounded, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.hero-title {
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500;
  margin: 0 0 12px;
  max-width: 34ch;
}
.lead { color: var(--muted); margin: 0 0 24px; max-width: 48ch; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); background: var(--accent); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #f0f4ff; }

/* Industry marquee */
.industry-rail {
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  overflow: hidden;
  padding: 16px 0;
}
.industry-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.industry-track:hover { animation-play-state: paused; }
.industry-chip {
  flex: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 72px 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -.03em;
  margin: 0;
}
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-head a { color: var(--accent); font-weight: 700; font-size: 14px; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .2s, box-shadow .2s;
}
.cap-card:hover {
  border-color: rgba(26,102,255,.35);
  box-shadow: 0 16px 40px rgba(12,22,34,.06);
}
.cap-card h3 {
  font-family: Unbounded, sans-serif;
  font-size: 1rem;
  margin: 0 0 8px;
}
.cap-card p { margin: 0; color: var(--muted); font-size: 14px; }

.about { background: rgba(255,255,255,.5); }
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.about-grid h2 {
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -.03em;
  margin: 0;
}
.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sol-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(12,22,34,.08);
}
.sol-cover { aspect-ratio: 16/10; background: #dbe4f2; overflow: hidden; }
.sol-cover img { width: 100%; height: 100%; object-fit: cover; }
.sol-placeholder {
  height: 100%;
  display: grid; place-items: center;
  font-family: Unbounded, sans-serif;
  font-size: 14px;
  padding: 16px;
  text-align: center;
  background:
    linear-gradient(135deg, #c9d8f5, #eef2f8 55%, #ffd8cb);
}
.sol-meta { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.sol-meta h3 {
  font-family: Unbounded, sans-serif;
  font-size: .98rem;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.sol-meta p { margin: 0 0 14px; color: var(--muted); font-size: 14px; flex: 1; }
.sol-cta { color: var(--accent); font-weight: 700; font-size: 13px; }

.news-list { display: flex; flex-direction: column; gap: 0; }
.news-row {
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.news-row:hover span { color: var(--accent); }
.news-row time { color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }

.inquire-band {
  margin: 24px 0 0;
  padding: 56px 0;
  background:
    linear-gradient(120deg, #0c1622 0%, #14305c 55%, #1a66ff 140%);
  color: #fff;
}
.inquire-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.inquire-inner h2 {
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 8px;
  letter-spacing: -.03em;
}
.inquire-inner p { margin: 0; opacity: .85; max-width: 46ch; }

.page-hero { padding: 48px 0 12px; }
.page-hero h1 {
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -.03em;
  margin: 0 0 8px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.chips a.active, .chips a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.detail-title {
  font-family: Unbounded, sans-serif;
  letter-spacing: -.03em;
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}
.detail-cover {
  margin: 20px 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.detail-actions { margin-top: 28px; }
.prose { max-width: 72ch; }
.prose p { margin: 0 0 1em; color: #2a3848; }

.contact-form {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  max-width: 520px;
}
.contact-form label {
  display: grid; gap: 6px;
  font-weight: 600; font-size: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--surface);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.notice {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.notice.ok { background: #e8f8ef; color: #0f6b3a; }
.notice.err { background: #fdeceb; color: #b42318; }

.site-footer {
  margin-top: 40px;
  padding: 40px 0 24px;
  border-top: 1px solid var(--line);
  background: #ebf0f6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-brand {
  font-family: Unbounded, sans-serif;
  display: block;
  margin-bottom: 8px;
}
.site-footer p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.copy { font-size: 12px; color: var(--muted); }

.float-inquire {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--signal);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(255,106,61,.4);
  transition: transform .15s;
}
.float-inquire:hover { transform: scale(1.06); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .cap-grid, .sol-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .footer-grid, .inquire-inner { grid-template-columns: 1fr; }
  .inquire-inner { align-items: start; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    background: rgba(243,245,248,.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .cap-grid, .sol-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 36px; }
  .brand-name { font-size: clamp(2rem, 10vw, 2.8rem); }
  .float-inquire { right: 14px; bottom: 16px; width: 52px; height: 52px; }
}
