/* ====================================
   Science Page – page-specific CSS
   Load AFTER vibeq-shared.css
   ==================================== */


/* HERO layout */
.hero {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(192,217,255,0.28);
  padding: 0.25rem 0.7rem 0.25rem 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: radial-gradient(circle at top left, rgba(114,232,255,0.15), transparent 55%);
}
.pill-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-neon), var(--accent-violet));
  box-shadow: 0 0 16px rgba(114,232,255,0.6);
}

/* Hero title */
.hero-title {
  font-size: clamp(2rem, 4.3vw, 2.6rem);
  line-height: 1.1;
  margin: 0.6rem 0 0.75rem;
}
.hero-title .gradient {
  background: linear-gradient(120deg, var(--accent-neon), var(--accent-violet), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 36rem;
}
.hero-subtitle b { color: var(--accent-soft); }

/* Hero panel */
.hero-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(192,217,255,0.14);
  background:
    radial-gradient(circle at top, rgba(114,232,255,0.12), transparent 60%),
    radial-gradient(circle at bottom, rgba(168,121,255,0.16), transparent 60%),
    var(--bg-card);
  padding: 1.45rem 1.3rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.hero-panel-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.hero-panel-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

/* Vee-chip */
.vee-chip {
  display:inline-flex;
  align-items:center;
  gap:0.4rem;
  margin-top:0.6rem;
  border-radius:999px;
  border:1px solid rgba(192,217,255,0.3);
  padding:0.18rem 0.55rem;
  background:rgba(7,11,32,0.9);
  font-size:0.75rem;
  color:var(--accent-soft);
}
.vee-dot {
  width:18px;
  height:18px;
  border-radius:50%;
  background: radial-gradient(circle, var(--accent-neon), var(--accent-pink));
  box-shadow:0 0 16px rgba(114,232,255,0.7);
  position:relative;
}
.vee-dot::after {
  content:"V";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.72rem;
  color:#050714;
  font-weight:700;
}

/* Sections */
.section { margin-bottom: 3.2rem; }
.section-header {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.2rem;
  flex-wrap:wrap;
}
.section-kicker {
  font-size:0.7rem;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--accent-soft);
  margin-bottom:0.25rem;
}
.section-title {
  font-size:1.2rem;
  font-weight:600;
}
.section-description {
  font-size:0.88rem;
  color:var(--text-muted);
  max-width:30rem;
}

/* Card overrides (the version used by Science) */
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(13,19,56,0.96), rgba(7,9,32,0.98));
  padding: 0.95rem 0.95rem 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.card-soft {
  background: linear-gradient(150deg, rgba(15,21,60,0.96), rgba(11,16,49,0.98)) !important;
}

.card-label {
  font-size:0.63rem;
  text-transform:uppercase;
  letter-spacing:0.19em;
  color:var(--accent-soft);
  margin-bottom:0.4rem;
}
.card-title {
  font-size:0.98rem;
  font-weight:600;
  margin-bottom:0.35rem;
}
.card-body {
  font-size:0.8rem;
  color:var(--text-muted);
  margin-bottom:0.5rem;
}
.card-list {
  list-style:none;
  display:grid;
  gap:0.15rem;
  font-size:0.78rem;
  color:var(--accent-soft);
  padding:0;
  margin:0;
}

/* Chips */
.chips-row {
  display:flex;
  flex-wrap:wrap;
  gap:0.35rem;
  margin-top:0.4rem;
}
.chip {
  font-size:0.7rem;
  border-radius:999px;
  padding:0.18rem 0.55rem;
  border:1px solid rgba(192,217,255,0.25);
  background:rgba(7,11,32,0.86);
  color:var(--accent-soft);
}

/* Badge inline */
.badge-inline {
  display:inline-flex;
  align-items:center;
  gap:0.3rem;
  border-radius:999px;
  padding:0.12rem 0.5rem;
  border:1px solid rgba(192,217,255,0.25);
  font-size:0.7rem;
  background:rgba(7,11,32,0.82);
  color:var(--accent-soft);
}

/* Grids */
.grid-2, .grid-3 {
  display:grid;
  gap:0.95rem;
}
.cols-3 {
  display:grid;
  gap:0.9rem;
}
.cols-3 h3 {
  font-size:0.86rem;
  margin-bottom:0.3rem;
  color:var(--accent-soft);
}
.cols-3 > div {
  font-size:0.8rem;
}

/* Responsive */
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
