/* Founder / VC persona switch and VC landing accents */

body.landing-persona-vc {
  --vc-accent: #0f172a;
  --vc-accent-soft: #1e293b;
  --vc-gold: #c9a227;
  --vc-gold-muted: rgba(201, 162, 39, 0.15);
}

.persona-founder-only,
.persona-vc-only {
  transition: opacity 0.35s ease;
}

body.landing-persona-founder .persona-vc-only {
  display: none !important;
}

body.landing-persona-vc .persona-founder-only {
  display: none !important;
}

/* Navbar: vertical alignment — logo, links, persona, and Portal share one center line */
.navbar.landing-navbar {
  align-items: center !important;
}

.navbar.landing-navbar .navbar-brand {
  display: flex !important;
  align-items: center !important;
  align-self: center;
  margin-bottom: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar.landing-navbar .navbar-brand .app-brand-link {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1;
}

.navbar.landing-navbar .navbar-brand .app-brand-logo {
  display: flex !important;
  align-items: center !important;
  line-height: 0;
}

.navbar.landing-navbar .app-brand-logo.demo img {
  display: block;
}

@media (min-width: 992px) {
  .navbar.landing-navbar {
    flex-wrap: nowrap !important;
  }

  .navbar.landing-navbar .landing-nav-menu.navbar-collapse {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    align-self: center;
  }

  .navbar.landing-navbar .landing-nav-menu > .navbar-nav {
    align-items: center !important;
  }

  .navbar.landing-navbar .landing-nav-menu .nav-item {
    display: flex;
    align-items: center;
  }

  .navbar.landing-navbar .landing-nav-menu .nav-link {
    display: flex;
    align-items: center;
    line-height: 1.25;
  }

  .navbar.landing-navbar > ul.navbar-nav.ms-lg-auto {
    align-items: center !important;
    align-self: center;
  }

  .navbar.landing-navbar > ul.navbar-nav.ms-lg-auto > .nav-item {
    display: flex;
    align-items: center;
  }
}

/* Desktop navbar: small segmented control so Portal stays the clear CTA */
@media (min-width: 992px) {
  .landing-navbar .landing-persona-switch:not(.landing-persona-switch--drawer) {
    padding: 0.1rem;
  }

  .landing-navbar .landing-persona-switch:not(.landing-persona-switch--drawer) button {
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 1200px) {
  .landing-navbar .landing-persona-switch:not(.landing-persona-switch--drawer) button {
    padding: 0.35rem 0.8rem;
    font-size: 0.8125rem;
  }
}

/* Switch control */
.landing-persona-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  border-radius: 100px;
  background: rgba(105, 108, 255, 0.08);
  border: 1px solid rgba(105, 108, 255, 0.2);
  gap: 0.15rem;
}

body.landing-persona-vc .landing-persona-switch {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
}

.landing-persona-switch button {
  border: 0;
  background: transparent;
  color: #697a8d;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

@media (max-width: 576px) {
  .landing-persona-switch button {
    padding: 0.35rem 0.55rem;
    font-size: 0.7rem;
  }
}

.landing-persona-switch button:hover {
  color: #566a7f;
}

.landing-persona-switch button:focus-visible {
  outline: 2px solid #696cff;
  outline-offset: 2px;
}

.landing-persona-switch button.is-active {
  background: #fff;
  color: #696cff;
  box-shadow: 0 1px 4px rgba(105, 108, 255, 0.25);
}

body.landing-persona-vc .landing-persona-switch button.is-active {
  background: var(--vc-accent);
  color: #f8fafc;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

body.landing-persona-vc .landing-persona-switch button:not(.is-active) {
  color: #64748b;
}

/* VC hero atmosphere */
body.landing-persona-vc #hero-animation .landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(15, 23, 42, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body.landing-persona-vc #hero-animation .landing-hero .container {
  position: relative;
  z-index: 1;
}

body.landing-persona-vc .vc-hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--vc-gold);
  margin-bottom: 0.75rem;
}

/* VC feature cards */
.vc-pillar-card {
  height: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vc-pillar-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.vc-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  background: var(--vc-gold-muted);
  color: #854d0e;
  margin-bottom: 1rem;
}

.vc-pillar-card h5 {
  font-weight: 600;
  color: var(--vc-accent);
  margin-bottom: 0.65rem;
}

.vc-pillar-card p {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.vc-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.vc-stat-item {
  text-align: center;
  min-width: 140px;
}

.vc-stat-item strong {
  display: block;
  font-size: 1.25rem;
  color: var(--vc-accent);
  font-weight: 700;
}

.vc-stat-item span {
  font-size: 0.8125rem;
  color: #64748b;
}

/* VC pricing callout */
.vc-pricing-lede {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.vc-pricing-grid .card {
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.vc-pricing-grid .card-highlight {
  border-color: rgba(201, 162, 39, 0.45);
  background: linear-gradient(180deg, #fffef8 0%, #fff 40%);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.vc-code-pill {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  background: rgba(201, 162, 39, 0.12);
  color: #713f12;
}

/* Keep primary nav labels on one line (avoids "Contact" / "us" wrap beside persona switch) */
.navbar.landing-navbar .landing-nav-menu .nav-link {
  white-space: nowrap;
}

/* —— CTAs: stronger primary actions —— */
.navbar.landing-navbar .btn.btn-primary {
  font-weight: 600;
  padding: 0.5rem 1.35rem;
  box-shadow: 0 2px 10px rgba(105, 108, 255, 0.38);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar.landing-navbar .btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(105, 108, 255, 0.48);
}

.landing-cta-hero {
  font-weight: 600 !important;
  padding: 0.75rem 1.85rem !important;
  font-size: 1.05rem !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 6px 24px rgba(105, 108, 255, 0.42) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.landing-cta-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(105, 108, 255, 0.5) !important;
}

.landing-cta-hero:focus-visible {
  outline: 2px solid #696cff;
  outline-offset: 3px;
}

.landing-cta-hero-secondary {
  font-weight: 600 !important;
  border-width: 2px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.landing-cta-hero-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(105, 108, 255, 0.15);
}

.landing-pricing .btn.btn-primary,
.landing-contact .btn.btn-primary {
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  box-shadow: 0 4px 16px rgba(105, 108, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-pricing .btn.btn-primary:hover,
.landing-contact .btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(105, 108, 255, 0.45);
}

.landing-pricing .btn.btn-label-primary:hover {
  transform: translateY(-1px);
}

/* —— Section callouts (eyebrow badges + feature blocks) —— */
.landing-features .text-center > .badge.bg-label-primary,
.landing-agentic-demo .text-center > .badge.bg-label-primary,
.landing-pricing .text-center > .badge.bg-label-primary,
.landing-contact .text-center > .badge.bg-label-primary,
.landing-integrations .text-center > .badge.bg-label-primary,
.landing-reviews .text-center .badge.bg-label-primary {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.62rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(105, 108, 255, 0.35);
  background: rgba(105, 108, 255, 0.12) !important;
  color: #5a5fef !important;
}

.landing-features .text-center > h3,
.landing-agentic-demo .text-center > h3,
.landing-integrations .text-center > h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-features .features-icon-box {
  padding: 1.75rem 1.35rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(67, 89, 113, 0.12);
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.landing-features .features-icon-box:hover {
  border-color: rgba(105, 108, 255, 0.4);
  box-shadow: 0 12px 36px rgba(105, 108, 255, 0.12);
  transform: translateY(-3px);
}

.landing-features .features-icon-box > .text-center.mb-3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.1);
}

.landing-features .features-icon-box > .text-center.mb-3 img {
  max-height: 2.5rem;
  width: auto;
}

.landing-features .features-icon-box h5 {
  font-weight: 700;
  font-size: 1.05rem;
  color: #384551;
}

.landing-features .features-icon-description {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* VC persona: match eyebrow badges to gold accent */
body.landing-persona-vc .landing-features .text-center > .badge.bg-label-primary,
body.landing-persona-vc .landing-agentic-demo .text-center > .badge.bg-label-primary,
body.landing-persona-vc .landing-pricing .text-center > .badge.bg-label-primary,
body.landing-persona-vc .landing-contact .text-center > .badge.bg-label-primary,
body.landing-persona-vc .landing-integrations .text-center > .badge.bg-label-primary,
body.landing-persona-vc .landing-reviews .text-center .badge.bg-label-primary {
  border-color: rgba(201, 162, 39, 0.45);
  background: var(--vc-gold-muted) !important;
  color: #713f12 !important;
}
