:root {
  --bg: #071019;
  --bg2: #0b1724;
  --panel: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.12);
  --text: #f4f8ff;
  --muted: #b9c6d8;
  --accent: #66e0ff;
  --accent2: #8a7dff;
  --accent3: #31f2c0;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top,#102237 0%, var(--bg) 45%, #04080d 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  scroll-behavior: smooth;
}
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.page { min-height: 100vh; position: relative; overflow: hidden; isolation: isolate; }
.noise, .grid, .glow, .aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.noise {
  opacity: .04;
  background-image: radial-gradient(circle at 20% 20%, #fff 0 .8px, transparent .9px), radial-gradient(circle at 70% 65%, #fff 0 .8px, transparent .9px);
  background-size: 120px 120px, 160px 160px;
}
.grid {
  background: linear-gradient(rgba(102,224,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(102,224,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(255,255,255,.7), transparent 82%);
  transform: perspective(1200px) rotateX(70deg) translateY(30%);
  transform-origin: center top;
  opacity: .5;
}
.glow {
  background: radial-gradient(circle at 15% 25%, rgba(102,224,255,.22), transparent 28%), radial-gradient(circle at 80% 20%, rgba(138,125,255,.18), transparent 24%), radial-gradient(circle at 65% 72%, rgba(49,242,192,.14), transparent 22%);
  filter: blur(20px);
}
.aurora {
  background: conic-gradient(from 180deg at 50% 50%, rgba(102,224,255,0), rgba(102,224,255,.08), rgba(138,125,255,.12), rgba(49,242,192,.08), rgba(102,224,255,0));
  filter: blur(48px);
  transform: translateY(-8%);
  opacity: .85;
}
.site-header {
  position: relative;
  z-index: 2;
  padding: 22px 6vw 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 700; letter-spacing: .04em; transition: transform .22s ease, filter .22s ease; }
.brand:hover { transform: translateY(-1px); filter: drop-shadow(0 0 16px rgba(102,224,255,.2)); }
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: #05070a url("../assets/fulin-brand-mark.jpeg") center/cover no-repeat;
  box-shadow: inset 0 0 18px rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}
.brand small { display: block; margin-top: 2px; font-size: 12px; color: #9eb4c9; font-weight: 500; }
.site-nav { display: flex; gap: 20px; color: var(--muted); font-size: 14px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { position: relative; white-space: nowrap; transition: color .22s ease, text-shadow .22s ease; }
.site-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: .3s;
}
.site-nav a:hover { color: #fff; text-shadow: 0 0 14px rgba(102,224,255,.28); }
.site-nav a:hover:after, .site-nav a.active:after { width: 100%; }
.hero {
  position: relative;
  z-index: 1;
  padding: 88px 6vw 54px;
  max-width: 1280px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: #d5e7ff;
  font-size: 13px;
  letter-spacing: .08em;
  box-shadow: var(--shadow);
}
.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent3);
  box-shadow: 0 0 16px var(--accent3);
  display: inline-block;
}
h1 {
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .96;
  letter-spacing: -.04em;
  font-weight: 850;
}
.gradient {
  background: linear-gradient(90deg,#fff 0%, #b9efff 22%, #8acbff 46%, #a599ff 72%, #d9f8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { max-width: 780px; color: var(--muted); font-size: 18px; line-height: 1.9; margin: 0 0 26px; }
.actions, .quick-links { display: flex; gap: 14px; flex-wrap: wrap; }
@property --runner-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.btn, .chip {
  --runner-angle: 0deg;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #e4f4ff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn:before, .chip:before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--runner-angle), transparent 0 58%, rgba(102,224,255,.15) 66%, rgba(102,224,255,.95) 74%, #fff 78%, rgba(138,125,255,.95) 83%, transparent 92% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: -1;
}
.btn {
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover, .chip:hover {
  transform: translateY(-2px);
  border-color: rgba(102,224,255,.45);
  box-shadow: 0 18px 44px rgba(24,86,123,.34), 0 0 22px rgba(102,224,255,.14);
}
.btn:focus-visible, .chip:focus-visible, .site-nav a:focus-visible, .brand:focus-visible {
  outline: 2px solid rgba(102,224,255,.75);
  outline-offset: 4px;
}
.btn:hover:before, .chip:hover:before {
  opacity: 1;
  animation: borderRunner 1.25s linear infinite;
}
.btn-primary { background: linear-gradient(135deg, rgba(102,224,255,.2), rgba(138,125,255,.22)); }
.chip { padding: 10px 12px; border-radius: 999px; font-size: 13px; color: #d7e7fb; }
.section {
  position: relative;
  z-index: 1;
  padding: 64px 6vw;
  max-width: 1280px;
  margin: 0 auto;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.section h2 { font-size: clamp(30px, 4vw, 52px); margin: 0 0 10px; letter-spacing: -.03em; }
.section-intro { color: var(--muted); max-width: 760px; line-height: 1.8; margin: 0; }
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 26px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.panel:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(102,224,255,.12) 36%, rgba(138,125,255,.1) 50%, transparent 64%);
  opacity: 0;
  transform: translateX(-70%);
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: -1;
}
.panel:hover {
  transform: translateY(-3px);
  border-color: rgba(102,224,255,.42);
  box-shadow: 0 22px 54px rgba(24,86,123,.28), 0 0 26px rgba(102,224,255,.12);
  background: rgba(255,255,255,.065);
}
.panel:hover:before {
  opacity: 1;
  animation: cardSweep 1.8s ease-in-out infinite;
}
.panel h3 { margin: 0 0 12px; font-size: 22px; }
.panel p, .panel li { color: var(--muted); line-height: 1.8; }
.panel p { margin: 0; }
.product-card { display: grid; gap: 16px; }
.product-image-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
}
.product-card img,
.product-image-button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  display: block;
  transition: transform .25s ease, border-color .25s ease, filter .25s ease;
}
.product-image-button:hover img {
  transform: scale(1.025);
  border-color: rgba(102,224,255,.55);
  filter: brightness(1.06);
}
.product-image-button:focus-visible {
  outline: 2px solid rgba(102,224,255,.75);
  outline-offset: 4px;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.product-thumbs button {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
}
.product-thumbs img {
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 10px;
}
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(8px);
}
.product-lightbox.active {
  display: grid;
}
.product-lightbox img {
  max-width: min(1400px, 95vw);
  max-height: 90vh;
  object-fit: contain;
}
.product-lightbox-close,
.product-lightbox-nav {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(8,16,28,.78);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.product-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 81;
  border-radius: 10px;
  padding: 8px 12px;
}
.product-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 81;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}
.product-lightbox-nav.prev { left: 18px; }
.product-lightbox-nav.next { right: 18px; }
.product-lightbox-nav[hidden] { display: none; }
.product-lightbox-close:hover,
.product-lightbox-nav:hover {
  border-color: rgba(102,224,255,.55);
  box-shadow: 0 18px 44px rgba(24,86,123,.34), 0 0 22px rgba(102,224,255,.14);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}
.spec-table th, .spec-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  text-align: left;
}
.spec-table th { color: #f4f8ff; background: rgba(102,224,255,.1); }
.spec-table td:first-child { color: #e6f3ff; font-weight: 700; width: 120px; }
.notice {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(49,242,192,.13), rgba(102,224,255,.09), rgba(138,125,255,.09));
  border: 1px solid rgba(255,255,255,.12);
  color: #dff7ff;
  line-height: 1.8;
}
.faq-item { border-left: 3px solid rgba(102,224,255,.7); }
.faq-item strong { color: #f4f8ff; }
.faq-q { margin: 0 0 12px; color: #fff; font-size: 20px; font-weight: 800; }
.faq-a { color: var(--muted); line-height: 1.85; }
.contact-band {
  margin: 64px 6vw 72px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(102,224,255,.09), rgba(138,125,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-band h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 46px); }
.contact-band p { margin: 0 auto 22px; color: var(--muted); line-height: 1.8; max-width: 760px; }
.footer { padding: 0 6vw 54px; color: #94a8bc; font-size: 14px; text-align: center; line-height: 1.8; }
@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: flex-start; gap: 14px; }
  .grid-cards, .two-col { grid-template-columns: 1fr; }
  .section-head { display: block; }
}
@media (max-width: 640px) {
  .hero { padding: 54px 5vw 36px; }
  .section { padding: 48px 5vw; }
  .site-header { padding: 18px 5vw 0; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
}

@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .grid,
  .noise {
    display: none;
  }

  .glow,
  .aurora {
    filter: none;
    opacity: .42;
  }

  .panel,
  .btn,
  .chip,
  .product-image-button img {
    transition-duration: .15s;
  }

  .panel {
    backdrop-filter: none;
  }

  .panel:hover:before,
  .btn:hover:before,
  .chip:hover:before {
    animation: none;
  }
}

@keyframes borderRunner {
  to { --runner-angle: 360deg; }
}

@keyframes cardSweep {
  0% { transform: translateX(-70%); }
  100% { transform: translateX(70%); }
}
