/* jrubiosainz Reachy Mini Apps — Shared Brand */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #0c0c14;
  --surface: #15152a;
  --surface-2: #1e1e3a;
  --accent: #7c5cfc;
  --accent-glow: #9d7fff;
  --accent-soft: rgba(124, 92, 252, 0.12);
  --green: #3ddc84;
  --text: #e8e8f0;
  --text-dim: #8888aa;
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,20,0.85);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}
.nav-brand .dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-glow);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(124,92,252,0.2);
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 30%, var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Video */
.video-showcase {
  max-width: 720px;
  margin: 0 auto 4rem;
  position: relative;
}
.video-frame {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 80px var(--accent-soft);
}
.video-frame video {
  width: 100%;
  display: block;
}
.video-label {
  text-align: center;
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-style: italic;
}

/* Features */
.features {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.features .subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(124,92,252,0.3);
  transform: translateY(-2px);
}
.feature-card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Install */
.install {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.install h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}
.step-num {
  background: var(--accent);
  color: white;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.step p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.8rem;
}
footer a {
  color: var(--accent-glow);
  text-decoration: none;
}
footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  nav { padding: 0.75rem 1rem; }
  .nav-links { display: none; }
  .features, .install { padding: 0 1rem 3rem; }
}
