:root {
  --bg-dark: #080c14;
  --bg-card: #0d1420;
  --bg-card2: #111827;
  --accent-orange: #f97316;
  --accent-cyan: #06b6d4;
  --accent-green: #22c55e;
  --accent-yellow: #eab308;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --border: rgba(6,182,212,0.15);
  --border-orange: rgba(249,115,22,0.3);
  --glow-cyan: 0 0 20px rgba(6,182,212,0.4);
  --glow-orange: 0 0 20px rgba(249,115,22,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Noto Sans SC', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── NOISE OVERLAY ─── */
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");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ─── GRID BACKGROUND ─── */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,182,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent-orange), #fb923c);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.nav-logo-text span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.03em;
}

.nav-links a:hover { color: var(--accent-cyan); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent-orange), #fb923c);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow-orange);
  color: #fff !important;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 40px 60px;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: pulse 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--accent-cyan);
  top: -200px; left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px; height: 500px;
  background: var(--accent-orange);
  bottom: -150px; right: -100px;
  animation-delay: -4s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: var(--accent-green);
  top: 40%; left: 50%;
  animation-delay: -2s;
  opacity: 0.07;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.12; }
  50% { transform: scale(1.15); opacity: 0.18; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  animation: fadeInDown 0.8s ease 0.1s both;
}

.hero-title .line1 { color: var(--text-primary); }
.hero-title .line2 {
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-orange), #fb923c);
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249,115,22,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(6,182,212,0.4);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.btn-secondary:hover {
  background: rgba(6,182,212,0.08);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 64px;
  animation: fadeInDown 0.8s ease 0.4s both;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-orange);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

.hero-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  align-self: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInDown 1s ease 1s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── SECTION COMMONS ─── */
section {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ─── OVERVIEW ─── */
#overview {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(13,20,32,0.8) 100%);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  transition: opacity 0.3s;
}

.overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6,182,212,0.4);
  box-shadow: 0 12px 40px rgba(6,182,212,0.1);
}

.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card-icon.orange { background: rgba(249,115,22,0.15); color: var(--accent-orange); }
.card-icon.cyan { background: rgba(6,182,212,0.15); color: var(--accent-cyan); }
.card-icon.green { background: rgba(34,197,94,0.15); color: var(--accent-green); }
.card-icon.yellow { background: rgba(234,179,8,0.15); color: var(--accent-yellow); }

.card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.card-number {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: rgba(6,182,212,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ─── WORKFLOW ─── */
#workflow {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.workflow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  z-index: 0;
}

.workflow-step {
  text-align: center;
  padding: 20px 16px 28px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.step-num:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-cyan);
}

.step-num-inner {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-cyan);
}

.step-icon {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 22px; height: 22px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 0 10px rgba(249,115,22,0.5);
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-role {
  display: inline-block;
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.step-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.workflow-row2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 0;
}

.workflow-row2::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
  z-index: 0;
}

.step-num.orange-border {
  border-color: var(--accent-orange);
}

.step-num.orange-border .step-num-inner { color: var(--accent-orange); }
.step-num.orange-border:hover { box-shadow: var(--glow-orange); }

/* ─── PC FEATURES ─── */
#pc-features {
  background: var(--bg-dark);
}

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
  width: fit-content;
}

.tab-btn {
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.03em;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-orange), #fb923c);
  color: #fff;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.tab-btn:not(.active):hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.3s;
  cursor: pointer;
}

.feature-card:hover {
  border-color: rgba(249,115,22,0.4);
  background: rgba(249,115,22,0.05);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-orange);
  background: rgba(249,115,22,0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ─── MINIAPP ─── */
#miniapp {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.miniapp-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

.miniapp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.miniapp-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.miniapp-item.active,
.miniapp-item:hover {
  border-color: rgba(6,182,212,0.4);
  background: rgba(6,182,212,0.05);
  box-shadow: 0 4px 20px rgba(6,182,212,0.08);
}

.miniapp-item-icon {
  width: 40px; height: 40px;
  background: rgba(6,182,212,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.miniapp-item-body { flex: 1; }

.miniapp-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.miniapp-item-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.miniapp-item-arrow {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 2px;
  transition: transform 0.2s, color 0.2s;
}

.miniapp-item:hover .miniapp-item-arrow,
.miniapp-item.active .miniapp-item-arrow {
  transform: translateX(4px);
  color: var(--accent-cyan);
}

/* Phone mockup */
.phone-wrap {
  position: sticky;
  top: 100px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  background: #0a0e1a;
  border-radius: 40px;
  border: 2px solid rgba(6,182,212,0.3);
  box-shadow:
    0 0 0 8px rgba(6,182,212,0.05),
    0 40px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  width: 100px; height: 24px;
  background: #0a0e1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(6,182,212,0.1);
}

.phone-screen {
  background: #111827;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}

.phone-screen-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-align: center;
  margin-bottom: 4px;
}

.phone-screen-content {
  width: 100%;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px 0;
  font-size: 10px;
  color: var(--text-muted);
}

.phone-bottom {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-home {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

/* Screenshot gallery inside phone */
.phone-gallery {
  width: 100%;
}

.gallery-img {
  width: 100%;
  border-radius: 8px;
  display: none;
  animation: fadeIn 0.4s ease;
}

.gallery-img.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* Query methods highlight */
.query-methods {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 20px;
}

.qm-card {
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.2s;
}

.qm-card:hover {
  background: rgba(6,182,212,0.15);
  transform: translateY(-2px);
}

.qm-icon { font-size: 20px; margin-bottom: 6px; }
.qm-label { font-size: 11px; font-weight: 600; color: var(--accent-cyan); }

/* ─── ARCHITECTURE ─── */
#architecture {
  background: var(--bg-dark);
}

.arch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.arch-diagram {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.arch-diagram::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(6,182,212,0.06) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(249,115,22,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.arch-layer {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}

.arch-layer:hover { border-color: rgba(6,182,212,0.3); }

.arch-layer-icon {
  font-size: 20px;
  width: 36px;
  text-align: center;
}

.arch-layer-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.arch-layer-tag {
  font-size: 10px;
  color: var(--accent-cyan);
  border: 1px solid rgba(6,182,212,0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.arch-arrow {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin: 4px 0;
  opacity: 0.5;
}

.arch-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.arch-info-item {
  display: flex;
  gap: 16px;
}

.arch-info-dot {
  width: 8px; height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.arch-info-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.arch-info-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Hardware list */
.hardware-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.hw-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: border-color 0.2s;
}

.hw-item:hover { border-color: rgba(249,115,22,0.3); }
.hw-icon { font-size: 16px; }

/* ─── CUSTOM DEV ─── */
#roadmap {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
}

/* 顶部横幅 */
.custom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(6,182,212,0.06));
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 14px;
  padding: 28px 36px;
  margin-bottom: 40px;
}

.custom-banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.custom-banner-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.custom-banner-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.custom-banner-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 功能卡片网格 */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.custom-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.custom-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(249,115,22,0.04), transparent 60%);
  pointer-events: none;
}

.custom-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,0.35);
  box-shadow: 0 12px 40px rgba(249,115,22,0.08);
}

.custom-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.custom-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.custom-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-orange);
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.3);
  padding: 3px 10px;
  border-radius: 4px;
}

.custom-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.custom-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.custom-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.custom-points li {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-points li::before {
  content: '›';
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

/* 底部开发流程 */
.custom-process {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 40px;
  text-align: center;
}

.custom-process-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.custom-process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cp-step {
  text-align: center;
  min-width: 120px;
}

.cp-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 10px;
}

.cp-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.cp-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.cp-arrow {
  font-size: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ─── FOOTER ─── */
footer {
  background: #050810;
  border-top: 1px solid var(--border);
  padding: 60px 40px 40px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px 0 12px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-qrcode {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: fit-content;
}

.qr-img {
  width: 72px; height: 72px;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.qr-img img { width: 100%; height: 100%; object-fit: cover; }

.qr-info-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.qr-info-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent-cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-cyan);
  text-decoration: none;
  border: 1px solid rgba(6,182,212,0.3);
  padding: 6px 16px;
  border-radius: 4px;
  transition: all 0.2s;
}

.footer-demo-link:hover {
  background: rgba(6,182,212,0.08);
  box-shadow: var(--glow-cyan);
}

/* 联系方式 */
.footer-contact-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.footer-contact-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.footer-contact-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.footer-contact-number {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-contact-number:hover {
  color: #fff;
}

.footer-wx-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  width: fit-content;
}

.footer-wx-qr-img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 10px;
}

.footer-wx-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-wx-qr-label {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: rgba(6,182,212,0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .miniapp-layout { grid-template-columns: 1fr; }
  .phone-wrap { position: static; }
  .arch-layout { grid-template-columns: 1fr; }
  .custom-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .workflow-steps, .workflow-row2 { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps::before, .workflow-row2::before { display: none; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 70px 20px; }
  #hero { padding: 80px 20px 60px; }
  .hero-stats { gap: 24px; }
  .hero-divider { display: none; }
  .workflow-steps, .workflow-row2 { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .custom-grid { grid-template-columns: 1fr; }
}

/* Scan line animation for tech feel */
.scan-line {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
  pointer-events: none;
  z-index: 9998;
  animation: scan 6s linear infinite;
}

@keyframes scan {
  from { top: -2px; }
  to { top: 100vh; }
}
