/* ========== Landing Page — Investor Splash ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.landing-page {
  background: #0a1628;
  color: #e0e6f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Fade-out transition */
body.landing-page.fade-out {
  animation: fadeOut 0.5s ease forwards;
}
@keyframes fadeOut {
  to { opacity: 0; }
}

/* ---------- Animated Orbs ---------- */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0f9bff 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ff3b55 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  animation: orbFloat2 15s ease-in-out infinite;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #00e5a0 0%, transparent 70%);
  top: 50%;
  left: 60%;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(80px, 60px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-70px, -50px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-60px, 40px); }
}

/* ---------- Content ---------- */
.landing-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: contentFadeIn 1s ease forwards;
}

@keyframes contentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.landing-title {
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 0%, #0ff 50%, #00e5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.landing-sub {
  font-size: 18px;
  font-weight: 500;
  color: #6a7a8a;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 48px;
}

/* ---------- CTA Button ---------- */
.cta-btn {
  display: inline-block;
  padding: 16px 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f9bff, #00e5a0);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 0 30px rgba(15, 155, 255, 0.3), 0 0 60px rgba(0, 229, 160, 0.15);
  animation: ctaGlow 3s ease-in-out infinite;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(15, 155, 255, 0.5), 0 0 80px rgba(0, 229, 160, 0.25);
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(15, 155, 255, 0.3), 0 0 60px rgba(0, 229, 160, 0.15); }
  50% { box-shadow: 0 0 50px rgba(15, 155, 255, 0.5), 0 0 100px rgba(0, 229, 160, 0.3); }
}

/* ---------- Feature Badges ---------- */
.feature-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  font-weight: 600;
  color: #8899aa;
}

.badge-icon {
  color: #0f9bff;
  font-size: 14px;
}

/* ========== Capability Select Page ========== */
body.cap-select-page {
  background: #0a1628;
  color: #e0e6f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* ---------- Top Bar ---------- */
.cap-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.cap-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  color: #8899aa;
  text-decoration: none;
  transition: all 0.2s;
}

.cap-back:hover {
  background: rgba(15,155,255,.15);
  color: #0f9bff;
  border-color: #0f9bff;
}

.cap-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cap-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

.cap-brand-sub {
  font-size: 12px;
  color: #5a6a7a;
  font-weight: 500;
}

/* ---------- Main ---------- */
.cap-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 32px;
}

.cap-heading {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 32px;
}

/* ---------- Card Grid ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cap-card {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  animation: cardFadeIn 0.5s ease both;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cap-card.active {
  cursor: pointer;
}

.cap-card.active .cap-card-strip {
  background: linear-gradient(90deg, #0f9bff, #00e5a0);
}

.cap-card.active:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 155, 255, 0.2);
  border-color: rgba(15, 155, 255, 0.3);
}

.cap-card.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cap-card.disabled .cap-card-strip {
  background: rgba(255,255,255,.15);
}

.cap-card-strip {
  height: 4px;
}

.cap-card-body {
  padding: 20px;
}

.cap-card-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.cap-card-type {
  font-size: 13px;
  color: #6a7a8a;
  margin-bottom: 12px;
}

/* RAG badge on active card */
.cap-rag-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.cap-rag-badge.rag-R {
  background: #ff3b55;
  color: #fff;
}
.cap-rag-badge.rag-A {
  background: #ffcf33;
  color: #1a1a2e;
}
.cap-rag-badge.rag-G {
  background: #5fd99a;
  color: #1a1a2e;
}

/* Coming soon badge */
.cap-soon-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,.1);
  color: #5a6a7a;
  letter-spacing: 1px;
}
