/* Hand Mouse Control Website Styles */
:root {
  --bg: #0f1116;
  --card: #151923;
  --text: #e6eaf2;
  --muted: #9aa4b2;
  --primary: #4a6cf7;
  --primary-600: #3a5ce7;
  --border: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 16, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo { width: 28px; height: 28px; display: grid; place-items: center; background: rgba(74,108,247,0.15); border: 1px solid var(--border); border-radius: 8px; }
.title { font-weight: 700; letter-spacing: 0.2px; }
.nav { display: flex; gap: 18px; }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-link:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 32px; background: radial-gradient(1200px 400px at 50% -10%, rgba(74,108,247,0.18), transparent 60%); }
.hero-inner { text-align: center; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.hero p { color: var(--muted); font-size: 18px; margin: 0 auto 24px; max-width: 780px; }
.hero-badges { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.badge { padding: 8px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 13px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--border); background: #171b24; color: var(--text); text-decoration: none; font-weight: 700; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(74,108,247,0.25); }
.btn-primary { background: linear-gradient(180deg, var(--primary), var(--primary-600)); border-color: rgba(255,255,255,0.15); }
.btn-primary[aria-disabled="true"] { opacity: .6; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-ghost { background: transparent; }
.cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Features */
.features { padding: 32px 0 24px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.card h3 { margin-top: 0; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

/* Download */
.download {
  padding: 80px 0;
  background: #0a0a0a;
}

.download h2 {
  text-align: center;
  margin-bottom: 16px;
}

.download p {
  text-align: center;
  color: #999;
  margin-bottom: 48px;
}

.download-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.download-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  text-align: center;
}

.dl-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.dl-subtitle {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.4;
}

.dl-note {
  color: #999;
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.5;
}

/* Platform download section */
.download-options {
  margin-top: 60px;
}

.download-section h3 {
  text-align: center;
  margin-bottom: 32px;
  color: #fff;
  font-size: 1.3rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.platform-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.platform-card:hover {
  background: #222;
  border-color: #4a6cf7;
  transform: translateY(-2px);
}

.platform-icon {
  font-size: 32px;
  margin-right: 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  border-radius: 12px;
}

.platform-info {
  flex: 1;
}

.platform-name {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.platform-desc {
  color: #999;
  font-size: 0.9rem;
}

.download-btn {
  background: #4a6cf7;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s ease;
  cursor: pointer;
  pointer-events: auto;
}

.platform-card:hover .download-btn {
  background: #5a7cff;
}

.download-note {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  margin-top: 24px;
  line-height: 1.5;
}

/* Support */
.support { padding: 24px 0 56px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #0c0f14; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
