/* Yogabrata landing — live portal circles */
body.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.landing-header {
  position: relative;
  z-index: 10;
}
.landing-header .manjulab-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.landing-header img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
}
.landing-header .brand-text {
  text-align: left;
}
.landing-header .brand-text strong {
  display: block;
  font-size: 1.05rem;
  color: #f8fafc;
  letter-spacing: -0.02em;
}
.landing-header .brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
}

.landing-main {
  flex: 1;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 48px;
  min-height: calc(100vh - 140px);
}

.landing-tagline {
  text-align: center;
  margin-bottom: 48px;
  max-width: 420px;
}
.landing-tagline p {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 8px;
}
.landing-tagline h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.25;
}

.portal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 8vw, 80px);
  justify-content: center;
  align-items: center;
}

.portal {
  position: relative;
  width: min(280px, 42vw);
  height: min(280px, 42vw);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.portal:hover {
  transform: scale(1.06);
}
.portal:focus-visible {
  outline: 2px solid var(--cyan-light);
  outline-offset: 8px;
  border-radius: 50%;
}

.portal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: portalPulse 3.2s ease-in-out infinite;
}
.portal--rhytoma .portal-ring {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(6, 182, 212, 0.08) 55%, transparent 70%);
  box-shadow:
    0 0 60px rgba(6, 182, 212, 0.35),
    inset 0 0 40px rgba(6, 182, 212, 0.15);
}
.portal--caregiver .portal-ring {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.32) 0%, rgba(124, 58, 237, 0.12) 50%, transparent 70%);
  box-shadow:
    0 0 60px rgba(249, 115, 22, 0.28),
    inset 0 0 40px rgba(124, 58, 237, 0.12);
  animation-delay: -1.6s;
}

.portal-orbit {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  animation: orbitSpin 18s linear infinite;
}
.portal-orbit::before,
.portal-orbit::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-light);
  box-shadow: 0 0 12px var(--cyan-light);
}
.portal--caregiver .portal-orbit::before,
.portal--caregiver .portal-orbit::after {
  background: #fbbf24;
  box-shadow: 0 0 12px #fbbf24;
}
.portal-orbit::before { top: 0; left: 50%; transform: translate(-50%, -50%); }
.portal-orbit::after { bottom: 0; left: 50%; transform: translate(-50%, 50%); animation-delay: -9s; }

.portal--saas .portal-ring {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.38) 0%, rgba(6, 182, 212, 0.1) 55%, transparent 70%);
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.32), inset 0 0 40px rgba(16, 185, 129, 0.12);
  animation-delay: -0.8s;
}
.portal--saas .portal-core {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.5), rgba(15, 23, 42, 0.88));
  animation-delay: -1s;
}
.portal--saas .portal-orbit::before,
.portal--saas .portal-orbit::after {
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
}

.portal-core {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: coreBreath 4s ease-in-out infinite;
}
.portal--rhytoma .portal-core {
  background: linear-gradient(145deg, rgba(8, 145, 178, 0.55), rgba(15, 23, 42, 0.85));
}
.portal--caregiver .portal-core {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.45), rgba(15, 23, 42, 0.88));
  animation-delay: -2s;
}

.portal-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}
.portal-title {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.25;
}
.portal--rhytoma .portal-title.bn {
  font-family: 'Noto Sans Bengali', Inter, sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
}
.portal-sub {
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.75);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* Dormant offerings — visible but not navigable (tooltip: WIP) */
.portal.is-dormant {
  cursor: not-allowed;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  opacity: 0.88;
}
.portal.is-dormant:hover {
  transform: scale(1.02);
}
.portal.is-dormant .portal-ring {
  opacity: 0.72;
  filter: saturate(0.65);
}
.portal-wip-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.landing-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  font-size: 0.75rem;
  color: var(--muted);
}
.landing-footer a {
  color: var(--cyan-light);
  text-decoration: none;
}
.landing-footer img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  vertical-align: middle;
  margin: 0 4px;
  opacity: 0.7;
}

@keyframes portalPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.92; }
}
@keyframes coreBreath {
  0%, 100% { box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.06); }
  50% { box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.12); }
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (min-width: 900px) {
  .portal-grid {
    display: grid;
    grid-template-columns: repeat(3, min(260px, 28vw));
    gap: clamp(24px, 4vw, 48px);
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 899px) {
  .portal-grid { flex-direction: column; gap: 40px; }
  .portal { width: min(240px, 72vw); height: min(240px, 72vw); }
}
