:root {
  --bg: #080a12;
  --panel: #101522;
  --panel-2: #131a29;
  --ink: #f4f7fb;
  --muted: #8b95a7;
  --soft: #5b6475;
  --blue: #0b74ff;
  --blue-2: #1aa4ff;
  --line: rgba(255,255,255,.09);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

html[lang="en"] body,
body:lang(en) {
  font-family: "Sora", "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(8, 10, 18, .08);
}

.nav,
.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #111827;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 2px;
}

.brand strong,
.footer-brand strong {
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1.2px;
}

.brand em,
.footer-brand em {
  color: #667085;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 34px;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 780px;
  padding: 150px 0 90px;
  overflow: hidden;
  background: #06133a url("../line-bg.png") left center / cover no-repeat;
}

.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 680px);
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0;
  color: #7db8ff;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 600px;
  color: rgba(244,247,251,.72);
  font-size: 19px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
}

.btn.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(11,116,255,.28);
}

.btn.secondary {
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.22);
}

.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.section-copy h2,
.section-head h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.16;
}

.section-copy p:not(.section-label),
.section-head p:not(.section-label) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.about {
  background: #0b0e17;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 90px;
  align-items: center;
}

.stat-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat-panel div {
  min-height: 170px;
  padding: 28px;
  background: var(--panel);
}

.stat-panel strong {
  display: block;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.stat-panel span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.services {
  background: var(--bg);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

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

.service-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}

.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #7db8ff;
  background: rgba(11,116,255,.1);
  border: 1px solid rgba(125,184,255,.16);
}

.icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 76px 0 0;
  font-size: 23px;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tags span {
  padding: 4px 10px;
  border-radius: 999px;
  color: #9ccaff;
  background: rgba(11,116,255,.08);
  font-size: 12px;
}

.approach {
  background: #0b0e17;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 84px;
  align-items: start;
}

.approach-list {
  display: grid;
  gap: 14px;
}

.approach-list article {
  display: grid;
  grid-template-columns: 62px 190px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.approach-list span,
.culture-grid span,
.vision-cards span {
  color: #7db8ff;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 1.4px;
}

.approach-list strong {
  font-size: 20px;
}

.approach-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.culture {
  background: var(--bg);
}

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

.culture-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.culture-grid strong {
  display: block;
  margin-top: 72px;
  font-size: 23px;
}

.culture-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.vision {
  background:
    linear-gradient(90deg, rgba(8,10,18,.96), rgba(8,10,18,.72)),
    url("../line-bg.png") center right / cover no-repeat;
}

.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

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

.vision-cards article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(10,18,32,.62);
}

.vision-cards strong {
  display: block;
  margin-top: 86px;
  font-size: 21px;
}

.vision-cards p {
  margin: 14px 0 0;
  color: rgba(244,247,251,.68);
  font-size: 14px;
  line-height: 1.8;
}

.footer {
  padding: 46px 0;
  background: #fff;
  color: #111827;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #667085;
  font-size: 14px;
  font-weight: 650;
}

.footer-contact {
  font-size: 13px;
  color: #667085;
  line-height: 1.8;
}

.footer-contact a {
  color: #344054;
  font-weight: 600;
}

.footer-legal {
  grid-column: 1 / 4;
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(8,10,18,.08);
  font-size: 12px;
  color: #98a2b3;
}

.footer-legal a:hover {
  color: #344054;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #667085;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: #111827;
}

.lang-switch span {
  color: #d0d5dd;
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-inner,
  .about-grid,
  .approach-layout,
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    justify-self: start;
    width: min(100%, 420px);
  }
  .service-grid,
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vision-cards {
    grid-template-columns: 1fr;
  }
  .approach-list article {
    grid-template-columns: 52px 1fr;
  }
  .approach-list p {
    grid-column: 2;
  }
  .footer-inner {
    grid-template-columns: auto 1fr;
  }
  .footer-legal {
    grid-column: 1 / 3;
  }
}

@media (max-width: 700px) {
  .nav,
  .section-inner,
  .hero-inner {
    width: min(100% - 32px, 1180px);
  }
  .hero {
    min-height: auto;
    padding: 118px 0 72px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .hero-card {
    min-height: 280px;
  }
  .section {
    padding: 78px 0;
  }
  .service-grid,
  .culture-grid,
  .stat-panel {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-row: auto;
  }
  .footer-legal {
    grid-column: 1;
  }
  .footer nav {
    flex-wrap: wrap;
  }
  .job-body {
    grid-template-columns: 1fr;
  }
  .job-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
  }
  .job-col:last-child {
    border-bottom: none;
  }
  .job-header {
    flex-wrap: wrap;
  }
  .job-apply-btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}

/* Legal page styles */
.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}

.legal-page .section-inner {
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.16;
  margin: 0 0 12px;
}

.legal-page .last-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-page section {
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}

.legal-page p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* Careers page styles */
.careers-page {
  padding-top: 76px;
}

.careers-hero {
  min-height: 440px;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
}

.careers-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(40px, 6vw, 72px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-badges span {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(11,116,255,.12);
  border: 1px solid rgba(125,184,255,.2);
  color: #7db8ff;
  font-size: 13px;
  font-weight: 600;
}

.careers-section {
  background: #0b0e17;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.job-card:hover {
  border-color: rgba(125,184,255,.3);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.job-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
}

.job-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(11,116,255,.1);
  border: 1px solid rgba(125,184,255,.16);
  color: #7db8ff;
  flex-shrink: 0;
}

.job-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.job-title-area {
  flex: 1;
}

.job-card h3 {
  font-size: 22px;
  margin: 0 0 8px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-meta span {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(11,116,255,.08);
  color: #9ccaff;
  font-size: 11px;
  font-weight: 600;
}

.job-apply-btn {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 20px;
  font-size: 13px;
}

.job-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.job-col {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}

.job-col:last-child {
  border-right: none;
}

.job-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: #7db8ff;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.job-col p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.job-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-col ul li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.job-col ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #7db8ff;
  font-weight: bold;
}

.other-opportunities {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  text-align: center;
}

.other-opportunities h2 {
  font-size: 24px;
  margin: 0 0 16px;
}

.other-opportunities p {
  color: var(--muted);
  font-size: 15px;
}

.other-opportunities a {
  color: #7db8ff;
  font-weight: 600;
}
