/* app.css — Design system tokens and base styles for new Fbots frontend
   No external imports. No SASS/LESS/PostCSS. Plain CSS only.
   Fonts are loaded in HTML via <link> tags. */

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── DESIGN TOKENS ─── */
/* Color variables now defined in theme.css (loaded before app.css) */

/* ─── BASE ─── */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ─── LAYOUT ─── */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAVIGATION ─── */
.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-nav__logo {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.app-nav__logo span {
  color: var(--primary);
}

.app-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.app-nav__link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s;
}

.app-nav__link:hover {
  color: var(--text);
}

.app-nav__link.active {
  color: var(--text);
}

.app-nav__lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 4px 10px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.app-nav__lang-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

/* ─── NAV INNER ─── */
.app-nav__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─── MAIN CONTENT ─── */
.app-main {
  min-height: calc(100vh - 56px - 73px);
  padding: 48px 0;
}

/* ─── DEMO SECTION ─── */
.app-demo {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.app-demo__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}

.app-demo__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.app-demo__status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.app-demo__status-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-demo__status-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.app-demo__status-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}

.app-demo__prompt {
  font-size: 13px;
  color: var(--text-dim);
}

/* ─── FOOTER ─── */
.app-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  color: var(--text-dim);
  font-size: 13px;
}

.app-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.app-footer__rights {
  color: var(--text-dim);
  font-size: 13px;
}

.app-footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.app-footer__link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
}

.app-footer__link:hover {
  color: var(--text-muted);
}

.app-footer__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
}

.app-footer__links a:hover {
  color: var(--text-muted);
}
