:root {
  --gradient-bg: linear-gradient(135deg, #FFF6F2 0%, #FDEFFB 50%, #F3EEFF 100%);
  --gradient-brand: linear-gradient(90deg, #FF6B4A 0%, #FF4D8D 55%, #8B5CF6 100%);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --text: #1C1C1E;
  --text-muted: #6B6B70;
  --primary: #FF6B4A;
  --radius: 20px;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--gradient-bg);
  background-attachment: fixed;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

header {
  padding: 20px 24px;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
  font-weight: 600;
}

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

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

h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
h2 { font-size: 22px; font-weight: 700; margin-top: 40px; margin-bottom: 12px; }
h3 { font-size: 17px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
p, li { color: var(--text-muted); font-size: 15px; }
p { margin-bottom: 16px; }
ul { padding-left: 20px; }
li { margin-bottom: 8px; }

.updated { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.08);
}

a { color: var(--primary); }

footer {
  padding: 32px 24px;
  text-align: center;
}

footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
footer a { color: var(--text-muted); text-decoration: none; font-size: 13px; margin: 0 10px; }
footer a:hover { color: var(--primary); }
footer .copyright { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* Landing page specific */
.hero {
  text-align: center;
  padding: 40px 0 32px;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.25);
}

.hero h1 { font-size: 42px; }
.hero p.subtitle { font-size: 18px; margin: 16px auto 28px; max-width: 520px; color: var(--text-muted); }

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 77, 141, 0.35);
}
.btn-primary:hover { opacity: 0.92; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.feature-icon { font-size: 28px; margin-bottom: 8px; }
.feature-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; color: var(--text); }
.feature-desc { font-size: 14px; }

@media (max-width: 480px) {
  .header-inner { flex-direction: column; gap: 12px; border-radius: 24px; }
  nav a { margin: 0 10px; }
}
