* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--tg-theme-bg-color, #fff);
  color: var(--tg-theme-text-color, #000);
}
#app { padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
h2 { margin-bottom: 12px; font-size: 20px; }

/* === Карточки вакансий (Mini App) === */
.card {
  border-radius: 14px; padding: 14px;
  background: var(--tg-theme-secondary-bg-color, #f4f4f5);
  margin-bottom: 10px;
}
.card h3 { font-size: 16px; margin-bottom: 4px; }
.card .meta { font-size: 13px; opacity: .7; margin-bottom: 4px; }
.card .salary { font-size: 15px; font-weight: 600; color: var(--tg-theme-button-color, #2ea6ff); }

input, select, textarea {
  width: 100%; padding: 12px; border-radius: 10px;
  border: 1px solid var(--tg-theme-hint-color, #ddd);
  background: var(--tg-theme-bg-color, #fff);
  color: var(--tg-theme-text-color, #000);
  font-size: 15px; margin-bottom: 10px;
}
button {
  width: 100%; padding: 14px; border: none; border-radius: 12px;
  background: var(--tg-theme-button-color, #2ea6ff);
  color: var(--tg-theme-button-text-color, #fff);
  font-size: 16px; font-weight: 600; margin-bottom: 8px;
}
.filters { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; }
.filters button {
  width: auto; padding: 8px 14px; font-size: 13px;
  background: var(--tg-theme-secondary-bg-color, #eee);
  color: var(--tg-theme-text-color, #000); margin: 0;
}
.filters button.active {
  background: var(--tg-theme-button-color, #2ea6ff);
  color: var(--tg-theme-button-text-color, #fff);
}

/* ============================================================
   ЛЕНДИНГ (для браузера) — яркий, с фоном
   ============================================================ */
body.landing-mode {
  background: #0a0e14;
  color: #fff;
  min-height: 100dvh;
}

.landing {
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(10,14,20,0.75) 0%, rgba(10,14,20,0.92) 60%, #0a0e14 100%),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1600&q=80') center/cover no-repeat fixed;
  padding: 0;
}

.landing-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.landing-logo {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #ff6b00, #ff9500);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff; font-weight: 800;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(255,107,0,0.35);
}

.landing h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
  color: #fff;
}

.landing h1 span {
  background: linear-gradient(135deg, #ff6b00, #ff9500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing .subtitle {
  font-size: 19px;
  color: #b8c0cc;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
}

.landing-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}

.landing-feature {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 20px;
  transition: transform 0.2s, border-color 0.2s;
}

.landing-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(255,107,0,0.4);
}

.landing-feature .icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.landing-feature h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
}

.landing-feature p {
  font-size: 14px;
  color: #99a3b0;
  line-height: 1.5;
}

.landing-contact {
  background: linear-gradient(135deg, #ff6b00 0%, #ff9500 100%);
  border-radius: 20px;
  padding: 36px 32px;
  margin-top: 48px;
  box-shadow: 0 16px 48px rgba(255,107,0,0.3);
}

.landing-contact h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 800;
}

.landing-contact p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.landing-contact a {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #ff6b00;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s;
}

.landing-contact a:hover {
  transform: scale(1.03);
}

.landing-footer {
  margin-top: 48px;
  font-size: 13px;
  color: #5a6472;
  text-align: center;
}

@media (max-width: 720px) {
  .landing-features { grid-template-columns: 1fr; }
  .landing h1 { font-size: 32px; }
  .landing .subtitle { font-size: 16px; }
  .landing-inner { padding: 40px 20px 60px; }
  .landing-contact { padding: 28px 24px; }
}
