/* ===== Global layout ===== */

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, -system-ui, sans-serif;
  background-color: #1e1a16; /* dark brown-ish */
  color: #f7f2e8;            /* warm light text */
}

a {
  color: #ffcf6a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ===== Hero ===== */

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

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

.hero-logo-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #f1b24a;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.5);
}

.hero-logo-symbol {
  font-size: 44px;
}

.hero-title {
  font-size: 3.2rem;
  margin: 16px 0 8px;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #e0d7c7;
  margin: 0 auto 24px;
  max-width: 520px;
}

/* ===== Search bar ===== */

.hero-search {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #3b332a;
  background: #15110e;
  margin-bottom: 16px;
}

.hero-search-input {
  padding: 10px 14px;
  min-width: 260px;
  border: none;
  background: transparent;
  color: #f7f2e8;
}

.hero-search-input::placeholder {
  color: #8a7a67;
}

.hero-search-input:focus {
  outline: none;
}

.hero-search-btn {
  border: none;
  padding: 0 16px;
  background: #ffcf6a;
  color: #2a2017;
  font-weight: 600;
  cursor: not-allowed; /* demo only */
}

/* Language dropdown */

.hero-language {
  margin-top: 4px;
}

.hero-language select {
  background: #15110e;
  border-radius: 4px;
  border: 1px solid #3b332a;
  color: #f7f2e8;
  padding: 4px 10px;
  font-size: 0.9rem;
}

/* ===== Content sections ===== */

.content {
  background: #15110e;
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid #2d261f;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

@media (max-width: 720px) {
  .content {
    padding: 24px 16px;
  }
}

.content-section {
  margin-bottom: 40px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: #d3c7b6;
  margin-bottom: 20px;
}

/* Code blocks & inline code */

code,
pre {
  font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.code-block {
  background: #0d0907;
  border-radius: 8px;
  padding: 14px 16px;
  color: #e7decf;
  overflow-x: auto;
  border: 1px solid #3b332a;
  font-size: 0.95rem;
}

.code-block strong {
  color: #69f0ae;
}

.inline-code {
  background: #2b231c;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 0.9em;
}

/* Two-column features */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 840px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: #1c1611;
  border-radius: 12px;
  padding: 18px 18px 16px;
  border: 1px solid #33271e;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-body {
  font-size: 0.95rem;
  color: #d2c6b5;
}

/* Footer */

.footer {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: #b7ab9a;
}

.footer-meta {
  margin-top: 4px;
  font-size: 0.8rem;
  color: #8e8170;
}
