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

:root {
  --bg: #06060f;
  --bg-elev: #0d0d1a;
  --surface: rgba(255,255,255,0.03);
  --surface-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #eef0f6;
  --text-dim: #8b8ba0;
  --text-dimmer: rgba(139,139,160,0.6);
  --cyan: #00d4ff;
  --violet: #7c3aed;
  --pink: #f472b6;
  --green: #34d399;
  --amber: #fbbf24;
  --orange: #fb923c;
  --blue: #818cf8;
  --grad-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #f472b6 100%);
  --grad-cyan-violet: linear-gradient(135deg, #00d4ff, #7c3aed);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============ BACKGROUND LAYERS ============ */

.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.8) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.8) 0%, transparent 70%);
}

.bg-mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}

.mesh-orb {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: var(--cyan); top: -200px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--violet); top: 10%; right: -150px; animation-delay: -5s; }
.orb-3 { width: 550px; height: 550px; background: var(--pink); top: 50%; left: 30%; animation-delay: -10s; opacity: 0.2; }
.orb-4 { width: 400px; height: 400px; background: #0ea5e9; bottom: -100px; right: 20%; animation-delay: -15s; opacity: 0.2; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.02); }
}

.bg-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ UTILITIES ============ */

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 5px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 4px; color: var(--text-dim);
}

/* ============ REVEAL ANIMATION ============ */

[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============ NAV ============ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(6,6,15,0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo-mark { display: flex; }
.logo-text { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; font-size: 13px; font-weight: 600;
  background: var(--grad-primary); border-radius: 100px;
  color: #fff; transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(124,58,237,0.35); }

/* ============ HERO ============ */

.hero {
  position: relative; z-index: 1;
  padding: 160px 32px 80px;
  max-width: var(--max-w); margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: none;
}

.badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.badge-sep { color: var(--text-dimmer); }
.hero-badge a { color: var(--cyan); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-variant-numeric: lining-nums;
  font-feature-settings: "ss01", "ss02";
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 24px;
}
.title-line { display: block; opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.25s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--text-dim);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
  opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
}

.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.55s forwards;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 4px 24px rgba(124,58,237,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.45);
}
.btn-sub { font-size: 11px; font-weight: 400; opacity: 0.8; display: block; line-height: 1.2; }
.btn-primary span { text-align: left; }
.btn-primary span:not(.btn-sub) { font-size: 16px; }
.btn-ghost {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-strong); transform: translateY(-2px); }
.btn-secondary {
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--cyan);
}
.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.25), rgba(124,58,237,0.25));
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.2);
}
.btn-secondary span { text-align: left; }
.btn-secondary span:not(.btn-sub) { font-size: 16px; }

/* Hero Window */

.hero-window {
  max-width: 760px; margin: 0 auto;
  background: rgba(13,13,26,0.8);
  border: 1px solid var(--border-strong);
  border-radius: 14px; overflow: hidden;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05), 0 1px 0 rgba(255,255,255,0.1) inset;
  animation-delay: 0.7s;
}

.window-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.window-dots { display: flex; gap: 7px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.window-search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; background: rgba(255,255,255,0.04);
  border-radius: 8px; font-size: 13px; color: var(--text-dim);
}
.search-placeholder { flex: 1; }
.search-kbd {
  font-family: var(--font-mono); font-size: 11px;
  padding: 2px 6px; background: rgba(255,255,255,0.06);
  border-radius: 4px; border: 1px solid var(--border); color: var(--text-dimmer);
}

.mini-badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 4px;
  background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff;
}

.window-body { padding: 8px; }

.w-section { padding: 4px 0; }

.w-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  transition: background 0.15s;
}
.w-item-active { background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2); }
.w-item:not(.w-item-active):hover { background: var(--surface-hover); }

.w-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.w-info { flex: 1; text-align: left; }
.w-name { font-size: 14px; font-weight: 600; }
.w-desc { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.w-kbd {
  font-family: var(--font-mono); font-size: 12px;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.2); border: 1px solid rgba(124,58,237,0.3);
  border-radius: 4px; color: var(--violet);
}

.w-footer {
  display: none;
}
.w-hint { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-dimmer); font-family: var(--font-mono); }

/* ============ BRANDS ============ */

.brands {
  position: relative; z-index: 1;
  padding: 48px 32px; max-width: var(--max-w); margin: 0 auto;
  text-align: center;
}
.brands-label { font-size: 13px; color: var(--text-dimmer); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; }
.brands-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 40px 48px;
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--text-dimmer);
  transition: opacity 0.3s;
}
.brands-row span { transition: color 0.3s; }
.brands-row span:hover { color: var(--text-dim); }

/* ============ SECTION COMMON ============ */

.section-header {
  text-align: center; margin-bottom: 64px;
}
.section-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--cyan); margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--text-dim); max-width: 560px;
  margin: 0 auto; line-height: 1.7;
}

/* ============ FEATURES ============ */

.features {
  position: relative; z-index: 1;
  padding: 80px 32px; max-width: var(--max-w); margin: 0 auto;
}

.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-primary); opacity: 0;
  border-radius: var(--radius); transition: opacity 0.3s;
  z-index: -1;
}
.feat-card:hover {
  border-color: var(--border-strong); transform: translateY(-4px);
  background: var(--surface-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feat-card-wide { grid-column: span 3; }

.feat-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }

.feat-icon { margin-bottom: 20px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border-radius: 12px; }

.feat-card h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.feat-card p { font-size: 15px; color: var(--text-dim); line-height: 1.7; }

.ai-demo {
  background: rgba(0,0,0,0.4); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px; font-family: var(--font-mono); font-size: 13px;
}
.ai-msg { padding: 10px 14px; border-radius: var(--radius-xs); margin-bottom: 10px; }
.ai-msg-user {
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.2);
  color: var(--text); font-family: var(--font-body); font-size: 14px;
}
.ai-msg-bot {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.ai-loading {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid var(--border-strong); border-top-color: var(--cyan);
  border-radius: 50%; animation: spin 0.8s linear infinite; margin-right: 8px; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ai-code { color: var(--text-dim); }
.ai-code .kw { color: var(--violet); }
.ai-code .fn { color: var(--cyan); }

/* ============ KEYBOARD / PERFORMANCE ============ */

.keyboard {
  position: relative; z-index: 1;
  padding: 80px 32px; max-width: var(--max-w); margin: 0 auto;
}

.kb-container {
  display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center;
}

.kb-keys {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 32px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.kb-key {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong); border-radius: 8px;
  color: var(--text-dim); cursor: default;
  transition: all 0.15s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.05) inset;
  user-select: none;
}
.kb-key:hover, .kb-key.kb-pressed {
  background: var(--grad-cyan-violet); color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0,212,255,0.3), 0 2px 0 rgba(0,0,0,0.2);
  transform: translateY(2px);
}
.kb-key-wide { min-width: 64px; }
.kb-key-xwide { min-width: 88px; }
.kb-key-space { min-width: 260px; }

.kb-highlights { display: flex; flex-direction: column; gap: 20px; }

.kb-highlight {
  padding: 24px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.3s;
}
.kb-highlight:hover { border-color: var(--border-strong); transform: translateX(4px); }

.kb-h-icon { margin-bottom: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border-radius: 10px; }

.kb-highlight h4 {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.kb-highlight p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.kb-highlight strong { color: var(--text); font-weight: 600; }

/* ============ EXTENSIONS ============ */

.extensions {
  position: relative; z-index: 1;
  padding: 80px 32px; max-width: var(--max-w); margin: 0 auto;
}

.ext-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 40px;
  flex-wrap: wrap;
}
.ext-tab {
  padding: 8px 20px; border-radius: 100px; font-size: 14px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  transition: all 0.2s;
}
.ext-tab:hover { color: var(--text); border-color: var(--border-strong); }
.ext-tab.active { background: var(--grad-primary); color: #fff; border-color: transparent; }

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

.ext-card {
  padding: 24px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
}
.ext-card:hover {
  border-color: var(--border-strong); transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.ext-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.ext-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.ext-card p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

.ext-more { text-align: center; margin-top: 32px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; color: var(--cyan);
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 10px; }

/* ============ DOWNLOAD ============ */

.download {
  position: relative; z-index: 1;
  padding: 80px 32px; max-width: var(--max-w); margin: 0 auto;
}

.dl-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.dl-card::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 70%);
  pointer-events: none;
}

.dl-content h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em; margin: 12px 0 16px;
}
.dl-sub { font-size: 16px; color: var(--text-dim); margin-bottom: 32px; line-height: 1.7; }

.platforms { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }

.platform {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  transition: all 0.25s;
}
.platform:hover {
  background: rgba(255,255,255,0.07); border-color: var(--border-strong);
  transform: translateX(4px);
}
.plat-icon { color: var(--cyan); display: flex; }
.plat-info { display: flex; flex-direction: column; }
.plat-label { font-size: 15px; font-weight: 600; }
.plat-ver { font-size: 12px; color: var(--text-dimmer); font-family: var(--font-mono); }

.qrcode-trigger { cursor: pointer; }

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  z-index: 1000;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  position: relative;
  width: 90%;
  max-width: 360px;
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}
.modal-content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.modal-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  color: var(--cyan);
  margin-bottom: 20px;
}
.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.modal-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.6;
}
.modal-qrcode {
  width: 200px;
  height: 200px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
}
.modal-qrcode img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.modal-hint {
  font-size: 13px;
  color: var(--text-dimmer);
}

.dl-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.dl-meta span { font-size: 13px; color: var(--text-dim); }

/* Orbit visual */
.dl-visual { display: flex; align-items: center; justify-content: center; position: relative; height: 360px; }
.dl-orbit { position: relative; width: 320px; height: 320px; }

.orbit-ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--border);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.orbit-r1 { width: 160px; height: 160px; animation: orbitSpin 20s linear infinite; border-color: rgba(0,212,255,0.2); }
.orbit-r2 { width: 240px; height: 240px; animation: orbitSpin 30s linear infinite reverse; border-color: rgba(124,58,237,0.15); }
.orbit-r3 { width: 320px; height: 320px; animation: orbitSpin 40s linear infinite; border-color: rgba(244,114,182,0.1); }

@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.orbit-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(124,58,237,0.4), 0 0 80px rgba(0,212,255,0.2);
  animation: corePulse 3s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 40px rgba(124,58,237,0.4), 0 0 80px rgba(0,212,255,0.2); }
  50% { box-shadow: 0 0 60px rgba(124,58,237,0.6), 0 0 120px rgba(0,212,255,0.3); }
}

.orbit-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
}
.dot-1 {
  top: calc(50% - 80px); left: calc(50% - 5px);
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  animation: dotMove1 20s linear infinite;
}
.dot-2 {
  top: calc(50% - 5px); right: calc(50% - 120px - 5px);
  background: var(--pink); box-shadow: 0 0 12px var(--pink);
  animation: dotMove2 30s linear infinite reverse;
}
.dot-3 {
  bottom: calc(50% - 160px - 5px); left: calc(50% - 5px);
  background: var(--violet); box-shadow: 0 0 12px var(--violet);
  animation: dotMove3 40s linear infinite;
}
@keyframes dotMove1 { from { transform: rotate(0deg) translateY(-80px) rotate(0deg); } to { transform: rotate(360deg) translateY(-80px) rotate(-360deg); } }
@keyframes dotMove2 { from { transform: rotate(0deg) translateX(120px) rotate(0deg); } to { transform: rotate(360deg) translateX(120px) rotate(-360deg); } }
@keyframes dotMove3 { from { transform: rotate(0deg) translateY(160px) rotate(0deg); } to { transform: rotate(360deg) translateY(160px) rotate(-360deg); } }

/* ============ TESTIMONIALS ============ */

.testimonials {
  position: relative; z-index: 1;
  padding: 80px 32px; max-width: var(--max-w); margin: 0 auto;
}

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.testi-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.3s;
}
.testi-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.testi-stars { color: var(--amber); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
}
.testi-author strong { display: block; font-size: 14px; }
.testi-author span { font-size: 12px; color: var(--text-dim); }

/* ============ FOOTER ============ */

.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 32px 24px; margin-top: 40px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px;
}
.footer-brand p { font-size: 14px; color: var(--text-dim); margin-top: 12px; max-width: 200px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h5 { font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--text); }
.footer-col a { display: block; font-size: 13px; color: var(--text-dim); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max-w); margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-dimmer);
  flex-wrap: wrap; gap: 12px;
}
.footer-ver { font-family: var(--font-mono); }
.footer-icp { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-icp a { color: var(--text-dimmer); text-decoration: none; transition: color 0.2s; }
.footer-icp a:hover { color: var(--text); }
.icp-sep { color: var(--border); }

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card-wide { grid-column: span 2; }
  .feat-split { grid-template-columns: 1fr; }
  .kb-container { grid-template-columns: 1fr; }
  .ext-grid { grid-template-columns: repeat(3, 1fr); }
  .dl-card { grid-template-columns: 1fr; padding: 40px; }
  .dl-visual { height: 280px; }
  .dl-orbit { width: 240px; height: 240px; }
  .orbit-r1 { width: 120px; height: 120px; }
  .orbit-r2 { width: 180px; height: 180px; }
  .orbit-r3 { width: 240px; height: 240px; }
  @keyframes dotMove1 { from { transform: rotate(0deg) translateY(-60px) rotate(0deg); } to { transform: rotate(360deg) translateY(-60px) rotate(-360deg); } }
  @keyframes dotMove2 { from { transform: rotate(0deg) translateX(90px) rotate(0deg); } to { transform: rotate(360deg) translateX(90px) rotate(-360deg); } }
  @keyframes dotMove3 { from { transform: rotate(0deg) translateY(120px) rotate(0deg); } to { transform: rotate(360deg) translateY(120px) rotate(-360deg); } }
  .dot-1 { top: calc(50% - 60px); }
  .dot-2 { right: calc(50% - 90px - 5px); }
  .dot-3 { bottom: calc(50% - 120px - 5px); }
}

@media (max-width: 768px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 120px 16px 60px; }
  .features, .keyboard, .extensions, .download, .testimonials { padding: 60px 16px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card-wide { grid-column: span 1; }
  .ext-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .brands-row { gap: 24px; font-size: 16px; }
  .kb-key-space { min-width: 160px; }
  .dl-card { padding: 28px; }
}
