/* Siliqs site — shared styles. No external dependencies. */
:root {
  --brand:      #1f4e79;   /* deep enclosure blue */
  --brand-dark: #15263a;   /* navy label */
  --accent:     #2f80c8;   /* LED blue */
  --accent-2:   #3fa7d6;
  --ink:        #1f2933;
  --muted:      #5b6770;
  --line:       #e2e8f0;
  --bg:         #ffffff;
  --bg-alt:     #f5f7fa;
  --bg-dark:    #12233a;
  --radius:     12px;
  --maxw:       1120px;
  --shadow:     0 6px 24px rgba(21, 38, 58, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
               "Microsoft JhengHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; color: var(--brand-dark); font-weight: 700; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  border: 2px solid var(--brand); cursor: pointer; transition: .15s;
  text-decoration: none;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; text-decoration: none; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800;
         font-size: 1.25rem; color: var(--brand-dark); }
.brand:hover { text-decoration: none; }
.brand .logo { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.lang-toggle {
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: .85rem;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { background: linear-gradient(160deg, #f3f7fb 0%, #ffffff 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.6rem; margin: 0 0 16px; }
.hero .lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; }
.hero-img { display: flex; justify-content: center; }
.hero-img img { max-height: 460px; filter: drop-shadow(0 18px 30px rgba(21,38,58,.18)); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
           font-weight: 700; color: var(--accent); margin: 0 0 10px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Product cards grid */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21,38,58,.14); }
.card .thumb { background: var(--bg-alt); padding: 24px; display: flex; justify-content: center; }
.card .thumb img { max-height: 200px; }
.card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.card .body p { color: var(--muted); margin: 0 0 16px; flex: 1; }
.card.soon { opacity: .6; }
.tag { display: inline-block; background: #eef4fb; color: var(--brand);
       font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
       text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; align-self: flex-start; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature { display: flex; gap: 14px; }
.feature .ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
                background: #eef4fb; color: var(--brand); display: grid; place-items: center; }
.feature h3 { margin: 0 0 4px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--brand-dark); font-weight: 600; background: var(--bg-alt); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { margin: 0; background: var(--bg-alt); border: 1px solid var(--line);
                  border-radius: var(--radius); padding: 16px; text-align: center; }
.gallery img { max-height: 200px; margin: 0 auto 10px; }
.gallery figcaption { font-size: .82rem; color: var(--muted); }

/* Downloads */
.dl-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Section heads */
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 2rem; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Footer */
.site-footer { background: var(--bg-dark); color: #c7d4e2; padding: 48px 0 28px; font-size: .92rem; }
.site-footer a { color: #9fc2e6; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.site-footer .brand { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
                 display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.legal { font-size: .78rem; color: #8aa0b8; margin-top: 14px; line-height: 1.6; }

/* lang visibility handled by JS via [data-en]/[data-zh] textContent swap */
[data-lang-only] { display: none; }
html[lang="en"] [data-lang-only="en"],
html[lang="zh-Hant"] [data-lang-only="zh"] { display: revert; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .hero h1 { font-size: 2rem; }
  .grid-3, .grid-2, .features { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
