/* ========== CSS Variables & Reset ========== */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #161d2e;
  --bg-card-hover: #1c2540;
  --border-color: #1e2a42;
  --border-glow: #00d4ff33;
  --text-primary: #e8edf5;
  --text-secondary: #8b9bb4;
  --text-muted: #5a6a82;
  --accent-cyan: #00d4ff;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --accent-red: #ef4444;
  --accent-yellow: #fbbf24;
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #3b82f6 100%);
  --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-fire: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --font-display: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Consolas', 'Monaco', 'Courier New', monospace;
  --cut-corner: 12px;
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  --shadow-glow-cyan: 0 0 20px #00d4ff40;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-card-hover: 0 8px 32px rgba(0,212,255,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-display);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--accent-cyan); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea { font-family: inherit; }

/* Blueprint grid background */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.025;
  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)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 32px;
  transition: all var(--transition-normal);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10,14,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0a0e17;
  font-weight: 900;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  background: rgba(0,212,255,0.08);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 1px;
}
.nav-cta {
  background: var(--gradient-primary);
  color: #0a0e17 !important;
  font-weight: 700;
  padding: 10px 24px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: all var(--transition-fast);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-cyan);
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}
.hero-bg-glow.cyan { background: var(--accent-cyan); top: -200px; right: -100px; }
.hero-bg-glow.purple { background: var(--accent-purple); bottom: -200px; left: -100px; }
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 20px;
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #0a0e17;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  padding: 16px 36px;
  font-size: 16px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.4);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(0,212,255,0.05);
}
.hero-platforms {
  display: flex;
  gap: 16px;
  align-items: center;
}
.platform-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}
.platform-tag.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0,212,255,0.05);
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.hero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-image-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,14,23,0.8) 100%);
  z-index: 1;
}
.hero-stats {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}
.hero-stat {
  background: rgba(10,14,23,0.9);
  padding: 12px;
  text-align: center;
}
.hero-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-cyan);
  font-variant-numeric: tabular-nums;
}
.hero-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  animation: bounce-scroll 2s infinite;
}
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

/* ========== Section Common ========== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 3px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Features Section ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}
.feature-card:nth-child(2) .feature-icon { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.2); color: var(--accent-purple); }
.feature-card:nth-child(3) .feature-icon { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); color: var(--accent-orange); }
.feature-card:nth-child(4) .feature-icon { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: var(--accent-green); }
.feature-card:nth-child(5) .feature-icon { background: rgba(236,72,153,0.1); border-color: rgba(236,72,153,0.2); color: #ec4899; }
.feature-card:nth-child(6) .feature-icon { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); color: var(--accent-red); }
.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(0,212,255,0.06);
  border-radius: 3px;
}

/* ========== Gallery Section ========== */
.gallery-section {
  background: linear-gradient(180deg, transparent 0%, rgba(0,212,255,0.02) 50%, transparent 100%);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  aspect-ratio: 16/10;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover { border-color: var(--accent-cyan); box-shadow: var(--shadow-card-hover); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(10,14,23,0.9));
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.gallery-overlay-sub {
  font-size: 12px;
  color: var(--accent-cyan);
}

/* ========== Data Stats Section ========== */
.stats-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  position: relative;
}
.stats-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-primary);
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 40px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ========== Changelog Preview ========== */
.changelog-section {
  background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.02) 50%, transparent 100%);
}
.changelog-list {
  max-width: 800px;
  margin: 0 auto;
}
.changelog-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-cyan);
  padding: 24px 28px;
  margin-bottom: 16px;
  border-radius: 0 8px 8px 0;
  transition: all var(--transition-fast);
}
.changelog-item:hover {
  border-left-color: var(--accent-purple);
  background: var(--bg-card-hover);
}
.changelog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.changelog-version {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 3px 10px;
  background: rgba(0,212,255,0.08);
  border-radius: 4px;
}
.changelog-date {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.changelog-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
}
.changelog-tag.new { background: rgba(16,185,129,0.15); color: var(--accent-green); }
.changelog-tag.fix { background: rgba(245,158,11,0.15); color: var(--accent-orange); }
.changelog-tag.opt { background: rgba(139,92,246,0.15); color: var(--accent-purple); }
.changelog-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.changelog-content li {
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}
.changelog-content li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}
.view-all-link {
  text-align: center;
  margin-top: 32px;
}

/* ========== Tutorial Preview ========== */
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tutorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition-normal);
}
.tutorial-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.tutorial-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}
.tutorial-body { padding: 20px 24px; }
.tutorial-step {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.tutorial-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tutorial-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== FAQ Section ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.open { border-color: rgba(0,212,255,0.3); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 80px 0;
}
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.12) 0%, transparent 70%);
}
.cta-box-content { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--accent-cyan); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.footer-badges {
  display: flex;
  gap: 12px;
}
.footer-badge {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ========== Page Header (Sub-pages) ========== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.page-breadcrumb a { color: var(--text-secondary); }
.page-breadcrumb a:hover { color: var(--accent-cyan); }
.page-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.page-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Purchase Page ========== */
.purchase-section { padding-bottom: 80px; }
.purchase-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}
.purchase-header {
  padding: 32px;
  background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(139,92,246,0.08) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}
.purchase-version {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.purchase-name {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.purchase-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.purchase-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--accent-cyan);
}
.purchase-price-note {
  font-size: 14px;
  color: var(--text-muted);
}
.purchase-body { padding: 32px; }
.purchase-features {
  margin-bottom: 32px;
}
.purchase-feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(30,42,66,0.5);
  font-size: 14px;
}
.purchase-feature-row:last-child { border-bottom: none; }
.purchase-check {
  width: 20px; height: 20px;
  background: rgba(16,185,129,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 12px;
  flex-shrink: 0;
}
.purchase-btn-wrap {
  text-align: center;
}
.purchase-btn {
  width: 100%;
  padding: 18px;
  font-size: 17px;
}
.purchase-notes {
  margin-top: 20px;
  padding: 16px;
  background: rgba(245,158,11,0.05);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.purchase-notes-title {
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 6px;
}

/* ========== Sub Sections ========== */
.sub-section {
  padding: 60px 0;
}
.sub-section + .sub-section {
  border-top: 1px solid var(--border-color);
}
.sub-section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sub-section-title-bar {
  width: 4px; height: 24px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.sub-section-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  margin-left: 16px;
}

/* Tutorial Steps */
.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
}
.tut-step {
  display: grid;
  grid-template-columns: 60px 1fr 280px;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px;
  align-items: start;
  transition: border-color var(--transition-fast);
}
.tut-step:hover { border-color: rgba(0,212,255,0.3); }
.tut-step-num {
  width: 48px; height: 48px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #0a0e17;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.tut-step-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tut-step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.tut-step-img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Image Gallery Full */
.gallery-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-full-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-normal);
}
.gallery-full-item:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.gallery-full-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.gallery-full-item-label {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
}

/* Terminal-style Changelog */
.terminal {
  background: #0c0f18;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #111625;
  border-bottom: 1px solid var(--border-color);
}
.terminal-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }
.terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  max-height: 600px;
  overflow-y: auto;
}
.terminal-prompt { color: var(--accent-green); }
.terminal-cmd { color: var(--accent-cyan); }
.terminal-output { color: var(--text-secondary); }
.terminal-version-tag {
  color: var(--accent-purple);
  font-weight: 700;
}
.terminal-date { color: var(--text-muted); }
.terminal-divider {
  border: none;
  border-top: 1px dashed var(--border-color);
  margin: 16px 0;
}

/* ========== Back Button ========== */
.back-link-wrap {
  max-width: 900px;
  margin: 0 auto 32px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all var(--transition-fast);
}
.back-link:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(0,212,255,0.05);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tutorial-grid { grid-template-columns: repeat(2, 1fr); }
  .tut-step { grid-template-columns: 48px 1fr; }
  .tut-step-img { display: none; }
  .gallery-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(10,14,23,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open .nav-link { width: 100%; padding: 14px 16px; }
  .mobile-menu-btn { display: flex; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-platforms { justify-content: center; flex-wrap: wrap; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; aspect-ratio: 16/9; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; gap: 24px; clip-path: none; border-radius: 12px; }
  .stat-num { font-size: 28px; }
  .tutorial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-box { padding: 40px 24px; clip-path: none; border-radius: 12px; }
  .section { padding: 64px 0; }
  .gallery-full { grid-template-columns: 1fr; }
  .tut-step { grid-template-columns: 48px 1fr; padding: 16px; gap: 16px; }
  .purchase-card { border-radius: 12px; }
  .purchase-header, .purchase-body { padding: 24px; }
  .purchase-price { font-size: 36px; }
  .page-header { padding: 110px 0 40px; }
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }

/* Selection */
::selection { background: rgba(0,212,255,0.3); color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
