:root {
  --bg-0: #070b14;
  --bg-1: #0f1a31;
  --bg-2: #1e3258;
  --text: #edf3ff;
  --muted: #b5c3df;
  --accent: #0076ff;
  --accent-2: #4362f8;
  --card: rgba(10, 19, 38, 0.52);
  --border: rgba(151, 186, 241, 0.24);
  --danger: #ff8b8b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
  background-image: url('/static/images/bg-dark-2.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  font-size: 15px;
}
.container { width: min(1120px, 92%); margin: 0 auto; }
.topbar { border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; background: transparent; backdrop-filter: none; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 14px; }
.brand { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .3px; }
.brand img { width: 118px; height: 26px; filter: drop-shadow(0 3px 12px rgba(0,0,0,.45)); }
nav { display: flex; align-items: center; gap: 14px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:hover { color: #fff; }
.content { padding: 34px 0 70px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.32); margin-bottom: 18px; }
.hero { display: block; }
.hero-split { min-height: calc(100vh - 140px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
.hero-left { max-width: 720px; }
.hero-topline { color: #0076ff; font-size: 0.95rem; font-weight: 700; margin: 0 0 8px; }
.hero-title { font-size: clamp(1.75rem, 3.2vw, 2.85rem); line-height: 1.08; margin: 0 0 14px; }
.hero-description { color: #cad9f8; font-size: 0.96rem; line-height: 1.48; max-width: 620px; margin-bottom: 18px; }
.login-row { max-width: 420px; }
.login-fields { display: grid; grid-template-columns: 1fr; gap: 10px; }
.login-submit { margin-top: 12px; text-align: center; }
.hero-right { text-align: right; }
.word-top { font-weight: 900; font-size: clamp(4.2rem, 11vw, 10rem); letter-spacing: .01em; line-height: .9; color: #fff; }
.word-outline { font-weight: 900; font-size: clamp(4.2rem, 11vw, 10rem); letter-spacing: .01em; line-height: .9; color: transparent; -webkit-text-stroke: 1.6px rgba(205,220,255,.5); text-stroke: 1.6px rgba(205,220,255,.5); }
.btn-login {
  display: inline-block;
  font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
  text-align: center;
  color: #fff !important;
  border-radius: 30px;
  outline: 0;
  font-weight: 800;
  text-decoration: none;
  padding: 6px 40px;
  font-size: 14px;
  border: none;
  background: var(--accent) !important;
  background-color: rgb(0, 118, 255) !important;
  min-width: 0;
}
.btn.btn-login { color: #fff !important; }
.btn-login:hover { filter: brightness(1.06); transform: translateY(-1px); }
.hero h1 { margin-top: 0; font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.12; }
.hero p { color: var(--muted); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.hero-badges span { border: 1px solid var(--border); border-radius: 999px; padding: 7px 11px; font-size: .85rem; color: #d6e6ff; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.btn { border: 0; border-radius: 12px; padding: 11px 16px; text-decoration: none; font-weight: 800; color: #07131f; background: linear-gradient(90deg, var(--accent), var(--accent-2)); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { color: var(--text); border: 1px solid var(--border); background: rgba(12, 22, 41, 0.45); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
label { display: block; margin: 10px 0; color: var(--muted); font-size: .95rem; }
input, select, textarea { width: 100%; margin-top: 6px; background: rgba(10, 20, 40, .68); border: 1px solid rgba(98,132,205,.38); border-radius: 10px; color: var(--text); padding: 10px 12px; font-size: 0.92rem; }
input::placeholder { color: #8ea7db; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(67,98,248,.9); box-shadow: 0 0 0 3px rgba(67,98,248,.18); }
textarea { min-height: 120px; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--border); text-align: left; padding: 10px; }
a { color: #8cc7ff; }
.msg { border: 1px solid var(--border); padding: 12px; border-radius: 10px; margin: 10px 0; background: rgba(12, 22, 40, .55); }
.session-pill { border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
.list-cards { display: grid; gap: 12px; }
.list-card { display: grid; gap: 6px; border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: rgba(11, 20, 37, .58); }
.status-label { font-weight: 800; }
.status-waiting_for_payment { color: #ff6262; }
.status-paid { color: #ffd34d; }
.status-in_progress { color: #57a7ff; }
.status-waiting_for_customer { color: #54d977; }
.status-done { color: #9da9bf; }
.faq-intro { color: #c8d6f2; margin-bottom: 12px; }
.faq-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.faq-list li a { color: #dce8ff; }
.faq-list li a:hover { color: #ffffff; }
.faq-body { white-space: pre-line; line-height: 1.7; color: #d8e3f8; }
.note-error { color: var(--danger); font-weight: 700; }
@media (max-width: 780px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { text-align: left; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-wrap { flex-wrap: wrap; align-items: flex-start; padding: 10px 0 12px; }
  nav { flex-wrap: wrap; }
}
