/* 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 {
  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 {
  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;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}
.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.hero-title h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0;
}
.spotify-logo {
  flex-shrink: 0;
}
.app-icon-showcase {
  text-align: center;
  margin: 0 auto 3rem;
}
.app-icon-img {
  width: 160px;
  height: 160px;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.tagline {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.video-showcase {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.video-frame video {
  width: 100%;
  display: block;
}
.video-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

.features, .gestures, .install {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.features h2, .gestures h2, .install h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--accent-soft);
  color: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.step h4 { margin-bottom: 0.25rem; }
.step p { color: var(--text-dim); font-size: 0.9rem; }

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