:root {
  --bg: #0a1728;
  --bg2: #0d1e35;
  --blue: #4d9bfd;
  --white: #fefefe;
  --white-dim: rgba(254, 254, 254, 0.75);
  --border: rgba(77, 155, 253, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: radial-gradient(circle at 50% 40%, rgba(77, 155, 253, 0.18), transparent 55%), var(--bg);
  color: var(--white);
  font-family: 'Noto Sans Georgian', system-ui, sans-serif;
  line-height: 1.5;
}

body.home {
  height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  background: rgba(10, 23, 40, 0.95);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
}

.logo span { color: var(--blue); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.btn:hover {
  border-color: var(--blue);
  background: rgba(77, 155, 253, 0.15);
}

.btn.primary {
  background: var(--blue);
  color: #08111f;
  font-weight: 700;
}

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

.home-layout {
  min-height: calc(100vh - 70px);
  display: grid;
  align-content: center;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(36px, 7vw, 86px);
  letter-spacing: 8px;
}

.hero p {
  margin-top: 12px;
  color: var(--white-dim);
  max-width: 760px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 12px;
}

.quick-card,
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.quick-card a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.page-title {
  font-size: clamp(26px, 4vw, 44px);
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--white-dim);
  margin-bottom: 20px;
}

.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.card h3 {
  color: var(--blue);
  margin-bottom: 8px;
  font-size: 17px;
}

.card p,
.list {
  color: var(--white-dim);
  font-size: 14px;
}

.list { list-style: none; display: grid; gap: 8px; }

@media (max-width: 1000px) {
  body.home { height: auto; overflow: auto; }
  .home-layout { min-height: auto; }
  .quick-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(200px, 1fr)); }
}

@media (max-width: 700px) {
  .topbar { position: static; }
  .nav-links { width: 100%; }
  .grid,
  .quick-grid { grid-template-columns: 1fr; }
}
