/* Dark Mode Glassmorphism Style for Main Hub Portal (tarix.io) */

:root {
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.78);
  --border-glass: rgba(255, 255, 255, 0.12);
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.45);
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.45);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

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

html, body {
  overflow-x: hidden !important;
  width: 100%;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

h1, h2, .logo-text, .hub-domain {
  font-family: 'Outfit', sans-serif;
}

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

.bg-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  pointer-events: none;
  z-index: -1;
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}
.bg-glow-1 {
  top: -80px;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(0,0,0,0) 70%);
}
.bg-glow-2 {
  top: 300px;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(0,0,0,0) 70%);
}

.navbar {
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.logo-img {
  height: 36px;
  width: auto;
  border-radius: 8px;
}
.logo .dot {
  color: var(--accent);
}
.lang-select {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 10px;
  cursor: pointer;
}
.lang-select option {
  background: #090d16;
  color: #fff;
}

.hub-main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
}
.text-center {
  text-align: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.35);
  font-size: 14px;
  color: #a5b4fc;
  margin-bottom: 20px;
}
.hub-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hub-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 48px;
}

.hub-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
}
.hub-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.hub-card:hover {
  transform: translateY(-4px);
}
.featured-hub-card {
  border-color: rgba(6, 182, 212, 0.45);
  background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.14) 0%, rgba(15, 23, 42, 0.85) 65%);
}
.hub-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.hub-domain {
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 6px;
}
.hub-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.tag-cyan {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}
.tag-purple {
  background: rgba(6, 182, 212, 0.2);
  color: #38bdf8;
}
.hub-card-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}
.hub-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hub-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
  font-size: 14px;
  color: #e2e8f0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-full {
  width: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 10px 25px var(--primary-glow);
}
.btn-accent {
  background: var(--accent);
  color: #070a12;
}
.btn-accent:hover {
  box-shadow: 0 10px 25px var(--accent-glow);
}

.footer {
  border-top: 1px solid var(--border-glass);
  padding: 28px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .hub-cards-grid {
    grid-template-columns: 1fr;
  }
  .hub-title {
    font-size: 28px;
  }
  .hub-card {
    padding: 24px 20px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
