/* 羿扬激光官网 - 纯静态版样式（无外部依赖） */
:root {
  --navy: #0f172a;
  --navy-2: #16233b;
  --blue: #1d4ed8;
  --cyan: #22d3ee;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-soft: #f8fafc;
  --maxw: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--maxw), 92%); margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .22em; font-weight: 600; color: var(--cyan); text-transform: uppercase; }
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.section-lead { margin-top: 14px; color: var(--muted); font-size: 16px; max-width: 720px; }
.grad { background: linear-gradient(90deg, #22d3ee, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-lead { color: #cbd5e1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #1d4ed8, #22d3ee); display: grid; place-items: center; color: #fff; font-size: 18px; }
.brand small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .12em; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; font-size: 14px; color: #334155; border-radius: 8px; transition: .2s; }
.nav a:hover { background: var(--bg-soft); color: var(--blue); }
.nav a.active { color: var(--blue); font-weight: 700; }
.nav-cta { margin-left: 10px; padding: 9px 18px !important; background: var(--blue); color: #fff !important; border-radius: 8px; font-weight: 600; }
.nav-cta:hover { background: #1e40af !important; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 9px; font-size: 15px; font-weight: 600; transition: .2s; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: linear-gradient(90deg, #1d4ed8, #0891b2); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-amber { border-color: rgba(251,191,36,.5); color: #fbbf24; background: rgba(251,191,36,.08); }
.btn-amber:hover { background: rgba(251,191,36,.18); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1e40af; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 96px 0 0; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.28), transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-bottom: 80px; }
.hero h1 { font-size: clamp(42px, 6vw, 66px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; margin: 22px 0; }
.hero p { color: #cbd5e1; font-size: 17px; max-width: 620px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border: 1px solid rgba(34,211,238,.3); background: rgba(34,211,238,.1); border-radius: 999px; color: #67e8f9; font-size: 13px; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; font-size: 13px; color: #94a3b8; }
.hero-points span::before { content: "•"; color: var(--cyan); margin-right: 8px; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 420px; margin: auto; }
.hero-ring { position: absolute; inset: 0; border: 1px solid rgba(34,211,238,.22); border-radius: 50%; }
.hero-ring.r2 { inset: 40px; border-color: rgba(59,130,246,.22); }
.hero-ring.r3 { inset: 80px; border-color: rgba(148,163,184,.25); }
.hero-core { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-core .cube { width: 46%; height: 46%; border-radius: 28px; background: linear-gradient(135deg, #1e293b, #0f172a); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; box-shadow: 0 24px 60px rgba(34,211,238,.12); font-size: 64px; }
.hero-float { position: absolute; background: rgba(15,23,42,.8); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 12px 16px; backdrop-filter: blur(6px); }
.hero-float b { display: block; font-size: 18px; color: var(--cyan); }
.hero-float small { font-size: 11px; letter-spacing: .12em; color: #94a3b8; }
.hero-float.f1 { left: -10px; top: 32%; }
.hero-float.f2 { right: -10px; bottom: 22%; }
.metrics { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.metrics-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; }
.metric { text-align: center; }
.metric b { font-size: 34px; color: #fff; }
.metric b i { font-style: normal; font-size: 17px; color: var(--cyan); margin-left: 3px; }
.metric span { display: block; color: #94a3b8; font-size: 13px; margin-top: 4px; }

/* generic grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.head-center { text-align: center; }
.head-center .section-lead { margin-left: auto; margin-right: auto; }
.page-banner { background: var(--navy); color: #fff; padding: 74px 0; position: relative; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; width: 500px; height: 500px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.3), transparent 70%); }
.page-banner h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; margin-top: 14px; }
.page-banner p { color: #cbd5e1; margin-top: 16px; max-width: 700px; font-size: 16px; }

/* cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; }
.icon-badge { width: 48px; height: 48px; border-radius: 12px; background: #eff6ff; color: var(--blue); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.section-dark .icon-badge { background: rgba(34,211,238,.12); color: var(--cyan); }
.feature-list { list-style: none; margin-top: 16px; }
.feature-list li { font-size: 13px; color: var(--muted); padding-left: 20px; position: relative; margin-top: 7px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: #0891b2; font-weight: 700; }

/* product cards */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.1); }
.product-thumb { height: 180px; background: linear-gradient(135deg, #0f172a, #1e3a8a); display: grid; place-items: center; color: #fff; font-size: 52px; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 22px; flex: 1; }
.product-body .en { font-size: 11px; letter-spacing: .16em; color: #0891b2; font-weight: 600; }
.product-body h3 { font-size: 19px; margin: 6px 0 10px; }
.product-body p { color: var(--muted); font-size: 14px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { position: relative; border-radius: 12px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 4/3; cursor: pointer; }
.gallery figure.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(15,23,42,.88)); font-size: 13px; }
.gallery figcaption small { display: block; opacity: .75; font-size: 11px; }

/* video */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.video-card { border-radius: 12px; overflow: hidden; background: var(--navy); position: relative; cursor: pointer; aspect-ratio: 16/10; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: .3s; }
.video-card:hover img { opacity: 1; transform: scale(1.04); }
.video-card .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-card .play span { width: 50px; height: 50px; border-radius: 50%; background: rgba(34,211,238,.9); color: #042f2e; display: grid; place-items: center; font-size: 20px; }
.video-card .vlabel { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgba(15,23,42,.9)); }
.video-card .vtag { position: absolute; top: 10px; left: 10px; font-size: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.45); color: #67e8f9; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline-item { border-left: 2px solid #0891b2; padding-left: 18px; }
.timeline-item b { font-size: 26px; color: var(--blue); display: block; }
.timeline-item h4 { margin: 6px 0; font-size: 17px; }
.timeline-item p { color: var(--muted); font-size: 13px; }

/* process */
.process { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.process-step { text-align: center; padding: 18px 8px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.process-step b { display: block; color: var(--cyan); font-size: 20px; }
.process-step span { display: block; font-size: 12px; margin-top: 8px; color: #fff; }

/* cases */
.case-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.case-cover { height: 170px; position: relative; overflow: hidden; background: var(--navy); }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover .tag { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.45); color: #67e8f9; font-size: 11px; padding: 4px 10px; border-radius: 999px; }
.case-body { padding: 22px; flex: 1; }
.case-body .client { font-size: 12px; color: var(--muted); }
.case-body h3 { font-size: 18px; margin: 6px 0 12px; }
.case-body p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.case-body p b { color: var(--ink); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--bg-soft); border-radius: 10px; padding: 12px; margin-top: 16px; }
.results div { text-align: center; }
.results b { display: block; color: var(--blue); font-size: 17px; }
.results span { font-size: 11px; color: var(--muted); }

/* QR */
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.qr-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; }
.qr-card img { width: 168px; height: 168px; object-fit: contain; margin: 0 auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.qr-card h4 { margin-top: 16px; font-size: 16px; }
.qr-card p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.qr-mini { display: flex; gap: 14px; }
.qr-mini figure { text-align: center; }
.qr-mini img { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 6px; padding: 3px; }
.qr-mini figcaption { color: #94a3b8; font-size: 11px; margin-top: 6px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; }
.contact-info .card { margin-bottom: 18px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 9px; background: #eff6ff; color: var(--blue); display: grid; place-items: center; font-size: 17px; }
.contact-row b { display: block; font-size: 13px; }
.contact-row span { color: var(--muted); font-size: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 11px 14px; font-size: 14px; font-family: inherit; }
.field input:focus, .field textarea:focus { outline: none; border-color: #0891b2; box-shadow: 0 0 0 3px rgba(8,145,178,.12); }
.form-note { background: #eff6ff; border: 1px solid #dbeafe; border-radius: 9px; padding: 12px 14px; font-size: 13px; color: #1e40af; margin-bottom: 16px; }

/* CTA banner */
.cta { background: linear-gradient(120deg, #1e3a8a, #0e7490); color: #fff; border-radius: 20px; padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(24px, 3.5vw, 34px); }
.cta p { color: #dbeafe; margin-top: 8px; }

/* Footer */
.site-footer { background: #0a0f1c; color: #94a3b8; padding: 58px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; padding-bottom: 42px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-grid a { display: block; margin-top: 11px; transition: .2s; }
.footer-grid a:hover { color: var(--cyan); }
.footer-grid p { margin-top: 11px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.badges span { display: inline-block; border: 1px solid rgba(255,255,255,.15); border-radius: 5px; padding: 4px 10px; font-size: 11px; margin: 12px 6px 0 0; }

/* modal / lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(2,6,23,.92); display: none; align-items: center; justify-content: center; padding: 5%; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 12px; }
.lightbox video { max-width: 100%; max-height: 82vh; border-radius: 12px; }
.lightbox .close { position: absolute; top: 24px; right: 30px; font-size: 38px; color: #fff; cursor: pointer; line-height: 1; }

/* back to top */
#toTop { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; border: 0; font-size: 20px; cursor: pointer; display: none; box-shadow: 0 8px 20px rgba(29,78,216,.35); z-index: 90; }

/* responsive */
@media (max-width: 980px) {
  .hero-inner, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-4, .metrics-inner, .gallery, .video-grid, .process, .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 5%; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .grid-2, .grid-3, .grid-4, .metrics-inner, .gallery, .video-grid, .process, .timeline, .qr-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery figure.tall { grid-row: auto; }
  .hero { padding-top: 70px; }
  .cta { padding: 30px; }
}
