/* ================================================
   北京金麟有为科技有限公司 — 企业官网
   Design: Clean modern tech-forward minimal
   Prefix: jl-
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Serif+SC:wght@600;700&display=swap');

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --jl-black: #111;
  --jl-dark: #1a1a1a;
  --jl-gray-900: #222;
  --jl-gray-700: #555;
  --jl-gray-500: #888;
  --jl-gray-300: #ccc;
  --jl-gray-100: #f5f5f5;
  --jl-white: #fff;
  --jl-accent: #2563eb;
  --jl-accent-hover: #1d4ed8;
  --jl-border: #e5e5e5;
  --jl-font-display: 'Noto Serif SC', serif;
  --jl-font-body: 'Inter', 'PingFang SC', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--jl-font-body);
  color: var(--jl-gray-900);
  background: var(--jl-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer { margin-top: auto; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Navigation --- */
.jl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--jl-border);
}
.jl-nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.jl-nav__brand {
  font-family: var(--jl-font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--jl-black);
}
.jl-nav__menu {
  display: flex;
  gap: 28px;
  list-style: none;
}
.jl-nav__menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--jl-gray-700);
  transition: color .15s;
  letter-spacing: .01em;
}
.jl-nav__menu a:hover,
.jl-nav__menu a.active { color: var(--jl-black); }

.jl-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  position: relative;
}
.jl-nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--jl-black);
  position: absolute;
  left: 0;
  transition: transform .25s, opacity .25s;
}
.jl-nav__toggle span:nth-child(1) { top: 0; }
.jl-nav__toggle span:nth-child(2) { top: 8px; }
.jl-nav__toggle span:nth-child(3) { top: 16px; }

.jl-drawer {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--jl-white);
  border-bottom: 1px solid var(--jl-border);
  padding: 12px 32px 20px;
  z-index: 99;
}
.jl-drawer.visible { display: block; }
.jl-drawer a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--jl-gray-700);
  border-bottom: 1px solid var(--jl-gray-100);
}
.jl-drawer a:last-child { border-bottom: none; }

/* --- Hero --- */
.jl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jl-dark);
  overflow: hidden;
}
.jl-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-bg.jpg') center/cover no-repeat;
  opacity: .3;
}
.jl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.4) 100%);
}
.jl-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 720px;
}
.jl-hero__title {
  font-family: var(--jl-font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  color: var(--jl-white);
  line-height: 1.3;
  margin-bottom: 20px;
}
.jl-hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  margin-bottom: 36px;
}
.jl-hero__btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--jl-white);
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s, border-color .2s;
  letter-spacing: .04em;
}
.jl-hero__btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
}

/* --- Section --- */
.jl-section {
  padding: 96px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.jl-section--gray {
  background: var(--jl-gray-100);
  max-width: 100%;
}
.jl-section--gray .jl-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.jl-section__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jl-accent);
  margin-bottom: 12px;
}
.jl-section__heading {
  font-family: var(--jl-font-display);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--jl-black);
}
.jl-section__lead {
  font-size: 16px;
  color: var(--jl-gray-700);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 56px;
}

/* About — two column text + image */
.jl-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.jl-about-grid__text p {
  color: var(--jl-gray-700);
  margin-bottom: 16px;
  line-height: 1.85;
}
.jl-about-grid__image {
  border: 1px solid var(--jl-border);
}
.jl-about-grid__image img {
  width: 100%;
  height: auto;
}

/* Tech capabilities — icon + text rows */
.jl-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.jl-cap {
  padding: 40px 32px;
  border: 1px solid var(--jl-border);
  margin-top: -1px;
  margin-left: -1px;
}
.jl-cap__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--jl-accent);
}
.jl-cap__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--jl-black);
}
.jl-cap__desc {
  font-size: 14px;
  color: var(--jl-gray-500);
  line-height: 1.75;
}

/* Vision banner */
.jl-vision {
  padding: 96px 32px;
  text-align: center;
  background: var(--jl-dark);
  color: var(--jl-white);
}
.jl-vision__quote {
  font-family: var(--jl-font-display);
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto 20px;
}
.jl-vision__note {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Contact */
.jl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.jl-contact-item {
  margin-bottom: 20px;
}
.jl-contact-item__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--jl-gray-500);
  margin-bottom: 4px;
}
.jl-contact-item__value {
  font-size: 16px;
  color: var(--jl-black);
}
.jl-contact-map {
  border: 1px solid var(--jl-border);
}
.jl-contact-map img { width: 100%; height: auto; }
.jl-city-card {
  background: var(--jl-gray-100);
  padding: 56px 32px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.jl-city-card__name {
  font-family: var(--jl-font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--jl-gray-900);
  margin-bottom: 8px;
}
.jl-city-card__en {
  font-size: 13px;
  color: var(--jl-gray-500);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* --- Footer --- */
.jl-footer {
  border-top: 1px solid var(--jl-border);
  padding: 40px 32px;
}
.jl-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.jl-footer__links a {
  font-size: 13px;
  color: var(--jl-gray-500);
  margin-right: 20px;
  transition: color .15s;
}
.jl-footer__links a:hover { color: var(--jl-black); }
.jl-footer__copy {
  font-size: 13px;
  color: var(--jl-gray-500);
}
.jl-footer__icp {
  font-size: 12px;
  color: var(--jl-gray-300);
  width: 100%;
  text-align: center;
  margin-top: 12px;
}

/* --- Legal pages --- */
.jl-legal {
  padding: 120px 32px 80px;
  max-width: 740px;
  margin: 0 auto;
}
.jl-legal h1 {
  font-family: var(--jl-font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--jl-black);
  margin-bottom: 8px;
}
.jl-legal__date {
  font-size: 13px;
  color: var(--jl-gray-500);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--jl-border);
}
.jl-legal h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--jl-black);
  margin: 32px 0 12px;
}
.jl-legal p, .jl-legal ul {
  font-size: 15px;
  color: var(--jl-gray-700);
  line-height: 1.85;
  margin-bottom: 12px;
}
.jl-legal ul { padding-left: 20px; }
.jl-legal li { margin-bottom: 6px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .jl-nav__menu { display: none; }
  .jl-nav__toggle { display: block; }

  .jl-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .jl-about-grid__image { order: -1; }

  .jl-capabilities {
    grid-template-columns: 1fr;
  }
  .jl-cap { margin-left: 0; }

  .jl-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .jl-hero { min-height: 80vh; }
  .jl-section { padding: 64px 20px; }
  .jl-vision { padding: 64px 20px; }

  .jl-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
