:root {
  --bg: #0a0e1a;
  --text: #e8edf9;
  --muted: #8892a6;
  --accent: #c9a96e;
  --border: #1e2936;
  --card: #131920;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 40px 20px;
}

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

a:visited {
  color: var(--accent);
}

a:hover {
  opacity: 0.9;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.header {
  text-align: center;
  margin-bottom: 60px;
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.tagline {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
}

.main-content {
  margin-bottom: 80px;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

.section p {
  color: var(--muted);
  margin-bottom: 12px;
}

.section ul {
  list-style: none;
  padding-left: 1rem;
}

.section li {
  color: var(--muted);
  margin-bottom: 8px;
}

.section ul li {
  padding-left: 16px;
  position: relative;
}

.section ul li::before {
  content: '•';
  color: var(--muted);
  position: absolute;
  left: 0;
}

.section ol {
  margin-left: 0;
  padding-left: 1.25rem;
}

.example {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.example-text {
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
}

.tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background-color: var(--accent);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.cta {
  text-align: center;
  margin-top: 60px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.cta-button:hover {
  opacity: 0.9;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 40px;
}

.screenshots {
  margin: 40px 0;
}

.screenshots h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
  text-align: center;
}

.screenshot-container {
  overflow-x: auto;
  padding: 0 0 10px 0;
  margin: 0 -20px;
}

.screenshot-scroll {
  display: flex;
  gap: 16px;
  padding: 0 20px;
  width: max-content;
}

.screenshot {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 200px;
  height: 360px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.screenshot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: var(--bg);
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px;
}

.screenshot-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

.screenshot-desc {
  font-size: 0.7rem;
  line-height: 1.4;
}

.screenshot-container::-webkit-scrollbar {
  height: 4px;
}

.screenshot-container::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 2px;
}

.screenshot-container::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

.swipe-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 8px;
  opacity: 0.7;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.modal.open {
  display: flex;
}

.modal img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  background: var(--bg);
  cursor: zoom-out;
}

@media (max-width: 600px) {
  body {
    padding: 20px 16px;
  }

  .logo {
    font-size: 2rem;
  }

  .container {
    max-width: 100%;
  }

  .screenshot-container {
    margin: 0 -16px;
  }

  .screenshot-scroll {
    padding: 0 16px;
  }
}
