:root {
  --sand-50: #fdfbf7;
  --sand-100: #f8f4ec;
  --sand-200: #ede4d3;
  --terracotta-500: #e07a5f;
  --terracotta-600: #c85a3b;
  --terracotta-100: #fcefe9;
  --mint-500: #84bc9c;
  --mint-600: #629f7f;
  --mint-100: #eef7f2;
  --ocean-500: #90b4ce;
  --ocean-800: #2b4c68;
  --ocean-900: #1d3557;
  --text-dark: #2d3748;
  --text-muted: #718096;
  --border-light: #e2d9cc;
  --card-bg: rgba(255, 255, 255, 0.85);
  --shadow-sm: 0 2px 4px rgba(45, 55, 72, 0.04);
  --shadow-md: 0 4px 12px rgba(45, 55, 72, 0.07);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--sand-50);
  background-image: radial-gradient(var(--sand-200) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text-dark);
  line-height: 1.6;
  padding-bottom: 60px;
}

header {
  background: linear-gradient(180deg, var(--sand-100) 0%, rgba(253, 251, 247, 0.4) 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 20px 30px;
  text-align: center;
}

.header-container {
  max-width: 860px;
  margin: 0 auto;
}

.logo-wrapper {
  margin-bottom: 16px;
}

.logo-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(224, 122, 95, 0.15);
  border: 4px solid #fff;
  object-fit: cover;
}

h1 {
  font-size: 2.4rem;
  color: var(--terracotta-600);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.tagline {
  font-size: 1.15rem;
  color: var(--ocean-800);
  max-width: 600px;
  margin: 0 auto 20px;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}

.badge-mint {
  background: var(--mint-100);
  color: var(--mint-600);
  border: 1px solid rgba(132, 188, 156, 0.4);
}

.badge-terracotta {
  background: var(--terracotta-100);
  color: var(--terracotta-600);
  border: 1px solid rgba(224, 122, 95, 0.4);
}

.badge-ocean {
  background: #eef4f9;
  color: var(--ocean-800);
  border: 1px solid rgba(144, 180, 206, 0.4);
}

.container {
  max-width: 860px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

h2 {
  font-size: 1.5rem;
  color: var(--ocean-900);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h3 {
  font-size: 1.15rem;
  color: var(--terracotta-600);
  margin: 20px 0 10px;
}

p {
  margin-bottom: 14px;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 6px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: var(--sand-100);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  color: var(--terracotta-600);
}

pre {
  background: #232d38;
  color: #f7fafc;
  padding: 16px;
  border-radius: 12px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 16px 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

pre code {
  background: transparent;
  padding: 0;
  border: none;
  color: inherit;
}

.banner-demo {
  border-left: 4px solid var(--mint-500);
  background: #f0fdf4;
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
  font-family: ui-monospace, monospace;
  font-size: 0.88rem;
  color: #166534;
}

.banner-demo .secret-badge {
  background: #d1fae5;
  color: #047857;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
}

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

.feature-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer a {
  color: var(--terracotta-600);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
