:root {
  --bg: #08090c;
  --bg-elev: #11141b;
  --bg-card: #151922;
  --bg-card-hover: #1a1f2b;
  --border: #252b38;
  --border-gold: rgba(232, 193, 107, 0.35);
  --gold: #e8c16b;
  --gold-bright: #fae4a8;
  --red: #e5483d;
  --jade: #22c58b;
  --ivory: #f6f4ee;
  --muted: #9da4b2;
  --dim: #636b7a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --font-sans: "Plus Jakarta Sans", "Noto Sans TC", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(232, 193, 107, 0.08), transparent 60%),
    radial-gradient(900px 500px at 10% 15%, rgba(34, 197, 139, 0.05), transparent 55%),
    var(--bg);
  color: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 9, 12, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #241d14, #0c0a08);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(232, 193, 107, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 15px;
  color: var(--ivory);
}

.brand-domain {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.lang-btn:hover {
  color: var(--ivory);
}

.lang-btn.active {
  background: var(--gold);
  color: #100e0b;
}

/* Hero */
.hero {
  padding: 68px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(232, 193, 107, 0.08);
  border: 1px solid var(--border-gold);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--ivory);
}

.hero-sub {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #110f0b;
  box-shadow: 0 10px 26px rgba(232, 193, 107, 0.24);
}

.btn-secondary {
  background: var(--bg-elev);
  color: var(--ivory);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-box {
  background: rgba(21, 25, 34, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.stat-val {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--gold-bright);
  line-height: 1.2;
}

.stat-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.hero-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.showcase-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.showcase-tile:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.showcase-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.showcase-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px 2px;
  font-size: 12px;
  color: var(--muted);
}

.showcase-caption strong {
  color: var(--ivory);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  max-width: 66ch;
  font-size: 15px;
}

/* Filter tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.16s ease;
}

.filter-btn:hover {
  color: var(--ivory);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: rgba(232, 193, 107, 0.14);
  color: var(--gold-bright);
  border-color: var(--gold);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  background: #0b0a09;
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.card-media img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 14, 19, 0.88);
  border: 1px solid var(--border);
  color: var(--ivory);
}

.pill-gold {
  color: var(--gold-bright);
  border-color: var(--border-gold);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--gold);
  margin-bottom: 8px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ivory);
}

.card-tagline {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.spec-chip {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4px 9px;
  border-radius: 6px;
}

.card-actions {
  display: flex;
  gap: 10px;
}

.card-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--ivory);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
}

.faq-trigger:hover {
  color: var(--gold-bright);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
}

.faq-panel {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

.faq-item.open .faq-panel {
  display: block;
}

/* Roadmap & Support Cards */
.banner-card {
  background: linear-gradient(135deg, rgba(232, 193, 107, 0.08), rgba(21, 25, 34, 0.95) 55%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 32px;
}

.banner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.banner-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--jade);
  background: rgba(34, 197, 139, 0.08);
  border: 1px solid rgba(34, 197, 139, 0.28);
  padding: 7px 14px;
  border-radius: 999px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--dim);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 5, 8, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-elev);
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: #0a0908;
}

.modal-hero img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.modal-close {
  position: sticky;
  float: right;
  top: 14px;
  right: 14px;
  margin: 14px 14px -52px 0;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 12, 16, 0.85);
  color: var(--ivory);
  font-size: 20px;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.modal-content {
  padding: 26px 28px 32px;
}

.modal-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.modal-top h2 {
  margin: 6px 0 8px;
  font-size: clamp(22px, 3vw, 28px);
}

.modal-cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.modal-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-section h3 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-family: var(--font-mono);
}

.modal-section p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ivory);
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.feature-list li::marker {
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 12px;
}

.gallery-thumb {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #0b0a09;
  padding: 0;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.gallery-thumb:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.pending-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--gold);
}

/* Lightbox */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 3, 5, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-backdrop.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox-inner img {
  max-width: 80vw;
  max-height: 86vh;
  border-radius: 14px;
  border: 1px solid var(--border-gold);
}

.lb-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(20, 24, 32, 0.9);
  color: var(--ivory);
  font-size: 18px;
}

.lb-btn:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.lb-close {
  position: fixed;
  top: 18px;
  right: 20px;
}

/* Privacy Standalone Page */
.prose-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  margin: 36px 0 64px;
}

.prose-card h1 {
  margin-top: 0;
  font-size: clamp(26px, 3.4vw, 36px);
}

.prose-card h2 {
  margin-top: 26px;
  font-size: 18px;
  color: var(--gold-bright);
}

.prose-card p,
.prose-card li {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .modal-content {
    padding: 20px 18px 26px;
  }
}
