/* Life Companion landing page — minimalist, matches app's dark aesthetic */

:root {
  --bg: #111318;
  --surface: #1d2024;
  --surface-high: #282a2f;
  --border: #44474e;
  --text: #e2e2e9;
  --text-muted: #a8a8b0;
  --accent: #4db6ac;
  --max-width: 880px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(17, 19, 24, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 600;
  letter-spacing: -0.01em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav a { color: var(--text-muted); font-size: 14px; }
nav a:hover { color: var(--text); text-decoration: none; }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.hero {
  text-align: center;
  margin-bottom: 96px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 24px;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a1715;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  opacity: 0.95;
}

.soon {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid rgba(10, 23, 21, 0.3);
  border-radius: 6px;
}

.features h2,
.panel h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
}

.features {
  margin-bottom: 96px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.panel p {
  color: var(--text-muted);
  margin: 0 0 12px;
}

.panel p:last-child { margin-bottom: 0; }

footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner a { color: var(--text-muted); }
.footer-inner a:hover { color: var(--text); text-decoration: none; }
.sep { margin: 0 8px; opacity: 0.5; }

@media (max-width: 640px) {
  nav ul { gap: 16px; }
  nav a { font-size: 13px; }
  main { padding: 40px 20px 64px; }
  .hero { margin-bottom: 64px; }
  .features { margin-bottom: 64px; }
  .panel { padding: 24px; }
}
