/*
 * 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;
}

/* 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(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.nav-inner {
  max-width: var(--max-width, 1120px);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text, #e8eaed);
}
.nav-brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-brand span { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.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: 14px;
  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: 12px; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text, #e8eaed);
  cursor: pointer;
  padding: 4px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 32px 20px;
  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: 15px;
  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: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary, #9aa0a6);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0.2px;
  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: 15px; height: 15px; opacity: 0.7; }

footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.footer-inner { max-width: var(--max-width, 1120px); margin: 0 auto; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-secondary, #9aa0a6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-light, #7b89e8); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted, #6b7280); }
.footer-lang { font-size: 13px; }
.footer-lang a {
  color: var(--text-secondary, #9aa0a6);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-lang a:hover { color: var(--accent-light, #7b89e8); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .lang-btn span { display: none; }
  .lang-btn { padding: 7px 8px; }
  .nav-inner { padding-left: 28px; padding-right: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
