
:root {
  --bg: #f4f7fb;
  --bg-2: #e8eef7;
  --card: #ffffff;
  --line: #d9e2ec;
  --text: #243b53;
  --muted: #627d98;
  --primary: #216ba5;
  --primary-dark: #174f7b;
  --success: #198754;
  --warning: #b7791f;
  --danger: #c0392b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Segoe UI, Tahoma, Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1150px, calc(100% - 30px)); margin: 22px auto; }
.card {
  background: var(--card);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(217, 226, 236, 0.8);
  padding: 26px;
}
.login-wrap { min-height: 100vh; display:flex; align-items:center; justify-content:center; }
.login-card { width:min(460px, calc(100% - 24px)); }
.logo { display:flex; gap:12px; align-items:center; justify-content:center; margin-bottom:8px; font-weight:800; font-size:28px; }
.logo-icon { width:36px; height:36px; border-radius:10px; background:linear-gradient(135deg, #4da3df 0%, #216ba5 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
h1,h2,h3 { margin-top:0; }
input, select, textarea, button {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
}
textarea { min-height: 180px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 107, 165, .12);
}
button, .btn {
  background: var(--primary);
  color: white;
  border: none;
  display:inline-block;
  width:auto;
  cursor:pointer;
  font-weight:700;
}
button:hover, .btn:hover { background: var(--primary-dark); text-decoration:none; }
.btn.secondary { background:#eef4f8; color:var(--text); border:1px solid var(--line); }
.btn.success { background: var(--success); }
.btn.warning { background: var(--warning); }
.btn.danger { background: var(--danger); }
.grid { display:grid; gap:18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-group { margin-bottom: 16px; }
label { display:block; font-weight:700; margin-bottom:8px; }
.navbar { background:#173f5f; color:white; box-shadow:0 5px 15px rgba(0,0,0,.08); }
.nav-inner { width:min(1180px, calc(100% - 24px)); margin:0 auto; padding:14px 0; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.nav-links { display:flex; gap:10px; flex-wrap:wrap; }
.nav-links a { color:white; background:rgba(255,255,255,.08); padding:10px 12px; border-radius:10px; }
.nav-links a:hover { background:rgba(255,255,255,.18); text-decoration:none; }
.stat { padding:18px; border-radius:14px; background:#f8fbfd; border:1px solid var(--line); }
.stat .num { font-size:28px; font-weight:800; }
.alert { padding:12px 14px; border-radius:12px; margin-bottom:14px; font-weight:600; }
.alert.success { background:#e8f7ef; color:#0d5c38; }
.alert.error { background:#fdecec; color:#8e1c1c; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse: collapse; }
th, td { padding:12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.badge { display:inline-block; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700; }
.badge.admin { background:#e8f0fe; color:#174ea6; }
.badge.user { background:#edf2f7; color:#334e68; }
.badge.approved { background:#e8f7ef; color:#0d5c38; }
.badge.pending { background:#fff5e5; color:#8a5300; }
.badge.blocked { background:#fdecec; color:#8e1c1c; }
.app-card { border:1px solid var(--line); border-radius:14px; padding:16px; background:#fbfdff; }
.small { color:var(--muted); font-size:14px; }
.code-preview { border:1px solid var(--line); border-radius:12px; overflow:hidden; min-height:360px; width:100%; background:white; }
iframe { width:100%; min-height:420px; border:none; }
.inline { display:flex; gap:10px; flex-wrap:wrap; }
.landing-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(77,163,223,.28), transparent 35%),
    radial-gradient(circle at bottom right, rgba(23,63,95,.18), transparent 35%),
    linear-gradient(135deg, #eef4fa 0%, #dfe9f5 100%);
}
.landing-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px; }
.landing-grid {
  width: min(1220px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 430px);
  gap: 28px;
  align-items: stretch;
}
.glass-panel {
  background: linear-gradient(180deg, #173f5f 0%, #1f5f95 100%);
  color: #fff;
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 22px 52px rgba(15,23,42,.20);
  border: 1px solid rgba(255,255,255,.12);
}
.logo-left { justify-content: flex-start; color:#fff; margin-bottom: 18px; }
.hero-badge {
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.14);
  font-size:13px;
  font-weight:700;
  margin-bottom:18px;
}
.hero-panel h1 {
  font-size: 46px;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: #e5eef7;
  margin: 0 0 24px;
  max-width: 760px;
}
.feature-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.feature-card {
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:18px;
  min-height:132px;
}
.feature-title { font-weight:800; margin-bottom:8px; font-size:16px; }
.feature-desc { color:#d9e6f3; font-size:14px; line-height:1.55; }
.login-panel {
  display:flex;
  flex-direction:column;
  justify-content:center;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
}
.login-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:10px; }
.login-panel h2 { margin: 6px 0 6px; font-size: 34px; }
.full-btn { width:100%; }
.login-actions { display:flex; justify-content:center; margin-top:14px; }
.login-note { margin-top:18px; text-align:center; color:var(--muted); font-size:13px; }
.kicker { font-size:12px; text-transform:uppercase; letter-spacing:.10em; color:var(--muted); font-weight:800; }
.page-head { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; flex-wrap:wrap; margin-bottom:18px; }
.page-head p { margin:8px 0 0; }
@media (max-width: 980px) {
  .landing-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-panel h1 { font-size: 36px; }
  .glass-panel, .card { padding: 28px; }
}
@media (max-width: 640px) {
  .landing-shell { padding: 16px; }
  .hero-panel h1 { font-size: 30px; }
  .logo { font-size: 24px; }
}
