:root {
  --bg: #0b0d12;
  --card: #151922;
  --card-hover: #1b202b;
  --text: #e8eaf0;
  --muted: #9aa3b2;
  --accent: #4f8cff;
  --accent-2: #7c5cff;
  --border: rgba(255, 255, 255, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(79, 140, 255, 0.15), transparent 45%),
    radial-gradient(700px circle at 85% 20%, rgba(124, 92, 255, 0.14), transparent 45%);
}

/* Hero */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 48px;
  text-align: center;
}

.avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 40px rgba(79, 140, 255, 0.35);
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 12px;
}

.links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.35);
}

.btn-ghost {
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: var(--card-hover); }

/* Apps */
main { max-width: 900px; margin: 0 auto; padding: 24px; }

.apps { padding: 32px 0 48px; }

.apps h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 28px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  border-color: rgba(79, 140, 255, 0.4);
}

.app-icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.app-body { flex: 1; min-width: 0; }

.app-body h3 { font-size: 1.05rem; font-weight: 600; }

.app-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

.app-arrow {
  color: var(--muted);
  font-size: 1.2rem;
  transition: transform 0.15s ease, color 0.15s ease;
}

.app-card:hover .app-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 24px 56px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
