/* Chillax Website — shadcn/Forui minimal style */

:root {
  --background: #fafafa;
  --foreground: #09090b;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --border: #e4e4e7;
  --primary: #18181b;
  --primary-foreground: #fafafa;
  --radius: 0.5rem;
  --max-width: 720px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout ---- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Header ---- */

header {
  padding: 1.25rem 0;
  margin-bottom: 2rem;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s;
}

nav a:hover {
  color: var(--foreground);
}

/* ---- Footer ---- */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

footer nav {
  gap: 1rem;
}

/* ---- Main content ---- */

main {
  padding: 3rem 0;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-sm {
  font-size: 0.875rem;
}

a {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--muted-foreground);
}

ul,
ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.35rem;
}

/* ---- Hero (index) ---- */

.hero {
  text-align: center;
  padding: 3rem 0 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #27272a;
  color: var(--primary-foreground);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--muted);
  color: var(--foreground);
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Features grid ---- */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.feature p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

/* ---- Divider ---- */

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ---- Download page ---- */

.download-page {
  text-align: center;
  padding: 4rem 0;
}

.download-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.download-page p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  min-width: 220px;
  justify-content: center;
  transition: background 0.15s;
}

.store-btn:hover {
  background: #27272a;
  color: var(--primary-foreground);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ---- Legal pages ---- */

.legal h1 {
  margin-bottom: 0.5rem;
}

.legal .updated {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* ---- Contact info ---- */

.contact-item {
  margin-bottom: 0.75rem;
}

.contact-label {
  font-weight: 500;
}

/* ---- FAQ ---- */

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  margin-top: 0;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  header .container {
    gap: 0.75rem;
  }

  footer .container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  nav {
    gap: 1rem;
  }
}
