/* ===========================================================
   VKU ADMISSION — DESIGN TOKENS
   Palette: Navy (primary/trust) + Gold (VKU accent/energy)
   Type: Sora (display) + Inter (body) + JetBrains Mono (codes)
=========================================================== */
:root {
  /* Color tokens */
  --navy-900: #07203f;
  --navy-800: #0a2e5c;
  --navy-700: #0f3d76;
  --navy-600: #1554b8;
  --navy-500: #2569d6;
  --navy-100: #e8effa;
  --navy-50:  #f3f7fd;

  --gold-600: #e0a106;
  --gold-500: #ffb81c;
  --gold-400: #ffc94d;
  --gold-100: #fff3d6;

  --ink-900: #11182b;
  --ink-700: #364154;
  --ink-500: #5b6679;
  --ink-300: #9aa4b5;

  --surface-0: #ffffff;
  --surface-1: #f5f7fb;
  --surface-2: #eef2f8;
  --border-soft: #dde4ef;

  --success-600: #0e9f6e;
  --success-100: #def7ec;
  --danger-600: #e02424;
  --danger-100: #fde2e2;

  /* Type scale */
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shape & motion */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 24px rgba(10, 46, 92, 0.08);
  --shadow-card-hover: 0 10px 32px rgba(10, 46, 92, 0.14);
  --shadow-pop: 0 18px 48px rgba(7, 32, 63, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--surface-1);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--navy-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================================
   TOPBAR
=========================================================== */
.topbar {
  background: var(--navy-900);
  border-bottom: 3px solid var(--gold-500);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-900);
  flex-shrink: 0;
}
.topbar-name { line-height: 1.25; }
.topbar-name strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.2px;
}
.topbar-name span {
  display: block;
  font-size: 12px;
  color: var(--gold-400);
  letter-spacing: 0.4px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-hotline {
  color: #cdd9ee;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.topbar-hotline strong { color: #fff; }
.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13.5px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.topbar-user .avatar {
  width: 32px; height: 32px;
  border-radius: var(--radius-pill);
  background: var(--navy-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border: 1.5px solid var(--gold-500);
}
.btn-logout {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #e7ecf5;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
}
.btn-logout:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-500); color: var(--gold-400); }

/* ===========================================================
   BUTTONS
=========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 61, 118, 0.32);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(15, 61, 118, 0.42); transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(224, 161, 6, 0.35);
}
.btn-gold:hover { box-shadow: 0 10px 26px rgba(224, 161, 6, 0.45); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--border-soft);
}
.btn-ghost:hover { border-color: var(--navy-600); background: var(--navy-50); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ===========================================================
   FOOTER
=========================================================== */
.site-footer {
  background: var(--navy-900);
  color: #aebbd4;
  margin-top: 64px;
  padding: 40px 0 24px;
  font-size: 13.5px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer strong { color: #fff; }
.footer-tag { color: var(--gold-400); }

/* ===========================================================
   UTILITIES
=========================================================== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--navy-600);
  font-weight: 600;
}
.card {
  background: var(--surface-0);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}
.tag-gold { background: var(--gold-100); color: var(--gold-600); }
.tag-navy { background: var(--navy-100); color: var(--navy-700); }
.tag-success { background: var(--success-100); color: var(--success-600); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold-500); color: var(--navy-900);
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (max-width: 720px) {
  .topbar-hotline { display: none; }
  .topbar-inner { height: auto; padding: 12px 16px; flex-wrap: wrap; gap: 10px; row-gap: 8px; }
  .topbar-name strong { font-size: 14px; }
  .topbar-name span { font-size: 10.5px; }
  .topbar-user { padding-left: 10px; font-size: 12px; }
  .topbar-user span { display: none; }
  .btn-logout { padding: 6px 12px; font-size: 11.5px; }
}
