/* Product detail pages — shared styles (matches homepage tokens) */

:root {
  --bg-void: #050709;
  --bg-primary: #080b12;
  --bg-secondary: #0b0f18;
  --bg-card: #0d1220;
  --bg-card-hover: #111828;
  --accent-cyan: #00d4ff;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;
  --accent-indigo: #2563eb;
  --text-primary: #e2e8f0;
  --text-secondary: #7a869a;
  --text-dim: #6b7d94;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --font-display: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", serif;
  --font-body: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  --product-accent: var(--accent-blue);
  --product-accent-dim: rgba(59, 130, 246, 0.12);
  --product-glow: rgba(59, 130, 246, 0.15);
  --glow-btn-rest:
    0 4px 24px rgba(0, 212, 255, 0.15), 0 1px 0 rgba(0, 212, 255, 0.08) inset;
  --glow-btn-hover:
    0 8px 40px rgba(0, 212, 255, 0.30), 0 2px 0 rgba(0, 212, 255, 0.15) inset,
    0 0 80px rgba(0, 212, 255, 0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, var(--product-glow) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(139, 92, 246, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

section, header, footer, nav { position: relative; z-index: 1; }

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 7, 9, 0.7);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(5, 7, 9, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  position: relative;
}

.nav-logo::before {
  content: '';
  position: absolute;
  inset: -8px -12px;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 212, 255, 0.06) 1px, transparent 0);
  background-size: 8px 8px;
  pointer-events: none;
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s;
}

.nav-logo:hover::before {
  opacity: 1;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: 0 2px 12px rgba(0, 212, 255, 0.15);
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-logo-text {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  gap: 0;
}

.nav-logo-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--text-primary);
  background: linear-gradient(135deg, #e2e8f0 0%, #e2e8f0 45%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.nav-logo:hover .nav-logo-brand {
  filter: none;
}

.nav-logo-divider {
  display: inline-block;
  width: 1px;
  height: 15px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
  margin: 0 14px;
  align-self: center;
  flex-shrink: 0;
}

.nav-logo-suffix {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 2.5px;
  opacity: 0.75;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active:not(.nav-cta) {
  color: var(--accent-cyan);
}

.nav-cta {
  padding: 8px 28px !important;
  border: 1px solid rgba(0, 212, 255, 0.3) !important;
  color: var(--accent-cyan) !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: rgba(0, 212, 255, 0.08) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Home nav item: hidden on desktop, shown in hamburger menu */
.nav-home { display: none; }

/* Nav dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-dropdown-trigger::after { display: none !important; }

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger.active {
  color: var(--accent-cyan);
}

.nav-dropdown-arrow {
  font-size: 10px;
  opacity: 0.55;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  min-width: 240px;
  padding: 10px;
  list-style: none;
  background: rgba(10, 14, 24, 0.96);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 14px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 40px rgba(0, 212, 255, 0.06);
  backdrop-filter: blur(24px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s;
  z-index: 200;
  overflow: hidden;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.45), transparent);
}

.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(10, 14, 24, 0.96);
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  border-left: 1px solid rgba(0, 212, 255, 0.12);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown-header {
  padding: 8px 14px 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
  pointer-events: none;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nav-dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--item-accent, var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-dropdown-item::after { display: none !important; }

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.nav-dropdown-item:hover::before { opacity: 1; }

.nav-dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--item-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--item-accent) 25%, transparent);
  color: var(--item-accent);
  font-family: var(--font-display);
}

.nav-dropdown-item-body { flex: 1; min-width: 0; }

.nav-dropdown-item-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.nav-dropdown-item-sub {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.nav-dropdown-item-arrow {
  font-size: 14px;
  color: var(--text-dim);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-item:hover .nav-dropdown-item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--item-accent, var(--accent-cyan));
}

.nav-dropdown-item:hover .nav-dropdown-item-title {
  color: var(--item-accent, var(--accent-cyan));
}

.nav-dropdown-item--blue { --item-accent: #3b82f6; }
.nav-dropdown-item--purple { --item-accent: #8b5cf6; }
.nav-dropdown-item--amber { --item-accent: #f59e0b; }
.nav-dropdown-item--emerald { --item-accent: #10b981; }
.nav-dropdown-item--pink { --item-accent: #ec4899; }
.nav-dropdown-item--orange { --item-accent: #f97316; }
.nav-dropdown-item--lime { --item-accent: #84cc16; }
.nav-dropdown-item--indigo { --item-accent: #2563eb; }

.nav-dropdown-item.is-current {
  border-color: color-mix(in srgb, var(--item-accent) 45%, transparent);
  background: color-mix(in srgb, var(--item-accent) 12%, transparent);
}

.nav-dropdown-item.is-current .nav-dropdown-item-title {
  color: var(--item-accent);
}

/* Breadcrumb */
.breadcrumb {
  padding: 112px 72px 0;
  font-size: 13px;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--product-accent); }

.breadcrumb span { margin: 0 10px; opacity: 0.4; }

/* Product Hero */
.pd-hero {
  padding: 40px 72px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 70vh;
}

.pd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  background: var(--product-accent-dim);
  border: 1px solid color-mix(in srgb, var(--product-accent) 25%, transparent);
  border-radius: 100px;
  font-size: 11px;
  color: var(--product-accent);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 28px;
}

.pd-hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.pd-hero-title .accent {
  color: var(--product-accent);
}

.pd-hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pd-hero-tagline {
  display: inline-block;
  font-size: 14px;
  color: var(--product-accent);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.pd-hero-desc {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  font-weight: 300;
}

.pd-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.pd-hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.pd-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--product-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.pd-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.pd-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pd-pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

/* Buttons */
.btn-primary {
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--product-accent), color-mix(in srgb, var(--product-accent) 70%, var(--accent-cyan)));
  color: var(--bg-void);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--product-glow);
}

.btn-ghost {
  padding: 14px 36px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s;
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--product-accent) 40%, transparent);
  color: var(--product-accent);
}

/* Section commons */
.section {
  padding: 100px 72px;
}

.section-alt { background: var(--bg-secondary); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--product-accent);
  letter-spacing: 4px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--product-accent), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
  line-height: 1.25;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 56px;
  font-weight: 300;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 20%, var(--border-subtle) 80%, transparent);
}

/* Two-column layout */
.pd-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pd-split.reverse { direction: rtl; }
.pd-split.reverse > * { direction: ltr; }

/* Pain points */
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 36px; }

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: all 0.4s;
}

.pain-list li:hover {
  border-color: color-mix(in srgb, var(--product-accent) 20%, transparent);
  transform: translateX(4px);
}

.pain-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--product-accent);
  margin-top: 7px;
  box-shadow: 0 0 12px var(--product-glow);
}

/* Quote block */
.quote-block {
  padding: 32px 40px;
  background: var(--product-accent-dim);
  border: 1px solid color-mix(in srgb, var(--product-accent) 20%, transparent);
  border-radius: 16px;
  border-left: 3px solid var(--product-accent);
  margin: 48px 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

/* Layer stack */
.layer-stack { display: flex; flex-direction: column; gap: 32px; }

.layer-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: all 0.4s;
}

.layer-item:hover {
  border-color: color-mix(in srgb, var(--product-accent) 25%, transparent);
}

.layer-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--product-accent);
  font-family: var(--font-mono);
  opacity: 0.7;
  min-width: 48px;
}

.layer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.layer-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Capability grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cap-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--product-accent), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.cap-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--product-accent) 15%, transparent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cap-card:hover::before { opacity: 1; }

.cap-num {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--product-accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.cap-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cap-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.cap-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cap-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.cap-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--product-accent);
  font-size: 11px;
}

/* Visual frame */
.visual-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.visual-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.visual-frame--constrained {
  max-width: 900px;
  margin: 0 auto;
}

/* Architecture */
.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.arch-node {
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-align: center;
  min-width: 140px;
}

.arch-node.highlight {
  border-color: color-mix(in srgb, var(--product-accent) 40%, transparent);
  background: var(--product-accent-dim);
}

.arch-node-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.arch-node-desc {
  font-size: 12px;
  color: var(--text-dim);
}

.arch-arrow {
  font-size: 24px;
  color: var(--product-accent);
  opacity: 0.6;
}

/* Product matrix */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.matrix-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s;
  display: block;
}

.matrix-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--product-accent) 20%, transparent);
}

.matrix-card.current {
  border-color: color-mix(in srgb, var(--product-accent) 40%, transparent);
  background: var(--product-accent-dim);
}

.matrix-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.matrix-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.matrix-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 120px 72px;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--product-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .section-title { max-width: 100%; margin: 0 auto 18px; font-size: clamp(40px, 6vw, 72px); white-space: nowrap; }
.cta-section .section-desc { max-width: 640px; margin: 0 auto 48px; text-wrap: pretty; font-size: 18px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* CTA QR Code hover panel */
.cta-qrcode {
  position: relative;
  display: inline-block;
}
.cta-qrcode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--product-accent), color-mix(in srgb, var(--product-accent) 60%, #fff));
  color: var(--bg-void);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--glow-btn-rest);
}
.cta-qrcode-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 35%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.25) 55%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.cta-qrcode-btn:hover::before {
  transform: translateX(120%);
}
.cta-qrcode-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-btn-hover);
}
.cta-qrcode-panel {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  padding: 20px 16px 16px;
  background: rgba(10, 14, 24, 0.97);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 14px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}
.cta-qrcode-panel::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(10, 14, 24, 0.97);
  border-right: 1px solid rgba(0, 212, 255, 0.14);
  border-bottom: 1px solid rgba(0, 212, 255, 0.14);
}
.cta-qrcode:hover .cta-qrcode-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cta-qrcode-panel img {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto 10px;
  border-radius: 8px;
  background: #fff;
}
.cta-qrcode-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 72px;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.9;
  max-width: 320px;
}

.footer-brand-desc strong {
  color: var(--text-primary);
  font-weight: 700;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent-cyan); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-copy img {
  height: 14px;
  vertical-align: middle;
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: var(--text-dim); text-decoration: none; }

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-copy {
    justify-content: center;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   HAMBURGER MENU
   ═══════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  gap: 5px;
  position: relative;
  z-index: 110;
  transition: background 0.3s;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.04);
}

.nav-hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-secondary);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.nav-hamburger.is-active .nav-hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent-cyan);
}

.nav-hamburger.is-active .nav-hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-active .nav-hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent-cyan);
}

/* Mobile nav overlay */
@media (max-width: 1200px) {
  .breadcrumb { display: none; }
  .nav-home { display: block; }
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    width: min(320px, 80vw);
    height: 100dvh;
    padding: 88px 24px 32px;
    margin: 0;
    background: rgba(5, 7, 9, 0.98);
    backdrop-filter: blur(28px) saturate(1.2);
    -webkit-backdrop-filter: blur(28px) saturate(1.2);
    border-left: 1px solid var(--border-subtle);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 105;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links > li {
    display: block;
    width: 100%;
    flex-shrink: 0;
  }

  .nav-links > li > a {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }

  .nav-links > li > a:active,
  .nav-links > li > a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
  }

  .nav-links .nav-cta {
    margin-top: 12px;
    text-align: center;
    padding: 14px 16px !important;
    color: var(--accent-cyan) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    border-radius: 8px !important;
  }

  /* Dropdown in mobile nav */
  .nav-dropdown { position: static; }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 4px 0 4px 8px;
    margin-top: 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-dropdown-menu::before,
  .nav-dropdown-menu::after {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 400px;
  }

  .nav-dropdown-item {
    padding: 12px 14px;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 104;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .pd-hero, .pd-split { grid-template-columns: 1fr; gap: 40px; }
  .cap-grid { grid-template-columns: 1fr; }
  .matrix-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
  .nav { padding: 0 24px; }
  .pd-hero, .section, .cta-section, .footer { padding-left: 24px; padding-right: 24px; }
  .pd-hero-title { font-size: 36px; }
  .section-title { font-size: 28px; }
  .pd-hero { padding-top: 140px; padding-bottom: 60px; min-height: auto; }
  .pd-hero-desc { font-size: 15px; max-width: 100%; }
  .pd-hero-actions { flex-direction: column; }
  .pd-hero-actions .btn-primary,
  .pd-hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .pd-hero-visual { border-radius: 14px; }
  #hero-neural-canvas { display: none; }
  .pd-pill-row { gap: 8px; }
  .pd-pill { font-size: 11px; padding: 6px 14px; }
  .section { padding: 60px 24px; }
  .cta-section { padding: 80px 24px; }
  .pain-list li { padding: 16px 20px; }
  .layer-item { padding: 20px; }
  .cap-card { padding: 28px 24px; }
  .quote-block { padding: 24px 28px; }
  .arch-flow { gap: 16px; }
  .arch-node { min-width: 100px; padding: 16px 20px; }
}

@media (max-width: 600px) {
  .section-title { font-size: 24px; }
  .section-desc { font-size: 14px; }
  .pd-hero-title { font-size: 28px; }
  .pd-hero-subtitle { font-size: 18px; }
  .pd-hero-desc { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-section .cta-actions { flex-direction: column; align-items: center; }
  .layer-num { font-size: 22px; min-width: 36px; }
  .cap-card { padding: 24px 20px; }
  .cap-title { font-size: 18px; }
  .matrix-card { padding: 24px; }
  .matrix-name { font-size: 18px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer { padding: 40px 24px; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .pd-hero-title { font-size: 24px; }
  .section-title { font-size: 20px; }
  .pd-hero, .section, .cta-section, .footer { padding-left: 16px; padding-right: 16px; }
  .nav { padding: 0 16px; }
}
