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

body 
{
  font-family: "Segoe UI", sans-serif;
  color: #c7c7e6;
  min-height: 100vh;
  background: #05050a;
  position: relative;
  background-color: #202020;
  background-image:
    radial-gradient(circle at center,
      rgba(95, 95, 95, 0.488) 40%,
      rgba(0, 0, 0, 0.075) 70%,
      rgba(0, 0, 0, 0.9) 100%),
    url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAMElEQVQ4T2NkwA38zwAEYBxVSFGB4T8GhgYGBgZGAaE0IYpGQGkuiEEkoBqI0JYpGQBADz0B9WlH0xkAAAAAElFTkSuQmCC");
  background-size: 100% 100%, 150px 150px;
  background-repeat: no-repeat, repeat;
}


header{
  position: sticky;
  top: 0;
  z-index: 9999999;
  backdrop-filter: none;
}

header::before{
  content:"";
  position:absolute;
  inset:0;
  backdrop-filter: blur(10px);
  background: rgba(20,20,30,0.35);
  z-index:-1;
}


.top-container 
{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap:0.5rem;
}


.brand 
{
  display: flex;
  align-items: center;
}

.arr-down
{
  cursor: pointer;
}

.logo 
{
  height: 90px;
  width: 90px;
  border-radius: 50%;
  object-fit: cover;
}


.site-title 
{
  font-size: 1.5rem;
}


.menu-icon 
{
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  margin-left:auto;
}

.main-nav 
{
  display: flex;
  gap: 1.5rem;
  margin-left: 2rem;
  position: relative;
  z-index: 10;
}


.main-nav a 
{
  color: #c7c7e6;
  text-decoration: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}
          
.demo-dropdown {
  list-style: none;
}

.demo-dropdown > li {
  position: relative;
  display: inline-block;
}

.ennea-menu {
  position: absolute;
  top: 100%;
  left: -8rem;
  display: none;
  min-width: 520px;
  background: #292938f2;
  border-radius: 18px;
  padding: 1.75rem 2rem;
  border: 1px solid #ffffff14;
  list-style: none;
  z-index: 9999;
}

.dropdown-item {
  position: relative;
}

.dropdown-item:hover .ennea-menu {
  display: block;
}

.ennea-group + .ennea-group {
  margin-top: 1.5rem;
}

.ennea-group h3 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.ennea-group p {
  font-size: 0.85rem;
  color: #c7c7e6;
  margin-bottom: 0.75rem;
}

.ennea-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ennea-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  
  text-align: center;  
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  min-width: 140px;
  color: #fff;
  box-shadow: 0 10px 20px #00000080;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.ennea-pill .ennea-name {
  font-size: 0.9rem;
}

.ennea-pill .ennea-code {
  font-size: 0.75rem;
}


.ennea-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px #000000b3;
  filter: brightness(1.05);
}

.ennea-pink {
  background: #c74dd6;
}

.ennea-blue {
  background: #3b82f6;
}

.ennea-gold {
  background: #d69e2e;
}
            

/* Question styles for the Enneagram pages live in quiz.css. */

/* ---------- Tests hub (tests.html) ---------- */

.hub {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem var(--gutter, 1.5rem) 1rem;
}

.hub-intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

.hub-eyebrow {
  color: var(--muted, #9a9ab8);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-intro h1 {
  margin-top: 0.35rem;
  color: var(--text-strong, #ececfb);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hub-lead {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.test-card {
  --card-accent: var(--ennea, #3fb3b5);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 20px;
  border: 1px solid #ffffff14;
  background: linear-gradient(160deg, #18181f, #121218);
  box-shadow: 0 18px 40px #00000066;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.test-card--mbti {
  --card-accent: var(--mbti, #ee8f4a);
}

.test-card:hover,
.test-card:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-accent) 55%, transparent);
  box-shadow: 0 24px 50px #000000a0;
}

.test-card-art {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 1.5rem;
  color: var(--card-accent);
  background:
    radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--card-accent) 22%, transparent), transparent 65%),
    #0f0f15;
  border-bottom: 1px solid #ffffff10;
}

/* Both card symbols share one visual size so the cards stay balanced. */
.test-card-art {
  min-height: 200px;
}

.test-card-symbol {
  width: clamp(110px, 22vw, 140px);
  height: auto;
}

.test-card-brain {
  width: clamp(120px, 24vw, 150px);
}

.test-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.75rem;
}

.test-card h2 {
  color: var(--text-strong, #ececfb);
  font-size: 1.5rem;
  line-height: 1.25;
}

.test-card-purpose {
  color: var(--text-strong, #ececfb);
  font-size: 1.02rem;
  line-height: 1.55;
}

.test-card-scope {
  color: var(--muted, #9a9ab8);
  line-height: 1.6;
}

.test-card-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.test-card-cta {
  width: 100%;
}

.test-card--ennea .test-card-cta {
  background: #2a8f91;
}

.test-card--ennea .test-card-cta:hover {
  background: #237a7c;
}

.test-card--mbti .test-card-cta {
  background: #c96c2c;
}

.test-card--mbti .test-card-cta:hover {
  background: #b05d24;
}

.test-card-status {
  min-height: 1.4em;
  color: var(--muted, #9a9ab8);
  font-size: 0.9rem;
  text-align: center;
}

.test-card-status a {
  color: var(--text-strong, #ececfb);
  font-weight: 600;
}

.hub-note {
  max-width: 720px;
  margin: 2rem auto 0;
  color: var(--muted, #9a9ab8);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 760px) {
  .hub {
    padding-top: 1.25rem;
  }

  .hub-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .test-card-art {
    min-height: 160px;
    padding: 1.4rem 1rem 1.1rem;
  }

  .test-card-body {
    padding: 1.25rem 1.15rem 1.4rem;
  }
}

footer 
{
  border-top: 1px solid #ffffff0f;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9a9ab8;
}