/* 深圳市麟辰微光科技有限责任公司 — 官网样式 */
:root {
  --navy-950: #07111b;
  --navy-900: #0b1a28;
  --navy-800: #102030;
  --blue: #0077c8;
  --blue-600: #0068b0;
  --cyan: #5ac8fa;
  --ink: #102030;
  --ink-2: #3c4f60;
  --muted: #5f7282;
  --line: #dde6ee;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --radius: 10px;
  --container: 1180px;
  --header-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "Noto Sans SC", "Source Han Sans SC", "思源黑体", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.eyebrow { font-size: 12px; letter-spacing: .22em; font-weight: 600; color: var(--blue); text-transform: uppercase; margin-bottom: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(7, 17, 27, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06); transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-logo { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: .06em; }
.brand-en { font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.55); }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { font-size: 15px; color: rgba(255,255,255,.78); transition: color .2s ease; position: relative; }
.site-nav a:hover { color: #fff; }
.site-nav a.nav-cta { color: #fff; border: 1px solid rgba(255,255,255,.28); padding: 7px 18px; border-radius: 6px; transition: background .2s, border-color .2s; }
.site-nav a.nav-cta:hover { background: var(--blue); border-color: var(--blue); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .25s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 30px; border-radius: 6px; font-size: 15px; font-weight: 500; letter-spacing: .06em; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.btn-primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.hero-bg, .dark-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(600px 420px at 78% 40%, rgba(0,119,200,.28), transparent 70%),
    radial-gradient(500px 360px at 12% 100%, rgba(90,200,250,.08), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 64px; min-height: calc(100vh - var(--header-h)); max-height: 860px; padding-top: 96px; padding-bottom: 112px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { font-size: 46px; line-height: 1.3; font-weight: 600; letter-spacing: .04em; }
.br-sm { display: inline; }
.hero-slogan { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; font-size: 20px; letter-spacing: .24em; color: rgba(255,255,255,.92); }
.hero-slogan i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); display: inline-block; }
.hero-lead { margin-top: 26px; max-width: 580px; font-size: 16px; color: rgba(255,255,255,.66); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.hero-mark { display: flex; justify-content: center; }
.mark-frame { position: relative; width: 340px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.mark-frame::before { content: ""; position: absolute; inset: 34px; border: 1px solid rgba(90,200,250,.16); border-radius: 50%; }
.mark-frame::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(0,119,200,.22), transparent 62%); }
.mark-frame img { position: relative; z-index: 1; width: 40%; height: auto; opacity: .95; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section-alt { background: var(--bg-soft); }
.section-head h2 { font-size: 34px; font-weight: 600; letter-spacing: .06em; line-height: 1.4; }
.section-head.center { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 16px; }
.section-head h2::after { content: ""; display: block; width: 32px; height: 2px; background: var(--blue); margin-top: 20px; }
.section-head.center h2::after { margin-left: auto; margin-right: auto; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.about-body p { color: var(--ink-2); margin-bottom: 18px; }
.about-body p.lead { font-size: 24px; color: var(--ink); line-height: 1.6; font-weight: 600; letter-spacing: .04em; margin-bottom: 24px; }
.facts { margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 120px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { font-size: 15px; color: var(--ink); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px 32px; display: flex; flex-direction: column; transition: border-color .25s ease, box-shadow .25s ease; position: relative; }
.card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { border-color: #c8d8e6; box-shadow: 0 12px 32px rgba(16,32,48,.06); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(0,119,200,.08); display: grid; place-items: center; margin-bottom: 26px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: .04em; }
.card-en { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin: 2px 0 16px; }
.card-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.tags li { font-size: 12.5px; line-height: 1; color: var(--blue-600); background: rgba(0,119,200,.07); padding: 7px 10px; border-radius: 4px; }
.more-services { margin-top: 40px; display: flex; align-items: center; gap: 28px; padding: 26px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.more-title { flex: none; font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.more-title span { display: block; font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.more-list { display: flex; flex-wrap: wrap; gap: 10px; padding-left: 28px; border-left: 1px solid var(--line); }
.more-list li { font-size: 13.5px; line-height: 1; color: var(--ink-2); padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; }

/* Brand (dark) */
.section-dark { background: var(--navy-950); color: #fff; overflow: hidden; }
.section-dark .dark-bg { background-image:
    radial-gradient(520px 380px at 50% 0%, rgba(0,119,200,.22), transparent 70%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px; -webkit-mask-image: none; mask-image: none; }
.section-dark .container { position: relative; }
.section-dark .eyebrow { color: var(--cyan); }
.section-dark .section-sub { color: rgba(255,255,255,.6); }
.meaning { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.meaning-item { padding: 48px 40px; }
.meaning-item + .meaning-item { border-left: 1px solid rgba(255,255,255,.12); }
.meaning-no { font-size: 13px; letter-spacing: .14em; color: var(--cyan); }
.meaning-item h3 { font-size: 26px; font-weight: 600; letter-spacing: .14em; margin-top: 18px; }
.meaning-en { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 4px 0 20px; }
.meaning-item p:last-child { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.9; }
.mark-note { text-align: center; max-width: 720px; margin: 48px auto 0; color: rgba(255,255,255,.55); font-size: 14px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { position: relative; padding: 0 28px 0 0; }
.step-no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--blue); color: var(--blue); font-size: 14px; font-weight: 600; background: #fff; position: relative; z-index: 1; }
.step::before { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step h3 { font-size: 19px; font-weight: 600; margin: 22px 0 10px; letter-spacing: .04em; }
.step p { font-size: 14.5px; color: var(--ink-2); }

.why { margin-top: 96px; background: var(--bg-soft); border-radius: var(--radius); padding: 52px 56px; display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.why-title { font-size: 24px; font-weight: 600; letter-spacing: .06em; }
.why-title span { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-top: 6px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.why-list li { padding-left: 18px; border-left: 2px solid var(--blue); }
.why-list strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.why-list span { font-size: 14.5px; color: var(--ink-2); }

/* Contact */
.section-contact { padding-top: 0; }
.contact-panel { background: var(--navy-900); color: #fff; border-radius: 14px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.contact-panel::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,119,200,.22), transparent 65%); pointer-events: none; }
.contact-panel > * { position: relative; }
.contact-panel .eyebrow { color: var(--cyan); }
.contact-copy h2 { font-size: 34px; font-weight: 600; letter-spacing: .06em; }
.contact-copy p:last-child { margin-top: 16px; color: rgba(255,255,255,.66); }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; transition: border-color .2s, background .2s; }
.contact-item:not(.static):hover { border-color: var(--cyan); background: rgba(255,255,255,.03); }
.contact-label { font-size: 14px; color: rgba(255,255,255,.6); white-space: nowrap; }
.contact-label em { font-style: normal; font-size: 11px; letter-spacing: .12em; margin-left: 6px; color: rgba(255,255,255,.38); text-transform: uppercase; }
.contact-value { font-size: 17px; font-weight: 500; letter-spacing: .02em; text-align: right; word-break: break-all; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.6); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 52px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 28px; height: auto; }
.footer-name { color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.footer-en { font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.45); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; font-size: 13px; color: rgba(255,255,255,.42); }
.footer-bottom a:hover { color: #fff; }

/* Fade-in */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .container { padding-left: 24px; padding-right: 24px; }
  .nav-toggle { display: block; margin-right: -10px; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950); padding: 8px 24px 28px; border-bottom: 1px solid rgba(255,255,255,.08);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 16px; }
  .site-nav a.nav-cta { margin-top: 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.28); padding: 12px; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; max-height: none; padding-top: 72px; padding-bottom: 88px; gap: 48px; }
  .hero-mark { order: -1; justify-content: flex-start; }
  .mark-frame { width: 132px; }
  .mark-frame::before { inset: 16px; }
  .section { padding: 88px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .meaning { grid-template-columns: 1fr; }
  .meaning-item { padding: 36px 4px; }
  .meaning-item + .meaning-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .step::before { display: none; }
  .why { grid-template-columns: 1fr; padding: 40px 32px; gap: 28px; margin-top: 72px; }
  .contact-panel { grid-template-columns: 1fr; padding: 48px 36px; gap: 36px; }
  .more-services { flex-direction: column; align-items: flex-start; gap: 16px; }
  .more-list { padding-left: 0; border-left: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .brand-name { font-size: 16px; }
  .hero h1 { font-size: 30px; }
  .br-sm { display: inline; }
  .hero-slogan { font-size: 16px; letter-spacing: .16em; gap: 10px 12px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .section { padding: 72px 0; }
  .section-head h2, .contact-copy h2 { font-size: 27px; }
  .section-head.center { margin-bottom: 44px; }
  .about-body p.lead { font-size: 20px; }
  .facts div { grid-template-columns: 88px 1fr; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 30px 24px; }
  .more-services { padding: 24px 22px; }
  .more-list { gap: 8px; }
  .more-list li { font-size: 13px; padding: 7px 10px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding: 0 0 0 64px; }
  .step-no { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 8px; }
  .why { padding: 32px 22px; }
  .why-list { grid-template-columns: 1fr; gap: 22px; }
  .section-contact { padding-bottom: 72px; }
  .contact-panel { padding: 40px 22px; border-radius: 12px; }
  .contact-item { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; }
  .contact-value { text-align: left; font-size: 16px; }
  .footer-nav { gap: 18px; }
  .footer-en { font-size: 11px; letter-spacing: 0; }
  .footer-bottom { flex-direction: column; }
}
