/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

html, body {
  background: #0f1117;
  color: #e8eaed;
  font-size: 14px;
}

/* Shared navigation and footer. The landing-page appearance is canonical. */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
nav > .content {
  width: 100%;
  margin: 0 auto;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text, #e8eaed);
}
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-brand span { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary, #9aa0a6);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent-light, #7b89e8); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text, #e8eaed);
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 32px 24px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-secondary, #9aa0a6);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--accent-light, #7b89e8); }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 4px 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary, #9aa0a6);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0;
  text-decoration: none;
}
.lang-btn:hover,
.lang-btn.active {
  border-color: rgba(93, 110, 226, 0.3);
  color: var(--accent-light, #7b89e8);
  background: var(--accent-bg, rgba(93, 110, 226, 0.08));
}
.lang-btn svg { width: 16px; height: 16px; opacity: 0.7; }

footer {
  padding: 24px 16px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: linear-gradient(180deg, rgba(26, 29, 39, 0.72), rgba(15, 17, 23, 0.96));
}
.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}
.footer-links a {
  color: var(--text-secondary, #9aa0a6);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent-light, #7b89e8); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: none; }
  .nav-right { margin-left: auto; gap: 8px; }
  .lang-btn { gap: 4px; padding: 4px 6px; }
  .footer-inner { flex-wrap: wrap; justify-content: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}
